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

Public Member Functions

 SetStmt (String key, String value)
 
String toSql ()
 
void analyze (Analyzer analyzer)
 
TSetQueryOptionRequest toThrift ()
 
void setIsExplain ()
 
boolean isExplain ()
 

Protected Attributes

boolean isExplain_ = false
 

Static Private Member Functions

static String resolveThriftKey (String key)
 

Private Attributes

final String key_
 
final String value_
 

Static Private Attributes

static final String DEPRECATED_PARQUET_CODEC_KEY = "PARQUET_COMPRESSION_CODEC"
 
static final String COMPRESSION_CODEC_KEY = "COMPRESSION_CODEC"
 

Detailed Description

Representation of a SET query options statement.

Definition at line 23 of file SetStmt.java.

Constructor & Destructor Documentation

com.cloudera.impala.analysis.SetStmt.SetStmt ( String  key,
String  value 
)
inline

Member Function Documentation

void com.cloudera.impala.analysis.SetStmt.analyze ( Analyzer  analyzer)
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 54 of file SetStmt.java.

boolean com.cloudera.impala.analysis.StatementBase.isExplain ( )
inlineinherited
static String com.cloudera.impala.analysis.SetStmt.resolveThriftKey ( String  key)
inlinestaticprivate
void com.cloudera.impala.analysis.StatementBase.setIsExplain ( )
inlineinherited
String com.cloudera.impala.analysis.SetStmt.toSql ( )
inline
Returns
SQL syntax corresponding to this node.

Implements com.cloudera.impala.analysis.ParseNode.

Definition at line 47 of file SetStmt.java.

References com.cloudera.impala.analysis.SetStmt.key_, and com.cloudera.impala.analysis.SetStmt.value_.

TSetQueryOptionRequest com.cloudera.impala.analysis.SetStmt.toThrift ( )
inline

Member Data Documentation

final String com.cloudera.impala.analysis.SetStmt.COMPRESSION_CODEC_KEY = "COMPRESSION_CODEC"
staticprivate

Definition at line 29 of file SetStmt.java.

Referenced by com.cloudera.impala.analysis.SetStmt.resolveThriftKey().

final String com.cloudera.impala.analysis.SetStmt.DEPRECATED_PARQUET_CODEC_KEY = "PARQUET_COMPRESSION_CODEC"
staticprivate

Definition at line 28 of file SetStmt.java.

final String com.cloudera.impala.analysis.SetStmt.key_
private
final String com.cloudera.impala.analysis.SetStmt.value_
private

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