OmniSciDB  4201147b46
 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 1466 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1467 of file HeavyDBSqlOperatorTable.java.

1467  {
1468  super("ST_Within",
1469  SqlKind.OTHER_FUNCTION,
1470  null,
1471  null,
1472  OperandTypes.family(signature()),
1473  SqlFunctionCategory.SYSTEM);
1474  }

Member Function Documentation

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

Definition at line 1477 of file HeavyDBSqlOperatorTable.java.

1477  {
1478  assert opBinding.getOperandCount() == 2;
1479  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1480  return typeFactory.createTypeWithNullability(
1481  typeFactory.createSqlType(SqlTypeName.BOOLEAN),
1482  opBinding.getOperandType(0).isNullable()
1483  || opBinding.getOperandType(1).isNullable());
1484  }
static java.util.List<SqlTypeFamily> com.mapd.calcite.parser.HeavyDBSqlOperatorTable.ST_Within.signature ( )
inlinestaticprivate

Definition at line 1486 of file HeavyDBSqlOperatorTable.java.

1486  {
1487  java.util.List<SqlTypeFamily> st_within_sig =
1488  new java.util.ArrayList<SqlTypeFamily>();
1489  st_within_sig.add(SqlTypeFamily.ANY);
1490  st_within_sig.add(SqlTypeFamily.ANY);
1491  return st_within_sig;
1492  }

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