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

Public Member Functions

 HdfsCachingOp ()
 
 HdfsCachingOp (String cachePoolName, BigDecimal replication)
 
void analyze (Analyzer analyzer) throws AnalysisException
 
String toSql ()
 
THdfsCachingOp toThrift ()
 
boolean shouldCache ()
 
String getCachePoolName ()
 

Private Attributes

final THdfsCachingOp cacheOp_
 
final BigDecimal parsedReplication_
 

Detailed Description

Represents the partial SQL statement of specifying whether a table/partition should or should not be marked as cached.

Definition at line 28 of file HdfsCachingOp.java.

Constructor & Destructor Documentation

com.cloudera.impala.analysis.HdfsCachingOp.HdfsCachingOp ( )
inline

Creates an HdfsCachingOp that specifies the target should be uncached

Definition at line 35 of file HdfsCachingOp.java.

References com.cloudera.impala.analysis.HdfsCachingOp.cacheOp_, and com.cloudera.impala.analysis.HdfsCachingOp.parsedReplication_.

com.cloudera.impala.analysis.HdfsCachingOp.HdfsCachingOp ( String  cachePoolName,
BigDecimal  replication 
)
inline

Creates an HdfsCachingOp that specifies the target should be cached in cachePoolName with an optional replication factor

Definition at line 44 of file HdfsCachingOp.java.

References com.cloudera.impala.analysis.HdfsCachingOp.cacheOp_, and com.cloudera.impala.analysis.HdfsCachingOp.parsedReplication_.

Member Function Documentation

void com.cloudera.impala.analysis.HdfsCachingOp.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 51 of file HdfsCachingOp.java.

References com.cloudera.impala.analysis.HdfsCachingOp.cacheOp_, and com.cloudera.impala.analysis.HdfsCachingOp.parsedReplication_.

String com.cloudera.impala.analysis.HdfsCachingOp.getCachePoolName ( )
inline
boolean com.cloudera.impala.analysis.HdfsCachingOp.shouldCache ( )
inline
String com.cloudera.impala.analysis.HdfsCachingOp.toSql ( )
inline
THdfsCachingOp com.cloudera.impala.analysis.HdfsCachingOp.toThrift ( )
inline

Member Data Documentation

final THdfsCachingOp com.cloudera.impala.analysis.HdfsCachingOp.cacheOp_
private
final BigDecimal com.cloudera.impala.analysis.HdfsCachingOp.parsedReplication_
private

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