Package com.alibaba.druid.sql.ast
Class SQLOver
- java.lang.Object
-
- com.alibaba.druid.sql.ast.SQLObjectImpl
-
- com.alibaba.druid.sql.ast.SQLOver
-
- All Implemented Interfaces:
SQLObject,SQLReplaceable
- Direct Known Subclasses:
OracleAnalytic
public class SQLOver extends SQLObjectImpl implements SQLReplaceable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSQLOver.WindowingBoundstatic classSQLOver.WindowingType
-
Field Summary
Fields Modifier and Type Field Description protected SQLOrderByclusterByprotected SQLOrderBydistributeByprotected booleanexcludeCurrentRowprotected SQLNameofprotected SQLOrderByorderByprotected List<SQLExpr>partitionByprotected SQLOrderBysortByprotected SQLExprwindowingBetweenBeginprotected SQLOver.WindowingBoundwindowingBetweenBeginBoundprotected SQLExprwindowingBetweenEndprotected SQLOver.WindowingBoundwindowingBetweenEndBoundprotected booleanwindowingFollowingprotected booleanwindowingPrecedingprotected SQLOver.WindowingTypewindowingType-
Fields inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
attributes, hint, parent, sourceColumn, sourceLine
-
-
Constructor Summary
Constructors Constructor Description SQLOver()SQLOver(SQLOrderBy orderBy)
-
Method Summary
-
Methods inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
accept, acceptChild, acceptChild, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, cloneTo, computeDataType, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getHint, getParent, getParent, getSourceColumn, getSourceLine, hasAfterComment, hasBeforeComment, output, putAttribute, setHint, setParent, setSource, setSourceLine, toString
-
-
-
-
Field Detail
-
orderBy
protected SQLOrderBy orderBy
-
distributeBy
protected SQLOrderBy distributeBy
-
sortBy
protected SQLOrderBy sortBy
-
clusterBy
protected SQLOrderBy clusterBy
-
of
protected SQLName of
-
windowingType
protected SQLOver.WindowingType windowingType
-
windowingPreceding
protected boolean windowingPreceding
-
windowingFollowing
protected boolean windowingFollowing
-
windowingBetweenBegin
protected SQLExpr windowingBetweenBegin
-
windowingBetweenBeginBound
protected SQLOver.WindowingBound windowingBetweenBeginBound
-
windowingBetweenEnd
protected SQLExpr windowingBetweenEnd
-
windowingBetweenEndBound
protected SQLOver.WindowingBound windowingBetweenEndBound
-
excludeCurrentRow
protected boolean excludeCurrentRow
-
-
Constructor Detail
-
SQLOver
public SQLOver()
-
SQLOver
public SQLOver(SQLOrderBy orderBy)
-
-
Method Detail
-
accept0
protected void accept0(SQLASTVisitor visitor)
- Specified by:
accept0in classSQLObjectImpl
-
getOrderBy
public SQLOrderBy getOrderBy()
-
setOrderBy
public void setOrderBy(SQLOrderBy x)
-
getClusterBy
public SQLOrderBy getClusterBy()
-
setClusterBy
public void setClusterBy(SQLOrderBy x)
-
getDistributeBy
public SQLOrderBy getDistributeBy()
-
setDistributeBy
public void setDistributeBy(SQLOrderBy x)
-
getSortBy
public SQLOrderBy getSortBy()
-
setSortBy
public void setSortBy(SQLOrderBy x)
-
getOf
public SQLName getOf()
-
setOf
public void setOf(SQLName of)
-
getWindowingType
public SQLOver.WindowingType getWindowingType()
-
setWindowingType
public void setWindowingType(SQLOver.WindowingType windowingType)
-
isWindowingPreceding
public boolean isWindowingPreceding()
-
setWindowingPreceding
public void setWindowingPreceding(boolean windowingPreceding)
-
getWindowingBetweenBegin
public SQLExpr getWindowingBetweenBegin()
-
setWindowingBetweenBegin
public void setWindowingBetweenBegin(SQLExpr windowingBetweenBegin)
-
getWindowingBetweenEnd
public SQLExpr getWindowingBetweenEnd()
-
setWindowingBetweenEnd
public void setWindowingBetweenEnd(SQLExpr windowingBetweenEnd)
-
isWindowingBetweenEndPreceding
public boolean isWindowingBetweenEndPreceding()
-
isWindowingBetweenEndFollowing
public boolean isWindowingBetweenEndFollowing()
-
getWindowingBetweenBeginBound
public SQLOver.WindowingBound getWindowingBetweenBeginBound()
-
setWindowingBetweenBeginBound
public void setWindowingBetweenBeginBound(SQLOver.WindowingBound windowingBetweenBeginBound)
-
getWindowingBetweenEndBound
public SQLOver.WindowingBound getWindowingBetweenEndBound()
-
setWindowingBetweenEndBound
public void setWindowingBetweenEndBound(SQLOver.WindowingBound windowingBetweenEndBound)
-
isExcludeCurrentRow
public boolean isExcludeCurrentRow()
-
setExcludeCurrentRow
public void setExcludeCurrentRow(boolean excludeCurrentRow)
-
cloneTo
public void cloneTo(SQLOver x)
-
clone
public SQLOver clone()
- Specified by:
clonein interfaceSQLObject- Overrides:
clonein classSQLObjectImpl
-
replace
public boolean replace(SQLExpr expr, SQLExpr target)
- Specified by:
replacein interfaceSQLReplaceable
-
-