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<ImmutableBitmap>> invertedIndexes,
Map<String,ImmutableRTree> spatialIndexes,
SmooshedFileMapper fileMapper) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
GenericIndexed<String> |
getAvailableDimensions() |
GenericIndexed<String> |
getAvailableMetrics() |
Map<String,GenericIndexed<ImmutableBitmap>> |
getBitmapIndexes() |
org.joda.time.Interval |
getDataInterval() |
VSizeIndexed |
getDimColumn(String dimension) |
GenericIndexed<String> |
getDimValueLookup(String dimension) |
SmooshedFileMapper |
getFileMapper() |
MetricHolder |
getMetricHolder(String metric) |
Map<String,MetricHolder> |
getMetrics() |
Map<String,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<ImmutableBitmap>> invertedIndexes, Map<String,ImmutableRTree> spatialIndexes, 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<ImmutableBitmap>> getBitmapIndexes()
public Map<String,ImmutableRTree> getSpatialIndexes()
public SmooshedFileMapper getFileMapper()
public void close() throws IOException
IOException
Copyright © 2011–2017. All rights reserved.