OmniSciDB  2e3a973ef4
com.mapd.calcite.parser.MapDSqlOperatorTable.ST_Overlaps Class Reference
+ Inheritance diagram for com.mapd.calcite.parser.MapDSqlOperatorTable.ST_Overlaps:
+ Collaboration diagram for com.mapd.calcite.parser.MapDSqlOperatorTable.ST_Overlaps:

Public Member Functions

RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Package Functions

 ST_Overlaps ()
 

Static Private Member Functions

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

Detailed Description

Definition at line 927 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

◆ ST_Overlaps()

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

Definition at line 928 of file MapDSqlOperatorTable.java.

928  {
929  super("ST_Overlaps",
930  SqlKind.OTHER_FUNCTION,
931  null,
932  null,
933  OperandTypes.family(signature()),
934  SqlFunctionCategory.SYSTEM);
935  }

Member Function Documentation

◆ inferReturnType()

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

Definition at line 938 of file MapDSqlOperatorTable.java.

938  {
939  assert opBinding.getOperandCount() == 2;
940  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
941  return typeFactory.createSqlType(SqlTypeName.BOOLEAN);
942  }

◆ signature()

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

Definition at line 944 of file MapDSqlOperatorTable.java.

944  {
945  java.util.List<SqlTypeFamily> st_overlaps_sig =
946  new java.util.ArrayList<SqlTypeFamily>();
947  st_overlaps_sig.add(SqlTypeFamily.ANY);
948  st_overlaps_sig.add(SqlTypeFamily.ANY);
949  return st_overlaps_sig;
950  }

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