OmniSciDB  1dac507f6e
 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 1751 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1752 of file MapDSqlOperatorTable.java.

1752  {
1753  super("nsTIMESTAMP",
1754  SqlKind.OTHER_FUNCTION,
1755  null,
1756  null,
1757  OperandTypes.STRING,
1758  SqlFunctionCategory.SYSTEM);
1759  }

Member Function Documentation

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

Definition at line 1762 of file MapDSqlOperatorTable.java.

References assert().

1762  {
1763  assert opBinding.getOperandCount() == 1;
1764  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1765  return typeFactory.createSqlType(SqlTypeName.TIMESTAMP, 9);
1766  }
int64_t const int32_t sz assert(dest)

+ Here is the call graph for this function:


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