OmniSciDB  3a86f6ec37
com.mapd.calcite.parser.MapDSqlOperatorTable.ST_Intersects Class Reference
+ Inheritance diagram for com.mapd.calcite.parser.MapDSqlOperatorTable.ST_Intersects:
+ Collaboration diagram for com.mapd.calcite.parser.MapDSqlOperatorTable.ST_Intersects:

Public Member Functions

RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Package Functions

 ST_Intersects ()
 

Static Private Member Functions

static java.util.List< SqlTypeFamily > signature ()
 

Detailed Description

Definition at line 1119 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

◆ ST_Intersects()

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

Definition at line 1120 of file MapDSqlOperatorTable.java.

1120  {
1121  super("ST_Intersects",
1122  SqlKind.OTHER_FUNCTION,
1123  null,
1124  null,
1125  OperandTypes.family(signature()),
1126  SqlFunctionCategory.SYSTEM);
1127  }

Member Function Documentation

◆ inferReturnType()

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

Definition at line 1130 of file MapDSqlOperatorTable.java.

1130  {
1131  assert opBinding.getOperandCount() == 2;
1132  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1133  return typeFactory.createTypeWithNullability(
1134  typeFactory.createSqlType(SqlTypeName.BOOLEAN),
1135  opBinding.getOperandType(0).isNullable()
1136  || opBinding.getOperandType(1).isNullable());
1137  }

◆ signature()

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

Definition at line 1139 of file MapDSqlOperatorTable.java.

1139  {
1140  java.util.List<SqlTypeFamily> st_intersects_sig =
1141  new java.util.ArrayList<SqlTypeFamily>();
1142  st_intersects_sig.add(SqlTypeFamily.ANY);
1143  st_intersects_sig.add(SqlTypeFamily.ANY);
1144  return st_intersects_sig;
1145  }

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