Package org.apache.iotdb.db.qp.logical
Class Operator
- java.lang.Object
-
- org.apache.iotdb.db.qp.logical.Operator
-
- Direct Known Subclasses:
ActivateTemplateOperator,AlterTimeSeriesOperator,AuthorOperator,ClearCacheOperator,CreateAlignedTimeSeriesOperator,CreateContinuousQueryOperator,CreateFunctionOperator,CreateIndexOperator,CreatePipeOperator,CreatePipeSinkOperator,CreateTemplateOperator,CreateTimeSeriesOperator,CreateTriggerOperator,DataAuthOperator,DeleteDataOperator,DeletePartitionOperator,DeleteStorageGroupOperator,DeleteTimeSeriesOperator,DropContinuousQueryOperator,DropFunctionOperator,DropIndexOperator,DropPipeOperator,DropPipeSinkOperator,DropTemplateOperator,DropTriggerOperator,FlushOperator,InsertOperator,KillQueryOperator,LoadConfigurationOperator,LoadDataOperator,LoadFilesOperator,MergeOperator,QueryOperator,RemoveFileOperator,SelectIntoOperator,SetStorageGroupOperator,SetSystemModeOperator,SetTemplateOperator,SettleOperator,SetTTLOperator,ShowOperator,ShowQueryResourceOperate,StartPipeOperator,StartTriggerOperator,StopPipeOperator,StopTriggerOperator,TracingOperator,UnloadFileOperator,UnsetTemplateOperator,UnSetTTLOperator
public abstract class Operator extends java.lang.ObjectThis class is a superclass of all operator.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOperator.OperatorTypeIf you want to add new OperatorType, you must add it in the last.
-
Field Summary
Fields Modifier and Type Field Description protected booleanisDebugprotected booleanisPrefixMatchPathSince IoTDB v0.13, all DDL and DML use patternMatch as default.protected Operator.OperatorTypeoperatorTypeprotected inttokenIntType
-
Constructor Summary
Constructors Modifier Constructor Description protectedOperator(int tokenIntType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PhysicalPlangeneratePhysicalPlan(PhysicalGenerator generator)intgetTokenIntType()Operator.OperatorTypegetType()booleanisDebug()booleanisPrefixMatchPath()booleanisQuery()voidsetDebug(boolean debug)voidsetOperatorType(Operator.OperatorType operatorType)voidsetPrefixMatchPath(boolean prefixMatchPath)java.lang.StringtoString()
-
-
-
Field Detail
-
tokenIntType
protected int tokenIntType
-
isDebug
protected boolean isDebug
-
operatorType
protected Operator.OperatorType operatorType
-
isPrefixMatchPath
protected boolean isPrefixMatchPath
Since IoTDB v0.13, all DDL and DML use patternMatch as default. Before IoTDB v0.13, all DDL and DML use prefixMatch.
-
-
Method Detail
-
getType
public Operator.OperatorType getType()
-
isQuery
public boolean isQuery()
-
getTokenIntType
public int getTokenIntType()
-
setOperatorType
public void setOperatorType(Operator.OperatorType operatorType)
-
isDebug
public boolean isDebug()
-
setDebug
public void setDebug(boolean debug)
-
isPrefixMatchPath
public boolean isPrefixMatchPath()
-
setPrefixMatchPath
public void setPrefixMatchPath(boolean prefixMatchPath)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
generatePhysicalPlan
public PhysicalPlan generatePhysicalPlan(PhysicalGenerator generator) throws QueryProcessException
- Throws:
QueryProcessException
-
-