Interface Order

All Superinterfaces:
Sql
All Known Implementing Classes:
Ascending, Descending

public interface Order extends Sql
Defines an ordering specification for the ORDER BY clause.
  • Method Summary

    Modifier and Type
    Method
    Description
    Specifies that null values are to be ordered _before_ non-null values.
    Specifies that null values are to be ordered _after_ non-null values.

    Methods inherited from interface io.github.torand.fastersql.sql.Sql

    aliasRefs, columnRefs, params, sql
  • Method Details

    • nullsFirst

      Order nullsFirst()
      Specifies that null values are to be ordered _before_ non-null values.
      Returns:
      the modified order clause.
    • nullsLast

      Order nullsLast()
      Specifies that null values are to be ordered _after_ non-null values.
      Returns:
      the modified order clause.