OmniSciDB  a987f07e93
 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 481 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 482 of file HeavyDBSqlOperatorTable.java.

482  {
483  super("NOW",
484  SqlKind.OTHER_FUNCTION,
485  null,
486  null,
487  OperandTypes.NILADIC,
488  SqlFunctionCategory.SYSTEM);
489  }

Member Function Documentation

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

Definition at line 492 of file HeavyDBSqlOperatorTable.java.

492  {
493  assert opBinding.getOperandCount() == 0;
494  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
495  return typeFactory.createSqlType(SqlTypeName.TIMESTAMP);
496  }

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