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

Constructor & Destructor Documentation

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

Definition at line 2173 of file MapDSqlOperatorTable.java.

2173  {
2174  super("nsTIMESTAMP",
2175  SqlKind.OTHER_FUNCTION,
2176  null,
2177  null,
2178  OperandTypes.STRING,
2179  SqlFunctionCategory.SYSTEM);
2180  }

Member Function Documentation

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

Definition at line 2183 of file MapDSqlOperatorTable.java.

References TIMESTAMP.

2183  {
2184  assert opBinding.getOperandCount() == 1;
2185  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
2186  return typeFactory.createSqlType(SqlTypeName.TIMESTAMP, 9);
2187  }
#define TIMESTAMP

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