Analysis¶
Analysis is an ImmutableAnalysis.
Creating Instance¶
Analysis takes the following to be created:
-
RefinementInfo -
rowpartitionRowoffsetEnabledflag -
pullLimitClauseEnabledflag
Analysis is created when:
Analyzer.Visitoris created
TableFunctions¶
Analysis defines tableFunctions registry of FunctionCalls that are added in addTableFunction.
addTableFunction¶
void addTableFunction(
FunctionCall functionCall)
addTableFunction adds the given FunctionCall to the tableFunctions registry.
addTableFunction is used when:
Analyzer.Visitoris requested to visitTableFunctions
getTableFunctions¶
List<FunctionCall> getTableFunctions()
getTableFunctions returns the tableFunctions.
getTableFunctions is part of the ImmutableAnalysis abstraction.
SelectItems¶
Analysis defines joinInfo registry of JoinInfos that are added in addJoin.
addSelectItem¶
void addSelectItem(
SelectItem selectItem)
addSelectItem adds the given SelectItem to the selectItems registry.
addSelectItem is used when:
Analyzer.Visitoris requested to visitSelect
getSelectItems¶
List<SelectItem> getSelectItems()
getSelectItems is part of the ImmutableAnalysis abstraction.
getSelectItems returns the selectItems.
Into¶
Optional<Into> into
Analysis defines into registry for an Into that is empty by default.
Into
Into holds the name of a source and the associated topic (to be created or existing).
into is set when Analyzer.Visitor is requested to analyzeNonStdOutSink.
getInto¶
Optional<Into> getInto()
getInto is part of the ImmutableAnalysis abstraction.
getInto returns the Into.
setInto¶
void setInto(
Into into)
setInto sets the Into.
JoinInfos¶
Analysis defines joinInfo registry of JoinInfos that are added in addJoin.
addJoin¶
void addJoin(
JoinInfo joinInfo)
addJoin adds the given JoinInfo to the joinInfo registry.
addJoin is used when:
Analyzer.Visitoris requested to visitJoinedSource
isJoin¶
boolean isJoin()
isJoin is part of the ImmutableAnalysis abstraction.
isJoin is true when there is a JoinInfo in the joinInfo registry.
addDataSource¶
void addDataSource(
SourceName alias,
DataSource dataSource)
addDataSource...FIXME
addDataSource is used when:
Analyzer.Visitoris requested to visitAliasedRelation