public class TemporalIndex
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
TemporalIndex.TemporalPartition
Stores the information of one partition in the temporal index.
|
| Constructor and Description |
|---|
TemporalIndex(FileSystem fs,
Path path)
Constructs a temporal index on the fly given a directory that follows a
standard naming convention for subdirectories.
|
| Modifier and Type | Method and Description |
|---|---|
TemporalIndex.TemporalPartition[] |
selectContained(long start,
long end)
Select all partitions that are totally contained in a given time range
|
TemporalIndex.TemporalPartition[] |
selectOverlap(long start,
long end)
Select all partitions that overlap a temporal query range given as start
and end times.
|
public TemporalIndex(FileSystem fs,
Path path)
throws java.io.IOException,
java.text.ParseException
path - java.io.IOExceptionjava.text.ParseExceptionpublic TemporalIndex.TemporalPartition[] selectOverlap(long start, long end)
start - end - public TemporalIndex.TemporalPartition[] selectContained(long start, long end)
start - end - null if non are matched