OmniSciDB  06b3bd477c
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 668 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 669 of file MapDSqlOperatorTable.java.

References com.mapd.calcite.parser.MapDSqlOperatorTable.PgILike.getSignatureFamilies().

669  {
670  super("PG_ILIKE",
671  SqlKind.OTHER_FUNCTION,
672  null,
673  null,
674  OperandTypes.family(getSignatureFamilies(), new EscapeOptional()),
675  SqlFunctionCategory.SYSTEM);
676  }
static java.util.List< SqlTypeFamily > getSignatureFamilies()

+ Here is the call graph for this function:

Member Function Documentation

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

Definition at line 678 of file MapDSqlOperatorTable.java.

Referenced by com.mapd.calcite.parser.MapDSqlOperatorTable.PgILike.PgILike().

678  {
679  java.util.ArrayList<SqlTypeFamily> families =
680  new java.util.ArrayList<SqlTypeFamily>();
681  families.add(SqlTypeFamily.STRING);
682  families.add(SqlTypeFamily.STRING);
683  families.add(SqlTypeFamily.STRING);
684  return families;
685  }

+ Here is the caller graph for this function:

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

Definition at line 701 of file MapDSqlOperatorTable.java.

701  {
702  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
703  return typeFactory.createSqlType(SqlTypeName.BOOLEAN);
704  }

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