public class MMappedIndex extends Object
Constructor and Description |
---|
MMappedIndex(GenericIndexed<String> availableDimensions,
GenericIndexed<String> availableMetrics,
org.joda.time.Interval dataInterval,
CompressedLongsIndexedSupplier timestamps,
Map<String,MetricHolder> metrics,
Map<String,GenericIndexed<String>> dimValueLookups,
Map<String,VSizeIndexed> dimColumns,
Map<String,GenericIndexed<com.metamx.collections.bitmap.ImmutableBitmap>> invertedIndexes,
Map<String,com.metamx.collections.spatial.ImmutableRTree> spatialIndexes,
com.metamx.common.io.smoosh.SmooshedFileMapper fileMapper) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
GenericIndexed<String> |
getAvailableDimensions() |
GenericIndexed<String> |
getAvailableMetrics() |
Map<String,GenericIndexed<com.metamx.collections.bitmap.ImmutableBitmap>> |
getBitmapIndexes() |
org.joda.time.Interval |
getDataInterval() |
VSizeIndexed |
getDimColumn(String dimension) |
GenericIndexed<String> |
getDimValueLookup(String dimension) |
com.metamx.common.io.smoosh.SmooshedFileMapper |
getFileMapper() |
MetricHolder |
getMetricHolder(String metric) |
Map<String,MetricHolder> |
getMetrics() |
Map<String,com.metamx.collections.spatial.ImmutableRTree> |
getSpatialIndexes() |
CompressedLongsIndexedSupplier |
getTimestamps() |
public MMappedIndex(GenericIndexed<String> availableDimensions, GenericIndexed<String> availableMetrics, org.joda.time.Interval dataInterval, CompressedLongsIndexedSupplier timestamps, Map<String,MetricHolder> metrics, Map<String,GenericIndexed<String>> dimValueLookups, Map<String,VSizeIndexed> dimColumns, Map<String,GenericIndexed<com.metamx.collections.bitmap.ImmutableBitmap>> invertedIndexes, Map<String,com.metamx.collections.spatial.ImmutableRTree> spatialIndexes, com.metamx.common.io.smoosh.SmooshedFileMapper fileMapper)
public CompressedLongsIndexedSupplier getTimestamps()
public GenericIndexed<String> getAvailableDimensions()
public GenericIndexed<String> getAvailableMetrics()
public Map<String,MetricHolder> getMetrics()
public org.joda.time.Interval getDataInterval()
public MetricHolder getMetricHolder(String metric)
public GenericIndexed<String> getDimValueLookup(String dimension)
public VSizeIndexed getDimColumn(String dimension)
public Map<String,GenericIndexed<com.metamx.collections.bitmap.ImmutableBitmap>> getBitmapIndexes()
public Map<String,com.metamx.collections.spatial.ImmutableRTree> getSpatialIndexes()
public com.metamx.common.io.smoosh.SmooshedFileMapper getFileMapper()
public void close() throws IOException
IOException
Copyright © 2011–2015. All rights reserved.