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

Public Member Functions

 PartitionSpec (List< PartitionKeyValue > partitionSpec)
 
List< PartitionKeyValuegetPartitionSpecKeyValues ()
 
String getTbl ()
 
void setTableName (TableName tableName)
 
boolean partitionExists ()
 
String getNullPartitionKeyValue ()
 
void setPartitionShouldExist ()
 
void setPartitionShouldNotExist ()
 
void setPrivilegeRequirement (Privilege privilege)
 
void analyze (Analyzer analyzer) throws AnalysisException
 
List< TPartitionKeyValue > toThrift ()
 
String toSql ()
 

Private Attributes

final ImmutableList
< PartitionKeyValue
partitionSpec_
 
TableName tableName_
 
Boolean partitionShouldExist_
 
Privilege privilegeRequirement_
 
Boolean partitionExists_
 
String nullPartitionKeyValue_
 

Detailed Description

Definition at line 24 of file PartitionSpec.java.

Constructor & Destructor Documentation

com.cloudera.impala.analysis.PartitionSpec.PartitionSpec ( List< PartitionKeyValue partitionSpec)
inline

Definition at line 38 of file PartitionSpec.java.

Member Function Documentation

String com.cloudera.impala.analysis.PartitionSpec.getNullPartitionKeyValue ( )
inline
List<PartitionKeyValue> com.cloudera.impala.analysis.PartitionSpec.getPartitionSpecKeyValues ( )
inline
String com.cloudera.impala.analysis.PartitionSpec.getTbl ( )
inline
boolean com.cloudera.impala.analysis.PartitionSpec.partitionExists ( )
inline
void com.cloudera.impala.analysis.PartitionSpec.setPartitionShouldExist ( )
inline
void com.cloudera.impala.analysis.PartitionSpec.setPartitionShouldNotExist ( )
inline
void com.cloudera.impala.analysis.PartitionSpec.setPrivilegeRequirement ( Privilege  privilege)
inline
void com.cloudera.impala.analysis.PartitionSpec.setTableName ( TableName  tableName)
inline

Definition at line 47 of file PartitionSpec.java.

String com.cloudera.impala.analysis.PartitionSpec.toSql ( )
inline
Returns
SQL syntax corresponding to this node.

Implements com.cloudera.impala.analysis.ParseNode.

Definition at line 177 of file PartitionSpec.java.

References com.cloudera.impala.analysis.PartitionSpec.partitionSpec_.

Referenced by com.cloudera.impala.analysis.ComputeStatsStmt.toSql().

List<TPartitionKeyValue> com.cloudera.impala.analysis.PartitionSpec.toThrift ( )
inline

Member Data Documentation

String com.cloudera.impala.analysis.PartitionSpec.nullPartitionKeyValue_
private
Boolean com.cloudera.impala.analysis.PartitionSpec.partitionExists_
private
Privilege com.cloudera.impala.analysis.PartitionSpec.privilegeRequirement_
private
TableName com.cloudera.impala.analysis.PartitionSpec.tableName_
private

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