OmniSciDB  29e35f4d58
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 786 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

◆ ST_Contains()

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

Definition at line 787 of file MapDSqlOperatorTable.java.

787  {
788  super("ST_Contains",
789  SqlKind.OTHER_FUNCTION,
790  null,
791  null,
792  OperandTypes.family(signature()),
793  SqlFunctionCategory.SYSTEM);
794  }

Member Function Documentation

◆ inferReturnType()

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

Definition at line 797 of file MapDSqlOperatorTable.java.

797  {
798  assert opBinding.getOperandCount() == 2;
799  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
800  return typeFactory.createSqlType(SqlTypeName.BOOLEAN);
801  }

◆ signature()

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

Definition at line 803 of file MapDSqlOperatorTable.java.

803  {
804  java.util.List<SqlTypeFamily> st_contains_sig =
805  new java.util.ArrayList<SqlTypeFamily>();
806  st_contains_sig.add(SqlTypeFamily.ANY);
807  st_contains_sig.add(SqlTypeFamily.ANY);
808  return st_contains_sig;
809  }

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