public class MavibotMasterTable extends MavibotTable<String,org.apache.directory.api.ldap.model.entry.Entry> implements MasterTable
recordMan
allowsDuplicates, commitNumber, count, keyComparator, name, schemaManager, valueComparator
DBF, SEQPROP_KEY
Constructor and Description |
---|
MavibotMasterTable(org.apache.directory.mavibot.btree.RecordManager recordMan,
org.apache.directory.api.ldap.model.schema.SchemaManager schemaManager,
String name) |
MavibotMasterTable(org.apache.directory.mavibot.btree.RecordManager recordMan,
org.apache.directory.api.ldap.model.schema.SchemaManager schemaManager,
String name,
int cacheSize) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes the underlying Db of this Table.
|
String |
getNextId(org.apache.directory.api.ldap.model.entry.Entry entry)
Gets the next value from the sequence of this MasterTable.
|
count, cursor, cursor, get, getBTree, getDupsContainer, greaterThanCount, has, has, hasGreaterOrEqual, hasGreaterOrEqual, hasLessOrEqual, hasLessOrEqual, isDupsEnabled, lessThanCount, put, remove, remove, sync, toString, valueCursor
count, getKeyComparator, getName, getValueComparator
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
count, count, cursor, cursor, get, getKeyComparator, getName, getValueComparator, greaterThanCount, has, has, hasGreaterOrEqual, hasGreaterOrEqual, hasLessOrEqual, hasLessOrEqual, isDupsEnabled, lessThanCount, put, remove, remove, valueCursor
public MavibotMasterTable(org.apache.directory.mavibot.btree.RecordManager recordMan, org.apache.directory.api.ldap.model.schema.SchemaManager schemaManager, String name, int cacheSize) throws IOException
IOException
public MavibotMasterTable(org.apache.directory.mavibot.btree.RecordManager recordMan, org.apache.directory.api.ldap.model.schema.SchemaManager schemaManager, String name) throws IOException
IOException
public String getNextId(org.apache.directory.api.ldap.model.entry.Entry entry) throws Exception
MasterTable
getNextId
in interface MasterTable
entry
- the entry in case the id is derived from the entry.Exception
- on failure to update the id sequencepublic void close() throws Exception
MavibotTable
Copyright © 2019. All rights reserved.