public class SimpleDictionaryEncodedColumn extends Object implements DictionaryEncodedColumn
| Constructor and Description |
|---|
SimpleDictionaryEncodedColumn(VSizeIndexedInts singleValueColumn,
VSizeIndexed multiValueColumn,
CachingIndexed<String> cachedLookups) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
int |
getCardinality() |
IndexedInts |
getMultiValueRow(int rowNum) |
int |
getSingleValueRow(int rowNum) |
boolean |
hasMultipleValues() |
int |
length() |
int |
lookupId(String name) |
String |
lookupName(int id) |
public SimpleDictionaryEncodedColumn(VSizeIndexedInts singleValueColumn, VSizeIndexed multiValueColumn, CachingIndexed<String> cachedLookups)
public int length()
length in interface DictionaryEncodedColumnpublic boolean hasMultipleValues()
hasMultipleValues in interface DictionaryEncodedColumnpublic int getSingleValueRow(int rowNum)
getSingleValueRow in interface DictionaryEncodedColumnpublic IndexedInts getMultiValueRow(int rowNum)
getMultiValueRow in interface DictionaryEncodedColumnpublic String lookupName(int id)
lookupName in interface DictionaryEncodedColumnpublic int lookupId(String name)
lookupId in interface DictionaryEncodedColumnpublic int getCardinality()
getCardinality in interface DictionaryEncodedColumnpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2015. All rights reserved.