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

Public Member Functions

List< String > getParamNames ()
 
RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Package Functions

 ExtFunction (final String name, final ExtensionFunction sig)
 

Private Attributes

final SqlTypeName ret
 
final List< String > arg_names
 

Detailed Description

Definition at line 2338 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

com.mapd.calcite.parser.HeavyDBSqlOperatorTable.ExtFunction.ExtFunction ( final String  name,
final ExtensionFunction  sig 
)
inlinepackage

Definition at line 2339 of file HeavyDBSqlOperatorTable.java.

References com.mapd.parser.server.ExtensionFunction.toSqlSignature().

2339  {
2340  super(name,
2341  SqlKind.OTHER_FUNCTION,
2342  null,
2343  null,
2344  OperandTypes.family(sig.toSqlSignature()),
2345  SqlFunctionCategory.SYSTEM);
2346  ret = sig.getSqlRet();
2347  arg_names = sig.getArgNames();
2348  }
string name
Definition: setup.in.py:72

+ Here is the call graph for this function:

Member Function Documentation

List<String> com.mapd.calcite.parser.HeavyDBSqlOperatorTable.ExtFunction.getParamNames ( )
inline

Definition at line 2351 of file HeavyDBSqlOperatorTable.java.

2351  {
2352  return arg_names;
2353  }
RelDataType com.mapd.calcite.parser.HeavyDBSqlOperatorTable.ExtFunction.inferReturnType ( SqlOperatorBinding  opBinding)
inline

Definition at line 2356 of file HeavyDBSqlOperatorTable.java.

2356  {
2357  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
2358  return typeFactory.createTypeWithNullability(typeFactory.createSqlType(ret), true);
2359  }

Member Data Documentation

final List<String> com.mapd.calcite.parser.HeavyDBSqlOperatorTable.ExtFunction.arg_names
private

Definition at line 2362 of file HeavyDBSqlOperatorTable.java.

final SqlTypeName com.mapd.calcite.parser.HeavyDBSqlOperatorTable.ExtFunction.ret
private

Definition at line 2361 of file HeavyDBSqlOperatorTable.java.


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