Class AbstractUpdate.TransformExpression

java.lang.Object
io.substrait.relation.AbstractUpdate.TransformExpression
Direct Known Subclasses:
ImmutableTransformExpression
Enclosing class:
AbstractUpdate

@Immutable public abstract static class AbstractUpdate.TransformExpression extends Object
Represents a transformation applied to a specific column during an update.
  • Constructor Details

    • TransformExpression

      public TransformExpression()
  • Method Details

    • getTransformation

      public abstract Expression getTransformation()
      Returns the expression that computes the new value for the column.
      Returns:
      transformation expression
    • getColumnTarget

      public abstract int getColumnTarget()
      Returns the index of the target column to update.
      Returns:
      column index
    • builder

      public static ImmutableTransformExpression.Builder builder()
      Creates a builder for AbstractUpdate.TransformExpression.
      Returns:
      builder instance