public class VectorCursorGranularizer extends Object
| Modifier and Type | Method and Description |
|---|---|
boolean |
advanceCursorWithinBucket()
Return true, and advances the cursor, if it can be advanced within the current time bucket.
|
static VectorCursorGranularizer |
create(StorageAdapter storageAdapter,
VectorCursor cursor,
Granularity granularity,
org.joda.time.Interval queryInterval) |
Iterable<org.joda.time.Interval> |
getBucketIterable() |
int |
getEndOffset() |
int |
getStartOffset() |
void |
setCurrentOffsets(org.joda.time.Interval bucketInterval) |
@Nullable public static VectorCursorGranularizer create(StorageAdapter storageAdapter, VectorCursor cursor, Granularity granularity, org.joda.time.Interval queryInterval)
public void setCurrentOffsets(org.joda.time.Interval bucketInterval)
public boolean advanceCursorWithinBucket()
public Iterable<org.joda.time.Interval> getBucketIterable()
public int getStartOffset()
public int getEndOffset()
Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.