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

Constructor & Destructor Documentation

◆ ST_Within()

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

Definition at line 865 of file MapDSqlOperatorTable.java.

865  {
866  super("ST_Within",
867  SqlKind.OTHER_FUNCTION,
868  null,
869  null,
870  OperandTypes.family(signature()),
871  SqlFunctionCategory.SYSTEM);
872  }
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 875 of file MapDSqlOperatorTable.java.

875  {
876  assert opBinding.getOperandCount() == 2;
877  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
878  return typeFactory.createSqlType(SqlTypeName.BOOLEAN);
879  }

◆ signature()

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

Definition at line 881 of file MapDSqlOperatorTable.java.

881  {
882  java.util.List<SqlTypeFamily> st_within_sig =
883  new java.util.ArrayList<SqlTypeFamily>();
884  st_within_sig.add(SqlTypeFamily.ANY);
885  st_within_sig.add(SqlTypeFamily.ANY);
886  return st_within_sig;
887  }

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