OmniSciDB  1dac507f6e
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
com.mapd.calcite.parser.MapDSqlOperatorTable.Now Class Reference
+ Inheritance diagram for com.mapd.calcite.parser.MapDSqlOperatorTable.Now:
+ Collaboration diagram for com.mapd.calcite.parser.MapDSqlOperatorTable.Now:

Public Member Functions

 Now ()
 
RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Detailed Description

Definition at line 395 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 396 of file MapDSqlOperatorTable.java.

396  {
397  super("NOW",
398  SqlKind.OTHER_FUNCTION,
399  null,
400  null,
401  OperandTypes.NILADIC,
402  SqlFunctionCategory.SYSTEM);
403  }

Member Function Documentation

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

Definition at line 406 of file MapDSqlOperatorTable.java.

References assert().

406  {
407  assert opBinding.getOperandCount() == 0;
408  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
409  return typeFactory.createSqlType(SqlTypeName.TIMESTAMP);
410  }
int64_t const int32_t sz assert(dest)

+ Here is the call graph for this function:


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