OmniSciDB  6686921089
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups 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 2154 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 2155 of file MapDSqlOperatorTable.java.

2155  {
2156  super("usTIMESTAMP",
2157  SqlKind.OTHER_FUNCTION,
2158  null,
2159  null,
2160  OperandTypes.STRING,
2161  SqlFunctionCategory.SYSTEM);
2162  }

Member Function Documentation

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

Definition at line 2165 of file MapDSqlOperatorTable.java.

References TIMESTAMP.

2165  {
2166  assert opBinding.getOperandCount() == 1;
2167  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
2168  return typeFactory.createSqlType(SqlTypeName.TIMESTAMP, 6);
2169  }
#define TIMESTAMP

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