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

Public Member Functions

 GlobalState (ImpaladCatalog catalog, TQueryCtx queryCtx, AuthorizationConfig authzConfig)
 

Public Attributes

final ImpaladCatalog catalog
 
final TQueryCtx queryCtx
 
final AuthorizationConfig authzConfig
 
final DescriptorTable descTbl = new DescriptorTable()
 
final IdGenerator< ExprIdconjunctIdGenerator = ExprId.createGenerator()
 
final ColumnLineageGraph lineageGraph
 
boolean isExplain
 
boolean hasPlanHints = false
 
boolean containsSubquery = false
 
boolean useHiveColLabels = false
 
final Map< ExprId, Exprconjuncts = Maps.newHashMap()
 
final ArrayList< ExprIdsingleTidConjuncts = Lists.newArrayList()
 
final Map< TupleId, List
< ExprId > > 
eqJoinConjuncts = Maps.newHashMap()
 
Set< ExprIdassignedConjuncts
 
final Map< TupleId, TableRefouterJoinedTupleIds = Maps.newHashMap()
 
final Map< ExprId, TableReffullOuterJoinedConjuncts = Maps.newHashMap()
 
final Map< TupleId, TableReffullOuterJoinedTupleIds = Maps.newHashMap()
 
final Map< TupleId, TableRefsemiJoinedTupleIds = Maps.newHashMap()
 
final Map< TableRef, List
< ExprId > > 
conjunctsByOjClause = Maps.newHashMap()
 
final Map< ExprId, TableRefojClauseByConjunct = Maps.newHashMap()
 
final Map< ExprId, TableRefsjClauseByConjunct = Maps.newHashMap()
 
final Map< SlotId, AnalyzerblockBySlot = Maps.newHashMap()
 
Set< TAccessEvent > accessEvents = Sets.newHashSet()
 
final LinkedHashMap< String,
Integer > 
warnings
 
final IdGenerator
< EquivalenceClassId
equivClassIdGenerator
 

Private Attributes

final List< PrivilegeRequestprivilegeReqs = Lists.newArrayList()
 
final List< Pair
< PrivilegeRequest, String > > 
maskedPrivilegeReqs
 
final Map< EquivalenceClassId,
ArrayList< SlotId > > 
equivClassMembers
 
final Map< SlotId,
EquivalenceClassId
equivClassBySlotId = Maps.newHashMap()
 
final ExprSubstitutionMap equivClassSmap = new ExprSubstitutionMap()
 
ValueTransferGraph valueTransferGraph
 
final List< Pair< SlotId,
SlotId > > 
registeredValueTransfers
 
final ListMap< TNetworkAddress > hostIndex = new ListMap<TNetworkAddress>()
 
final EventSequence timeline = new EventSequence("Planner Timeline")
 

Detailed Description

Definition at line 160 of file Analyzer.java.

Constructor & Destructor Documentation

com.cloudera.impala.analysis.Analyzer.GlobalState.GlobalState ( ImpaladCatalog  catalog,
TQueryCtx  queryCtx,
AuthorizationConfig  authzConfig 
)
inline

Member Data Documentation

Set<TAccessEvent> com.cloudera.impala.analysis.Analyzer.GlobalState.accessEvents = Sets.newHashSet()

Definition at line 244 of file Analyzer.java.

Set<ExprId> com.cloudera.impala.analysis.Analyzer.GlobalState.assignedConjuncts
Initial value:
=
Collections.newSetFromMap(new IdentityHashMap<ExprId, Boolean>())

Definition at line 198 of file Analyzer.java.

Referenced by com.cloudera.impala.analysis.Analyzer.getUnassignedConjuncts(), com.cloudera.impala.analysis.Analyzer.getUnassignedOjConjuncts(), and com.cloudera.impala.analysis.Analyzer.hasUnassignedConjuncts().

final AuthorizationConfig com.cloudera.impala.analysis.Analyzer.GlobalState.authzConfig
final Map<SlotId, Analyzer> com.cloudera.impala.analysis.Analyzer.GlobalState.blockBySlot = Maps.newHashMap()

Definition at line 231 of file Analyzer.java.

final IdGenerator<ExprId> com.cloudera.impala.analysis.Analyzer.GlobalState.conjunctIdGenerator = ExprId.createGenerator()

Definition at line 167 of file Analyzer.java.

final Map<TableRef, List<ExprId> > com.cloudera.impala.analysis.Analyzer.GlobalState.conjunctsByOjClause = Maps.newHashMap()

Definition at line 219 of file Analyzer.java.

boolean com.cloudera.impala.analysis.Analyzer.GlobalState.containsSubquery = false

Definition at line 178 of file Analyzer.java.

final Map<TupleId, List<ExprId> > com.cloudera.impala.analysis.Analyzer.GlobalState.eqJoinConjuncts = Maps.newHashMap()
final Map<SlotId, EquivalenceClassId> com.cloudera.impala.analysis.Analyzer.GlobalState.equivClassBySlotId = Maps.newHashMap()
private
final IdGenerator<EquivalenceClassId> com.cloudera.impala.analysis.Analyzer.GlobalState.equivClassIdGenerator
Initial value:
=
EquivalenceClassId.createGenerator()

Definition at line 253 of file Analyzer.java.

final Map<EquivalenceClassId, ArrayList<SlotId> > com.cloudera.impala.analysis.Analyzer.GlobalState.equivClassMembers
private
final ExprSubstitutionMap com.cloudera.impala.analysis.Analyzer.GlobalState.equivClassSmap = new ExprSubstitutionMap()
private

Definition at line 265 of file Analyzer.java.

final Map<ExprId, TableRef> com.cloudera.impala.analysis.Analyzer.GlobalState.fullOuterJoinedConjuncts = Maps.newHashMap()

Definition at line 207 of file Analyzer.java.

final Map<TupleId, TableRef> com.cloudera.impala.analysis.Analyzer.GlobalState.fullOuterJoinedTupleIds = Maps.newHashMap()
boolean com.cloudera.impala.analysis.Analyzer.GlobalState.hasPlanHints = false

Definition at line 175 of file Analyzer.java.

final ListMap<TNetworkAddress> com.cloudera.impala.analysis.Analyzer.GlobalState.hostIndex = new ListMap<TNetworkAddress>()
private

Definition at line 275 of file Analyzer.java.

boolean com.cloudera.impala.analysis.Analyzer.GlobalState.isExplain

Definition at line 172 of file Analyzer.java.

final ColumnLineageGraph com.cloudera.impala.analysis.Analyzer.GlobalState.lineageGraph

Definition at line 168 of file Analyzer.java.

final List<Pair<PrivilegeRequest, String> > com.cloudera.impala.analysis.Analyzer.GlobalState.maskedPrivilegeReqs
private
Initial value:
=
Lists.newArrayList()

Definition at line 239 of file Analyzer.java.

Referenced by com.cloudera.impala.analysis.Analyzer.authorize().

final Map<ExprId, TableRef> com.cloudera.impala.analysis.Analyzer.GlobalState.ojClauseByConjunct = Maps.newHashMap()
final Map<TupleId, TableRef> com.cloudera.impala.analysis.Analyzer.GlobalState.outerJoinedTupleIds = Maps.newHashMap()
final List<PrivilegeRequest> com.cloudera.impala.analysis.Analyzer.GlobalState.privilegeReqs = Lists.newArrayList()
private

Definition at line 234 of file Analyzer.java.

Referenced by com.cloudera.impala.analysis.Analyzer.authorize().

final TQueryCtx com.cloudera.impala.analysis.Analyzer.GlobalState.queryCtx
final List<Pair<SlotId, SlotId> > com.cloudera.impala.analysis.Analyzer.GlobalState.registeredValueTransfers
private
final Map<TupleId, TableRef> com.cloudera.impala.analysis.Analyzer.GlobalState.semiJoinedTupleIds = Maps.newHashMap()

Definition at line 215 of file Analyzer.java.

final ArrayList<ExprId> com.cloudera.impala.analysis.Analyzer.GlobalState.singleTidConjuncts = Lists.newArrayList()
final Map<ExprId, TableRef> com.cloudera.impala.analysis.Analyzer.GlobalState.sjClauseByConjunct = Maps.newHashMap()

Definition at line 228 of file Analyzer.java.

final EventSequence com.cloudera.impala.analysis.Analyzer.GlobalState.timeline = new EventSequence("Planner Timeline")
private

Definition at line 279 of file Analyzer.java.

boolean com.cloudera.impala.analysis.Analyzer.GlobalState.useHiveColLabels = false

Definition at line 181 of file Analyzer.java.

ValueTransferGraph com.cloudera.impala.analysis.Analyzer.GlobalState.valueTransferGraph
private

Definition at line 268 of file Analyzer.java.

final LinkedHashMap<String, Integer> com.cloudera.impala.analysis.Analyzer.GlobalState.warnings
Initial value:
=
new LinkedHashMap<String, Integer>()

Definition at line 250 of file Analyzer.java.

Referenced by com.cloudera.impala.analysis.Analyzer.getWarnings().


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