OmniSciDB  bf83d84833
 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 1323 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1324 of file MapDSqlOperatorTable.java.

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

1324  {
1325  super("ST_MaxDistance",
1326  SqlKind.OTHER_FUNCTION,
1327  null,
1328  null,
1329  OperandTypes.family(signature()),
1330  SqlFunctionCategory.SYSTEM);
1331  }

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

1334  {
1335  assert opBinding.getOperandCount() == 2;
1336  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1337  return typeFactory.createTypeWithNullability(
1338  typeFactory.createSqlType(SqlTypeName.DOUBLE),
1339  opBinding.getOperandType(0).isNullable()
1340  || opBinding.getOperandType(1).isNullable());
1341  }
static java.util.List<SqlTypeFamily> com.mapd.calcite.parser.MapDSqlOperatorTable.ST_MaxDistance.signature ( )
inlinestaticprivate

Definition at line 1343 of file MapDSqlOperatorTable.java.

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

1343  {
1344  java.util.List<SqlTypeFamily> st_maxdistance_sig =
1345  new java.util.ArrayList<SqlTypeFamily>();
1346  st_maxdistance_sig.add(SqlTypeFamily.ANY);
1347  st_maxdistance_sig.add(SqlTypeFamily.ANY);
1348  return st_maxdistance_sig;
1349  }

+ Here is the caller graph for this function:


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