public class SecondaryDatabase extends Database
Modifier and Type | Method and Description |
---|---|
void |
close()
Javadoc for this public method is generated via
the doc templates in the doc_src directory.
|
OperationStatus |
delete(Transaction txn,
DatabaseEntry key)
Javadoc for this public method is generated via
the doc templates in the doc_src directory.
|
OperationStatus |
get(Transaction txn,
DatabaseEntry key,
DatabaseEntry pKey,
DatabaseEntry data,
LockMode lockMode)
Javadoc for this public method is generated via
the doc templates in the doc_src directory.
|
OperationStatus |
get(Transaction txn,
DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode)
Javadoc for this public method is generated via
the doc templates in the doc_src directory.
|
Database |
getPrimaryDatabase()
Javadoc for this public method is generated via
the doc templates in the doc_src directory.
|
SecondaryConfig |
getPrivateSecondaryConfig()
Returns the secondary config without cloning, for internal use.
|
OperationStatus |
getSearchBoth(Transaction txn,
DatabaseEntry key,
DatabaseEntry pKey,
DatabaseEntry data,
LockMode lockMode)
Javadoc for this public method is generated via
the doc templates in the doc_src directory.
|
OperationStatus |
getSearchBoth(Transaction txn,
DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode)
Javadoc for this public method is generated via
the doc templates in the doc_src directory.
|
SecondaryConfig |
getSecondaryConfig()
Javadoc for this public method is generated via
the doc templates in the doc_src directory.
|
JoinCursor |
join(Cursor[] cursors,
JoinConfig config)
Javadoc for this public method is generated via
the doc templates in the doc_src directory.
|
SecondaryCursor |
openSecondaryCursor(Transaction txn,
CursorConfig cursorConfig)
Javadoc for this public method is generated via
the doc templates in the doc_src directory.
|
OperationStatus |
put(Transaction txn,
DatabaseEntry key,
DatabaseEntry data)
Javadoc for this public method is generated via
the doc templates in the doc_src directory.
|
OperationStatus |
putNoDupData(Transaction txn,
DatabaseEntry key,
DatabaseEntry data)
Javadoc for this public method is generated via
the doc templates in the doc_src directory.
|
OperationStatus |
putNoOverwrite(Transaction txn,
DatabaseEntry key,
DatabaseEntry data)
Javadoc for this public method is generated via
the doc templates in the doc_src directory.
|
int |
truncate(Transaction txn,
boolean countRecords)
Deprecated.
|
count, getConfig, getDatabaseName, getEnvironment, getSecondaryDatabases, getStats, openCursor, openSequence, preload, preload, preload, removeSequence, sync, verify
public void close() throws DatabaseException
close
in class Database
DatabaseException
public Database getPrimaryDatabase() throws DatabaseException
DatabaseException
public SecondaryConfig getSecondaryConfig() throws DatabaseException
DatabaseException
public SecondaryConfig getPrivateSecondaryConfig()
public SecondaryCursor openSecondaryCursor(Transaction txn, CursorConfig cursorConfig) throws DatabaseException
DatabaseException
public OperationStatus delete(Transaction txn, DatabaseEntry key) throws DatabaseException
delete
in class Database
DatabaseException
public OperationStatus get(Transaction txn, DatabaseEntry key, DatabaseEntry data, LockMode lockMode) throws DatabaseException
get
in class Database
DatabaseException
public OperationStatus get(Transaction txn, DatabaseEntry key, DatabaseEntry pKey, DatabaseEntry data, LockMode lockMode) throws DatabaseException
DatabaseException
public OperationStatus getSearchBoth(Transaction txn, DatabaseEntry key, DatabaseEntry data, LockMode lockMode) throws DatabaseException
getSearchBoth
in class Database
DatabaseException
public OperationStatus getSearchBoth(Transaction txn, DatabaseEntry key, DatabaseEntry pKey, DatabaseEntry data, LockMode lockMode) throws DatabaseException
DatabaseException
public OperationStatus put(Transaction txn, DatabaseEntry key, DatabaseEntry data) throws DatabaseException
put
in class Database
DatabaseException
public OperationStatus putNoOverwrite(Transaction txn, DatabaseEntry key, DatabaseEntry data) throws DatabaseException
putNoOverwrite
in class Database
DatabaseException
public OperationStatus putNoDupData(Transaction txn, DatabaseEntry key, DatabaseEntry data) throws DatabaseException
putNoDupData
in class Database
DatabaseException
public JoinCursor join(Cursor[] cursors, JoinConfig config) throws DatabaseException
join
in class Database
DatabaseException
public int truncate(Transaction txn, boolean countRecords) throws DatabaseException
truncate
in class Database
DatabaseException