OmniSciDB  4201147b46
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
com.mapd.calcite.parser.HeavyDBSqlOperatorTable.RegexpLike Class Reference
+ Inheritance diagram for com.mapd.calcite.parser.HeavyDBSqlOperatorTable.RegexpLike:
+ Collaboration diagram for com.mapd.calcite.parser.HeavyDBSqlOperatorTable.RegexpLike:

Classes

class  EscapeOptional
 

Public Member Functions

 RegexpLike ()
 
RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Static Private Member Functions

static java.util.List
< SqlTypeFamily > 
getSignatureFamilies ()
 

Detailed Description

Definition at line 750 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

com.mapd.calcite.parser.HeavyDBSqlOperatorTable.RegexpLike.RegexpLike ( )
inline

Definition at line 751 of file HeavyDBSqlOperatorTable.java.

References com.mapd.calcite.parser.HeavyDBSqlOperatorTable.RegexpLike.getSignatureFamilies().

751  {
752  super("REGEXP_LIKE",
753  SqlKind.OTHER_FUNCTION,
754  null,
755  null,
756  OperandTypes.family(getSignatureFamilies(), new EscapeOptional()),
757  SqlFunctionCategory.SYSTEM);
758  }

+ Here is the call graph for this function:

Member Function Documentation

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

Definition at line 760 of file HeavyDBSqlOperatorTable.java.

References heavydb.dtypes.STRING.

Referenced by com.mapd.calcite.parser.HeavyDBSqlOperatorTable.RegexpLike.RegexpLike().

760  {
761  java.util.ArrayList<SqlTypeFamily> families =
762  new java.util.ArrayList<SqlTypeFamily>();
763  families.add(SqlTypeFamily.STRING);
764  families.add(SqlTypeFamily.STRING);
765  families.add(SqlTypeFamily.STRING);
766  return families;
767  }
tuple STRING
Definition: dtypes.py:31

+ Here is the caller graph for this function:

RelDataType com.mapd.calcite.parser.HeavyDBSqlOperatorTable.RegexpLike.inferReturnType ( SqlOperatorBinding  opBinding)
inline

Definition at line 782 of file HeavyDBSqlOperatorTable.java.

782  {
783  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
784  return typeFactory.createSqlType(SqlTypeName.BOOLEAN);
785  }

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