public static class ArrayTable.ObjectDictionary extends Object implements ArrayTable.Representation
| Modifier and Type | Field and Description |
|---|---|
(package private) int |
ordinal |
(package private) ArrayTable.Representation |
representation |
| Constructor and Description |
|---|
ObjectDictionary(int ordinal,
ArrayTable.Representation representation) |
| Modifier and Type | Method and Description |
|---|---|
Object |
freeze(ColumnLoader.ValueSet valueSet,
int[] sources)
Converts a value set into a compact representation.
|
int |
getInt(Object dataSet,
int ordinal) |
Object |
getObject(Object dataSet,
int ordinal) |
ArrayTable.RepresentationType |
getType()
Returns the representation type.
|
Object |
permute(Object dataSet,
int[] sources)
Creates a data set that is the same as a given data set
but re-ordered.
|
int |
size(Object dataSet)
Returns the number of elements in a data set.
|
String |
toString() |
String |
toString(Object dataSet)
Converts a data set to a string.
|
final int ordinal
final ArrayTable.Representation representation
ObjectDictionary(int ordinal,
ArrayTable.Representation representation)
public ArrayTable.RepresentationType getType()
ArrayTable.RepresentationgetType in interface ArrayTable.Representationpublic Object freeze(ColumnLoader.ValueSet valueSet, int[] sources)
ArrayTable.Representationsources is not null, permutes.freeze in interface ArrayTable.Representationpublic Object permute(Object dataSet, int[] sources)
ArrayTable.Representationpermute in interface ArrayTable.Representationpublic Object getObject(Object dataSet, int ordinal)
getObject in interface ArrayTable.Representationpublic int getInt(Object dataSet, int ordinal)
getInt in interface ArrayTable.Representationpublic int size(Object dataSet)
ArrayTable.Representationsize in interface ArrayTable.Representationpublic String toString(Object dataSet)
ArrayTable.RepresentationtoString in interface ArrayTable.RepresentationCopyright © 2012–2018 The Apache Software Foundation. All rights reserved.