public class OverClause extends Object
OVER clause of an analytic function in Exasol. See the
documentation for details.| Constructor and Description |
|---|
OverClause() |
| Modifier and Type | Method and Description |
|---|---|
OrderByClause |
getOrderByClause()
Get the order by clause of this
OverClause. |
List<ValueExpression> |
getPartitionByColumns()
Get the columns of the partition by clause of this
OverClause. |
WindowFrameClause |
getWindowFrameClause()
Get the window frame clause of this
OverClause. |
String |
getWindowName()
Get the window name of this
OverClause. |
static OverClause |
of(String windowName)
Create a new
OverClause with the given window name. |
OverClause |
orderBy(OrderByClause orderByClause)
Set the
OrderByClause for this OverClause. |
OverClause |
partitionBy(ValueExpression... columns)
Set the columns for the
PARTITION BY clause of this OverClause. |
OverClause |
windowFrame(UnaryOperator<WindowFrameClause> configurator)
Set and configure the
WindowFrameClause for this OverClause. |
OverClause |
windowName(String windowName)
Set the window name for this
OverClause. |
public static OverClause of(String windowName)
OverClause with the given window name.windowName - window name of the new OverClauseOverClausepublic OverClause windowName(String windowName)
OverClause.windowName - name of the window.OverClause for fluent programmingpublic OverClause orderBy(OrderByClause orderByClause)
OrderByClause for this OverClause.orderByClause - OrderByClause for this OverClauseOverClause for fluent programmingpublic OverClause partitionBy(ValueExpression... columns)
PARTITION BY clause of this OverClause.columns - columns for the PARTITION BY clause.OverClause for fluent programmingpublic OverClause windowFrame(UnaryOperator<WindowFrameClause> configurator)
WindowFrameClause for this OverClause. You configure the clause in the
given lambda.configurator - lambda configuring the WindowFrameClause.OverClause for fluent programmingpublic String getWindowName()
OverClause.public List<ValueExpression> getPartitionByColumns()
OverClause.public OrderByClause getOrderByClause()
OverClause.public WindowFrameClause getWindowFrameClause()
OverClause.Copyright © 2018–2021. All rights reserved.