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

Constructor & Destructor Documentation

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

Definition at line 930 of file MapDSqlOperatorTable.java.

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

930  {
931  super("REGEXP_LIKE",
932  SqlKind.OTHER_FUNCTION,
933  null,
934  null,
935  OperandTypes.family(getSignatureFamilies(), new EscapeOptional()),
936  SqlFunctionCategory.SYSTEM);
937  }
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 939 of file MapDSqlOperatorTable.java.

References omnisci.dtypes.STRING.

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

939  {
940  java.util.ArrayList<SqlTypeFamily> families =
941  new java.util.ArrayList<SqlTypeFamily>();
942  families.add(SqlTypeFamily.STRING);
943  families.add(SqlTypeFamily.STRING);
944  families.add(SqlTypeFamily.STRING);
945  return families;
946  }
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 961 of file MapDSqlOperatorTable.java.

961  {
962  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
963  return typeFactory.createSqlType(SqlTypeName.BOOLEAN);
964  }

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