OmniSciDB  1dac507f6e
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
com.mapd.calcite.parser.MapDSqlOperatorTable.ST_MaxDistance Class Reference
+ Inheritance diagram for com.mapd.calcite.parser.MapDSqlOperatorTable.ST_MaxDistance:
+ Collaboration diagram for com.mapd.calcite.parser.MapDSqlOperatorTable.ST_MaxDistance:

Public Member Functions

RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Package Functions

 ST_MaxDistance ()
 

Static Private Member Functions

static java.util.List
< SqlTypeFamily > 
signature ()
 

Detailed Description

Definition at line 941 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

com.mapd.calcite.parser.MapDSqlOperatorTable.ST_MaxDistance.ST_MaxDistance ( )
inlinepackage

Definition at line 942 of file MapDSqlOperatorTable.java.

References com.mapd.calcite.parser.MapDSqlOperatorTable.ST_MaxDistance.signature().

942  {
943  super("ST_MaxDistance",
944  SqlKind.OTHER_FUNCTION,
945  null,
946  null,
947  OperandTypes.family(signature()),
948  SqlFunctionCategory.SYSTEM);
949  }

+ Here is the call graph for this function:

Member Function Documentation

RelDataType com.mapd.calcite.parser.MapDSqlOperatorTable.ST_MaxDistance.inferReturnType ( SqlOperatorBinding  opBinding)
inline

Definition at line 952 of file MapDSqlOperatorTable.java.

References assert().

952  {
953  assert opBinding.getOperandCount() == 2;
954  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
955  return typeFactory.createSqlType(SqlTypeName.DOUBLE);
956  }
int64_t const int32_t sz assert(dest)

+ Here is the call graph for this function:

static java.util.List<SqlTypeFamily> com.mapd.calcite.parser.MapDSqlOperatorTable.ST_MaxDistance.signature ( )
inlinestaticprivate

Definition at line 958 of file MapDSqlOperatorTable.java.

Referenced by com.mapd.calcite.parser.MapDSqlOperatorTable.ST_MaxDistance.ST_MaxDistance().

958  {
959  java.util.List<SqlTypeFamily> st_maxdistance_sig =
960  new java.util.ArrayList<SqlTypeFamily>();
961  st_maxdistance_sig.add(SqlTypeFamily.ANY);
962  st_maxdistance_sig.add(SqlTypeFamily.ANY);
963  return st_maxdistance_sig;
964  }

+ Here is the caller graph for this function:


The documentation for this class was generated from the following file: