Class Constants

java.lang.Object
io.github.torand.fastersql.constant.Constants

public final class Constants extends Object
Provides factory methods for constants.
  • Method Details

    • $

      public static <T> Constant $(T value)
      Creates a scalar value constant.
      Type Parameters:
      T - the constant type.
      Parameters:
      value - the constant value.
      Returns:
      the constant.
    • constant

      public static <T> Constant constant(T value)
      Creates a scalar value constant.
      Type Parameters:
      T - the constant type.
      Parameters:
      value - the constant value.
      Returns:
      the constant.
    • nullValue

      public static Constant nullValue()
      Creates a null constant.
      Returns:
      the constant.