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

Public Member Functions

RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Package Functions

 ST_Intersects ()
 

Static Private Member Functions

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

Detailed Description

Definition at line 1356 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1357 of file HeavyDBSqlOperatorTable.java.

1357  {
1358  super("ST_Intersects",
1359  SqlKind.OTHER_FUNCTION,
1360  null,
1361  null,
1362  OperandTypes.family(signature()),
1363  SqlFunctionCategory.SYSTEM);
1364  }

Member Function Documentation

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

Definition at line 1367 of file HeavyDBSqlOperatorTable.java.

1367  {
1368  assert opBinding.getOperandCount() == 2;
1369  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1370  return typeFactory.createTypeWithNullability(
1371  typeFactory.createSqlType(SqlTypeName.BOOLEAN),
1372  opBinding.getOperandType(0).isNullable()
1373  || opBinding.getOperandType(1).isNullable());
1374  }
static java.util.List<SqlTypeFamily> com.mapd.calcite.parser.HeavyDBSqlOperatorTable.ST_Intersects.signature ( )
inlinestaticprivate

Definition at line 1376 of file HeavyDBSqlOperatorTable.java.

1376  {
1377  java.util.List<SqlTypeFamily> st_intersects_sig =
1378  new java.util.ArrayList<SqlTypeFamily>();
1379  st_intersects_sig.add(SqlTypeFamily.ANY);
1380  st_intersects_sig.add(SqlTypeFamily.ANY);
1381  return st_intersects_sig;
1382  }

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