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

Constructor & Destructor Documentation

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

Definition at line 1644 of file HeavyDBSqlOperatorTable.java.

1644  {
1645  super("ST_Disjoint",
1646  SqlKind.OTHER_FUNCTION,
1647  null,
1648  null,
1649  OperandTypes.family(signature()),
1650  SqlFunctionCategory.SYSTEM);
1651  }

Member Function Documentation

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

Definition at line 1654 of file HeavyDBSqlOperatorTable.java.

1654  {
1655  assert opBinding.getOperandCount() == 2;
1656  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1657  return typeFactory.createTypeWithNullability(
1658  typeFactory.createSqlType(SqlTypeName.BOOLEAN),
1659  opBinding.getOperandType(0).isNullable()
1660  || opBinding.getOperandType(1).isNullable());
1661  }
static java.util.List<SqlTypeFamily> com.mapd.calcite.parser.HeavyDBSqlOperatorTable.ST_Disjoint.signature ( )
inlinestaticprivate

Definition at line 1663 of file HeavyDBSqlOperatorTable.java.

1663  {
1664  java.util.List<SqlTypeFamily> st_disjoint_sig =
1665  new java.util.ArrayList<SqlTypeFamily>();
1666  st_disjoint_sig.add(SqlTypeFamily.ANY);
1667  st_disjoint_sig.add(SqlTypeFamily.ANY);
1668  return st_disjoint_sig;
1669  }

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