OmniSciDB  addbbd5075
 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 1781 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1782 of file MapDSqlOperatorTable.java.

1782  {
1783  super("nsTIMESTAMP",
1784  SqlKind.OTHER_FUNCTION,
1785  null,
1786  null,
1787  OperandTypes.STRING,
1788  SqlFunctionCategory.SYSTEM);
1789  }

Member Function Documentation

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

Definition at line 1792 of file MapDSqlOperatorTable.java.

References assert().

1792  {
1793  assert opBinding.getOperandCount() == 1;
1794  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1795  return typeFactory.createSqlType(SqlTypeName.TIMESTAMP, 9);
1796  }
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: