OmniSciDB  085a039ca4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
com.mapd.calcite.parser.HeavyDBSqlOperatorTable.Now Class Reference
+ Inheritance diagram for com.mapd.calcite.parser.HeavyDBSqlOperatorTable.Now:
+ Collaboration diagram for com.mapd.calcite.parser.HeavyDBSqlOperatorTable.Now:

Public Member Functions

 Now ()
 
RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Detailed Description

Definition at line 450 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

com.mapd.calcite.parser.HeavyDBSqlOperatorTable.Now.Now ( )
inline

Definition at line 451 of file HeavyDBSqlOperatorTable.java.

451  {
452  super("NOW",
453  SqlKind.OTHER_FUNCTION,
454  null,
455  null,
456  OperandTypes.NILADIC,
457  SqlFunctionCategory.SYSTEM);
458  }

Member Function Documentation

RelDataType com.mapd.calcite.parser.HeavyDBSqlOperatorTable.Now.inferReturnType ( SqlOperatorBinding  opBinding)
inline

Definition at line 461 of file HeavyDBSqlOperatorTable.java.

461  {
462  assert opBinding.getOperandCount() == 0;
463  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
464  return typeFactory.createSqlType(SqlTypeName.TIMESTAMP);
465  }

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