org.neo4j.kernel.impl.nioneo.store
Class DynamicArrayStore

java.lang.Object
  extended by org.neo4j.kernel.impl.nioneo.store.CommonAbstractStore
      extended by org.neo4j.kernel.impl.nioneo.store.AbstractDynamicStore
          extended by org.neo4j.kernel.impl.nioneo.store.DynamicArrayStore
All Implemented Interfaces:
RecordStore<DynamicRecord>, Store

public class DynamicArrayStore
extends AbstractDynamicStore

Dynamic store that stores strings.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.neo4j.kernel.impl.nioneo.store.RecordStore
RecordStore.Processor
 
Field Summary
static String TYPE_DESCRIPTOR
           
 
Fields inherited from class org.neo4j.kernel.impl.nioneo.store.AbstractDynamicStore
BLOCK_HEADER_SIZE
 
Fields inherited from class org.neo4j.kernel.impl.nioneo.store.CommonAbstractStore
ALL_STORES_VERSION, logger, storageFileName, UNKNOWN_VERSION
 
Fields inherited from interface org.neo4j.kernel.impl.nioneo.store.RecordStore
IN_USE
 
Constructor Summary
DynamicArrayStore(String fileName, Map<?,?> config, IdType idType)
           
 
Method Summary
 void accept(RecordStore.Processor processor, DynamicRecord record)
           
 Collection<DynamicRecord> allocateRecords(long startBlock, Object array)
           
static void createStore(String fileName, int blockSize, IdGeneratorFactory idGeneratorFactory)
           
 Object getRightArray(Pair<byte[],byte[]> data)
           
 String getTypeDescriptor()
          Returns the type and version that identifies this store.
 
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, nextBlockId, 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, setHighId, setRecovered, setStoreNotOk, setWindowPool, unsetRecovered, updateHighId, verifyCorrectTypeDescriptorAndVersion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.neo4j.kernel.impl.nioneo.store.Store
getHighestPossibleIdInUse, getNumberOfIdsInUse, getWindowPoolStats, nextId
 
Methods inherited from interface org.neo4j.kernel.impl.nioneo.store.RecordStore
close, getHighId
 

Field Detail

TYPE_DESCRIPTOR

public static final String TYPE_DESCRIPTOR
See Also:
Constant Field Values
Constructor Detail

DynamicArrayStore

public DynamicArrayStore(String fileName,
                         Map<?,?> config,
                         IdType idType)
Method Detail

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)

allocateRecords

public Collection<DynamicRecord> allocateRecords(long startBlock,
                                                 Object array)

getRightArray

public Object getRightArray(Pair<byte[],byte[]> data)


Copyright © 2002-2012 The Neo4j Graph Database Project. All Rights Reserved.