Class LeafNode
- java.lang.Object
-
- org.apache.iotdb.tsfile.read.query.timegenerator.node.LeafNode
-
-
Constructor Summary
Constructors Constructor Description LeafNode(IBatchReader reader)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancurrentTimeIs(long time)Check whether the current time equals the given time.java.lang.ObjectcurrentValue()Function for getting the value at the given time.NodeTypegetType()booleanhasNext()longnext()
-
-
-
Constructor Detail
-
LeafNode
public LeafNode(IBatchReader reader)
-
-
Method Detail
-
hasNext
public boolean hasNext() throws java.io.IOException
-
next
public long next() throws java.io.IOException
-
currentTimeIs
public boolean currentTimeIs(long time)
Check whether the current time equals the given time.- Parameters:
time- the given time- Returns:
- True if the current time equals the given time. False if not.
-
currentValue
public java.lang.Object currentValue()
Function for getting the value at the given time.
-
-