public class WindowFrameBound
extends java.lang.Object
| Constructor and Description |
|---|
WindowFrameBound(WindowFrameBoundType type,
Expression value)
Creates new instance of window frame bound.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getExpressionIndex()
Returns the index of preserved expression.
|
java.lang.StringBuilder |
getSQL(java.lang.StringBuilder builder,
boolean following,
int sqlFlags)
Appends SQL representation to the specified builder.
|
WindowFrameBoundType |
getType()
Returns the type
|
Expression |
getValue()
Returns the value.
|
boolean |
isParameterized()
Returns whether bound is defined as n PRECEDING or n FOLLOWING.
|
boolean |
isVariable()
Returns whether bound is defined with a variable.
|
public WindowFrameBound(WindowFrameBoundType type, Expression value)
type - bound typevalue - bound value, if anypublic WindowFrameBoundType getType()
public Expression getValue()
public boolean isParameterized()
public boolean isVariable()
optimize(SessionLocal) invocation.public int getExpressionIndex()
public java.lang.StringBuilder getSQL(java.lang.StringBuilder builder,
boolean following,
int sqlFlags)
builder - string builderfollowing - if false return SQL for starting clause, if true return SQL
for following clausesqlFlags - formatting flagsExpression.getSQL(StringBuilder, int, int)