OmniSciDB  16c4e035a1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups 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 1910 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1911 of file MapDSqlOperatorTable.java.

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

1911  {
1912  super(name,
1913  SqlKind.OTHER_FUNCTION,
1914  null,
1915  null,
1916  OperandTypes.family(sig.toSqlSignature()),
1917  SqlFunctionCategory.SYSTEM);
1918  ret = sig.getSqlRet();
1919  }
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 1922 of file MapDSqlOperatorTable.java.

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

1922  {
1923  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1924  return typeFactory.createTypeWithNullability(typeFactory.createSqlType(ret), true);
1925  }

Member Data Documentation

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

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