OmniSciDB  06b3bd477c
 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 1101 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1102 of file MapDSqlOperatorTable.java.

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

1102  {
1103  super("ST_MaxDistance",
1104  SqlKind.OTHER_FUNCTION,
1105  null,
1106  null,
1107  OperandTypes.family(signature()),
1108  SqlFunctionCategory.SYSTEM);
1109  }

+ 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 1112 of file MapDSqlOperatorTable.java.

References assert().

1112  {
1113  assert opBinding.getOperandCount() == 2;
1114  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1115  return typeFactory.createTypeWithNullability(
1116  typeFactory.createSqlType(SqlTypeName.DOUBLE),
1117  opBinding.getOperandType(0).isNullable()
1118  || opBinding.getOperandType(1).isNullable());
1119  }
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 1121 of file MapDSqlOperatorTable.java.

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

1121  {
1122  java.util.List<SqlTypeFamily> st_maxdistance_sig =
1123  new java.util.ArrayList<SqlTypeFamily>();
1124  st_maxdistance_sig.add(SqlTypeFamily.ANY);
1125  st_maxdistance_sig.add(SqlTypeFamily.ANY);
1126  return st_maxdistance_sig;
1127  }

+ Here is the caller graph for this function:


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