OmniSciDB  04ee39c94c
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 1644 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

◆ usTimestamp()

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

Definition at line 1645 of file MapDSqlOperatorTable.java.

1645  {
1646  super("usTIMESTAMP",
1647  SqlKind.OTHER_FUNCTION,
1648  null,
1649  null,
1650  OperandTypes.STRING,
1651  SqlFunctionCategory.SYSTEM);
1652  }

Member Function Documentation

◆ inferReturnType()

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

Definition at line 1655 of file MapDSqlOperatorTable.java.

1655  {
1656  assert opBinding.getOperandCount() == 1;
1657  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1658  return typeFactory.createSqlType(SqlTypeName.TIMESTAMP, 6);
1659  }

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