OmniSciDB  29e35f4d58
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 1762 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

◆ usTimestamp()

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

Definition at line 1763 of file MapDSqlOperatorTable.java.

1763  {
1764  super("usTIMESTAMP",
1765  SqlKind.OTHER_FUNCTION,
1766  null,
1767  null,
1768  OperandTypes.STRING,
1769  SqlFunctionCategory.SYSTEM);
1770  }

Member Function Documentation

◆ inferReturnType()

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

Definition at line 1773 of file MapDSqlOperatorTable.java.

1773  {
1774  assert opBinding.getOperandCount() == 1;
1775  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1776  return typeFactory.createSqlType(SqlTypeName.TIMESTAMP, 6);
1777  }

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