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

Public Member Functions

 nsTimestamp ()
 
RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Detailed Description

Definition at line 2249 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 2250 of file MapDSqlOperatorTable.java.

2250  {
2251  super("nsTIMESTAMP",
2252  SqlKind.OTHER_FUNCTION,
2253  null,
2254  null,
2255  OperandTypes.STRING,
2256  SqlFunctionCategory.SYSTEM);
2257  }

Member Function Documentation

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

Definition at line 2260 of file MapDSqlOperatorTable.java.

2260  {
2261  assert opBinding.getOperandCount() == 1;
2262  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
2263  return typeFactory.createSqlType(SqlTypeName.TIMESTAMP, 9);
2264  }

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