Package | Description |
---|---|
oracle.soda |
Contains the core SODA interfaces and classes.
|
oracle.soda.rdbms |
Contains RDBMS-specific SODA interfaces and classes.
|
Modifier and Type | Class and Description |
---|---|
class |
OracleBatchException
Represents an exception thrown during a batch
write operation.
|
Modifier and Type | Method and Description |
---|---|
OracleException |
OracleException.getNextException()
Returns the next OracleException in the chain or
null
if none. |
Modifier and Type | Method and Description |
---|---|
void |
OracleException.setNextException(OracleException nextException)
Adds an
OracleException to the chain of exceptions. |
Modifier and Type | Method and Description |
---|---|
long |
OracleOperationBuilder.count()
Counts the number of documents.
|
OracleCollection |
OracleDatabaseAdmin.createCollection(java.lang.String collectionName)
Creates a collection with the specified name.
|
OracleCollection |
OracleDatabaseAdmin.createCollection(java.lang.String collectionName,
OracleDocument collectionMetadata)
Creates a collection with the specified name and
implementation-specific collection metadata, expressed in
JSON.
|
OracleDocument |
OracleDocumentFactory.createDocumentFromByteArray(byte[] content)
Creates a new document with the provided
byte[] JSON content. |
OracleDocument |
OracleDocumentFactory.createDocumentFromByteArray(java.lang.String key,
byte[] content)
Creates a new document with the provided key and
byte[] JSON content. |
OracleDocument |
OracleDocumentFactory.createDocumentFromByteArray(java.lang.String key,
byte[] content,
java.lang.String mediaType)
Creates a new document with the provided key,
byte[]
content, and content type. |
OracleDocument |
OracleDocumentFactory.createDocumentFromString(java.lang.String content)
Creates a new document with the provided
String JSON content. |
OracleDocument |
OracleDocumentFactory.createDocumentFromString(java.lang.String key,
java.lang.String content)
Creates a new document with the provided key and
String JSON content. |
OracleDocument |
OracleDocumentFactory.createDocumentFromString(java.lang.String key,
java.lang.String content,
java.lang.String mediaType)
Creates a new document with the provided key,
String
content, and media type. |
void |
OracleCollectionAdmin.createIndex(OracleDocument indexSpecification)
Create an index using an index specification (expressed in JSON).
|
void |
OracleCollectionAdmin.createJsonSearchIndex(java.lang.String indexName)
Turns on Json Search Index.
|
void |
OracleCollectionAdmin.drop()
Drops the collection.
|
java.util.List<OracleDropResult> |
OracleDatabaseAdmin.dropCollections(boolean force)
Drop all collections associated with this
OracleDatabase . |
void |
OracleCollectionAdmin.dropIndex(java.lang.String indexName)
Drops the named index.
|
void |
OracleCollectionAdmin.dropIndex(java.lang.String indexName,
boolean force)
Drops the named index.
|
OracleOperationBuilder |
OracleOperationBuilder.filter(OracleDocument filterSpecification)
Finds documents matching a filter specification
(a query-by-example expressed in JSON).
|
OracleOperationBuilder |
OracleOperationBuilder.filter(java.lang.String filterSpecification)
Finds documents matching a filter specification
(a query-by-example expressed in JSON).
|
OracleDocument |
OracleCollection.findOne(java.lang.String key)
Finds an
OracleDocument matching a key. |
java.util.List<java.lang.String> |
OracleDatabaseAdmin.getCollectionNames()
Gets a list of the names of all collections in the database.
|
java.util.List<java.lang.String> |
OracleDatabaseAdmin.getCollectionNames(int limit)
Gets a list of the names of collections in the database with a
limit on the number returned.
|
java.util.List<java.lang.String> |
OracleDatabaseAdmin.getCollectionNames(int limit,
int skip)
Gets a list of the names of collections in the database with a
limit on the number returned, starting at a specific offset in
the list.
|
java.util.List<java.lang.String> |
OracleDatabaseAdmin.getCollectionNames(int limit,
java.lang.String startName)
Gets a list of the names of collections in the database with a
limit on the number returned, starting at the first name greater
than or equal to
startName . |
byte[] |
OracleDocument.getContentAsByteArray()
Returns the content as a byte array.
|
java.lang.String |
OracleDocument.getContentAsString()
Returns the content as a
String . |
OracleCursor |
OracleOperationBuilder.getCursor()
Returns
OracleCursor which is an iterator over
result documents. |
OracleDatabase |
OracleClient.getDatabase(java.sql.Connection connection)
Gets the document collections database.
|
OracleDatabase |
OracleClient.getDatabase(java.sql.Connection connection,
boolean avoidTxnManagement)
Gets the document collections database.
|
OracleDocument |
OracleCollectionAdmin.getDataGuide()
Returns a JSON data guide for the collection.
|
OracleDocument |
OracleOperationBuilder.getOne()
Returns a single document.
|
boolean |
OracleCursor.hasNext()
Returns
true if the next OracleDocument
is available. |
OracleOperationBuilder |
OracleOperationBuilder.hint(java.lang.String hints)
Adds execution hints to the operation
|
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,
java.util.Map<java.lang.String,?> options)
Inserts a document into the collection.
|
OracleOperationBuilder |
OracleOperationBuilder.key(java.lang.String key)
Finds a document with a specific key.
|
OracleOperationBuilder |
OracleOperationBuilder.keyLike(java.lang.String pattern,
java.lang.String escape)
Finds documents with keys matching a supplied
pattern . |
OracleOperationBuilder |
OracleOperationBuilder.keys(java.util.Set<java.lang.String> keys)
Finds documents with specific keys.
|
OracleOperationBuilder |
OracleOperationBuilder.limit(int limit)
Specifies an upper limit on the number of results.
|
OracleOperationBuilder |
OracleOperationBuilder.lock()
Indicates that the operation should lock the documents.
|
boolean |
OracleOperationBuilder.mergeOne(OracleDocument document)
Merges the specified document into an existing one.
|
OracleDocument |
OracleOperationBuilder.mergeOneAndGet(OracleDocument document)
Merges a document.
|
OracleDocument |
OracleCursor.next()
Returns the next
OracleDocument . |
OracleCollection |
OracleDatabase.openCollection(java.lang.String collectionName)
Opens a collection with the specified name.
|
int |
OracleOperationBuilder.remove()
Removes documents.
|
boolean |
OracleOperationBuilder.replaceOne(OracleDocument document)
Replaces a document.
|
OracleDocument |
OracleOperationBuilder.replaceOneAndGet(OracleDocument document)
Replaces a 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,
java.util.Map<java.lang.String,?> options)
Saves a document into the collection.
|
OracleOperationBuilder |
OracleOperationBuilder.skip(long skip)
Specifies the number of results to skip.
|
OracleOperationBuilder |
OracleOperationBuilder.startKey(java.lang.String startKey,
java.lang.Boolean ascending,
java.lang.Boolean inclusive)
Specifies that only keys that come after (or alternatively before) the
specified key.
|
void |
OracleCollectionAdmin.truncate()
Deletes all documents in the collection.
|
OracleOperationBuilder |
OracleOperationBuilder.version(java.lang.String version)
Finds a document with a specific version.
|
Modifier and Type | Method and Description |
---|---|
OracleDocument |
OracleRDBMSMetadataBuilder.build()
Builds a JSON object containing the collection metadata.
|
OracleRDBMSMetadataBuilder |
OracleRDBMSMetadataBuilder.contentColumnCompress(java.lang.String compress)
Sets the SecureFiles LOB compress setting for the content column.
|
OracleRDBMSMetadataBuilder |
OracleRDBMSMetadataBuilder.contentColumnEncrypt(java.lang.String encrypt)
Sets the SecureFiles LOB encryption setting for the content column.
|
OracleRDBMSMetadataBuilder |
OracleRDBMSMetadataBuilder.contentColumnMaxLength(int maxLength)
Sets the maximum length of the content column.
|
OracleRDBMSMetadataBuilder |
OracleRDBMSMetadataBuilder.contentColumnType(java.lang.String sqlType)
Sets the SQL type of the content column.
|
OracleRDBMSMetadataBuilder |
OracleRDBMSMetadataBuilder.contentColumnValidation(java.lang.String validation)
Sets the validation mode for the content column.
|
OracleDatabase |
OracleRDBMSClient.getDatabase(java.sql.Connection connection)
Gets the document collections database.
|
OracleDatabase |
OracleRDBMSClient.getDatabase(java.sql.Connection connection,
boolean avoidTxnManagement)
Gets the document collections database.
|
OracleRDBMSMetadataBuilder |
OracleRDBMSMetadataBuilder.keyColumnAssignmentMethod(java.lang.String assignmentMethod)
Sets the key column assignment method.
|
OracleRDBMSMetadataBuilder |
OracleRDBMSMetadataBuilder.keyColumnMaxLength(int maxLength)
Sets the maximum size of the key column.
|
OracleRDBMSMetadataBuilder |
OracleRDBMSMetadataBuilder.keyColumnType(java.lang.String sqlType)
Sets the key column type.
|
OracleRDBMSMetadataBuilder |
OracleRDBMSMetadataBuilder.versionColumnMethod(java.lang.String method)
Sets version column method.
|