OmniSciDB  eee9fa949c
 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 424 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 425 of file MapDSqlOperatorTable.java.

425  {
426  super("NOW",
427  SqlKind.OTHER_FUNCTION,
428  null,
429  null,
430  OperandTypes.NILADIC,
431  SqlFunctionCategory.SYSTEM);
432  }

Member Function Documentation

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

Definition at line 435 of file MapDSqlOperatorTable.java.

References assert().

435  {
436  assert opBinding.getOperandCount() == 0;
437  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
438  return typeFactory.createSqlType(SqlTypeName.TIMESTAMP);
439  }
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: