public class CustomIndex extends AbstractSpaceIndex
ISpaceIndex.FifoGroupsIndexTypes, ISpaceIndex.IndexOriginTypes, ISpaceIndex.MultiValuePerEntryIndexTypes
Modifier and Type | Field and Description |
---|---|
protected ISpaceValueGetter<ServerEntry> |
_indexValueGetter |
Constructor and Description |
---|
CustomIndex() |
CustomIndex(String indexName,
ISpaceValueGetter<ServerEntry> indexValueGetter,
boolean isUnique,
SpaceIndexType indexType) |
Modifier and Type | Method and Description |
---|---|
ISpaceIndex.IndexOriginTypes |
getIndexOriginType() |
Object |
getIndexValue(ServerEntry entry) |
Object |
getIndexValueForTemplate(ServerEntry entry) |
protected void |
readExternalImpl(ObjectInput in) |
void |
readFromSwap(ObjectInput in) |
protected void |
writeExternalImpl(ObjectOutput out) |
void |
writeToSwap(ObjectOutput out) |
equals, getCompoundIndexSegments, getIndexType, getIndexValueFromCustomIndex, getMultiValueIndexType, getName, getNumSegments, hashCode, isCompoundIndex, isMultiValuePerEntryIndex, isUnique, setUnique, toString
readExternal, writeExternal
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
enabledSmartExternalizableWithReference
readExternal, writeExternal
protected ISpaceValueGetter<ServerEntry> _indexValueGetter
public CustomIndex()
public CustomIndex(String indexName, ISpaceValueGetter<ServerEntry> indexValueGetter, boolean isUnique, SpaceIndexType indexType)
public Object getIndexValue(ServerEntry entry)
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
public Object getIndexValueForTemplate(ServerEntry entry)
Copyright © GigaSpaces.