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

Public Member Functions

RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Package Functions

 ExtFunction (final String name, final ExtensionFunction sig)
 

Private Attributes

final SqlTypeName ret
 

Detailed Description

Definition at line 1807 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1808 of file MapDSqlOperatorTable.java.

References com.mapd.calcite.parser.MapDSqlOperatorTable.ExtFunction.ret, and com.mapd.parser.server.ExtensionFunction.toSqlSignature().

1808  {
1809  super(name,
1810  SqlKind.OTHER_FUNCTION,
1811  null,
1812  null,
1813  OperandTypes.family(sig.toSqlSignature()),
1814  SqlFunctionCategory.SYSTEM);
1815  ret = sig.getSqlRet();
1816  }
string name
Definition: setup.in.py:72

+ Here is the call graph for this function:

Member Function Documentation

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

Definition at line 1819 of file MapDSqlOperatorTable.java.

References com.mapd.calcite.parser.MapDSqlOperatorTable.ExtFunction.ret.

1819  {
1820  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1821  return typeFactory.createTypeWithNullability(typeFactory.createSqlType(ret), true);
1822  }

Member Data Documentation

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

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