Class SqlParameter

java.lang.Object
org.apache.druid.sql.http.SqlParameter

public class SqlParameter extends Object
See ClientSqlParameter for the equivalent POJO class used on the client side. Note: The field type relies on a Calcite data type, which prevents this class from being moved to the processing module for reuse.
  • Constructor Details

    • SqlParameter

      public SqlParameter(org.apache.calcite.avatica.SqlType type, @Nullable Object value)
  • Method Details

    • getValue

      public Object getValue()
    • getType

      public org.apache.calcite.avatica.SqlType getType()
    • getTypedValue

      public org.apache.calcite.avatica.remote.TypedValue getTypedValue()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object