public class SpaceCollectionIndex extends AbstractSpaceIndex
ISpaceIndex.FifoGroupsIndexTypes, ISpaceIndex.IndexOriginTypes, ISpaceIndex.MultiValuePerEntryIndexTypes
Modifier and Type | Field and Description |
---|---|
protected SpaceEntryCollectionValuesExtractor |
_valuesExtractor |
static String |
COLLECTION_INDICATOR |
Constructor and Description |
---|
SpaceCollectionIndex() |
SpaceCollectionIndex(String path,
SpaceIndexType indexType,
boolean unique) |
Modifier and Type | Method and Description |
---|---|
ISpaceIndex.IndexOriginTypes |
getIndexOriginType() |
Object |
getIndexValue(ServerEntry entry) |
Object |
getIndexValueForTemplate(ServerEntry entry) |
ISpaceIndex.MultiValuePerEntryIndexTypes |
getMultiValueIndexType() |
boolean |
isMultiValuePerEntryIndex() |
protected void |
readExternalImpl(ObjectInput in) |
void |
readFromSwap(ObjectInput in) |
protected void |
writeExternalImpl(ObjectOutput out) |
void |
writeToSwap(ObjectOutput out) |
equals, getCompoundIndexSegments, getIndexType, getIndexValueFromCustomIndex, getName, getNumSegments, hashCode, isCompoundIndex, isUnique, setUnique, toString
readExternal, writeExternal
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
enabledSmartExternalizableWithReference
readExternal, writeExternal
public static final String COLLECTION_INDICATOR
protected SpaceEntryCollectionValuesExtractor _valuesExtractor
public SpaceCollectionIndex()
public SpaceCollectionIndex(String path, SpaceIndexType indexType, boolean unique)
public Object getIndexValue(ServerEntry entry)
public Object getIndexValueForTemplate(ServerEntry entry)
public boolean isMultiValuePerEntryIndex()
isMultiValuePerEntryIndex
in interface ISpaceIndex
isMultiValuePerEntryIndex
in class AbstractSpaceIndex
public ISpaceIndex.MultiValuePerEntryIndexTypes getMultiValueIndexType()
getMultiValueIndexType
in interface ISpaceIndex
getMultiValueIndexType
in class AbstractSpaceIndex
public ISpaceIndex.IndexOriginTypes getIndexOriginType()
protected void readExternalImpl(ObjectInput in) throws IOException, ClassNotFoundException
readExternalImpl
in class AbstractSpaceIndex
IOException
ClassNotFoundException
public void readFromSwap(ObjectInput in) throws IOException, ClassNotFoundException
readFromSwap
in interface ISwapExternalizable
readFromSwap
in class AbstractSpaceIndex
IOException
ClassNotFoundException
protected void writeExternalImpl(ObjectOutput out) throws IOException
writeExternalImpl
in class AbstractSpaceIndex
IOException
public void writeToSwap(ObjectOutput out) throws IOException
writeToSwap
in interface ISwapExternalizable
writeToSwap
in class AbstractSpaceIndex
IOException
Copyright © GigaSpaces.