Package com.db4o.internal.classindex
Interface ClassIndexStrategy
-
- All Known Implementing Classes:
AbstractClassIndexStrategy
,BTreeClassIndexStrategy
public interface ClassIndexStrategy
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
add(Transaction transaction, int id)
Iterator4
allSlotIDs(Transaction trans)
void
defragIndex(DefragmentContextImpl context)
void
defragReference(ClassMetadata classMetadata, DefragmentContextImpl context, int classIndexID)
void
dontDelete(Transaction transaction, int id)
int
entryCount(Transaction transaction)
int
id()
IntVisitable
idVisitable(Transaction trans)
void
initialize(ObjectContainerBase stream)
int
ownLength()
void
purge()
void
read(ObjectContainerBase stream, int indexID)
void
remove(Transaction transaction, int id)
void
traverseIds(Transaction transaction, Visitor4 command)
Traverses all index entries (java.lang.Integer references).int
write(Transaction transaction)
-
-
-
Method Detail
-
initialize
void initialize(ObjectContainerBase stream)
-
read
void read(ObjectContainerBase stream, int indexID)
-
write
int write(Transaction transaction)
-
add
void add(Transaction transaction, int id)
-
remove
void remove(Transaction transaction, int id)
-
entryCount
int entryCount(Transaction transaction)
-
ownLength
int ownLength()
-
purge
void purge()
-
traverseIds
void traverseIds(Transaction transaction, Visitor4 command)
Traverses all index entries (java.lang.Integer references).
-
dontDelete
void dontDelete(Transaction transaction, int id)
-
allSlotIDs
Iterator4 allSlotIDs(Transaction trans)
-
defragReference
void defragReference(ClassMetadata classMetadata, DefragmentContextImpl context, int classIndexID)
-
id
int id()
-
defragIndex
void defragIndex(DefragmentContextImpl context)
-
idVisitable
IntVisitable idVisitable(Transaction trans)
-
-