File tree Expand file tree Collapse file tree
src/main/java/io/weaviate/client6/v1/api/collections Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -46,8 +46,8 @@ public static Kind valueOfJson(String jsonValue) {
4646 }
4747
4848 /** Is this vector index of type HNSW? */
49- default Hnsw isHnsw () {
50- return _as (VectorIndex .Kind .HNSW );
49+ default boolean isHnsw () {
50+ return _is (VectorIndex .Kind .HNSW );
5151 }
5252
5353 /** Get as {@link Hnsw} instance. */
@@ -56,8 +56,8 @@ default Hnsw asHnsw() {
5656 }
5757
5858 /** Is this vector index of type FLAT? */
59- default Flat isFlat () {
60- return _as (VectorIndex .Kind .FLAT );
59+ default boolean isFlat () {
60+ return _is (VectorIndex .Kind .FLAT );
6161 }
6262
6363 /** Get as {@link Flat} instance. */
@@ -66,8 +66,8 @@ default Flat asFlat() {
6666 }
6767
6868 /** Is this vector index of type DYNAMIC? */
69- default Dynamic isDynamic () {
70- return _as (VectorIndex .Kind .DYNAMIC );
69+ default boolean isDynamic () {
70+ return _is (VectorIndex .Kind .DYNAMIC );
7171 }
7272
7373 /** Get as {@link Dynamic} instance. */
You can’t perform that action at this time.
0 commit comments