Impala
Impalaistheopensource,nativeanalyticdatabaseforApacheHadoop.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
com.cloudera.impala.analysis.DescribeStmt Class Reference
Inheritance diagram for com.cloudera.impala.analysis.DescribeStmt:
Collaboration diagram for com.cloudera.impala.analysis.DescribeStmt:

Public Member Functions

 DescribeStmt (TableName tableName, TDescribeTableOutputStyle outputStyle)
 
String toSql ()
 
TableName getTable ()
 
TDescribeTableOutputStyle getOutputStyle ()
 
void analyze (Analyzer analyzer) throws AnalysisException
 
TDescribeTableParams toThrift ()
 
void setIsExplain ()
 
boolean isExplain ()
 

Protected Attributes

boolean isExplain_ = false
 

Private Attributes

final TDescribeTableOutputStyle outputStyle_
 
TableName tableName_
 

Detailed Description

Representation of a DESCRIBE table statement which returns metadata on a specified table: Syntax: DESCRIBE [FORMATTED]

FORMATTED is not specified, the statement only returns info on the given table's column definition (column name, data type, and comment). If FORMATTED is specified, extended metadata on the table is returned (in addition to the column definitions). This metadata includes info about the table properties, SerDe properties, StorageDescriptor properties, and more.

Definition at line 33 of file DescribeStmt.java.

Constructor & Destructor Documentation

com.cloudera.impala.analysis.DescribeStmt.DescribeStmt ( TableName  tableName,
TDescribeTableOutputStyle  outputStyle 
)
inline

Definition at line 37 of file DescribeStmt.java.

Member Function Documentation

void com.cloudera.impala.analysis.DescribeStmt.analyze ( Analyzer  analyzer) throws AnalysisException
inline

Perform semantic analysis of node and all of its children. Throws exception if any errors found.

Parameters
analyzer
Exceptions
AnalysisException

Implements com.cloudera.impala.analysis.ParseNode.

Definition at line 55 of file DescribeStmt.java.

References com.cloudera.impala.analysis.TableName.isFullyQualified(), com.cloudera.impala.analysis.DescribeStmt.tableName_, and com.cloudera.impala.authorization.Privilege.VIEW_METADATA.

TDescribeTableOutputStyle com.cloudera.impala.analysis.DescribeStmt.getOutputStyle ( )
inline
TableName com.cloudera.impala.analysis.DescribeStmt.getTable ( )
inline
boolean com.cloudera.impala.analysis.StatementBase.isExplain ( )
inlineinherited
void com.cloudera.impala.analysis.StatementBase.setIsExplain ( )
inlineinherited
String com.cloudera.impala.analysis.DescribeStmt.toSql ( )
inline
Returns
SQL syntax corresponding to this node.

Implements com.cloudera.impala.analysis.ParseNode.

Definition at line 43 of file DescribeStmt.java.

References com.cloudera.impala.analysis.DescribeStmt.outputStyle_, and com.cloudera.impala.analysis.DescribeStmt.tableName_.

TDescribeTableParams com.cloudera.impala.analysis.DescribeStmt.toThrift ( )
inline

Member Data Documentation

final TDescribeTableOutputStyle com.cloudera.impala.analysis.DescribeStmt.outputStyle_
private

The documentation for this class was generated from the following file: