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

Public Member Functions

 SplitPart ()
 
RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Static Private Member Functions

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

Detailed Description

Definition at line 908 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 909 of file HeavyDBSqlOperatorTable.java.

References heavydb.dtypes.STRING.

909  {
910  super("SPLIT_PART",
911  SqlKind.OTHER_FUNCTION,
912  null,
913  null,
914  OperandTypes.family(getSignatureFamilies()),
916  }
tuple STRING
Definition: dtypes.py:31

Member Function Documentation

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

Definition at line 918 of file HeavyDBSqlOperatorTable.java.

References heavydb.dtypes.STRING.

918  {
919  java.util.ArrayList<SqlTypeFamily> families =
920  new java.util.ArrayList<SqlTypeFamily>();
921  families.add(SqlTypeFamily.STRING);
922  families.add(SqlTypeFamily.STRING);
923  families.add(SqlTypeFamily.INTEGER);
924  return families;
925  }
tuple STRING
Definition: dtypes.py:31
RelDataType com.mapd.calcite.parser.HeavyDBSqlOperatorTable.SplitPart.inferReturnType ( SqlOperatorBinding  opBinding)
inline

Definition at line 928 of file HeavyDBSqlOperatorTable.java.

928  {
929  return opBinding.getOperandType(0);
930  }

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