public static class WindowOptions.Builder extends Object
Constructor and Description |
---|
Builder() |
public WindowOptions.Builder minPeriods(int minPeriods)
public WindowOptions.Builder window(ColumnVector precedingCol, ColumnVector followingCol)
precedingCol
- the number of rows preceding the current row and
precedingCol will be live outside of WindowOptions.followingCol
- the number of rows following the current row and
following will be live outside of WindowOptions.public WindowOptions.Builder window(Scalar precedingScalar, Scalar followingScalar)
precedingScalar
- the relative number preceding the current row and
the precedingScalar will be live outside of WindowOptions.followingScalar
- the relative number following the current row and
the followingScalar will be live outside of WindowOptions@Deprecated public WindowOptions.Builder timestampColumnIndex(int index)
public WindowOptions.Builder orderByColumnIndex(int index)
@Deprecated public WindowOptions.Builder timestampAscending()
public WindowOptions.Builder orderByAscending()
public WindowOptions.Builder orderByDescending()
@Deprecated public WindowOptions.Builder timestampDescending()
public WindowOptions.Builder currentRowPreceding()
public WindowOptions.Builder currentRowFollowing()
public WindowOptions.Builder unboundedPreceding()
public WindowOptions.Builder unboundedFollowing()
public WindowOptions.Builder preceding(Scalar preceding)
public WindowOptions.Builder following(Scalar following)
public WindowOptions build()
Copyright © 2024. All rights reserved.