Package io.substrait.relation.physical
Class ImmutableTargetType.Uri
java.lang.Object
io.substrait.relation.physical.TargetType.Uri
io.substrait.relation.physical.ImmutableTargetType.Uri
- All Implemented Interfaces:
TargetType
- Enclosing class:
- ImmutableTargetType
Immutable implementation of
TargetType.Uri.
Use the builder to create immutable instances:
ImmutableTargetType.Uri.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 forUri.static ImmutableTargetType.UricopyOf(TargetType.Uri instance) Creates an immutable copy of aTargetType.Urivalue.booleanThis instance is equal to all instances ofUrithat have equal attribute values.getUri()inthashCode()Computes a hash code from attributes:uri.toString()Prints the immutable valueUriwith attribute values.final ImmutableTargetType.UriCopy the current immutable object by setting a value for theuriattribute.
-
Method Details
-
getUri
- Specified by:
getUriin classTargetType.Uri- Returns:
- The value of the
uriattribute
-
withUri
Copy the current immutable object by setting a value for theuriattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for uri- Returns:
- A modified copy or the
thisobject
-
equals
This instance is equal to all instances ofUrithat have equal attribute values. -
hashCode
public int hashCode()Computes a hash code from attributes:uri. -
toString
Prints the immutable valueUriwith attribute values. -
copyOf
Creates an immutable copy of aTargetType.Urivalue. 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 Uri instance
-
builder
- Returns:
- A new Uri builder
-