OmniSciDB  85c2d10cdc
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros 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 1054 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1055 of file MapDSqlOperatorTable.java.

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

1055  {
1056  super("ST_DFullyWithin",
1057  SqlKind.OTHER_FUNCTION,
1058  null,
1059  null,
1060  OperandTypes.family(signature()),
1061  SqlFunctionCategory.SYSTEM);
1062  }

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

References BOOLEAN.

1065  {
1066  assert opBinding.getOperandCount() == 3;
1067  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1068  return typeFactory.createTypeWithNullability(
1069  typeFactory.createSqlType(SqlTypeName.BOOLEAN),
1070  opBinding.getOperandType(0).isNullable()
1071  || opBinding.getOperandType(1).isNullable()
1072  || opBinding.getOperandType(2).isNullable());
1073  }
#define BOOLEAN
static java.util.List<SqlTypeFamily> com.mapd.calcite.parser.MapDSqlOperatorTable.ST_DFullyWithin.signature ( )
inlinestaticprivate

Definition at line 1075 of file MapDSqlOperatorTable.java.

References ANY, and NUMERIC.

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

1075  {
1076  java.util.List<SqlTypeFamily> st_dwithin_sig =
1077  new java.util.ArrayList<SqlTypeFamily>();
1078  st_dwithin_sig.add(SqlTypeFamily.ANY);
1079  st_dwithin_sig.add(SqlTypeFamily.ANY);
1080  st_dwithin_sig.add(SqlTypeFamily.NUMERIC);
1081  return st_dwithin_sig;
1082  }
#define ANY
#define NUMERIC

+ Here is the caller graph for this function:


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