Class RawBucket

All Implemented Interfaces:
Comparable<BucketValue>

public class RawBucket extends BucketValue
This class represents a RawValue bucket in a PredefinedFunction.
Author:
Ulf Lilleengen
  • Constructor Details

    • RawBucket

      public RawBucket(RawBuffer from, RawBuffer to)
      Constructs a new instance of this class.
      Parameters:
      from - The from-value to assign to this.
      to - The to-value to assign to this.
    • RawBucket

      public RawBucket(ConstantValue<?> from, ConstantValue<?> to)
      Constructs a new instance of this class.
      Parameters:
      from - The from-value to assign to this.
      to - The to-value to assign to this.
  • Method Details

    • nextValue

      public static RawValue nextValue(RawValue value)
      Get the next distinct value.
      Parameters:
      value - The base value.
      Returns:
      the next value.
    • copy

      public RawBucket copy()
      Description copied from class: GroupingExpression
      Returns a deep copy of this
      Overrides:
      copy in class BucketValue