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

Public Member Functions

RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Package Functions

 ST_Disjoint ()
 

Static Private Member Functions

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

Detailed Description

Definition at line 1440 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1441 of file HeavyDBSqlOperatorTable.java.

1441  {
1442  super("ST_Disjoint",
1443  SqlKind.OTHER_FUNCTION,
1444  null,
1445  null,
1446  OperandTypes.family(signature()),
1447  SqlFunctionCategory.SYSTEM);
1448  }

Member Function Documentation

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

Definition at line 1451 of file HeavyDBSqlOperatorTable.java.

1451  {
1452  assert opBinding.getOperandCount() == 2;
1453  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1454  return typeFactory.createTypeWithNullability(
1455  typeFactory.createSqlType(SqlTypeName.BOOLEAN),
1456  opBinding.getOperandType(0).isNullable()
1457  || opBinding.getOperandType(1).isNullable());
1458  }
static java.util.List<SqlTypeFamily> com.mapd.calcite.parser.HeavyDBSqlOperatorTable.ST_Disjoint.signature ( )
inlinestaticprivate

Definition at line 1460 of file HeavyDBSqlOperatorTable.java.

1460  {
1461  java.util.List<SqlTypeFamily> st_disjoint_sig =
1462  new java.util.ArrayList<SqlTypeFamily>();
1463  st_disjoint_sig.add(SqlTypeFamily.ANY);
1464  st_disjoint_sig.add(SqlTypeFamily.ANY);
1465  return st_disjoint_sig;
1466  }

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