OmniSciDB  04ee39c94c
com.mapd.calcite.parser.MapDSqlOperatorTable.ST_Contains Class Reference
+ Inheritance diagram for com.mapd.calcite.parser.MapDSqlOperatorTable.ST_Contains:
+ Collaboration diagram for com.mapd.calcite.parser.MapDSqlOperatorTable.ST_Contains:

Public Member Functions

RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Package Functions

 ST_Contains ()
 

Static Private Member Functions

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

Detailed Description

Definition at line 725 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

◆ ST_Contains()

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

Definition at line 726 of file MapDSqlOperatorTable.java.

726  {
727  super("ST_Contains",
728  SqlKind.OTHER_FUNCTION,
729  null,
730  null,
731  OperandTypes.family(signature()),
732  SqlFunctionCategory.SYSTEM);
733  }

Member Function Documentation

◆ inferReturnType()

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

Definition at line 736 of file MapDSqlOperatorTable.java.

736  {
737  assert opBinding.getOperandCount() == 2;
738  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
739  return typeFactory.createSqlType(SqlTypeName.BOOLEAN);
740  }

◆ signature()

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

Definition at line 742 of file MapDSqlOperatorTable.java.

742  {
743  java.util.List<SqlTypeFamily> st_contains_sig =
744  new java.util.ArrayList<SqlTypeFamily>();
745  st_contains_sig.add(SqlTypeFamily.ANY);
746  st_contains_sig.add(SqlTypeFamily.ANY);
747  return st_contains_sig;
748  }

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