public abstract class TimeGenerator extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Node |
operatorNode |
| Constructor and Description |
|---|
TimeGenerator() |
| Modifier and Type | Method and Description |
|---|---|
protected Node |
construct(IExpression expression)
construct the tree that generate timestamp.
|
void |
constructNode(IExpression expression) |
protected abstract IBatchReader |
generateNewBatchReader(SingleSeriesExpression expression) |
abstract Filter |
getTimeFilter() |
Object |
getValue(Path path)
ATTENTION: this method should only be used when there is no `OR` node
|
Object[] |
getValues(Path path)
ATTENTION: this method should only be used when there is no `OR` node
|
boolean |
hasNext() |
boolean |
hasOrNode() |
protected abstract boolean |
isAscending() |
long |
next() |
protected Node operatorNode
public boolean hasNext()
throws IOException
IOExceptionpublic long next()
throws IOException
IOExceptionpublic Object[] getValues(Path path) throws IOException
IOExceptionpublic Object getValue(Path path) throws IOException
IOExceptionpublic void constructNode(IExpression expression) throws IOException
IOExceptionprotected Node construct(IExpression expression) throws IOException
IOExceptionprotected abstract IBatchReader generateNewBatchReader(SingleSeriesExpression expression) throws IOException
IOExceptionpublic boolean hasOrNode()
protected abstract boolean isAscending()
public abstract Filter getTimeFilter()
Copyright © 2022 The Apache Software Foundation. All rights reserved.