OmniSciDB  04ee39c94c
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 751 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

◆ ST_Intersects()

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

Definition at line 752 of file MapDSqlOperatorTable.java.

752  {
753  super("ST_Intersects",
754  SqlKind.OTHER_FUNCTION,
755  null,
756  null,
757  OperandTypes.family(signature()),
758  SqlFunctionCategory.SYSTEM);
759  }

Member Function Documentation

◆ inferReturnType()

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

Definition at line 762 of file MapDSqlOperatorTable.java.

762  {
763  assert opBinding.getOperandCount() == 2;
764  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
765  return typeFactory.createSqlType(SqlTypeName.BOOLEAN);
766  }

◆ signature()

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

Definition at line 768 of file MapDSqlOperatorTable.java.

768  {
769  java.util.List<SqlTypeFamily> st_intersects_sig =
770  new java.util.ArrayList<SqlTypeFamily>();
771  st_intersects_sig.add(SqlTypeFamily.ANY);
772  st_intersects_sig.add(SqlTypeFamily.ANY);
773  return st_intersects_sig;
774  }

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