Class TimestampOperand
- java.lang.Object
-
- org.apache.iotdb.db.mpp.plan.expression.Expression
-
- org.apache.iotdb.db.mpp.plan.expression.leaf.LeafOperand
-
- org.apache.iotdb.db.mpp.plan.expression.leaf.TimestampOperand
-
public class TimestampOperand extends LeafOperand
-
-
Field Summary
Fields Modifier and Type Field Description static org.apache.iotdb.commons.path.PartialPathTIMESTAMP_PARTIAL_PATH-
Fields inherited from class org.apache.iotdb.db.mpp.plan.expression.Expression
inputColumnIndex, isConstantOperandCache
-
-
Constructor Summary
Constructors Constructor Description TimestampOperand()TimestampOperand(java.nio.ByteBuffer byteBuffer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <R,C>
Raccept(ExpressionVisitor<R,C> visitor, C context)Accessible forExpressionVisitor, useExpressionVisitor.process(org.apache.iotdb.db.mpp.plan.expression.Expression, C)instead.voidbindInputLayerColumnIndexWithExpression(java.util.Map<java.lang.String,java.util.List<InputLocation>> inputLocations)voidbindInputLayerColumnIndexWithExpression(UDTFPlan udtfPlan)voidcollectPaths(java.util.Set<org.apache.iotdb.commons.path.PartialPath> pathSet)voidconcat(java.util.List<org.apache.iotdb.commons.path.PartialPath> prefixPaths, java.util.List<Expression> resultExpressions)protected java.lang.StringgetExpressionStringInternal()Sub-classes should override this method to provide valid string representation of this object.ExpressionTypegetExpressionType()org.apache.iotdb.tsfile.file.metadata.enums.TSDataTypeinferTypes(TypeProvider typeProvider)protected booleanisConstantOperandInternal()Sub-classes should override this method indicating if the expression is a constant operandbooleanisTimeSeriesGeneratingFunctionExpression()voidremoveWildcards(WildcardsRemover wildcardsRemover, java.util.List<Expression> resultExpressions)protected voidserialize(java.io.DataOutputStream stream)protected voidserialize(java.nio.ByteBuffer byteBuffer)voidupdateStatisticsForMemoryAssigner(LayerMemoryAssigner memoryAssigner)-
Methods inherited from class org.apache.iotdb.db.mpp.plan.expression.leaf.LeafOperand
constructUdfExecutors, getExpressions, isMappable
-
Methods inherited from class org.apache.iotdb.db.mpp.plan.expression.Expression
checkInputExpressionDataType, deserialize, equals, getExpressionString, getInputColumnIndex, hashCode, isBuiltInAggregationFunctionExpression, isCompareBinaryExpression, isConstantOperand, isUserDefinedAggregationFunctionExpression, iterator, serialize, serialize, toString
-
-
-
-
Method Detail
-
accept
public <R,C> R accept(ExpressionVisitor<R,C> visitor, C context)
Description copied from class:ExpressionAccessible forExpressionVisitor, useExpressionVisitor.process(org.apache.iotdb.db.mpp.plan.expression.Expression, C)instead.- Overrides:
acceptin classExpression
-
isTimeSeriesGeneratingFunctionExpression
public boolean isTimeSeriesGeneratingFunctionExpression()
- Overrides:
isTimeSeriesGeneratingFunctionExpressionin classExpression
-
concat
public void concat(java.util.List<org.apache.iotdb.commons.path.PartialPath> prefixPaths, java.util.List<Expression> resultExpressions)- Specified by:
concatin classExpression
-
removeWildcards
public void removeWildcards(WildcardsRemover wildcardsRemover, java.util.List<Expression> resultExpressions) throws LogicalOptimizeException
- Specified by:
removeWildcardsin classExpression- Throws:
LogicalOptimizeException
-
collectPaths
public void collectPaths(java.util.Set<org.apache.iotdb.commons.path.PartialPath> pathSet)
- Specified by:
collectPathsin classExpression
-
inferTypes
public org.apache.iotdb.tsfile.file.metadata.enums.TSDataType inferTypes(TypeProvider typeProvider)
- Specified by:
inferTypesin classExpression
-
bindInputLayerColumnIndexWithExpression
public void bindInputLayerColumnIndexWithExpression(UDTFPlan udtfPlan)
- Specified by:
bindInputLayerColumnIndexWithExpressionin classExpression
-
bindInputLayerColumnIndexWithExpression
public void bindInputLayerColumnIndexWithExpression(java.util.Map<java.lang.String,java.util.List<InputLocation>> inputLocations)
- Specified by:
bindInputLayerColumnIndexWithExpressionin classExpression
-
updateStatisticsForMemoryAssigner
public void updateStatisticsForMemoryAssigner(LayerMemoryAssigner memoryAssigner)
- Specified by:
updateStatisticsForMemoryAssignerin classExpression
-
isConstantOperandInternal
protected boolean isConstantOperandInternal()
Description copied from class:ExpressionSub-classes should override this method indicating if the expression is a constant operand- Specified by:
isConstantOperandInternalin classExpression
-
getExpressionStringInternal
protected java.lang.String getExpressionStringInternal()
Description copied from class:ExpressionSub-classes should override this method to provide valid string representation of this object. SeeExpression.getExpressionString()- Specified by:
getExpressionStringInternalin classExpression
-
getExpressionType
public ExpressionType getExpressionType()
- Specified by:
getExpressionTypein classExpression
-
serialize
protected void serialize(java.nio.ByteBuffer byteBuffer)
- Specified by:
serializein classExpression
-
serialize
protected void serialize(java.io.DataOutputStream stream) throws java.io.IOException- Specified by:
serializein classExpression- Throws:
java.io.IOException
-
-