Module org.jooq
Package org.jooq.impl

Interface QOM.Substring

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

public static interface QOM.Substring extends Field<String>
The SUBSTRING function.

Get a substring of a string, from a given position.

  • Method Details

    • $string

      @NotNull @NotNull Field<String> $string()
      The string from which to get the substring.
    • $startingPosition

      @NotNull @NotNull Field<? extends Number> $startingPosition()
      The position (1-based) from which to get the substring.
    • $length

      @Nullable @Nullable Field<? extends Number> $length()
      The maximum length of the substring.
    • $string

      @NotNull @NotNull QOM.Substring $string(Field<String> string)
      The string from which to get the substring.
    • $startingPosition

      @NotNull @NotNull QOM.Substring $startingPosition(Field<? extends Number> startingPosition)
      The position (1-based) from which to get the substring.
    • $length

      @NotNull @NotNull QOM.Substring $length(Field<? extends Number> length)
      The maximum length of the substring.