OmniSciDB  471d68cefb
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups 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 1174 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1175 of file MapDSqlOperatorTable.java.

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

1175  {
1176  super("ST_MaxDistance",
1177  SqlKind.OTHER_FUNCTION,
1178  null,
1179  null,
1180  OperandTypes.family(signature()),
1181  SqlFunctionCategory.SYSTEM);
1182  }

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

References DOUBLE.

1185  {
1186  assert opBinding.getOperandCount() == 2;
1187  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1188  return typeFactory.createTypeWithNullability(
1189  typeFactory.createSqlType(SqlTypeName.DOUBLE),
1190  opBinding.getOperandType(0).isNullable()
1191  || opBinding.getOperandType(1).isNullable());
1192  }
#define DOUBLE
static java.util.List<SqlTypeFamily> com.mapd.calcite.parser.MapDSqlOperatorTable.ST_MaxDistance.signature ( )
inlinestaticprivate

Definition at line 1194 of file MapDSqlOperatorTable.java.

References ANY.

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

1194  {
1195  java.util.List<SqlTypeFamily> st_maxdistance_sig =
1196  new java.util.ArrayList<SqlTypeFamily>();
1197  st_maxdistance_sig.add(SqlTypeFamily.ANY);
1198  st_maxdistance_sig.add(SqlTypeFamily.ANY);
1199  return st_maxdistance_sig;
1200  }
#define ANY

+ Here is the caller graph for this function:


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