OmniSciDB  a987f07e93
 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 3111 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 3112 of file HeavyDBSqlOperatorTable.java.

3112  {
3113  super("usTIMESTAMP",
3114  SqlKind.OTHER_FUNCTION,
3115  null,
3116  null,
3117  OperandTypes.STRING,
3118  SqlFunctionCategory.SYSTEM);
3119  }

Member Function Documentation

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

Definition at line 3122 of file HeavyDBSqlOperatorTable.java.

3122  {
3123  assert opBinding.getOperandCount() == 1;
3124  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
3125  return typeFactory.createSqlType(SqlTypeName.TIMESTAMP, 6);
3126  }

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