Uses of Class
io.stargate.sdk.data.domain.odm.Document
Packages that use Document
Package
Description
Core Data API Client Classes.
Specialized domain objects for data operations.
Object Mapping and Repository Pattern,
Specialized classes to perform queries
-
Uses of Document in io.stargate.sdk.data
Methods in io.stargate.sdk.data with parameters of type DocumentModifier and TypeMethodDescriptionbooleanDelete a document from id or vector .Save a NEW RECORD with a defined id.CollectionRepository.insertASync(Document<DOC> bean) Save a NEW RECORD with a defined id.final <DOC> List<DocumentMutationResult<DOC>> CollectionClient.insertMany(Document<DOC>... documents) Insert a list of documents.final <DOC> CompletableFuture<List<DocumentMutationResult<DOC>>> CollectionClient.insertManyAsync(Document<DOC>... documents) Insert Asynchronously a list of documents.final <T> DocumentMutationResult<T> Insert with a Json Document.final <T> CompletableFuture<DocumentMutationResult<T>> CollectionClient.insertOneASync(@NonNull Document<T> document) Insert with a Json Document.final DocumentMutationResult<DOC> Upsert a recordUpsert a recordfinal <DOC> List<DocumentMutationResult<DOC>> CollectionClient.upsertMany(Document<DOC>... documents) Insert a list of documents.final <DOC> CompletableFuture<List<DocumentMutationResult<DOC>>> CollectionClient.upsertManyManyAsync(Document<DOC>... documents) Insert Asynchronously a list of documents.<DOC> DocumentMutationResult<DOC> Upsert a document in the collection.<DOC> CompletableFuture<DocumentMutationResult<DOC>> CollectionClient.upsertOneASync(@NonNull Document<DOC> document) Upsert with Asynchronous method.Method parameters in io.stargate.sdk.data with type arguments of type DocumentModifier and TypeMethodDescriptionintUse parallelism and async to delete all records.final List<DocumentMutationResult<DOC>> Low level insertion of multiple records, they should not exist, or it will fail.final List<DocumentMutationResult<DOC>> Low level insertion of multiple records, they should not exist, or it will fail.final CompletableFuture<List<DocumentMutationResult<DOC>>> CollectionRepository.insertASync(List<Document<DOC>> documents) Low level insertion of multiple records, they should not exist, or it will fail.final CompletableFuture<List<DocumentMutationResult<DOC>>> CollectionRepository.insertASync(List<Document<DOC>> documents, int chunkSize, int concurrency) Low level insertion of multiple records, they should not exist, or it will fail.final <DOC> List<DocumentMutationResult<DOC>> CollectionClient.insertMany(List<Document<DOC>> documents) Insert Documents: Default is non ordered and no replace.final <DOC> CompletableFuture<List<DocumentMutationResult<DOC>>> CollectionClient.insertManyASync(List<Document<DOC>> documents) Try Insert Many with a String Asynchronously.final <DOC> List<DocumentMutationResult<DOC>> CollectionClient.insertManyChunked(List<Document<DOC>> documents, int chunkSize, int concurrency) Low level insertion of multiple recordsfinal <DOC> CompletableFuture<List<DocumentMutationResult<DOC>>> CollectionClient.insertManyChunkedASync(List<Document<DOC>> documents, int chunkSize, int concurrency) Low level insertion of multiple records asynchronouslyfinal List<DocumentMutationResult<DOC>> Create a new document a generating identifier.final List<DocumentMutationResult<DOC>> Create a new document a generating identifier.final CompletableFuture<List<DocumentMutationResult<DOC>>> CollectionRepository.saveAllASync(List<Document<DOC>> documentList) Create a new document a generating identifier asynchronouslyfinal CompletableFuture<List<DocumentMutationResult<DOC>>> CollectionRepository.saveAllASync(List<Document<DOC>> documentList, int chunkSize, int concurrency) Create a new document a generating identifier asynchronouslyfinal <DOC> List<DocumentMutationResult<DOC>> CollectionClient.upsertMany(List<Document<DOC>> documents) Upsert any items in the collection.final <DOC> CompletableFuture<List<DocumentMutationResult<DOC>>> CollectionClient.upsertManyASync(List<Document<DOC>> documents) Upsert of up to 20 documents, expressed as key/value documents.final <DOC> List<DocumentMutationResult<DOC>> CollectionClient.upsertManyChunked(List<Document<DOC>> documents, int chunkSize, int concurrency) Low level insertion of multiple recordsfinal <DOC> CompletableFuture<List<DocumentMutationResult<DOC>>> CollectionClient.upsertManyChunkedASync(List<Document<DOC>> documents, int chunkSize, int concurrency) Low level insertion of multiple records -
Uses of Document in io.stargate.sdk.data.domain
Subclasses of Document in io.stargate.sdk.data.domainModifier and TypeClassDescriptionclassRepresents a document without schema contraints as a Map<String, Object>.(key/value)classRepresents entity returns for find() queries working with shemaless documents.Constructors in io.stargate.sdk.data.domain with parameters of type DocumentModifierConstructorDescriptionDocumentMutationResult(Document<T> doc) Constructor with document.DocumentMutationResult(Document<T> doc, DocumentMutationStatus status) Constructor with document and status. -
Uses of Document in io.stargate.sdk.data.domain.odm
Subclasses of Document in io.stargate.sdk.data.domain.odmMethods in io.stargate.sdk.data.domain.odm that return DocumentModifier and TypeMethodDescriptionFluent getter for document.Fluent getter for document.static <R> Document<R> Static initialization.Document.vector(float[] vector) Fluent getter for document.Methods in io.stargate.sdk.data.domain.odm with parameters of type Document -
Uses of Document in io.stargate.sdk.data.domain.query
Fields in io.stargate.sdk.data.domain.query declared as DocumentMethods in io.stargate.sdk.data.domain.query with parameters of type Document