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

Public Member Functions

 usTimestamp ()
 
RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Detailed Description

Definition at line 3594 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 3595 of file HeavyDBSqlOperatorTable.java.

3595  {
3596  super("usTIMESTAMP",
3597  SqlKind.OTHER_FUNCTION,
3598  null,
3599  null,
3600  OperandTypes.STRING,
3601  SqlFunctionCategory.SYSTEM);
3602  }

Member Function Documentation

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

Definition at line 3605 of file HeavyDBSqlOperatorTable.java.

3605  {
3606  assert opBinding.getOperandCount() == 1;
3607  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
3608  return typeFactory.createSqlType(SqlTypeName.TIMESTAMP, 6);
3609  }

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