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

Constructor & Destructor Documentation

◆ nsTimestamp()

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

Definition at line 1663 of file MapDSqlOperatorTable.java.

1663  {
1664  super("nsTIMESTAMP",
1665  SqlKind.OTHER_FUNCTION,
1666  null,
1667  null,
1668  OperandTypes.STRING,
1669  SqlFunctionCategory.SYSTEM);
1670  }

Member Function Documentation

◆ inferReturnType()

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

Definition at line 1673 of file MapDSqlOperatorTable.java.

1673  {
1674  assert opBinding.getOperandCount() == 1;
1675  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1676  return typeFactory.createSqlType(SqlTypeName.TIMESTAMP, 9);
1677  }

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