public class SimpleQueryableIndex extends Object implements QueryableIndex
Constructor and Description |
---|
SimpleQueryableIndex(org.joda.time.Interval dataInterval,
Indexed<String> columnNames,
Indexed<String> dimNames,
Column timeColumn,
Map<String,Column> otherColumns,
com.metamx.common.io.smoosh.SmooshedFileMapper fileMapper) |
Modifier and Type | Method and Description |
---|---|
void |
close()
The close method shouldn't actually be here as this is nasty.
|
Indexed<String> |
getAvailableDimensions() |
Column |
getColumn(String columnName) |
Indexed<String> |
getColumnNames() |
org.joda.time.Interval |
getDataInterval() |
int |
getNumRows() |
Column |
getTimeColumn() |
public org.joda.time.Interval getDataInterval()
getDataInterval
in interface QueryableIndex
public int getNumRows()
getNumRows
in interface QueryableIndex
public Indexed<String> getColumnNames()
getColumnNames
in interface QueryableIndex
public Indexed<String> getAvailableDimensions()
getAvailableDimensions
in interface QueryableIndex
public Column getTimeColumn()
getTimeColumn
in interface ColumnSelector
public Column getColumn(String columnName)
getColumn
in interface ColumnSelector
public void close() throws IOException
QueryableIndex
close
in interface QueryableIndex
IOException
- if an exception was thrown closing the indexCopyright © 2015. All rights reserved.