public class IncrementalIndexAdapter extends Object implements IndexableAdapter
Constructor and Description |
---|
IncrementalIndexAdapter(org.joda.time.Interval dataInterval,
IncrementalIndex<?> index,
com.metamx.collections.bitmap.BitmapFactory bitmapFactory) |
Modifier and Type | Method and Description |
---|---|
IndexedInts |
getBitmapIndex(String dimension,
String value) |
ColumnCapabilities |
getCapabilities(String column) |
org.joda.time.Interval |
getDataInterval() |
Indexed<String> |
getDimensionNames() |
Indexed<String> |
getDimValueLookup(String dimension) |
Indexed<String> |
getMetricNames() |
String |
getMetricType(String metric) |
int |
getNumRows() |
Iterable<Rowboat> |
getRows() |
public IncrementalIndexAdapter(org.joda.time.Interval dataInterval, IncrementalIndex<?> index, com.metamx.collections.bitmap.BitmapFactory bitmapFactory)
public org.joda.time.Interval getDataInterval()
getDataInterval
in interface IndexableAdapter
public int getNumRows()
getNumRows
in interface IndexableAdapter
public Indexed<String> getDimensionNames()
getDimensionNames
in interface IndexableAdapter
public Indexed<String> getMetricNames()
getMetricNames
in interface IndexableAdapter
public Indexed<String> getDimValueLookup(String dimension)
getDimValueLookup
in interface IndexableAdapter
public Iterable<Rowboat> getRows()
getRows
in interface IndexableAdapter
public IndexedInts getBitmapIndex(String dimension, String value)
getBitmapIndex
in interface IndexableAdapter
public String getMetricType(String metric)
getMetricType
in interface IndexableAdapter
public ColumnCapabilities getCapabilities(String column)
getCapabilities
in interface IndexableAdapter
Copyright © 2011–2015. All rights reserved.