Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

public record Sharding(
@SerializedName("virtualPerPhysical") Integer virtualPerPhysical,
@SerializedName("desiredCound") Integer desiredCount,
@SerializedName("desiredCount") Integer desiredCount,
@SerializedName("desiredVirtualCount") Integer desiredVirtualCount) {

public static Sharding of(Function<Builder, ObjectBuilder<Sharding>> fn) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ public static Kind valueOfJson(String jsonValue) {
}

/** Is this vector index of type HNSW? */
default Hnsw isHnsw() {
return _as(VectorIndex.Kind.HNSW);
default boolean isHnsw() {
return _is(VectorIndex.Kind.HNSW);
}

/** Get as {@link Hnsw} instance. */
Expand All @@ -56,8 +56,8 @@ default Hnsw asHnsw() {
}

/** Is this vector index of type FLAT? */
default Flat isFlat() {
return _as(VectorIndex.Kind.FLAT);
default boolean isFlat() {
return _is(VectorIndex.Kind.FLAT);
}

/** Get as {@link Flat} instance. */
Expand All @@ -66,8 +66,8 @@ default Flat asFlat() {
}

/** Is this vector index of type DYNAMIC? */
default Dynamic isDynamic() {
return _as(VectorIndex.Kind.DYNAMIC);
default boolean isDynamic() {
return _is(VectorIndex.Kind.DYNAMIC);
}

/** Get as {@link Dynamic} instance. */
Expand Down
Loading