public interface OracleDatabase extends OracleDocumentFactory
Modifier and Type | Method and Description |
---|---|
OracleDatabaseAdmin |
admin()
Gets a
OracleDatabaseAdmin object |
OracleCollection |
openCollection(java.lang.String collectionName)
Opens a collection with the specified name.
|
createDocumentFromByteArray, createDocumentFromByteArray, createDocumentFromByteArray, createDocumentFromString, createDocumentFromString, createDocumentFromString
OracleCollection openCollection(java.lang.String collectionName) throws OracleException
collectionName
- the name of the collection. Cannot be
null
OracleCollection
,
null
if the collection
with the specified collectionName
doesn't existOracleException
- if (1) the provided collectioName
is
null
, or (2) there's an
error opening the collectionOracleDatabaseAdmin admin()
OracleDatabaseAdmin
objectOracleDatabaseAdmin
object