Package com.db4o.internal.btree
Class FieldIndexKeyHandler
- java.lang.Object
-
- com.db4o.internal.btree.FieldIndexKeyHandler
-
- All Implemented Interfaces:
CanExcludeNullInQueries
,Comparable4
,Indexable4
,LinkLengthAware
public class FieldIndexKeyHandler extends java.lang.Object implements Indexable4, CanExcludeNullInQueries
-
-
Constructor Summary
Constructors Constructor Description FieldIndexKeyHandler(Indexable4 delegate_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
defragIndexEntry(DefragmentContextImpl context)
boolean
excludeNull()
int
linkLength()
PreparedComparison
prepareComparison(Context context, java.lang.Object fieldIndexKey)
creates a prepared comparison to compare multiple objects against one single object.java.lang.Object
readIndexEntry(Context context, ByteArrayBuffer buffer)
Indexable4
valueHandler()
void
writeIndexEntry(Context context, ByteArrayBuffer writer, java.lang.Object obj)
-
-
-
Constructor Detail
-
FieldIndexKeyHandler
public FieldIndexKeyHandler(Indexable4 delegate_)
-
-
Method Detail
-
linkLength
public int linkLength()
- Specified by:
linkLength
in interfaceLinkLengthAware
-
readIndexEntry
public java.lang.Object readIndexEntry(Context context, ByteArrayBuffer buffer)
- Specified by:
readIndexEntry
in interfaceIndexable4
-
writeIndexEntry
public void writeIndexEntry(Context context, ByteArrayBuffer writer, java.lang.Object obj)
- Specified by:
writeIndexEntry
in interfaceIndexable4
-
valueHandler
public Indexable4 valueHandler()
-
defragIndexEntry
public void defragIndexEntry(DefragmentContextImpl context)
- Specified by:
defragIndexEntry
in interfaceIndexable4
-
prepareComparison
public PreparedComparison prepareComparison(Context context, java.lang.Object fieldIndexKey)
Description copied from interface:Comparable4
creates a prepared comparison to compare multiple objects against one single object.- Specified by:
prepareComparison
in interfaceComparable4
- Parameters:
context
- the context of the comparisonfieldIndexKey
- the object that is to be compared against multiple other objects- Returns:
- the prepared comparison
-
excludeNull
public boolean excludeNull()
- Specified by:
excludeNull
in interfaceCanExcludeNullInQueries
-
-