OmniSciDB  a5dc49c757
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
com.mapd.calcite.parser.HeavyDBSqlOperatorTable.ST_Within Class Reference
+ Inheritance diagram for com.mapd.calcite.parser.HeavyDBSqlOperatorTable.ST_Within:
+ Collaboration diagram for com.mapd.calcite.parser.HeavyDBSqlOperatorTable.ST_Within:

Public Member Functions

RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Package Functions

 ST_Within ()
 

Static Private Member Functions

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

Detailed Description

Definition at line 2068 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

com.mapd.calcite.parser.HeavyDBSqlOperatorTable.ST_Within.ST_Within ( )
inlinepackage

Definition at line 2069 of file HeavyDBSqlOperatorTable.java.

2069  {
2070  super("ST_Within",
2071  SqlKind.OTHER_FUNCTION,
2072  null,
2073  null,
2074  OperandTypes.family(signature()),
2075  SqlFunctionCategory.SYSTEM);
2076  }

Member Function Documentation

RelDataType com.mapd.calcite.parser.HeavyDBSqlOperatorTable.ST_Within.inferReturnType ( SqlOperatorBinding  opBinding)
inline

Definition at line 2079 of file HeavyDBSqlOperatorTable.java.

2079  {
2080  assert opBinding.getOperandCount() == 2;
2081  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
2082  return typeFactory.createTypeWithNullability(
2083  typeFactory.createSqlType(SqlTypeName.BOOLEAN),
2084  opBinding.getOperandType(0).isNullable()
2085  || opBinding.getOperandType(1).isNullable());
2086  }
static java.util.List<SqlTypeFamily> com.mapd.calcite.parser.HeavyDBSqlOperatorTable.ST_Within.signature ( )
inlinestaticprivate

Definition at line 2088 of file HeavyDBSqlOperatorTable.java.

2088  {
2089  java.util.List<SqlTypeFamily> st_within_sig =
2090  new java.util.ArrayList<SqlTypeFamily>();
2091  st_within_sig.add(SqlTypeFamily.ANY);
2092  st_within_sig.add(SqlTypeFamily.ANY);
2093  return st_within_sig;
2094  }

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