OmniSciDB  c07336695a
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 575 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

◆ PgILike()

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

Definition at line 576 of file MapDSqlOperatorTable.java.

576  {
577  super("PG_ILIKE",
578  SqlKind.OTHER_FUNCTION,
579  null,
580  null,
581  OperandTypes.family(getSignatureFamilies(), new EscapeOptional()),
582  SqlFunctionCategory.SYSTEM);
583  }
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 585 of file MapDSqlOperatorTable.java.

585  {
586  java.util.ArrayList<SqlTypeFamily> families =
587  new java.util.ArrayList<SqlTypeFamily>();
588  families.add(SqlTypeFamily.STRING);
589  families.add(SqlTypeFamily.STRING);
590  families.add(SqlTypeFamily.STRING);
591  return families;
592  }

◆ inferReturnType()

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

Definition at line 608 of file MapDSqlOperatorTable.java.

608  {
609  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
610  return typeFactory.createSqlType(SqlTypeName.BOOLEAN);
611  }

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