public class BeamSqlExpressionEnvironments
extends java.lang.Object
BeamSqlExpressionEnvironment
.
Use of arrays is efficient and safe, as Calcite generates variables densely packed and referenced by index.
Constructor and Description |
---|
BeamSqlExpressionEnvironments() |
Modifier and Type | Method and Description |
---|---|
static BeamSqlExpressionEnvironment |
empty()
An empty environment, for contexts where it is certain there will be no ref access.
|
static BeamSqlExpressionEnvironment |
forRow(Row row,
BoundedWindow window)
An environment with a fixed row and window but not expressions or correlation variables.
|
static BeamSqlExpressionEnvironment |
forRowAndCorrelVariables(Row row,
BoundedWindow window,
java.util.List<Row> correlVariables)
An environment with a fixed row and window and correlation variables.
|
public static BeamSqlExpressionEnvironment empty()
Since there are no expressions, there need not be a row or window.
This environment cannot be extended with local expressions, and will throw UnsupportedOperationException
.
public static BeamSqlExpressionEnvironment forRow(Row row, BoundedWindow window)
public static BeamSqlExpressionEnvironment forRowAndCorrelVariables(Row row, BoundedWindow window, java.util.List<Row> correlVariables)