org.neo4j.kernel.impl.nioneo.store
Class DynamicStringStore
java.lang.Object
org.neo4j.kernel.impl.nioneo.store.CommonAbstractStore
org.neo4j.kernel.impl.nioneo.store.AbstractDynamicStore
org.neo4j.kernel.impl.nioneo.store.DynamicStringStore
- All Implemented Interfaces:
- RecordStore<DynamicRecord>, Store
public class DynamicStringStore
- extends AbstractDynamicStore
Dynamic store that stores strings.
| Fields inherited from interface org.neo4j.kernel.impl.nioneo.store.RecordStore |
IN_USE |
| Methods inherited from class org.neo4j.kernel.impl.nioneo.store.AbstractDynamicStore |
allocateRecords, createEmptyStore, figureOutHighestIdInUse, forceGetRaw, forceGetRecord, forceUpdateRecord, freeBlockId, getBlockSize, getEffectiveRecordSize, getLightRecords, getRecord, getRecordHeaderSize, getRecords, getRecordSize, getRecordSize, isRecordInUse, logIdUsage, makeHeavy, readAndVerifyBlockSize, rebuildIdGenerator, toString, updateRecord, verifyFileSizeAndTruncate |
| Methods inherited from class org.neo4j.kernel.impl.nioneo.store.CommonAbstractStore |
acquireWindow, buildTypeDescriptorAndVersion, calculateMappedMemory, checkStorage, checkVersion, close, closeIdGenerator, closeStorage, createIdGenerator, flushAll, freeId, getConfig, getFileChannel, getFileSystem, getHighestPossibleIdInUse, getHighId, getIdType, getIfMemoryMapped, getNumberOfIdsInUse, getStorageFileName, getStoreDir, getStoreOk, getTypeAndVersionDescriptor, getWindowPoolStats, initStorage, isInRecoveryMode, loadStorage, logVersions, longFromIntAndMod, makeStoreOk, nextId, openIdGenerator, openIdGenerator, openReadOnlyIdGenerator, rebuildIdGenerators, registerIdFromUpdateRecord, releaseFileLockAndCloseFileChannel, releaseWindow, setRecovered, setStoreNotOk, setWindowPool, unsetRecovered, updateHighId, verifyCorrectTypeDescriptorAndVersion |
TYPE_DESCRIPTOR
public static final String TYPE_DESCRIPTOR
- See Also:
- Constant Field Values
DynamicStringStore
public DynamicStringStore(String fileName,
Map<?,?> config,
IdType idType)
accept
public void accept(RecordStore.Processor processor,
DynamicRecord record)
getTypeDescriptor
public String getTypeDescriptor()
- Description copied from class:
CommonAbstractStore
- Returns the type and version that identifies this store.
- Specified by:
getTypeDescriptor in interface Store- Specified by:
getTypeDescriptor in class CommonAbstractStore
- Returns:
- This store's implementation type and version identifier
createStore
public static void createStore(String fileName,
int blockSize,
IdGeneratorFactory idGeneratorFactory,
IdType idType)
setHighId
public void setHighId(long highId)
- Description copied from class:
CommonAbstractStore
- Sets the highest id in use (use this when rebuilding id generator).
- Overrides:
setHighId in class CommonAbstractStore
- Parameters:
highId - The high id to set.
nextBlockId
public long nextBlockId()
- Description copied from class:
AbstractDynamicStore
- Returns next free block.
- Overrides:
nextBlockId in class AbstractDynamicStore
- Returns:
- The next free block
Copyright © 2002-2012 The Neo4j Graph Database Project. All Rights Reserved.