Uses of Class
com.datastax.astra.client.model.InsertOneOptions
Packages that use InsertOneOptions
-
Uses of InsertOneOptions in com.datastax.astra.client
Methods in com.datastax.astra.client with parameters of type InsertOneOptionsModifier and TypeMethodDescriptionfinal InsertOneResultCollection.insertOne(T document, float[] embeddings, InsertOneOptions options) Inserts a single document into the collection in an atomic operation, similar to theCollection.insertOne(Object)method, but with the additional capability to include vector embeddings.final InsertOneResultCollection.insertOne(T document, InsertOneOptions insertOneOptions) Inserts a single document into the collection as an atomic operation, ensuring that the document is added in a single, indivisible step.final InsertOneResultCollection.insertOne(T document, String vectorize, InsertOneOptions options) Inserts a single document into the collection in an atomic operation, extending the base functionality of theCollection.insertOne(Object)method by adding the capability to compute and include a vector of embeddings directly within the document.final CompletableFuture<InsertOneResult> Collection.insertOneAsync(T document, InsertOneOptions options) Asynchronous implementation ofCollection.insertOne(Object, InsertOneOptions).