Uses of Interface
oracle.soda.OracleDocument
-
Packages that use OracleDocument Package Description oracle.soda Contains the core SODA interfaces and classes.oracle.soda.rdbms Contains RDBMS-specific SODA interfaces and classes. -
-
Uses of OracleDocument in oracle.soda
Methods in oracle.soda that return OracleDocument Modifier and Type Method Description OracleDocument
OracleDocumentFactory. createDocumentFrom(Object content)
Creates a new document with the provided key and provided JSONcontent
object.OracleDocument
OracleDocumentFactory. createDocumentFrom(String key, Object content)
Creates a new document with the provided key and JSONcontent
object.OracleDocument
OracleDocumentFactory. createDocumentFromByteArray(byte[] content)
Creates a new document with the providedbyte[]
JSON content.OracleDocument
OracleDocumentFactory. createDocumentFromByteArray(String key, byte[] content)
Creates a new document with the provided key andbyte[]
JSON content.OracleDocument
OracleDocumentFactory. createDocumentFromByteArray(String key, byte[] content, String mediaType)
Creates a new document with the provided key,byte[]
content, and content type.OracleDocument
OracleDocumentFactory. createDocumentFromString(String content)
Creates a new document with the providedString
JSON content.OracleDocument
OracleDocumentFactory. createDocumentFromString(String key, String content)
Creates a new document with the provided key andString
JSON content.OracleDocument
OracleDocumentFactory. createDocumentFromString(String key, String content, String mediaType)
Creates a new document with the provided key,String
content, and media type.OracleDocument
OracleCollection. findOne(String key)
Finds anOracleDocument
matching a key.OracleDocument
OracleCollectionAdmin. getDataGuide()
Returns a JSON data guide for the collection.OracleDocument
OracleCollectionAdmin. getMetadata()
Returns collection metadata expressed in JSON.OracleDocument
OracleOperationBuilder. getOne()
Returns a single document.OracleDocument
OracleCollection. insertAndGet(OracleDocument document)
Inserts a document into the collection.OracleDocument
OracleCollection. insertAndGet(OracleDocument document, Map<String,?> options)
Inserts a document into the collection.OracleDocument
OracleOperationBuilder. mergeOneAndGet(OracleDocument document)
Merges a document.OracleDocument
OracleCursor. next()
Returns the nextOracleDocument
.OracleDocument
OracleOperationBuilder. replaceOneAndGet(OracleDocument document)
Replaces target document with supplied document.OracleDocument
OracleCollection. saveAndGet(OracleDocument document)
Saves a document into the collection.OracleDocument
OracleCollection. saveAndGet(OracleDocument document, Map<String,?> options)
Saves a document into the collection.Methods in oracle.soda that return types with arguments of type OracleDocument Modifier and Type Method Description List<OracleDocument>
OracleCollection. insertAndGet(Iterator<OracleDocument> documents)
Inserts multiple documents into the collection.List<OracleDocument>
OracleCollection. insertAndGet(Iterator<OracleDocument> documents, Map<String,?> options)
Inserts multiple documents into the collection with options.Methods in oracle.soda with parameters of type OracleDocument Modifier and Type Method Description OracleCollection
OracleDatabaseAdmin. createCollection(String collectionName, OracleDocument collectionMetadata)
Creates a collection with the specified name and implementation-specific collection metadata, expressed in JSON.OracleCollection
OracleDatabaseAdmin. createCollection(String collectionName, OracleDocument collectionMetadata, OracleDatabaseAdmin.CollectionCreateMode mode)
Creates a collection with the specified name and implementation-specific collection metadata, expressed in JSON.void
OracleCollectionAdmin. createIndex(OracleDocument indexSpecification)
Create an index using an index specification (expressed in JSON).OracleOperationBuilder
OracleOperationBuilder. filter(OracleDocument filterSpecification)
Finds documents matching a filter specification (a query-by-example expressed in JSON).void
OracleCollection. insert(OracleDocument document)
Inserts a document into the collection.OracleDocument
OracleCollection. insertAndGet(OracleDocument document)
Inserts a document into the collection.OracleDocument
OracleCollection. insertAndGet(OracleDocument document, Map<String,?> options)
Inserts a document into the collection.boolean
OracleOperationBuilder. mergeOne(OracleDocument document)
Merges the specified document into an existing one.OracleDocument
OracleOperationBuilder. mergeOneAndGet(OracleDocument document)
Merges a document.int
OracleOperationBuilder. replace(OracleDocument document)
Replaces target document(s) with supplied document.boolean
OracleOperationBuilder. replaceOne(OracleDocument document)
Replaces target document with supplied document.OracleDocument
OracleOperationBuilder. replaceOneAndGet(OracleDocument document)
Replaces target document with supplied document.void
OracleCollection. save(OracleDocument document)
Saves a document into the collection.OracleDocument
OracleCollection. saveAndGet(OracleDocument document)
Saves a document into the collection.OracleDocument
OracleCollection. saveAndGet(OracleDocument document, Map<String,?> options)
Saves a document into the collection.Method parameters in oracle.soda with type arguments of type OracleDocument Modifier and Type Method Description void
OracleCollection. insert(Iterator<OracleDocument> documents)
Inserts multiple documents into the collection.List<OracleDocument>
OracleCollection. insertAndGet(Iterator<OracleDocument> documents)
Inserts multiple documents into the collection.List<OracleDocument>
OracleCollection. insertAndGet(Iterator<OracleDocument> documents, Map<String,?> options)
Inserts multiple documents into the collection with options. -
Uses of OracleDocument in oracle.soda.rdbms
Methods in oracle.soda.rdbms that return OracleDocument Modifier and Type Method Description OracleDocument
OracleRDBMSMetadataBuilder. build()
Builds a JSON object containing the collection metadata.
-