public class WindowFrameBound extends Object
| 构造器和说明 |
|---|
WindowFrameBound(WindowFrameBoundType type,
Expression value)
Creates new instance of window frame bound.
|
| 限定符和类型 | 方法和说明 |
|---|---|
int |
getExpressionIndex()
Returns the index of preserved expression.
|
StringBuilder |
getSQL(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 StringBuilder getSQL(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)Copyright © 2022. All rights reserved.