OmniSciDB  fe05a0c208
 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 2040 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 2041 of file MapDSqlOperatorTable.java.

2041  {
2042  super("nsTIMESTAMP",
2043  SqlKind.OTHER_FUNCTION,
2044  null,
2045  null,
2046  OperandTypes.STRING,
2047  SqlFunctionCategory.SYSTEM);
2048  }

Member Function Documentation

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

Definition at line 2051 of file MapDSqlOperatorTable.java.

References TIMESTAMP.

2051  {
2052  assert opBinding.getOperandCount() == 1;
2053  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
2054  return typeFactory.createSqlType(SqlTypeName.TIMESTAMP, 9);
2055  }
#define TIMESTAMP

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