OmniSciDB  fe05a0c208
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros 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 965 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 966 of file MapDSqlOperatorTable.java.

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

966  {
967  super("ST_Disjoint",
968  SqlKind.OTHER_FUNCTION,
969  null,
970  null,
971  OperandTypes.family(signature()),
972  SqlFunctionCategory.SYSTEM);
973  }

+ 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 976 of file MapDSqlOperatorTable.java.

References BOOLEAN.

976  {
977  assert opBinding.getOperandCount() == 2;
978  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
979  return typeFactory.createTypeWithNullability(
980  typeFactory.createSqlType(SqlTypeName.BOOLEAN),
981  opBinding.getOperandType(0).isNullable()
982  || opBinding.getOperandType(1).isNullable());
983  }
#define BOOLEAN
static java.util.List<SqlTypeFamily> com.mapd.calcite.parser.MapDSqlOperatorTable.ST_Disjoint.signature ( )
inlinestaticprivate

Definition at line 985 of file MapDSqlOperatorTable.java.

References ANY.

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

985  {
986  java.util.List<SqlTypeFamily> st_disjoint_sig =
987  new java.util.ArrayList<SqlTypeFamily>();
988  st_disjoint_sig.add(SqlTypeFamily.ANY);
989  st_disjoint_sig.add(SqlTypeFamily.ANY);
990  return st_disjoint_sig;
991  }
#define ANY

+ Here is the caller graph for this function:


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