Uses of Class
io.stargate.sdk.data.domain.odm.DocumentResult
Packages that use DocumentResult
Package
Description
Core Data API Client Classes.
Specialized domain objects for data operations.
Object Mapping and Repository Pattern,
-
Uses of DocumentResult in io.stargate.sdk.data
Methods in io.stargate.sdk.data that return types with arguments of type DocumentResultModifier and TypeMethodDescription<DOC> Stream<DocumentResult<DOC>> CollectionClient.find(SelectQuery pageQuery, DocumentResultMapper<DOC> mapper) Search records with a filter<DOC> Stream<DocumentResult<DOC>> CollectionClient.find(SelectQuery query, Class<DOC> clazz) Search records with a filterCollectionRepository.find(@NonNull SelectQuery query) Find by id.<DOC> Stream<DocumentResult<DOC>> CollectionClient.findAll(DocumentResultMapper<DOC> mapper) Find All with Object Mapping.<DOC> Stream<DocumentResult<DOC>> Find All with Object Mapping.<DOC> Optional<DocumentResult<DOC>> CollectionClient.findById(@NonNull String id, DocumentResultMapper<DOC> mapper) Find document from its id.<DOC> Optional<DocumentResult<DOC>> Find document from its id.Find by id.CollectionRepository.findByVector(float[] vector) Find by vector<DOC> Optional<DocumentResult<DOC>> CollectionClient.findOne(SelectQuery query, DocumentResultMapper<DOC> mapper) Find one document matching the query.<DOC> Optional<DocumentResult<DOC>> CollectionClient.findOne(SelectQuery query, Class<DOC> clazz) Find one document matching the query.<DOC> Optional<DocumentResult<DOC>> CollectionClient.findOne(String query, DocumentResultMapper<DOC> mapper) Find one document matching the query.<DOC> Optional<DocumentResult<DOC>> Find one document matching the query.<DOC> Optional<DocumentResult<DOC>> CollectionClient.findOneByVector(float[] vector, DocumentResultMapper<DOC> mapper) Find document from its vector.<DOC> Optional<DocumentResult<DOC>> CollectionClient.findOneByVector(float[] vector, Class<DOC> clazz) Find document from its vector.<DOC> Page<DocumentResult<DOC>> CollectionClient.findPage(SelectQuery query, DocumentResultMapper<DOC> mapper) Find documents matching the query.<DOC> Page<DocumentResult<DOC>> CollectionClient.findPage(SelectQuery query, Class<DOC> clazz) Find documents matching the query.<DOC> Page<DocumentResult<DOC>> CollectionClient.findPage(String query, DocumentResultMapper<DOC> mapper) Find documents matching the query.<DOC> Page<DocumentResult<DOC>> Find documents matching the query.CollectionRepository.findVector(float[] vector, Filter metadataFilter) Search similarity from the vector and a limit, if a limit / no pagingCollectionRepository.findVector(float[] vector, Filter metadataFilter, Integer limit) Search similarity from the vector and a limit, if a limit / no pagingCollectionRepository.findVector(float[] vector, Integer limit) Search similarity from the vector and a limit, if a limit / no paging<DOC> Page<DocumentResult<DOC>> CollectionClient.findVectorPage(float[] vector, Filter filter, Integer limit, String pagingState, DocumentResultMapper<DOC> mapper) Search similarity from the vector (page by 20)<DOC> Page<DocumentResult<DOC>> CollectionClient.findVectorPage(float[] vector, Filter filter, Integer limit, String pagingState, Class<DOC> clazz) Search similarity from the vector (page by 20)<DOC> Page<DocumentResult<DOC>> CollectionClient.mapPageJsonResultAsPageResult(Page<JsonDocumentResult> pageJson, DocumentResultMapper<DOC> mapper) Map a page of JsonResult to page result.<DOC> Page<DocumentResult<DOC>> CollectionClient.mapPageJsonResultAsPageResult(Page<JsonDocumentResult> pageJson, Class<DOC> clazz) Map a page of JsonResult to Page of ResultCollectionRepository.search()Find all item in the collection.CollectionRepository.search(SelectQuery query) Find all item in the collection.CollectionRepository.searchPage(SelectQuery query) Find a page in the collection. -
Uses of DocumentResult in io.stargate.sdk.data.domain
Subclasses of DocumentResult in io.stargate.sdk.data.domainModifier and TypeClassDescriptionclassRepresents entity returns for find() queries working with shemaless documents. -
Uses of DocumentResult in io.stargate.sdk.data.domain.odm
Methods in io.stargate.sdk.data.domain.odm that return DocumentResultModifier and TypeMethodDescriptionDocumentResultMapper.map(JsonDocumentResult record) Extension point for the user to implement its own parser for a record.static <R> DocumentResult<R> DocumentResult.of(JsonDocumentResult result, Class<R> clazz) Syntax sugar to build a result.