From f7bef50b752ba375cfa005cdf4f5730634caa797 Mon Sep 17 00:00:00 2001 From: dyma solovei Date: Tue, 23 Jun 2026 19:20:39 +0200 Subject: [PATCH] feat(gh-562): add blobHash data type --- .../client6/v1/api/collections/DataType.java | 1 + .../client6/v1/api/collections/Property.java | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+) diff --git a/src/main/java/io/weaviate/client6/v1/api/collections/DataType.java b/src/main/java/io/weaviate/client6/v1/api/collections/DataType.java index 62f529be8..19623eba4 100644 --- a/src/main/java/io/weaviate/client6/v1/api/collections/DataType.java +++ b/src/main/java/io/weaviate/client6/v1/api/collections/DataType.java @@ -14,6 +14,7 @@ public interface DataType { public static final String BOOL = "boolean"; public static final String BOOL_ARRAY = "boolean[]"; public static final String BLOB = "blob"; + public static final String BLOB_HASH = "blobHash"; public static final String DATE = "date"; public static final String DATE_ARRAY = "date[]"; public static final String UUID = "uuid"; diff --git a/src/main/java/io/weaviate/client6/v1/api/collections/Property.java b/src/main/java/io/weaviate/client6/v1/api/collections/Property.java index f4da24a04..6696a5b8f 100644 --- a/src/main/java/io/weaviate/client6/v1/api/collections/Property.java +++ b/src/main/java/io/weaviate/client6/v1/api/collections/Property.java @@ -118,6 +118,25 @@ public static Property blob(String name, Function> fn) { + return newProperty(name, DataType.BLOB_HASH, fn); + } + /** * Create a {@code bool} property. *