OmniSciDB  471d68cefb
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups 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 689 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 690 of file MapDSqlOperatorTable.java.

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

690  {
691  super("PG_ILIKE",
692  SqlKind.OTHER_FUNCTION,
693  null,
694  null,
695  OperandTypes.family(getSignatureFamilies(), new EscapeOptional()),
696  SqlFunctionCategory.SYSTEM);
697  }
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 699 of file MapDSqlOperatorTable.java.

References STRING.

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

699  {
700  java.util.ArrayList<SqlTypeFamily> families =
701  new java.util.ArrayList<SqlTypeFamily>();
702  families.add(SqlTypeFamily.STRING);
703  families.add(SqlTypeFamily.STRING);
704  families.add(SqlTypeFamily.STRING);
705  return families;
706  }
#define STRING

+ Here is the caller graph for this function:

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

Definition at line 722 of file MapDSqlOperatorTable.java.

References BOOLEAN.

722  {
723  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
724  return typeFactory.createSqlType(SqlTypeName.BOOLEAN);
725  }
#define BOOLEAN

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