OmniSciDB  a5dc49c757
 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 2039 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 2040 of file HeavyDBSqlOperatorTable.java.

2040  {
2041  super("ST_Disjoint",
2042  SqlKind.OTHER_FUNCTION,
2043  null,
2044  null,
2045  OperandTypes.family(signature()),
2046  SqlFunctionCategory.SYSTEM);
2047  }

Member Function Documentation

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

Definition at line 2050 of file HeavyDBSqlOperatorTable.java.

2050  {
2051  assert opBinding.getOperandCount() == 2;
2052  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
2053  return typeFactory.createTypeWithNullability(
2054  typeFactory.createSqlType(SqlTypeName.BOOLEAN),
2055  opBinding.getOperandType(0).isNullable()
2056  || opBinding.getOperandType(1).isNullable());
2057  }
static java.util.List<SqlTypeFamily> com.mapd.calcite.parser.HeavyDBSqlOperatorTable.ST_Disjoint.signature ( )
inlinestaticprivate

Definition at line 2059 of file HeavyDBSqlOperatorTable.java.

2059  {
2060  java.util.List<SqlTypeFamily> st_disjoint_sig =
2061  new java.util.ArrayList<SqlTypeFamily>();
2062  st_disjoint_sig.add(SqlTypeFamily.ANY);
2063  st_disjoint_sig.add(SqlTypeFamily.ANY);
2064  return st_disjoint_sig;
2065  }

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