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

Public Member Functions

 PlannerContext (AnalysisContext.AnalysisResult analysisResult, TQueryCtx queryCtx)
 
QueryStmt getQueryStmt ()
 
TQueryCtx getQueryCtx ()
 
TQueryOptions getQueryOptions ()
 
AnalysisContext.AnalysisResult getAnalysisResult ()
 
Analyzer getRootAnalyzer ()
 
boolean isSingleNodeExec ()
 
PlanNodeId getNextNodeId ()
 
PlanFragmentId getNextFragmentId ()
 
boolean isInsertOrCtas ()
 

Static Public Attributes

static final double HASH_TBL_SPACE_OVERHEAD = 1.1
 
static final double SORT_MEM_MAX_FRACTION = 0.80
 

Private Attributes

final IdGenerator< PlanNodeIdnodeIdGenerator_ = PlanNodeId.createGenerator()
 
final IdGenerator< PlanFragmentIdfragmentIdGenerator_
 
final TQueryCtx queryCtx_
 
final
AnalysisContext.AnalysisResult 
analysisResult_
 
final QueryStmt queryStmt_
 

Detailed Description

Contains the analysis result of a query as well as planning-specific parameters and state such as plan-node and plan-fragment id generators.

Definition at line 28 of file PlannerContext.java.

Constructor & Destructor Documentation

Member Function Documentation

AnalysisContext.AnalysisResult com.cloudera.impala.planner.PlannerContext.getAnalysisResult ( )
inline
TQueryCtx com.cloudera.impala.planner.PlannerContext.getQueryCtx ( )
inline
QueryStmt com.cloudera.impala.planner.PlannerContext.getQueryStmt ( )
inline
Analyzer com.cloudera.impala.planner.PlannerContext.getRootAnalyzer ( )
inline
boolean com.cloudera.impala.planner.PlannerContext.isInsertOrCtas ( )
inline
boolean com.cloudera.impala.planner.PlannerContext.isSingleNodeExec ( )
inline

Member Data Documentation

final AnalysisContext.AnalysisResult com.cloudera.impala.planner.PlannerContext.analysisResult_
private
final IdGenerator<PlanFragmentId> com.cloudera.impala.planner.PlannerContext.fragmentIdGenerator_
private
Initial value:
=
PlanFragmentId.createGenerator()

Definition at line 37 of file PlannerContext.java.

final double com.cloudera.impala.planner.PlannerContext.HASH_TBL_SPACE_OVERHEAD = 1.1
static
final IdGenerator<PlanNodeId> com.cloudera.impala.planner.PlannerContext.nodeIdGenerator_ = PlanNodeId.createGenerator()
private

Definition at line 36 of file PlannerContext.java.

final TQueryCtx com.cloudera.impala.planner.PlannerContext.queryCtx_
private
final QueryStmt com.cloudera.impala.planner.PlannerContext.queryStmt_
private
final double com.cloudera.impala.planner.PlannerContext.SORT_MEM_MAX_FRACTION = 0.80
static

Definition at line 34 of file PlannerContext.java.


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