Analysis¶
Analysis
is an ImmutableAnalysis.
Creating Instance¶
Analysis
takes the following to be created:
-
RefinementInfo
-
rowpartitionRowoffsetEnabled
flag -
pullLimitClauseEnabled
flag
Analysis
is created when:
Analyzer.Visitor
is created
TableFunctions¶
Analysis
defines tableFunctions
registry of FunctionCall
s that are added in addTableFunction.
addTableFunction¶
void addTableFunction(
FunctionCall functionCall)
addTableFunction
adds the given FunctionCall
to the tableFunctions registry.
addTableFunction
is used when:
Analyzer.Visitor
is requested to visitTableFunctions
getTableFunctions¶
List<FunctionCall> getTableFunctions()
getTableFunctions
returns the tableFunctions.
getTableFunctions
is part of the ImmutableAnalysis abstraction.
SelectItems¶
Analysis
defines joinInfo
registry of JoinInfo
s that are added in addJoin.
addSelectItem¶
void addSelectItem(
SelectItem selectItem)
addSelectItem
adds the given SelectItem
to the selectItems registry.
addSelectItem
is used when:
Analyzer.Visitor
is 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 JoinInfo
s that are added in addJoin.
addJoin¶
void addJoin(
JoinInfo joinInfo)
addJoin
adds the given JoinInfo
to the joinInfo registry.
addJoin
is used when:
Analyzer.Visitor
is 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.Visitor
is requested to visitAliasedRelation