Package io.substrait.expression
Class ImmutableWindowBound.Unbounded
java.lang.Object
io.substrait.expression.WindowBound.Unbounded
io.substrait.expression.ImmutableWindowBound.Unbounded
- All Implemented Interfaces:
WindowBound
- Enclosing class:
- ImmutableWindowBound
Immutable implementation of
WindowBound.Unbounded.
Use the builder to create immutable instances:
ImmutableWindowBound.Unbounded.builder().
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface io.substrait.expression.WindowBound
WindowBound.CurrentRow, WindowBound.Following, WindowBound.Preceding, WindowBound.Unbounded, WindowBound.WindowBoundVisitor<R,E extends Throwable> -
Field Summary
Fields inherited from interface io.substrait.expression.WindowBound
CURRENT_ROW, UNBOUNDED -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates a builder forUnbounded.copyOf(WindowBound.Unbounded instance) Creates an immutable copy of aWindowBound.Unboundedvalue.booleanThis instance is equal to all instances ofUnboundedthat have equal attribute values.inthashCode()Returns a constant hash code value.toString()Prints the immutable valueUnbounded.Methods inherited from class io.substrait.expression.WindowBound.Unbounded
accept
-
Method Details
-
equals
This instance is equal to all instances ofUnboundedthat have equal attribute values. -
hashCode
public int hashCode()Returns a constant hash code value. -
toString
Prints the immutable valueUnbounded. -
copyOf
Creates an immutable copy of aWindowBound.Unboundedvalue. Uses accessors to get values to initialize the new immutable instance. If an instance is already immutable, it is returned as is.- Parameters:
instance- The instance to copy- Returns:
- A copied immutable Unbounded instance
-
builder
Creates a builder forUnbounded.ImmutableWindowBound.Unbounded.builder() .build();- Returns:
- A new Unbounded builder
-