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

Public Member Functions

 usTimestamp ()
 
RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Detailed Description

Definition at line 1855 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1856 of file MapDSqlOperatorTable.java.

1856  {
1857  super("usTIMESTAMP",
1858  SqlKind.OTHER_FUNCTION,
1859  null,
1860  null,
1861  OperandTypes.STRING,
1862  SqlFunctionCategory.SYSTEM);
1863  }

Member Function Documentation

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

Definition at line 1866 of file MapDSqlOperatorTable.java.

References assert().

1866  {
1867  assert opBinding.getOperandCount() == 1;
1868  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1869  return typeFactory.createSqlType(SqlTypeName.TIMESTAMP, 6);
1870  }
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: