Class CountStatement
- java.lang.Object
-
- org.apache.iotdb.db.mpp.plan.statement.StatementNode
-
- org.apache.iotdb.db.mpp.plan.statement.Statement
-
- org.apache.iotdb.db.mpp.plan.statement.metadata.ShowStatement
-
- org.apache.iotdb.db.mpp.plan.statement.metadata.CountStatement
-
- Direct Known Subclasses:
CountDevicesStatement,CountLevelTimeSeriesStatement,CountNodesStatement,CountStorageGroupStatement,CountTimeSeriesStatement
public class CountStatement extends ShowStatement
COUNT statement.Here is the syntax definition:
COUNT {STORAGE GROUP | DEVICES | TIMESERIES | NODES} [prefixPath] [GROUP BY] LEVEL = level
-
-
Field Summary
Fields Modifier and Type Field Description protected org.apache.iotdb.commons.path.PartialPathpathPattern-
Fields inherited from class org.apache.iotdb.db.mpp.plan.statement.metadata.ShowStatement
isPrefixPath
-
Fields inherited from class org.apache.iotdb.db.mpp.plan.statement.Statement
isDebug, statementType
-
-
Constructor Summary
Constructors Constructor Description CountStatement(org.apache.iotdb.commons.path.PartialPath pathPattern)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.iotdb.commons.path.PartialPathgetPathPattern()java.util.List<org.apache.iotdb.commons.path.PartialPath>getPaths()voidsetPathPattern(org.apache.iotdb.commons.path.PartialPath pathPattern)-
Methods inherited from class org.apache.iotdb.db.mpp.plan.statement.metadata.ShowStatement
getLimit, getOffset, isPrefixPath, setLimit, setOffset, setPrefixPath
-
Methods inherited from class org.apache.iotdb.db.mpp.plan.statement.Statement
getType, isAuthenticationRequired, isDebug, isQuery, setDebug, setType
-
Methods inherited from class org.apache.iotdb.db.mpp.plan.statement.StatementNode
accept
-
-
-
-
Method Detail
-
getPathPattern
public org.apache.iotdb.commons.path.PartialPath getPathPattern()
-
setPathPattern
public void setPathPattern(org.apache.iotdb.commons.path.PartialPath pathPattern)
-
getPaths
public java.util.List<org.apache.iotdb.commons.path.PartialPath> getPaths()
- Overrides:
getPathsin classShowStatement
-
-