Class CreateContinuousQueryPlan
- java.lang.Object
-
- org.apache.iotdb.db.qp.physical.PhysicalPlan
-
- org.apache.iotdb.db.qp.physical.sys.CreateContinuousQueryPlan
-
- All Implemented Interfaces:
org.apache.iotdb.consensus.common.request.IConsensusRequest
public class CreateContinuousQueryPlan extends PhysicalPlan
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.iotdb.db.qp.physical.PhysicalPlan
PhysicalPlan.Factory, PhysicalPlan.PhysicalPlanType
-
-
Field Summary
-
Fields inherited from class org.apache.iotdb.db.qp.physical.PhysicalPlan
canBeSplit, index
-
-
Constructor Summary
Constructors Constructor Description CreateContinuousQueryPlan()CreateContinuousQueryPlan(java.lang.String querySql, java.lang.String continuousQueryName, org.apache.iotdb.commons.path.PartialPath targetPath, long everyInterval, long forInterval, long groupByTimeIntervalUnit, java.lang.String groupByTimeIntervalString, java.lang.Long firstExecutionTimeBoundary)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddeserialize(java.nio.ByteBuffer buffer)Deserialize the plan from the given buffer.java.lang.StringgetContinuousQueryName()longgetEveryInterval()longgetFirstExecutionTimeBoundary()longgetForInterval()longgetGroupByTimeInterval()java.lang.StringgetGroupByTimeIntervalString()java.util.List<org.apache.iotdb.commons.path.PartialPath>getPaths()java.lang.StringgetQuerySql()java.lang.StringgetQuerySqlAfterGroupByClause()java.lang.StringgetQuerySqlBeforeGroupByClause()org.apache.iotdb.commons.path.PartialPathgetTargetPath()voidserializeImpl(java.nio.ByteBuffer buffer)voidsetTargetPath(org.apache.iotdb.commons.path.PartialPath targetPath)-
Methods inherited from class org.apache.iotdb.db.qp.physical.PhysicalPlan
canBeSplit, checkIntegrity, deserialize, getAggregations, getAuthPaths, getIndex, getLoginUserName, getOperatorName, getOperatorType, isAuthenticationRequired, isDebug, isPrefixMatch, isQuery, isSelectInto, putString, putString, putStrings, putStrings, readString, readStrings, serialize, serialize, serializeToByteBuffer, setDebug, setIndex, setLoginUserName, setOperatorType, setPaths, setPrefixMatch, setQuery
-
-
-
-
Constructor Detail
-
CreateContinuousQueryPlan
public CreateContinuousQueryPlan()
-
CreateContinuousQueryPlan
public CreateContinuousQueryPlan(java.lang.String querySql, java.lang.String continuousQueryName, org.apache.iotdb.commons.path.PartialPath targetPath, long everyInterval, long forInterval, long groupByTimeIntervalUnit, java.lang.String groupByTimeIntervalString, java.lang.Long firstExecutionTimeBoundary)
-
-
Method Detail
-
getQuerySql
public java.lang.String getQuerySql()
-
getQuerySqlBeforeGroupByClause
public java.lang.String getQuerySqlBeforeGroupByClause()
-
getQuerySqlAfterGroupByClause
public java.lang.String getQuerySqlAfterGroupByClause()
-
getContinuousQueryName
public java.lang.String getContinuousQueryName()
-
setTargetPath
public void setTargetPath(org.apache.iotdb.commons.path.PartialPath targetPath)
-
getTargetPath
public org.apache.iotdb.commons.path.PartialPath getTargetPath()
-
getEveryInterval
public long getEveryInterval()
-
getForInterval
public long getForInterval()
-
getGroupByTimeInterval
public long getGroupByTimeInterval()
-
getGroupByTimeIntervalString
public java.lang.String getGroupByTimeIntervalString()
-
getFirstExecutionTimeBoundary
public long getFirstExecutionTimeBoundary()
-
getPaths
public java.util.List<org.apache.iotdb.commons.path.PartialPath> getPaths()
- Specified by:
getPathsin classPhysicalPlan
-
serializeImpl
public void serializeImpl(java.nio.ByteBuffer buffer)
- Overrides:
serializeImplin classPhysicalPlan
-
deserialize
public void deserialize(java.nio.ByteBuffer buffer) throws org.apache.iotdb.commons.exception.IllegalPathExceptionDescription copied from class:PhysicalPlanDeserialize the plan from the given buffer.- Overrides:
deserializein classPhysicalPlan- Throws:
org.apache.iotdb.commons.exception.IllegalPathException
-
-