public interface ColumnSource<T>
Note for implementors: All ColumnSource implementations must map Index.NULL_KEY to a null value
for all get and getPrev methods.
| Modifier and Type | Method and Description |
|---|---|
T |
get(long index) |
Boolean |
getBoolean(long index) |
byte |
getByte(long index) |
byte[] |
getBytes(long index,
int length,
byte[] dest) |
char |
getChar(long index) |
Class<?> |
getComponentType() |
double |
getDouble(long index) |
float |
getFloat(long index) |
Map<T,Index> |
getGroupToRange()
Compute grouping information for all keys present in this column source.
|
Map<T,Index> |
getGroupToRange(Index index)
Compute grouping information for (at least) all keys present in index.
|
int |
getInt(long index) |
long |
getLong(long index) |
T |
getPrev(long index) |
Boolean |
getPrevBoolean(long index) |
byte |
getPrevByte(long index) |
char |
getPrevChar(long index) |
double |
getPrevDouble(long index) |
float |
getPrevFloat(long index) |
int |
getPrevInt(long index) |
long |
getPrevLong(long index) |
short |
getPrevShort(long index) |
long[] |
getPrevSortMapping(Index sourceIndex,
SortingOrder sortingOrder) |
short |
getShort(long index) |
long[] |
getSortMapping(Index sourceIndex,
SortingOrder sortingOrder) |
Class<T> |
getType() |
Map<T,Index> |
getValuesMapping(Index subRange) |
boolean |
isImmutable() |
Index |
match(boolean invertMatch,
boolean usePrev,
boolean caseInsensitive,
Index mapper,
Object... keys) |
void |
releaseCachedResources()
Release any resources held for caching purposes.
|
T get(long index)
Boolean getBoolean(long index)
byte getByte(long index)
byte[] getBytes(long index,
int length,
byte[] dest)
char getChar(long index)
double getDouble(long index)
float getFloat(long index)
int getInt(long index)
long getLong(long index)
short getShort(long index)
T getPrev(long index)
Boolean getPrevBoolean(long index)
byte getPrevByte(long index)
char getPrevChar(long index)
double getPrevDouble(long index)
float getPrevFloat(long index)
int getPrevInt(long index)
long getPrevLong(long index)
short getPrevShort(long index)
Class<?> getComponentType()
Index match(boolean invertMatch, boolean usePrev, boolean caseInsensitive, Index mapper, Object... keys)
long[] getSortMapping(Index sourceIndex, SortingOrder sortingOrder)
long[] getPrevSortMapping(Index sourceIndex, SortingOrder sortingOrder)
Map<T,Index> getGroupToRange()
Map<T,Index> getGroupToRange(Index index)
index - The index to considerboolean isImmutable()
void releaseCachedResources()