OmniSciDB  dfae7c3b14
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 2099 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

◆ nsTimestamp()

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

Definition at line 2100 of file MapDSqlOperatorTable.java.

2100  {
2101  super("nsTIMESTAMP",
2102  SqlKind.OTHER_FUNCTION,
2103  null,
2104  null,
2105  OperandTypes.STRING,
2106  SqlFunctionCategory.SYSTEM);
2107  }

Member Function Documentation

◆ inferReturnType()

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

Definition at line 2110 of file MapDSqlOperatorTable.java.

2110  {
2111  assert opBinding.getOperandCount() == 1;
2112  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
2113  return typeFactory.createSqlType(SqlTypeName.TIMESTAMP, 9);
2114  }

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