OmniSciDB  b28c0d5765
 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 3101 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 3102 of file HeavyDBSqlOperatorTable.java.

3102  {
3103  super("nsTIMESTAMP",
3104  SqlKind.OTHER_FUNCTION,
3105  null,
3106  null,
3107  OperandTypes.STRING,
3108  SqlFunctionCategory.SYSTEM);
3109  }

Member Function Documentation

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

Definition at line 3112 of file HeavyDBSqlOperatorTable.java.

3112  {
3113  assert opBinding.getOperandCount() == 1;
3114  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
3115  return typeFactory.createSqlType(SqlTypeName.TIMESTAMP, 9);
3116  }

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