OmniSciDB  c07336695a
com.mapd.calcite.parser.MapDSqlOperatorTable.ST_Within Class Reference
+ Inheritance diagram for com.mapd.calcite.parser.MapDSqlOperatorTable.ST_Within:
+ Collaboration diagram for com.mapd.calcite.parser.MapDSqlOperatorTable.ST_Within:

Public Member Functions

RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Package Functions

 ST_Within ()
 

Static Private Member Functions

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

Detailed Description

Definition at line 803 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

◆ ST_Within()

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

Definition at line 804 of file MapDSqlOperatorTable.java.

804  {
805  super("ST_Within",
806  SqlKind.OTHER_FUNCTION,
807  null,
808  null,
809  OperandTypes.family(signature()),
810  SqlFunctionCategory.SYSTEM);
811  }
static java.util.List< SqlTypeFamily > signature()

Member Function Documentation

◆ inferReturnType()

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

Definition at line 814 of file MapDSqlOperatorTable.java.

814  {
815  assert opBinding.getOperandCount() == 2;
816  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
817  return typeFactory.createSqlType(SqlTypeName.BOOLEAN);
818  }

◆ signature()

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

Definition at line 820 of file MapDSqlOperatorTable.java.

820  {
821  java.util.List<SqlTypeFamily> st_within_sig =
822  new java.util.ArrayList<SqlTypeFamily>();
823  st_within_sig.add(SqlTypeFamily.ANY);
824  st_within_sig.add(SqlTypeFamily.ANY);
825  return st_within_sig;
826  }

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