public class IncrementalIndexStorageAdapter extends Object implements StorageAdapter
Constructor and Description |
---|
IncrementalIndexStorageAdapter(IncrementalIndex index) |
Modifier and Type | Method and Description |
---|---|
Indexed<String> |
getAvailableDimensions() |
Iterable<String> |
getAvailableMetrics() |
Capabilities |
getCapabilities() |
int |
getDimensionCardinality(String dimension)
Returns the number of distinct values for the given dimension column
For dimensions of unknown cardinality, e.g.
|
org.joda.time.Interval |
getInterval() |
org.joda.time.DateTime |
getMaxIngestedEventTime() |
org.joda.time.DateTime |
getMaxTime() |
org.joda.time.DateTime |
getMinTime() |
String |
getSegmentIdentifier() |
com.metamx.common.guava.Sequence<Cursor> |
makeCursors(Filter filter,
org.joda.time.Interval interval,
QueryGranularity gran) |
public IncrementalIndexStorageAdapter(IncrementalIndex index)
public String getSegmentIdentifier()
getSegmentIdentifier
in interface StorageAdapter
public org.joda.time.Interval getInterval()
getInterval
in interface StorageAdapter
public Indexed<String> getAvailableDimensions()
getAvailableDimensions
in interface StorageAdapter
public Iterable<String> getAvailableMetrics()
getAvailableMetrics
in interface StorageAdapter
public int getDimensionCardinality(String dimension)
StorageAdapter
getDimensionCardinality
in interface StorageAdapter
public org.joda.time.DateTime getMinTime()
getMinTime
in interface StorageAdapter
public org.joda.time.DateTime getMaxTime()
getMaxTime
in interface StorageAdapter
public Capabilities getCapabilities()
getCapabilities
in interface StorageAdapter
public org.joda.time.DateTime getMaxIngestedEventTime()
getMaxIngestedEventTime
in interface StorageAdapter
public com.metamx.common.guava.Sequence<Cursor> makeCursors(Filter filter, org.joda.time.Interval interval, QueryGranularity gran)
makeCursors
in interface CursorFactory
Copyright © 2011–2015. All rights reserved.