OmniSciDB  6686921089
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
com.mapd.calcite.parser.MapDSqlOperatorTable.ST_Disjoint Class Reference
+ Inheritance diagram for com.mapd.calcite.parser.MapDSqlOperatorTable.ST_Disjoint:
+ Collaboration diagram for com.mapd.calcite.parser.MapDSqlOperatorTable.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 1025 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1026 of file MapDSqlOperatorTable.java.

References com.mapd.calcite.parser.MapDSqlOperatorTable.ST_Disjoint.signature().

1026  {
1027  super("ST_Disjoint",
1028  SqlKind.OTHER_FUNCTION,
1029  null,
1030  null,
1031  OperandTypes.family(signature()),
1032  SqlFunctionCategory.SYSTEM);
1033  }

+ Here is the call graph for this function:

Member Function Documentation

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

Definition at line 1036 of file MapDSqlOperatorTable.java.

References BOOLEAN.

1036  {
1037  assert opBinding.getOperandCount() == 2;
1038  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1039  return typeFactory.createTypeWithNullability(
1040  typeFactory.createSqlType(SqlTypeName.BOOLEAN),
1041  opBinding.getOperandType(0).isNullable()
1042  || opBinding.getOperandType(1).isNullable());
1043  }
#define BOOLEAN
static java.util.List<SqlTypeFamily> com.mapd.calcite.parser.MapDSqlOperatorTable.ST_Disjoint.signature ( )
inlinestaticprivate

Definition at line 1045 of file MapDSqlOperatorTable.java.

References ANY.

Referenced by com.mapd.calcite.parser.MapDSqlOperatorTable.ST_Disjoint.ST_Disjoint().

1045  {
1046  java.util.List<SqlTypeFamily> st_disjoint_sig =
1047  new java.util.ArrayList<SqlTypeFamily>();
1048  st_disjoint_sig.add(SqlTypeFamily.ANY);
1049  st_disjoint_sig.add(SqlTypeFamily.ANY);
1050  return st_disjoint_sig;
1051  }
#define ANY

+ Here is the caller graph for this function:


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