C# Class Stash.BerkeleyDB.Engine.ManagedIndex

Show file Open project: AndyHitchman/Stash

Public Methods

Method Description
BuildIndexFromGraphs ( ) : void
ByteArrayAsKey ( byte bytes ) : object
Close ( ) : void
Delete ( DatabaseEntry graphKey, Transaction transaction ) : void
EnsureIndex ( ) : void
Insert ( object untypedKey, InternalId internalId, Transaction transaction ) : void
KeyAsByteArray ( object key ) : byte[]
ManagedIndex ( BerkeleyBackingStore backingStore, IBerkeleyBackingStoreEnvironment environment, IRegisteredIndexer registeredIndexer ) : System.Collections
RecompileIsRequired ( ) : bool

Private Methods

Method Description
getIndexFilename ( ) : string
getReverseIndexFilename ( ) : string
indexExists ( ) : bool
indexIsTypeHierarchy ( ) : bool

Method Details

BuildIndexFromGraphs() public method

public BuildIndexFromGraphs ( ) : void
return void

ByteArrayAsKey() public method

public ByteArrayAsKey ( byte bytes ) : object
bytes byte
return object

Close() public method

public Close ( ) : void
return void

Delete() public method

public Delete ( DatabaseEntry graphKey, Transaction transaction ) : void
graphKey DatabaseEntry
transaction Transaction
return void

EnsureIndex() public method

public EnsureIndex ( ) : void
return void

Insert() public method

public Insert ( object untypedKey, InternalId internalId, Transaction transaction ) : void
untypedKey object
internalId Stash.Engine.InternalId
transaction Transaction
return void

KeyAsByteArray() public method

public KeyAsByteArray ( object key ) : byte[]
key object
return byte[]

ManagedIndex() public method

public ManagedIndex ( BerkeleyBackingStore backingStore, IBerkeleyBackingStoreEnvironment environment, IRegisteredIndexer registeredIndexer ) : System.Collections
backingStore BerkeleyBackingStore
environment IBerkeleyBackingStoreEnvironment
registeredIndexer IRegisteredIndexer
return System.Collections

RecompileIsRequired() public method

public RecompileIsRequired ( ) : bool
return bool