Class FunctionParameterImpl

java.lang.Object
org.apache.druid.sql.calcite.external.FunctionParameterImpl
All Implemented Interfaces:
org.apache.calcite.schema.FunctionParameter

public class FunctionParameterImpl extends Object implements org.apache.calcite.schema.FunctionParameter
  • Constructor Details

    • FunctionParameterImpl

      public FunctionParameterImpl(int ordinal, String name, org.apache.calcite.rel.type.RelDataType type, boolean isOptional)
    • FunctionParameterImpl

      public FunctionParameterImpl(int ordinal, String name, org.apache.calcite.rel.type.RelDataType type)
  • Method Details

    • getOrdinal

      public int getOrdinal()
      Specified by:
      getOrdinal in interface org.apache.calcite.schema.FunctionParameter
    • getName

      public String getName()
      Specified by:
      getName in interface org.apache.calcite.schema.FunctionParameter
    • getType

      public org.apache.calcite.rel.type.RelDataType getType(org.apache.calcite.rel.type.RelDataTypeFactory typeFactory)
      Specified by:
      getType in interface org.apache.calcite.schema.FunctionParameter
    • isOptional

      public boolean isOptional()
      Specified by:
      isOptional in interface org.apache.calcite.schema.FunctionParameter
    • toString

      public String toString()
      Overrides:
      toString in class Object