Conversation
| List<String> cassandraEndPoints(); | ||
|
|
||
| /** Cassandra port (when type is {@link DatabaseType#CASSANDRA}) */ | ||
| @Nullable |
There was a problem hiding this comment.
Primitives can never be null
| * defaults to 100 | ||
| */ | ||
| public static final int DEFAULT_MAX_DOCUMENT_INSERT_COUNT = 100; | ||
| int DEFAULT_MAX_DOCUMENT_INSERT_COUNT = 100; |
There was a problem hiding this comment.
Interfaces can only have public members and only static fields.
📉 Unit Test Coverage Delta vs Main Branch
|
Unit Test Coverage Report
|
| ConsistencyLevel serialConsistency(); | ||
|
|
||
| /** | ||
| * @return Settings for the consistency level. |
There was a problem hiding this comment.
Invalid Javadoc; @return only for methods, not classes.
| // TODO: SOME DOCUMENTATION FOR WHAT THIS IS MEANT TO DO!!! | ||
| public interface EmbeddingProvidersConfig { | ||
|
|
||
| // TODO: WHAT IS THE KEY FOR THIS MAP ????? |
There was a problem hiding this comment.
Not removed, reordered after "custom" section.
| } | ||
| } | ||
|
|
||
| @ConfigMapping(prefix = "stargate.jsonapi.custom.embedding") |
There was a problem hiding this comment.
Not removed, moved next to custom() method
| final AtomicBoolean moreData = new AtomicBoolean(false); | ||
| final String delete = buildDeleteQuery(); | ||
| AtomicInteger totalCount = new AtomicInteger(0); | ||
| final int retryAttempt = retryLimit - 2; |
📉 Integration Test Coverage Delta vs Main Branch (dse69-it)
|
📉 Integration Test Coverage Delta vs Main Branch (hcd-it)
|
Integration Test Coverage Report (hcd-it)
|
amorton
left a comment
There was a problem hiding this comment.
looks good, just some nit picks
src/main/java/io/stargate/sgv2/jsonapi/service/operation/collections/ExpressionBuilder.java
Outdated
Show resolved
Hide resolved
...ain/java/io/stargate/sgv2/jsonapi/service/operation/collections/FindCollectionOperation.java
Outdated
Show resolved
Hide resolved
| FailFastInsertException failFastInsertException = (FailFastInsertException) e; | ||
| return failFastInsertException.result; | ||
| }) | ||
| .recoverWithItem(e -> e.result) |
There was a problem hiding this comment.
super nit pick: would look nicer if was
.onFailure(FailFastInsertException.class)
.recoverWithItem(FailFastInsertException::result)
There was a problem hiding this comment.
Matter of preference I guess... that one is longer :)
Will change.
There was a problem hiding this comment.
Hmmmmh. For some reason, that version won't compile. Not sure how/why.
What this PR does:
Fixes (most) IDE warnings for a package.
Which issue(s) this PR fixes:
N/A
Checklist