public class OverWindowWithPreceding extends Object
Constructor and Description |
---|
OverWindowWithPreceding(scala.collection.Seq<Expression> partitionBy,
Expression orderBy,
Expression preceding) |
Modifier and Type | Method and Description |
---|---|
OverWindow |
as(Expression alias)
Assigns an alias for this window that the following
select() clause can refer to. |
OverWindow |
as(String alias)
Assigns an alias for this window that the following
select() clause can refer to. |
Expression |
following() |
OverWindowWithPreceding |
following(Expression following)
Set the following offset (based on time or row-count intervals) for over window.
|
OverWindowWithPreceding |
following(String following)
Set the following offset (based on time or row-count intervals) for over window.
|
public OverWindowWithPreceding(scala.collection.Seq<Expression> partitionBy, Expression orderBy, Expression preceding)
public Expression following()
public OverWindow as(String alias)
select()
clause can refer to.
alias
- alias for this over windowpublic OverWindow as(Expression alias)
select()
clause can refer to.
alias
- alias for this over windowpublic OverWindowWithPreceding following(String following)
following
- following offset that relative to the current row.public OverWindowWithPreceding following(Expression following)
following
- following offset that relative to the current row.Copyright © 2014–2018 The Apache Software Foundation. All rights reserved.