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, toStringreadExternal, writeExternalclone, finalize, getClass, notify, notifyAll, wait, wait, waitreadExternal, writeExternalprotected 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 AbstractSpaceIndexIOExceptionClassNotFoundExceptionpublic void readFromSwap(ObjectInput in) throws IOException, ClassNotFoundException
readFromSwap in interface ISwapExternalizablereadFromSwap in class AbstractSpaceIndexIOExceptionClassNotFoundExceptionprotected void writeExternalImpl(ObjectOutput out) throws IOException
writeExternalImpl in class AbstractSpaceIndexIOExceptionpublic void writeToSwap(ObjectOutput out) throws IOException
writeToSwap in interface ISwapExternalizablewriteToSwap in class AbstractSpaceIndexIOExceptionpublic Object getIndexValueForTemplate(ServerEntry entry)
Copyright © GigaSpaces.