OmniSciDB  addbbd5075
 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 636 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 637 of file MapDSqlOperatorTable.java.

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

637  {
638  super("PG_ILIKE",
639  SqlKind.OTHER_FUNCTION,
640  null,
641  null,
642  OperandTypes.family(getSignatureFamilies(), new EscapeOptional()),
643  SqlFunctionCategory.SYSTEM);
644  }
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 646 of file MapDSqlOperatorTable.java.

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

646  {
647  java.util.ArrayList<SqlTypeFamily> families =
648  new java.util.ArrayList<SqlTypeFamily>();
649  families.add(SqlTypeFamily.STRING);
650  families.add(SqlTypeFamily.STRING);
651  families.add(SqlTypeFamily.STRING);
652  return families;
653  }

+ Here is the caller graph for this function:

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

Definition at line 669 of file MapDSqlOperatorTable.java.

669  {
670  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
671  return typeFactory.createSqlType(SqlTypeName.BOOLEAN);
672  }

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