OmniSciDB  1dac507f6e
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
com.mapd.calcite.parser.MapDSqlOperatorTable.usTimestamp Class Reference
+ Inheritance diagram for com.mapd.calcite.parser.MapDSqlOperatorTable.usTimestamp:
+ Collaboration diagram for com.mapd.calcite.parser.MapDSqlOperatorTable.usTimestamp:

Public Member Functions

 usTimestamp ()
 
RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Detailed Description

Definition at line 1733 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1734 of file MapDSqlOperatorTable.java.

1734  {
1735  super("usTIMESTAMP",
1736  SqlKind.OTHER_FUNCTION,
1737  null,
1738  null,
1739  OperandTypes.STRING,
1740  SqlFunctionCategory.SYSTEM);
1741  }

Member Function Documentation

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

Definition at line 1744 of file MapDSqlOperatorTable.java.

References assert().

1744  {
1745  assert opBinding.getOperandCount() == 1;
1746  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1747  return typeFactory.createSqlType(SqlTypeName.TIMESTAMP, 6);
1748  }
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: