OmniSciDB  95562058bd
 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 1102 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1103 of file MapDSqlOperatorTable.java.

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

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

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

References assert().

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

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

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

+ Here is the caller graph for this function:


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