| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private boolean | |
| private final WindowFrameBoundType | |
| private Expression |
| Access | Constructor and Description |
|---|---|
| public | WindowFrameBound(WindowFrameBoundType
bound type type, Expression bound value, if any value)Creates new instance of window frame bound. |
| Modifier and Type | Method and Description |
|---|---|
| public int | Returns: the index of preserved expression, or -1Returns the index of preserved expression. |
| public StringBuilder | Returns: the specified string builderstring builder builder, boolean if false return SQL for starting clause, if true return SQL
for following clause following, int formatting flags sqlFlags)Appends SQL representation to the specified builder. |
| public WindowFrameBoundType | |
| public Expression | |
| public boolean | Returns: whether bound is defined as n PRECEDING or n FOLLOWINGReturns whether bound is defined as n PRECEDING or n FOLLOWING. |
| public boolean | Returns: whether bound is defined with a variableReturns whether bound is defined with a variable. |
| pack-priv void | mapColumns(ColumnResolver
the column resolver resolver, int the subquery nesting level level, int current state for nesting checks state)Map the columns of the resolver to expression columns. |
| pack-priv void | |
| pack-priv void | |
| pack-priv void |
| expressionIndex | back to summary |
|---|---|
| private int expressionIndex | |
| isVariable | back to summary |
|---|---|
| private boolean isVariable | |
| type | back to summary |
|---|---|
| private final WindowFrameBoundType type | |
| value | back to summary |
|---|---|
| private Expression value | |
| WindowFrameBound | back to summary |
|---|---|
| public WindowFrameBound(WindowFrameBoundType type, Expression value) Creates new instance of window frame bound.
| |
| getExpressionIndex | back to summary |
|---|---|
| public int getExpressionIndex() Returns the index of preserved expression.
| |
| getSQL | back to summary |
|---|---|
| public StringBuilder getSQL(StringBuilder builder, boolean following, int sqlFlags) Appends SQL representation to the specified builder.
| |
| getType | back to summary |
|---|---|
| public WindowFrameBoundType getType() Returns the type
| |
| getValue | back to summary |
|---|---|
| public Expression getValue() Returns the value.
| |
| isParameterized | back to summary |
|---|---|
| public boolean isParameterized() Returns whether bound is defined as n PRECEDING or n FOLLOWING.
| |
| isVariable | back to summary |
|---|---|
| public boolean isVariable() Returns whether bound is defined with a variable. This method may be used
only after
| |
| mapColumns | back to summary |
|---|---|
| pack-priv void mapColumns(ColumnResolver resolver, int level, int state) Map the columns of the resolver to expression columns.
| |
| optimize | back to summary |
|---|---|
| pack-priv void optimize(SessionLocal session) Try to optimize bound expression.
| |
| setExpressionIndex | back to summary |
|---|---|
| pack-priv void setExpressionIndex(int expressionIndex) Sets the index of preserved expression.
| |
| updateAggregate | back to summary |
|---|---|
| pack-priv void updateAggregate(SessionLocal session, int stage) Update an aggregate value.
| |