org.apache.directory.server.core.partition.ldif
Class AbstractLdifPartition

java.lang.Object
  extended by org.apache.directory.server.core.partition.AbstractPartition
      extended by org.apache.directory.server.core.partition.impl.btree.AbstractBTreePartition<Long>
          extended by org.apache.directory.server.core.partition.impl.avl.AvlPartition
              extended by org.apache.directory.server.core.partition.ldif.AbstractLdifPartition
All Implemented Interfaces:
Partition, Store<org.apache.directory.shared.ldap.model.entry.Entry,Long>
Direct Known Subclasses:
LdifPartition, SingleFileLdifPartition

public abstract class AbstractLdifPartition
extends AvlPartition

A common base class for LDIF file based Partition implementations.

Author:
Apache Directory Project

Field Summary
protected static String CONF_FILE_EXTN
          The extension used for LDIF entry files
protected static org.apache.directory.shared.ldap.model.csn.CsnFactory defaultCSNFactory
          A default CSN factory
 
Fields inherited from class org.apache.directory.server.core.partition.impl.btree.AbstractBTreePartition
ALIASED_OBJECT_NAME_AT, aliasIdx, cacheSize, DEFAULT_CACHE_SIZE, ENTRY_CSN_AT, ENTRY_UUID_AT, entryCsnIdx, entryUuidIdx, isSyncOnWrite, master, OBJECT_CLASS_AT, objectClassIdx, oneAliasIdx, oneLevelIdx, optimizer, optimizerEnabled, partitionPath, presenceIdx, rdnIdx, searchEngine, subAliasIdx, subLevelIdx, systemIndices, userIndices
 
Fields inherited from class org.apache.directory.server.core.partition.AbstractPartition
id, initialized, schemaManager, suffixDn
 
Fields inherited from interface org.apache.directory.server.xdbm.Store
SYS_INDEX_OID_ARRAY, SYS_INDEX_OIDS
 
Constructor Summary
AbstractLdifPartition(org.apache.directory.shared.ldap.model.schema.SchemaManager schemaManager)
           
 
Method Summary
 Long getDefaultId()
          
 URI getPartitionPath()
          
 
Methods inherited from class org.apache.directory.server.core.partition.impl.avl.AvlPartition
convertAndInit, doInit, getCacheSize, getRootId, isSyncOnWrite, sync
 
Methods inherited from class org.apache.directory.server.core.partition.impl.btree.AbstractBTreePartition
add, addAliasIndices, addIndex, addIndexedAttributes, bind, buildEntryDn, count, delete, delete, doDestroy, dropAliasIndices, dropAliasIndices, dropMovedAliasIndices, dumpIndex, getAliasIndex, getChildCount, getEntryCsnIndex, getEntryDn, getEntryId, getEntryUuidIndex, getIndex, getIndexedAttributes, getObjectClassIndex, getOneAliasIndex, getOneLevelIndex, getParentId, getPresenceIndex, getRdnIndex, getSearchEngine, getSubAliasIndex, getSubLevelIndex, getSuffixId, getSystemIndex, getSystemIndices, getUserIndex, getUserIndices, hasEntry, hasIndexOn, hasSystemIndexOn, hasUserIndexOn, isOptimizerEnabled, list, list, lookup, lookup, modify, modify, move, move, moveAndRename, moveAndRename, rename, rename, search, setCacheSize, setIndexedAttributes, setOptimizerEnabled, setPartitionPath, setSyncOnWrite, setupSystemIndices, setupUserIndices, toString, unbind
 
Methods inherited from class org.apache.directory.server.core.partition.AbstractPartition
checkInitialized, destroy, getId, getSchemaManager, getSuffixDn, initialize, isInitialized, setId, setSchemaManager, setSuffixDn
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CONF_FILE_EXTN

protected static final String CONF_FILE_EXTN
The extension used for LDIF entry files

See Also:
Constant Field Values

defaultCSNFactory

protected static org.apache.directory.shared.ldap.model.csn.CsnFactory defaultCSNFactory
A default CSN factory

Constructor Detail

AbstractLdifPartition

public AbstractLdifPartition(org.apache.directory.shared.ldap.model.schema.SchemaManager schemaManager)
Method Detail

getDefaultId

public Long getDefaultId()

Specified by:
getDefaultId in interface Store<org.apache.directory.shared.ldap.model.entry.Entry,Long>
Overrides:
getDefaultId in class AvlPartition

getPartitionPath

public URI getPartitionPath()

Specified by:
getPartitionPath in interface Store<org.apache.directory.shared.ldap.model.entry.Entry,Long>
Overrides:
getPartitionPath in class AvlPartition


Copyright © 2003-2011 The Apache Software Foundation. All Rights Reserved.