Module org.jooq
Package org.jooq.impl

Interface QOM.Lpad

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

public static interface QOM.Lpad extends Field<String>
The LPAD function.

Left-pad a string with a character (whitespace as default) for a number of times.

  • Method Details

    • $string

      @NotNull @NotNull Field<String> $string()
      The string to be padded.
    • $length

      @NotNull @NotNull Field<? extends Number> $length()
      The maximum length to pad the string to.
    • $character

      @Nullable @Nullable Field<String> $character()
      The padding character, if different from whitespace
    • $string

      @NotNull @NotNull QOM.Lpad $string(Field<String> string)
      The string to be padded.
    • $length

      @NotNull @NotNull QOM.Lpad $length(Field<? extends Number> length)
      The maximum length to pad the string to.
    • $character

      @NotNull @NotNull QOM.Lpad $character(Field<String> character)
      The padding character, if different from whitespace