OmniSciDB  a5dc49c757
 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 3612 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 3613 of file HeavyDBSqlOperatorTable.java.

3613  {
3614  super("nsTIMESTAMP",
3615  SqlKind.OTHER_FUNCTION,
3616  null,
3617  null,
3618  OperandTypes.STRING,
3619  SqlFunctionCategory.SYSTEM);
3620  }

Member Function Documentation

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

Definition at line 3623 of file HeavyDBSqlOperatorTable.java.

3623  {
3624  assert opBinding.getOperandCount() == 1;
3625  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
3626  return typeFactory.createSqlType(SqlTypeName.TIMESTAMP, 9);
3627  }

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