Package org.apache.druid.query.explain
Class ExplainAttributes
java.lang.Object
org.apache.druid.query.explain.ExplainAttributes
ExplainAttributes holds the attributes of a SQL statement that is used in the EXPLAIN PLAN result.
-
Constructor Summary
ConstructorsConstructorDescriptionExplainAttributes(String statementType, String targetDataSource, Granularity partitionedBy, List<String> clusteredBy, String replaceTimeChunks) -
Method Summary
-
Constructor Details
-
ExplainAttributes
-
-
Method Details
-
getStatementType
- Returns:
- the SQL statement type. For example, SELECT, INSERT, or REPLACE.
-
getTargetDataSource
- Returns:
- the target datasource in a SQL statement. Returns null for SELECT statements where there is no target datasource.
-
getPartitionedBy
- Returns:
- the time-based partitioning granularity specified in the
PARTITIONED BYclause for an INSERT or REPLACE statement. Returns null for SELECT statements.
-
getClusteredBy
- Returns:
- the clustering columns specified in the
CLUSTERED BYclause for an INSERT or REPLACE statement. Returns null for SELECT statements.
-
getReplaceTimeChunks
- Returns:
- the time chunks specified in the
OVERWRITEclause for a REPLACE statement. Returns null for INSERT and SELECT statements.
-
equals
-
hashCode
public int hashCode() -
toString
-