Uses of Interface
org.dizitart.no2.collection.Document
-
Packages that use Document Package Description org.dizitart.no2.collection org.dizitart.no2.common.mapper org.dizitart.no2.common.processors org.dizitart.no2.filters org.dizitart.no2.migration org.dizitart.no2.repository -
-
Uses of Document in org.dizitart.no2.collection
Methods in org.dizitart.no2.collection that return Document Modifier and Type Method Description DocumentDocument. clone()Creates and returns a copy of this document.static DocumentDocument. createDocument()Creates an empty document.static DocumentDocument. createDocument(String key, Object value)Creates a new document initialized with the given key/value pair.static DocumentDocument. createDocument(Map<String,Object> documentMap)Creates a new document initialized with the given map.DocumentNitriteCollection. getById(NitriteId nitriteId)Gets a single element from the collection by its id.DocumentDocument. merge(Document update)Merges a document in this document.DocumentDocument. put(String key, Object value)Associates the specified value with the specified key in this document.Methods in org.dizitart.no2.collection that return types with arguments of type Document Modifier and Type Method Description RecordStream<Document>DocumentCursor. join(DocumentCursor foreignCursor, Lookup lookup)Performs a left outer join with a foreign cursor with the specified lookup parameters.RecordStream<Document>DocumentCursor. project(Document projection)Gets a lazy iterable containing all the selected keys of the result documents.Methods in org.dizitart.no2.collection with parameters of type Document Modifier and Type Method Description default WriteResultNitriteCollection. insert(Document document, Document... documents)Inserts documents into a collection.DocumentDocument. merge(Document update)Merges a document in this document.RecordStream<Document>DocumentCursor. project(Document projection)Gets a lazy iterable containing all the selected keys of the result documents.default WriteResultNitriteCollection. update(Filter filter, Document update)Update documents in the collection.WriteResultNitriteCollection. update(Filter filter, Document update, UpdateOptions updateOptions)Updates document in the collection. -
Uses of Document in org.dizitart.no2.common.mapper
Methods in org.dizitart.no2.common.mapper that return Document Modifier and Type Method Description DocumentEntityConverter. toDocument(T entity, NitriteMapper nitriteMapper)Converts the entity to aDocument.Methods in org.dizitart.no2.common.mapper with parameters of type Document Modifier and Type Method Description TEntityConverter. fromDocument(Document document, NitriteMapper nitriteMapper)Converts aDocumentto an entity of typeEntityConverter. -
Uses of Document in org.dizitart.no2.common.processors
Methods in org.dizitart.no2.common.processors that return Document Modifier and Type Method Description default DocumentProcessor. processAfterRead(Document document)Processes a document after reading from the database.default DocumentProcessor. processBeforeWrite(Document document)Processes a document before writing it into database.Methods in org.dizitart.no2.common.processors with parameters of type Document Modifier and Type Method Description default DocumentProcessor. processAfterRead(Document document)Processes a document after reading from the database.default DocumentProcessor. processBeforeWrite(Document document)Processes a document before writing it into database. -
Uses of Document in org.dizitart.no2.filters
Method parameters in org.dizitart.no2.filters with type arguments of type Document Modifier and Type Method Description booleanFilter. apply(Pair<NitriteId,Document> element)Applies the filter to the given element.booleanIndexScanFilter. apply(Pair<NitriteId,Document> element) -
Uses of Document in org.dizitart.no2.migration
Methods in org.dizitart.no2.migration with parameters of type Document Modifier and Type Method Description TGenerator. generate(Document document)Generates a new value for a field in the document. -
Uses of Document in org.dizitart.no2.repository
Methods in org.dizitart.no2.repository with parameters of type Document Modifier and Type Method Description default WriteResultObjectRepository. update(Filter filter, Document update)Updates object in the repository by setting the field specified indocument.WriteResultObjectRepository. update(Filter filter, Document update, boolean justOnce)Updates object in the repository by setting the field specified indocument.
-