public class SimpleQueryableIndex extends Object implements QueryableIndex
| Constructor and Description | 
|---|
SimpleQueryableIndex(org.joda.time.Interval dataInterval,
                    Indexed<String> columnNames,
                    Indexed<String> dimNames,
                    BitmapFactory bitmapFactory,
                    Map<String,Column> columns,
                    SmooshedFileMapper fileMapper,
                    Metadata metadata)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
close()
The close method shouldn't actually be here as this is nasty. 
 | 
Indexed<String> | 
getAvailableDimensions()  | 
BitmapFactory | 
getBitmapFactoryForDimensions()  | 
Column | 
getColumn(String columnName)  | 
Indexed<String> | 
getColumnNames()  | 
org.joda.time.Interval | 
getDataInterval()  | 
Map<String,DimensionHandler> | 
getDimensionHandlers()  | 
Metadata | 
getMetadata()  | 
int | 
getNumRows()  | 
public SimpleQueryableIndex(org.joda.time.Interval dataInterval,
                            Indexed<String> columnNames,
                            Indexed<String> dimNames,
                            BitmapFactory bitmapFactory,
                            Map<String,Column> columns,
                            SmooshedFileMapper fileMapper,
                            Metadata metadata)
public org.joda.time.Interval getDataInterval()
getDataInterval in interface QueryableIndexpublic int getNumRows()
getNumRows in interface QueryableIndexpublic Indexed<String> getColumnNames()
getColumnNames in interface ColumnSelectorpublic Indexed<String> getAvailableDimensions()
getAvailableDimensions in interface QueryableIndexpublic BitmapFactory getBitmapFactoryForDimensions()
getBitmapFactoryForDimensions in interface QueryableIndex@Nullable public Column getColumn(String columnName)
getColumn in interface ColumnSelectorpublic void close()
           throws IOException
QueryableIndexclose in interface QueryableIndexclose in interface Closeableclose in interface AutoCloseableIOException - if an exception was thrown closing the indexpublic Metadata getMetadata()
getMetadata in interface QueryableIndexpublic Map<String,DimensionHandler> getDimensionHandlers()
getDimensionHandlers in interface QueryableIndexCopyright © 2011–2018. All rights reserved.