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

Public Member Functions

 nsTimestamp ()
 
RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Detailed Description

Definition at line 2647 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 2648 of file HeavyDBSqlOperatorTable.java.

2648  {
2649  super("nsTIMESTAMP",
2650  SqlKind.OTHER_FUNCTION,
2651  null,
2652  null,
2653  OperandTypes.STRING,
2654  SqlFunctionCategory.SYSTEM);
2655  }

Member Function Documentation

RelDataType com.mapd.calcite.parser.HeavyDBSqlOperatorTable.nsTimestamp.inferReturnType ( SqlOperatorBinding  opBinding)
inline

Definition at line 2658 of file HeavyDBSqlOperatorTable.java.

2658  {
2659  assert opBinding.getOperandCount() == 1;
2660  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
2661  return typeFactory.createSqlType(SqlTypeName.TIMESTAMP, 9);
2662  }

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