OmniSciDB  a987f07e93
 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 1672 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1673 of file HeavyDBSqlOperatorTable.java.

1673  {
1674  super("ST_Within",
1675  SqlKind.OTHER_FUNCTION,
1676  null,
1677  null,
1678  OperandTypes.family(signature()),
1679  SqlFunctionCategory.SYSTEM);
1680  }

Member Function Documentation

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

Definition at line 1683 of file HeavyDBSqlOperatorTable.java.

1683  {
1684  assert opBinding.getOperandCount() == 2;
1685  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1686  return typeFactory.createTypeWithNullability(
1687  typeFactory.createSqlType(SqlTypeName.BOOLEAN),
1688  opBinding.getOperandType(0).isNullable()
1689  || opBinding.getOperandType(1).isNullable());
1690  }
static java.util.List<SqlTypeFamily> com.mapd.calcite.parser.HeavyDBSqlOperatorTable.ST_Within.signature ( )
inlinestaticprivate

Definition at line 1692 of file HeavyDBSqlOperatorTable.java.

1692  {
1693  java.util.List<SqlTypeFamily> st_within_sig =
1694  new java.util.ArrayList<SqlTypeFamily>();
1695  st_within_sig.add(SqlTypeFamily.ANY);
1696  st_within_sig.add(SqlTypeFamily.ANY);
1697  return st_within_sig;
1698  }

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