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

Public Member Functions

 OffsetInFragment ()
 
RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Detailed Description

Definition at line 1896 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

com.mapd.calcite.parser.MapDSqlOperatorTable.OffsetInFragment.OffsetInFragment ( )
inline

Definition at line 1897 of file MapDSqlOperatorTable.java.

1897  {
1898  super("OFFSET_IN_FRAGMENT",
1899  SqlKind.OTHER_FUNCTION,
1900  null,
1901  null,
1902  OperandTypes.NILADIC,
1903  SqlFunctionCategory.SYSTEM);
1904  }

Member Function Documentation

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

Definition at line 1907 of file MapDSqlOperatorTable.java.

1907  {
1908  assert opBinding.getOperandCount() == 0;
1909  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1910  return typeFactory.createSqlType(SqlTypeName.INTEGER);
1911  }

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