OmniSciDB  b28c0d5765
 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 795 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 796 of file HeavyDBSqlOperatorTable.java.

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

796  {
797  super("REGEXP_LIKE",
798  SqlKind.OTHER_FUNCTION,
799  null,
800  null,
801  OperandTypes.family(getSignatureFamilies(), new EscapeOptional()),
802  SqlFunctionCategory.SYSTEM);
803  }

+ 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 805 of file HeavyDBSqlOperatorTable.java.

References heavydb.dtypes.STRING.

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

805  {
806  java.util.ArrayList<SqlTypeFamily> families =
807  new java.util.ArrayList<SqlTypeFamily>();
808  families.add(SqlTypeFamily.STRING);
809  families.add(SqlTypeFamily.STRING);
810  families.add(SqlTypeFamily.STRING);
811  return families;
812  }
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 827 of file HeavyDBSqlOperatorTable.java.

827  {
828  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
829  return typeFactory.createSqlType(SqlTypeName.BOOLEAN);
830  }

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