Class CreateContinuousQueryPlan

  • All Implemented Interfaces:
    org.apache.iotdb.consensus.common.request.IConsensusRequest

    public class CreateContinuousQueryPlan
    extends PhysicalPlan
    • 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:
        getPaths in class PhysicalPlan
      • deserialize

        public void deserialize​(java.nio.ByteBuffer buffer)
                         throws org.apache.iotdb.commons.exception.IllegalPathException
        Description copied from class: PhysicalPlan
        Deserialize the plan from the given buffer.
        Overrides:
        deserialize in class PhysicalPlan
        Throws:
        org.apache.iotdb.commons.exception.IllegalPathException