OmniSciDB  fe05a0c208
 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 655 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 656 of file MapDSqlOperatorTable.java.

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

656  {
657  super("PG_ILIKE",
658  SqlKind.OTHER_FUNCTION,
659  null,
660  null,
661  OperandTypes.family(getSignatureFamilies(), new EscapeOptional()),
662  SqlFunctionCategory.SYSTEM);
663  }
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 665 of file MapDSqlOperatorTable.java.

References STRING.

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

665  {
666  java.util.ArrayList<SqlTypeFamily> families =
667  new java.util.ArrayList<SqlTypeFamily>();
668  families.add(SqlTypeFamily.STRING);
669  families.add(SqlTypeFamily.STRING);
670  families.add(SqlTypeFamily.STRING);
671  return families;
672  }
#define STRING

+ Here is the caller graph for this function:

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

Definition at line 688 of file MapDSqlOperatorTable.java.

References BOOLEAN.

688  {
689  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
690  return typeFactory.createSqlType(SqlTypeName.BOOLEAN);
691  }
#define BOOLEAN

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