Module org.jooq
Package org.jooq.impl

Interface QOM.WidthBucket<T extends Number>

All Superinterfaces:
Field<T>, FieldOrConstraint, FieldOrRow, FieldOrRowOrSelect, GroupField, Named, OrderField<T>, QueryPart, SelectField<T>, SelectFieldOrAsterisk, Serializable, TableElement, Typed<T>
Enclosing class:
QOM

public static interface QOM.WidthBucket<T extends Number> extends Field<T>
The WIDTH BUCKET function.

Divide a range into buckets of equal size.

  • Method Details

    • $field

      @NotNull @NotNull Field<T> $field()
      The value to divide into the range.
    • $low

      @NotNull @NotNull Field<T> $low()
      The lower bound of the range.
    • $high

      @NotNull @NotNull Field<T> $high()
      The upper bound of the range.
    • $buckets

      @NotNull @NotNull Field<Integer> $buckets()
      The number of buckets to produce.
    • $field

      @NotNull @NotNull QOM.WidthBucket<T> $field(Field<T> field)
      The value to divide into the range.
    • $low

      @NotNull @NotNull QOM.WidthBucket<T> $low(Field<T> low)
      The lower bound of the range.
    • $high

      @NotNull @NotNull QOM.WidthBucket<T> $high(Field<T> high)
      The upper bound of the range.
    • $buckets

      @NotNull @NotNull QOM.WidthBucket<T> $buckets(Field<Integer> buckets)
      The number of buckets to produce.