public class QueryProperties extends Object
Constructor and Description |
---|
QueryProperties() |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
getJoinCount() |
int |
getOuterJoinCount() |
int |
getOuterQueryLimit() |
boolean |
hasClusterBy() |
boolean |
hasDistributeBy() |
boolean |
hasFilterWithSubQuery() |
boolean |
hasGroupBy() |
boolean |
hasJoin() |
boolean |
hasJoinFollowedByGroupBy() |
boolean |
hasLateralViews() |
boolean |
hasMultiDestQuery() |
boolean |
hasOrderBy() |
boolean |
hasOuterOrderBy() |
boolean |
hasPTF() |
boolean |
hasSortBy() |
boolean |
hasWindowing() |
void |
incrementJoinCount(boolean outerJoin) |
boolean |
isAnalyzeCommand() |
boolean |
isAnalyzeRewrite() |
boolean |
isCBOSupportedLateralViews() |
boolean |
isCTAS() |
boolean |
isHasMapGroupBy() |
boolean |
isMapJoinRemoved() |
boolean |
isMaterializedView()
True indicates this statement create or replaces a materialized view, not that it is a query
against a materialized view.
|
boolean |
isNoScanAnalyzeCommand() |
boolean |
isQuery() |
void |
setAnalyzeCommand(boolean analyzeCommand) |
void |
setAnalyzeRewrite(boolean analyzeRewrite) |
void |
setCBOSupportedLateralViews(boolean cboSupportedLateralViews) |
void |
setCTAS(boolean ctas) |
void |
setFilterWithSubQuery(boolean filterWithSubQuery) |
void |
setHasClusterBy(boolean hasClusterBy) |
void |
setHasDistributeBy(boolean hasDistributeBy) |
void |
setHasGroupBy(boolean hasGroupBy) |
void |
setHasJoinFollowedByGroupBy(boolean hasJoinFollowedByGroupBy) |
void |
setHasLateralViews(boolean hasLateralViews) |
void |
setHasMapGroupBy(boolean hasMapGroupBy) |
void |
setHasOrderBy(boolean hasOrderBy) |
void |
setHasOuterOrderBy(boolean hasOuterOrderBy) |
void |
setHasPTF(boolean hasPTF) |
void |
setHasSortBy(boolean hasSortBy) |
void |
setHasWindowing(boolean hasWindowing) |
void |
setMapJoinRemoved(boolean mapJoinRemoved) |
void |
setMaterializedView(boolean isMaterializedView) |
void |
setMultiDestQuery(boolean multiDestQuery) |
void |
setNoScanAnalyzeCommand(boolean noScanAnalyzeCommand) |
void |
setOuterQueryLimit(int outerQueryLimit) |
void |
setQuery(boolean query) |
void |
setUsesScript(boolean usesScript) |
boolean |
usesScript() |
public boolean isQuery()
public void setQuery(boolean query)
public boolean isAnalyzeCommand()
public void setAnalyzeCommand(boolean analyzeCommand)
public boolean isNoScanAnalyzeCommand()
public void setNoScanAnalyzeCommand(boolean noScanAnalyzeCommand)
public boolean isAnalyzeRewrite()
public void setAnalyzeRewrite(boolean analyzeRewrite)
public boolean isCTAS()
public void setCTAS(boolean ctas)
public int getOuterQueryLimit()
public void setOuterQueryLimit(int outerQueryLimit)
public boolean hasJoin()
public void incrementJoinCount(boolean outerJoin)
public int getJoinCount()
public int getOuterJoinCount()
public void setHasLateralViews(boolean hasLateralViews)
public boolean hasLateralViews()
public void setCBOSupportedLateralViews(boolean cboSupportedLateralViews)
public boolean isCBOSupportedLateralViews()
public boolean hasGroupBy()
public void setHasGroupBy(boolean hasGroupBy)
public boolean hasOrderBy()
public void setHasOrderBy(boolean hasOrderBy)
public boolean hasOuterOrderBy()
public void setHasOuterOrderBy(boolean hasOuterOrderBy)
public boolean hasSortBy()
public void setHasSortBy(boolean hasSortBy)
public boolean hasJoinFollowedByGroupBy()
public void setHasJoinFollowedByGroupBy(boolean hasJoinFollowedByGroupBy)
public boolean usesScript()
public void setUsesScript(boolean usesScript)
public boolean hasDistributeBy()
public void setHasDistributeBy(boolean hasDistributeBy)
public boolean hasClusterBy()
public void setHasClusterBy(boolean hasClusterBy)
public boolean hasPTF()
public void setHasPTF(boolean hasPTF)
public boolean hasWindowing()
public void setHasWindowing(boolean hasWindowing)
public boolean isMapJoinRemoved()
public void setMapJoinRemoved(boolean mapJoinRemoved)
public boolean isHasMapGroupBy()
public void setHasMapGroupBy(boolean hasMapGroupBy)
public boolean hasMultiDestQuery()
public void setMultiDestQuery(boolean multiDestQuery)
public void setFilterWithSubQuery(boolean filterWithSubQuery)
public boolean hasFilterWithSubQuery()
public boolean isMaterializedView()
public void setMaterializedView(boolean isMaterializedView)
public void clear()
Copyright © 2022 The Apache Software Foundation. All rights reserved.