OmniSciDB  b28c0d5765
 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 1561 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1562 of file HeavyDBSqlOperatorTable.java.

1562  {
1563  super("ST_Intersects",
1564  SqlKind.OTHER_FUNCTION,
1565  null,
1566  null,
1567  OperandTypes.family(signature()),
1568  SqlFunctionCategory.SYSTEM);
1569  }

Member Function Documentation

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

Definition at line 1572 of file HeavyDBSqlOperatorTable.java.

1572  {
1573  assert opBinding.getOperandCount() == 2;
1574  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1575  return typeFactory.createTypeWithNullability(
1576  typeFactory.createSqlType(SqlTypeName.BOOLEAN),
1577  opBinding.getOperandType(0).isNullable()
1578  || opBinding.getOperandType(1).isNullable());
1579  }
static java.util.List<SqlTypeFamily> com.mapd.calcite.parser.HeavyDBSqlOperatorTable.ST_Intersects.signature ( )
inlinestaticprivate

Definition at line 1581 of file HeavyDBSqlOperatorTable.java.

1581  {
1582  java.util.List<SqlTypeFamily> st_intersects_sig =
1583  new java.util.ArrayList<SqlTypeFamily>();
1584  st_intersects_sig.add(SqlTypeFamily.ANY);
1585  st_intersects_sig.add(SqlTypeFamily.ANY);
1586  return st_intersects_sig;
1587  }

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