Class Transforms.BucketTransform

java.lang.Object
org.apache.gravitino.rel.expressions.transforms.Transforms.BucketTransform
All Implemented Interfaces:
Expression, Transform
Enclosing class:
Transforms

public static final class Transforms.BucketTransform extends Object implements Transform
A transform that returns the bucket of the input value.
  • Method Details

    • numBuckets

      public int numBuckets()
      Returns:
      The number of buckets to use.
    • fieldNames

      public String[][] fieldNames()
      Returns:
      The field names to transform.
    • name

      public String name()
      Specified by:
      name in interface Transform
      Returns:
      The name of the transform.
    • arguments

      public Expression[] arguments()
      Specified by:
      arguments in interface Transform
      Returns:
      The arguments to the transform.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object