public class SingleScanTimeDimSelector extends Object implements DimensionSelector
Constructor and Description |
---|
SingleScanTimeDimSelector(LongColumnSelector selector,
ExtractionFn extractionFn) |
Modifier and Type | Method and Description |
---|---|
IndexedInts |
getRow()
Gets all values for the row inside of an IntBuffer.
|
int |
getValueCardinality()
Value cardinality is the cardinality of the different occurring values.
|
int |
lookupId(String name)
The ID is the int id value of the field.
|
String |
lookupName(int id)
The Name is the String name of the actual field.
|
public SingleScanTimeDimSelector(LongColumnSelector selector, ExtractionFn extractionFn)
public IndexedInts getRow()
DimensionSelector
getRow
in interface DimensionSelector
public int getValueCardinality()
DimensionSelector
getValueCardinality
in interface DimensionSelector
public String lookupName(int id)
DimensionSelector
lookupName
in interface DimensionSelector
id
- id to lookup the field name forpublic int lookupId(String name)
DimensionSelector
lookupId
in interface DimensionSelector
name
- field name to look up the id forCopyright © 2011–2015. All rights reserved.