Package io.substrait.relation.physical
Class ImmutableTargetType.Extended
java.lang.Object
io.substrait.relation.physical.TargetType.Extended
io.substrait.relation.physical.ImmutableTargetType.Extended
- All Implemented Interfaces:
TargetType
- Enclosing class:
- ImmutableTargetType
Immutable implementation of
TargetType.Extended.
Use the builder to create immutable instances:
ImmutableTargetType.Extended.builder().
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface io.substrait.relation.physical.TargetType
TargetType.Extended, TargetType.Uri -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates a builder forExtended.static ImmutableTargetType.ExtendedcopyOf(TargetType.Extended instance) Creates an immutable copy of aTargetType.Extendedvalue.booleanThis instance is equal to all instances ofExtendedthat have equal attribute values.com.google.protobuf.AnyinthashCode()Computes a hash code from attributes:extended.toString()Prints the immutable valueExtendedwith attribute values.withExtended(com.google.protobuf.Any value) Copy the current immutable object by setting a value for theextendedattribute.
-
Method Details
-
getExtended
public com.google.protobuf.Any getExtended()- Specified by:
getExtendedin classTargetType.Extended- Returns:
- The value of the
extendedattribute
-
withExtended
Copy the current immutable object by setting a value for theextendedattribute. A shallow reference equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for extended- Returns:
- A modified copy or the
thisobject
-
equals
This instance is equal to all instances ofExtendedthat have equal attribute values. -
hashCode
public int hashCode()Computes a hash code from attributes:extended. -
toString
Prints the immutable valueExtendedwith attribute values. -
copyOf
Creates an immutable copy of aTargetType.Extendedvalue. 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 Extended instance
-
builder
Creates a builder forExtended.ImmutableTargetType.Extended.builder() .extended(com.google.protobuf.Any) // requiredextended.build();- Returns:
- A new Extended builder
-