Class CountPlan

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

    public class CountPlan
    extends ShowPlan
    CountPlan is used to count time-series and count nodes. COUNT_TIMESERIES if using "COUNT TIMESERIES " and only this command supports wildcard. COUNT_NODE_TIMESERIES if using "COUNT TIMESERIES GROUP BY LEVEL=" COUNT_NODE if using "COUNT NODES LEVEL="
    • Constructor Detail

      • CountPlan

        public CountPlan​(ShowPlan.ShowContentType showContentType,
                         org.apache.iotdb.commons.path.PartialPath path)
      • CountPlan

        public CountPlan​(ShowPlan.ShowContentType showContentType,
                         org.apache.iotdb.commons.path.PartialPath path,
                         int level)
    • Method Detail

      • getLevel

        public int getLevel()
      • getPath

        public org.apache.iotdb.commons.path.PartialPath getPath()
        Overrides:
        getPath in class ShowPlan