public class JdbmMasterTable extends JdbmTable<String,org.apache.directory.api.ldap.model.entry.Entry> implements MasterTable
allowsDuplicates, commitNumber, count, keyComparator, name, schemaManager, valueComparator
DBF, SEQPROP_KEY
Modifier | Constructor and Description |
---|---|
|
JdbmMasterTable(jdbm.RecordManager recMan,
org.apache.directory.api.ldap.model.schema.SchemaManager schemaManager)
Creates the master table using JDBM B+Trees for the backing store.
|
protected |
JdbmMasterTable(jdbm.RecordManager recMan,
org.apache.directory.api.ldap.model.schema.SchemaManager schemaManager,
String dbName,
jdbm.helper.Serializer serializer) |
Modifier and Type | Method and Description |
---|---|
String |
getNextId(org.apache.directory.api.ldap.model.entry.Entry entry)
Get's the next value from this SequenceBDb.
|
close, count, cursor, cursor, get, getMarshaller, has, has, hasGreaterOrEqual, hasGreaterOrEqual, hasLessOrEqual, hasLessOrEqual, put, remove, remove, valueCursor
count, getKeyComparator, getName, getValueComparator, greaterThanCount, isDupsEnabled, lessThanCount, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
close, count, count, cursor, cursor, get, getKeyComparator, getName, getValueComparator, greaterThanCount, has, has, hasGreaterOrEqual, hasGreaterOrEqual, hasLessOrEqual, hasLessOrEqual, isDupsEnabled, lessThanCount, put, remove, remove, valueCursor
public JdbmMasterTable(jdbm.RecordManager recMan, org.apache.directory.api.ldap.model.schema.SchemaManager schemaManager) throws IOException
recMan
- the JDBM record managerschemaManager
- the schema managerIOException
- if there is an error opening the Db file.protected JdbmMasterTable(jdbm.RecordManager recMan, org.apache.directory.api.ldap.model.schema.SchemaManager schemaManager, String dbName, jdbm.helper.Serializer serializer) throws Exception
Exception
public String getNextId(org.apache.directory.api.ldap.model.entry.Entry entry)
getNextId
in interface MasterTable
entry
- the entry in case the id is derived from the entry.Copyright © 2003–2020 The Apache Software Foundation. All rights reserved.