OmniSciDB  95562058bd
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
com.mapd.calcite.parser.MapDSqlOperatorTable.RegexpLike Class Reference
+ Inheritance diagram for com.mapd.calcite.parser.MapDSqlOperatorTable.RegexpLike:
+ Collaboration diagram for com.mapd.calcite.parser.MapDSqlOperatorTable.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 708 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 709 of file MapDSqlOperatorTable.java.

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

709  {
710  super("REGEXP_LIKE",
711  SqlKind.OTHER_FUNCTION,
712  null,
713  null,
714  OperandTypes.family(getSignatureFamilies(), new EscapeOptional()),
715  SqlFunctionCategory.SYSTEM);
716  }
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.RegexpLike.getSignatureFamilies ( )
inlinestaticprivate

Definition at line 718 of file MapDSqlOperatorTable.java.

References omnisci.dtypes.STRING.

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

718  {
719  java.util.ArrayList<SqlTypeFamily> families =
720  new java.util.ArrayList<SqlTypeFamily>();
721  families.add(SqlTypeFamily.STRING);
722  families.add(SqlTypeFamily.STRING);
723  families.add(SqlTypeFamily.STRING);
724  return families;
725  }
tuple STRING
Definition: dtypes.py:31

+ Here is the caller graph for this function:

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

Definition at line 740 of file MapDSqlOperatorTable.java.

740  {
741  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
742  return typeFactory.createSqlType(SqlTypeName.BOOLEAN);
743  }

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