Module org.jooq
Package org.jooq.impl

Interface QOM.Position

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

public static interface QOM.Position extends Field<Integer>
The POSITION function.

Search the position (1-based) of a substring in another string.

  • Method Details

    • $in

      @NotNull @NotNull Field<String> $in()
      The string in which to search the substring.
    • $search

      @NotNull @NotNull Field<String> $search()
      The substring to search for.
    • $startIndex

      @Nullable @Nullable Field<? extends Number> $startIndex()
      The start index (1-based) from which to start looking for the substring.
    • $in

      @NotNull @NotNull QOM.Position $in(Field<String> in)
      The string in which to search the substring.
    • $search

      @NotNull @NotNull QOM.Position $search(Field<String> search)
      The substring to search for.
    • $startIndex

      @NotNull @NotNull QOM.Position $startIndex(Field<? extends Number> startIndex)
      The start index (1-based) from which to start looking for the substring.