Class Param<T>

java.lang.Object
com.illumon.iris.db.tables.select.Param<T>

public class Param<T> extends Object
  • Field Details

    • ZERO_LENGTH_PARAM_ARRAY

      public static final Param[] ZERO_LENGTH_PARAM_ARRAY
  • Constructor Details

    • Param

      public Param(String name, T value)
  • Method Details

    • getName

      public String getName()
    • getValue

      public T getValue()
    • getDeclaredType

      public Class<?> getDeclaredType()
    • getDeclaredType

      protected static Class getDeclaredType(Class type)
    • getDeclaredTypeName

      public String getDeclaredTypeName()
    • getPrimitiveTypeNameIfAvailable

      public String getPrimitiveTypeNameIfAvailable()
    • getDeclaredTypeName

      protected static String getDeclaredTypeName(Class type)
    • getParameterClasses

      public static Map<String,Class<?>> getParameterClasses(Param[] params)
      Get a map from binary name to declared type for an array of Params.
      Parameters:
      params - The parameters to operate on
      Returns:
      The result map