From 7320be02465af985a681ae20c03200545bc2d9ea Mon Sep 17 00:00:00 2001 From: Cedrick Lunven Date: Thu, 25 Jan 2024 18:46:16 +0100 Subject: [PATCH] fixing javadoc --- .../main/java/com/dtsx/astra/sdk/cassio/AnnQuery.java | 5 +++++ .../astra/sdk/cassio/ClusteredMetadataVectorRecord.java | 9 ++++++++- .../java/com/dtsx/astra/sdk/cassio/ClusteredRecord.java | 9 ++++++++- 3 files changed, 21 insertions(+), 2 deletions(-) diff --git a/astra-db-client/src/main/java/com/dtsx/astra/sdk/cassio/AnnQuery.java b/astra-db-client/src/main/java/com/dtsx/astra/sdk/cassio/AnnQuery.java index 5514d50e..ad1bc3ce 100644 --- a/astra-db-client/src/main/java/com/dtsx/astra/sdk/cassio/AnnQuery.java +++ b/astra-db-client/src/main/java/com/dtsx/astra/sdk/cassio/AnnQuery.java @@ -37,4 +37,9 @@ public class AnnQuery { */ private Map metaData; + /** + * Default constructor + */ + protected AnnQuery() {} + } diff --git a/astra-db-client/src/main/java/com/dtsx/astra/sdk/cassio/ClusteredMetadataVectorRecord.java b/astra-db-client/src/main/java/com/dtsx/astra/sdk/cassio/ClusteredMetadataVectorRecord.java index d917d1fd..b86320c1 100644 --- a/astra-db-client/src/main/java/com/dtsx/astra/sdk/cassio/ClusteredMetadataVectorRecord.java +++ b/astra-db-client/src/main/java/com/dtsx/astra/sdk/cassio/ClusteredMetadataVectorRecord.java @@ -9,9 +9,11 @@ import java.util.Map; import java.util.UUID; +/** + * Partitioned table with cluster and vector. + */ @Data @AllArgsConstructor -@NoArgsConstructor public class ClusteredMetadataVectorRecord { /** Partition id. */ @@ -37,5 +39,10 @@ public class ClusteredMetadataVectorRecord { * Embeddings */ List vector; + + /** + * Default Constructor. + */ + public ClusteredMetadataVectorRecord() {} } \ No newline at end of file diff --git a/astra-db-client/src/main/java/com/dtsx/astra/sdk/cassio/ClusteredRecord.java b/astra-db-client/src/main/java/com/dtsx/astra/sdk/cassio/ClusteredRecord.java index 4020c33e..852e7326 100644 --- a/astra-db-client/src/main/java/com/dtsx/astra/sdk/cassio/ClusteredRecord.java +++ b/astra-db-client/src/main/java/com/dtsx/astra/sdk/cassio/ClusteredRecord.java @@ -6,9 +6,11 @@ import java.util.UUID; +/** + * Default Constructor. + */ @Data @AllArgsConstructor -@NoArgsConstructor public class ClusteredRecord { /** Partition id. */ @@ -20,4 +22,9 @@ public class ClusteredRecord { /** Text body. */ String body; + /** + * Record for a clustered table. + */ + public ClusteredRecord() {} + } \ No newline at end of file