OmniSciDB  bf83d84833
 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 890 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 891 of file MapDSqlOperatorTable.java.

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

891  {
892  super("PG_ILIKE",
893  SqlKind.OTHER_FUNCTION,
894  null,
895  null,
896  OperandTypes.family(getSignatureFamilies(), new EscapeOptional()),
897  SqlFunctionCategory.SYSTEM);
898  }
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 900 of file MapDSqlOperatorTable.java.

References omnisci.dtypes.STRING.

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

900  {
901  java.util.ArrayList<SqlTypeFamily> families =
902  new java.util.ArrayList<SqlTypeFamily>();
903  families.add(SqlTypeFamily.STRING);
904  families.add(SqlTypeFamily.STRING);
905  families.add(SqlTypeFamily.STRING);
906  return families;
907  }
tuple STRING
Definition: dtypes.py:31

+ Here is the caller graph for this function:

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

Definition at line 923 of file MapDSqlOperatorTable.java.

923  {
924  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
925  return typeFactory.createSqlType(SqlTypeName.BOOLEAN);
926  }

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