public class SimpleDictionaryEncodedColumn extends Object implements DictionaryEncodedColumn<String>
| Constructor and Description |
|---|
SimpleDictionaryEncodedColumn(IndexedInts singleValueColumn,
IndexedMultivalue<IndexedInts> 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(IndexedInts singleValueColumn, IndexedMultivalue<IndexedInts> multiValueColumn, CachingIndexed<String> cachedLookups)
public int length()
length in interface DictionaryEncodedColumn<String>public boolean hasMultipleValues()
hasMultipleValues in interface DictionaryEncodedColumn<String>public int getSingleValueRow(int rowNum)
getSingleValueRow in interface DictionaryEncodedColumn<String>public IndexedInts getMultiValueRow(int rowNum)
getMultiValueRow in interface DictionaryEncodedColumn<String>public String lookupName(int id)
lookupName in interface DictionaryEncodedColumn<String>public int lookupId(String name)
lookupId in interface DictionaryEncodedColumn<String>public int getCardinality()
getCardinality in interface DictionaryEncodedColumn<String>public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2011–2017. All rights reserved.