OmniSciDB  a987f07e93
 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 966 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 967 of file HeavyDBSqlOperatorTable.java.

References heavydb.dtypes.STRING.

967  {
968  super("SPLIT_PART",
969  SqlKind.OTHER_FUNCTION,
970  null,
971  null,
972  OperandTypes.family(getSignatureFamilies()),
974  }
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 976 of file HeavyDBSqlOperatorTable.java.

References heavydb.dtypes.STRING.

976  {
977  java.util.ArrayList<SqlTypeFamily> families =
978  new java.util.ArrayList<SqlTypeFamily>();
979  families.add(SqlTypeFamily.STRING);
980  families.add(SqlTypeFamily.STRING);
981  families.add(SqlTypeFamily.INTEGER);
982  return families;
983  }
tuple STRING
Definition: dtypes.py:31
RelDataType com.mapd.calcite.parser.HeavyDBSqlOperatorTable.SplitPart.inferReturnType ( SqlOperatorBinding  opBinding)
inline

Definition at line 986 of file HeavyDBSqlOperatorTable.java.

986  {
987  return opBinding.getOperandType(0);
988  }

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