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

Public Member Functions

 usTimestamp ()
 
RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Detailed Description

Definition at line 2022 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 2023 of file MapDSqlOperatorTable.java.

2023  {
2024  super("usTIMESTAMP",
2025  SqlKind.OTHER_FUNCTION,
2026  null,
2027  null,
2028  OperandTypes.STRING,
2029  SqlFunctionCategory.SYSTEM);
2030  }

Member Function Documentation

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

Definition at line 2033 of file MapDSqlOperatorTable.java.

References TIMESTAMP.

2033  {
2034  assert opBinding.getOperandCount() == 1;
2035  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
2036  return typeFactory.createSqlType(SqlTypeName.TIMESTAMP, 6);
2037  }
#define TIMESTAMP

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