Package io.substrait.expression
Class ImmutableWindowBound.Preceding.Builder
java.lang.Object
io.substrait.expression.ImmutableWindowBound.Preceding.Builder
- Enclosing class:
- ImmutableWindowBound.Preceding
-
Method Details
-
from
Fill a builder with attribute values from the providedPrecedinginstance. Regular attribute values will be replaced with those from the given instance. Absent optional values will not replace present values.- Parameters:
instance- The instance from which to copy values- Returns:
thisbuilder for use in a chained invocation
-
offset
Initializes the value for theoffsetattribute.- Parameters:
offset- The value for offset- Returns:
thisbuilder for use in a chained invocation
-
build
Builds a newPreceding.- Returns:
- An immutable instance of Preceding
- Throws:
IllegalStateException- if any required attributes are missing
-