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

java.lang.Object
  extended by org.apache.directory.server.core.api.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:
org.apache.directory.server.core.api.partition.Partition, org.apache.directory.server.xdbm.Store<org.apache.directory.shared.ldap.model.entry.Entry,Long>
Direct Known Subclasses:
LdifPartition, SingleFileLdifPartition

public abstract class AbstractLdifPartition
extends org.apache.directory.server.core.partition.impl.avl.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
ADD_CHILD, ALIASED_OBJECT_NAME_AT, aliasIdx, cacheSize, DEFAULT_CACHE_SIZE, ENTRY_CSN_AT, ENTRY_UUID_AT, entryCsnIdx, entryUuidIdx, isSyncOnWrite, master, OBJECT_CLASS_AT, objectClassIdx, oneAliasIdx, optimizer, optimizerEnabled, partitionPath, presenceIdx, rdnIdx, REMOVE_CHILD, searchEngine, subAliasIdx, systemIndices, userIndices
 
Fields inherited from class org.apache.directory.server.core.api.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, createSystemIndex, doInit, getCacheSize, getRootId, isSyncOnWrite, sync
 
Methods inherited from class org.apache.directory.server.core.partition.impl.btree.AbstractBTreePartition
add, addAliasIndices, addIndex, addIndexedAttributes, buildEntryDn, count, delete, delete, doDestroy, dropAliasIndices, dropAliasIndices, dropMovedAliasIndices, dumpIndex, dumpRdnIdx, getAliasIndex, getChildCount, getEntryCsnIndex, getEntryDn, getEntryId, getEntryUuidIndex, getIndex, getIndexedAttributes, getObjectClassIndex, getOneAliasIndex, getParentId, getPresenceIndex, getRdnIndex, getSearchEngine, getSubAliasIndex, getSuffixId, getSystemIndex, getSystemIndices, getUserIndex, getUserIndices, hasEntry, hasIndexOn, hasSystemIndexOn, hasUserIndexOn, isOptimizerEnabled, list, list, lookup, lookup, lookup, modify, modify, move, move, moveAndRename, moveAndRename, rename, rename, search, setCacheSize, setIndexedAttributes, setOptimizerEnabled, setPartitionPath, setSyncOnWrite, setupSystemIndices, setupUserIndices, toString, unbind, updateRdnIdx
 
Methods inherited from class org.apache.directory.server.core.api.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 org.apache.directory.server.xdbm.Store<org.apache.directory.shared.ldap.model.entry.Entry,Long>
Overrides:
getDefaultId in class org.apache.directory.server.core.partition.impl.avl.AvlPartition

getPartitionPath

public URI getPartitionPath()

Specified by:
getPartitionPath in interface org.apache.directory.server.xdbm.Store<org.apache.directory.shared.ldap.model.entry.Entry,Long>
Overrides:
getPartitionPath in class org.apache.directory.server.core.partition.impl.avl.AvlPartition


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