public class QueryableIndexSegment extends Object implements Segment
Constructor and Description |
---|
QueryableIndexSegment(String segmentIdentifier,
QueryableIndex index) |
Modifier and Type | Method and Description |
---|---|
QueryableIndex |
asQueryableIndex() |
StorageAdapter |
asStorageAdapter() |
void |
close() |
org.joda.time.Interval |
getDataInterval() |
String |
getIdentifier() |
public QueryableIndexSegment(String segmentIdentifier, QueryableIndex index)
public String getIdentifier()
getIdentifier
in interface Segment
public org.joda.time.Interval getDataInterval()
getDataInterval
in interface Segment
public QueryableIndex asQueryableIndex()
asQueryableIndex
in interface Segment
public StorageAdapter asStorageAdapter()
asStorageAdapter
in interface Segment
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
Copyright © 2011–2015. All rights reserved.