OmniSciDB  3a86f6ec37
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 1174 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

◆ ST_Disjoint()

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

Definition at line 1175 of file MapDSqlOperatorTable.java.

1175  {
1176  super("ST_Disjoint",
1177  SqlKind.OTHER_FUNCTION,
1178  null,
1179  null,
1180  OperandTypes.family(signature()),
1181  SqlFunctionCategory.SYSTEM);
1182  }

Member Function Documentation

◆ inferReturnType()

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

Definition at line 1185 of file MapDSqlOperatorTable.java.

1185  {
1186  assert opBinding.getOperandCount() == 2;
1187  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1188  return typeFactory.createTypeWithNullability(
1189  typeFactory.createSqlType(SqlTypeName.BOOLEAN),
1190  opBinding.getOperandType(0).isNullable()
1191  || opBinding.getOperandType(1).isNullable());
1192  }

◆ signature()

static java.util.List<SqlTypeFamily> com.mapd.calcite.parser.MapDSqlOperatorTable.ST_Disjoint.signature ( )
inlinestaticprivate

Definition at line 1194 of file MapDSqlOperatorTable.java.

1194  {
1195  java.util.List<SqlTypeFamily> st_disjoint_sig =
1196  new java.util.ArrayList<SqlTypeFamily>();
1197  st_disjoint_sig.add(SqlTypeFamily.ANY);
1198  st_disjoint_sig.add(SqlTypeFamily.ANY);
1199  return st_disjoint_sig;
1200  }

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