Package io.substrait.relation
Class Expand.ConsistentField
java.lang.Object
io.substrait.relation.Expand.ConsistentField
- All Implemented Interfaces:
Expand.ExpandField
- Direct Known Subclasses:
ImmutableExpand.ConsistentField
- Enclosing class:
- Expand
@Immutable
public abstract static class Expand.ConsistentField
extends Object
implements Expand.ExpandField
A field whose value is defined by a single expression.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates a builder forExpand.ConsistentField.abstract ExpressionReturns the expression that defines the field value.getType()Returns the type derived from the expression.
-
Constructor Details
-
ConsistentField
public ConsistentField()
-
-
Method Details
-
getExpression
Returns the expression that defines the field value.- Returns:
- the defining expression
-
getType
Returns the type derived from the expression.- Specified by:
getTypein interfaceExpand.ExpandField- Returns:
- the field type
-
builder
Creates a builder forExpand.ConsistentField.- Returns:
- a new immutable builder
-