public class IncrementalIndexSegment extends Object implements Segment
Constructor and Description |
---|
IncrementalIndexSegment(IncrementalIndex index,
String segmentIdentifier) |
Modifier and Type | Method and Description |
---|---|
QueryableIndex |
asQueryableIndex() |
StorageAdapter |
asStorageAdapter() |
void |
close() |
org.joda.time.Interval |
getDataInterval() |
String |
getIdentifier() |
public IncrementalIndexSegment(IncrementalIndex index, String segmentIdentifier)
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.