OmniSciDB  471d68cefb
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
com.mapd.calcite.parser.MapDSqlOperatorTable.ST_DFullyWithin Class Reference
+ Inheritance diagram for com.mapd.calcite.parser.MapDSqlOperatorTable.ST_DFullyWithin:
+ Collaboration diagram for com.mapd.calcite.parser.MapDSqlOperatorTable.ST_DFullyWithin:

Public Member Functions

RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Package Functions

 ST_DFullyWithin ()
 

Static Private Member Functions

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

Detailed Description

Definition at line 1114 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1115 of file MapDSqlOperatorTable.java.

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

1115  {
1116  super("ST_DFullyWithin",
1117  SqlKind.OTHER_FUNCTION,
1118  null,
1119  null,
1120  OperandTypes.family(signature()),
1121  SqlFunctionCategory.SYSTEM);
1122  }

+ Here is the call graph for this function:

Member Function Documentation

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

Definition at line 1125 of file MapDSqlOperatorTable.java.

References BOOLEAN.

1125  {
1126  assert opBinding.getOperandCount() == 3;
1127  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1128  return typeFactory.createTypeWithNullability(
1129  typeFactory.createSqlType(SqlTypeName.BOOLEAN),
1130  opBinding.getOperandType(0).isNullable()
1131  || opBinding.getOperandType(1).isNullable()
1132  || opBinding.getOperandType(2).isNullable());
1133  }
#define BOOLEAN
static java.util.List<SqlTypeFamily> com.mapd.calcite.parser.MapDSqlOperatorTable.ST_DFullyWithin.signature ( )
inlinestaticprivate

Definition at line 1135 of file MapDSqlOperatorTable.java.

References ANY, and NUMERIC.

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

1135  {
1136  java.util.List<SqlTypeFamily> st_dwithin_sig =
1137  new java.util.ArrayList<SqlTypeFamily>();
1138  st_dwithin_sig.add(SqlTypeFamily.ANY);
1139  st_dwithin_sig.add(SqlTypeFamily.ANY);
1140  st_dwithin_sig.add(SqlTypeFamily.NUMERIC);
1141  return st_dwithin_sig;
1142  }
#define ANY
#define NUMERIC

+ Here is the caller graph for this function:


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