org.exist.storage
Class ValueIndexKeyFactorySimple
java.lang.Object
org.exist.storage.ValueIndexKeyFactorySimple
- All Implemented Interfaces:
- Comparable, ValueIndexKeyFactory
public class ValueIndexKeyFactorySimple
- extends Object
- implements ValueIndexKeyFactory
Simple wrapper around an Indexable object, that adds the collectionId
to the srailization of the indexable.
TODO "ValueIndexKeyFactory" refactoring: use this class in NativeValueIndex
OFFSET_COLLECTION_ID
public static int OFFSET_COLLECTION_ID
OFFSET_VALUE
public static int OFFSET_VALUE
ValueIndexKeyFactorySimple
public ValueIndexKeyFactorySimple(Indexable indexable)
serialize
public byte[] serialize(short collectionId)
throws EXistException
- Throws:
EXistException
compareTo
public int compareTo(Object other)
- Specified by:
compareTo
in interface Comparable
- Returns:
- negative value <==> this object is less than other
Copyright (C) Wolfgang Meier. All rights reserved.