OmniSciDB  bf83d84833
 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 2231 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 2232 of file MapDSqlOperatorTable.java.

2232  {
2233  super("usTIMESTAMP",
2234  SqlKind.OTHER_FUNCTION,
2235  null,
2236  null,
2237  OperandTypes.STRING,
2238  SqlFunctionCategory.SYSTEM);
2239  }

Member Function Documentation

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

Definition at line 2242 of file MapDSqlOperatorTable.java.

2242  {
2243  assert opBinding.getOperandCount() == 1;
2244  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
2245  return typeFactory.createSqlType(SqlTypeName.TIMESTAMP, 6);
2246  }

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