OmniSciDB  dfae7c3b14
com.mapd.calcite.parser.MapDSqlOperatorTable.PgILike Class Reference
+ Inheritance diagram for com.mapd.calcite.parser.MapDSqlOperatorTable.PgILike:
+ Collaboration diagram for com.mapd.calcite.parser.MapDSqlOperatorTable.PgILike:

Classes

class  EscapeOptional
 

Public Member Functions

 PgILike ()
 
RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Static Private Member Functions

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

Detailed Description

Definition at line 772 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

◆ PgILike()

com.mapd.calcite.parser.MapDSqlOperatorTable.PgILike.PgILike ( )
inline

Definition at line 773 of file MapDSqlOperatorTable.java.

773  {
774  super("PG_ILIKE",
775  SqlKind.OTHER_FUNCTION,
776  null,
777  null,
778  OperandTypes.family(getSignatureFamilies(), new EscapeOptional()),
779  SqlFunctionCategory.SYSTEM);
780  }
static java.util.List< SqlTypeFamily > getSignatureFamilies()

Member Function Documentation

◆ getSignatureFamilies()

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

Definition at line 782 of file MapDSqlOperatorTable.java.

782  {
783  java.util.ArrayList<SqlTypeFamily> families =
784  new java.util.ArrayList<SqlTypeFamily>();
785  families.add(SqlTypeFamily.STRING);
786  families.add(SqlTypeFamily.STRING);
787  families.add(SqlTypeFamily.STRING);
788  return families;
789  }

◆ inferReturnType()

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

Definition at line 805 of file MapDSqlOperatorTable.java.

805  {
806  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
807  return typeFactory.createSqlType(SqlTypeName.BOOLEAN);
808  }

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