OmniSciDB  95562058bd
 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 1978 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1979 of file MapDSqlOperatorTable.java.

1979  {
1980  super("usTIMESTAMP",
1981  SqlKind.OTHER_FUNCTION,
1982  null,
1983  null,
1984  OperandTypes.STRING,
1985  SqlFunctionCategory.SYSTEM);
1986  }

Member Function Documentation

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

Definition at line 1989 of file MapDSqlOperatorTable.java.

References assert().

1989  {
1990  assert opBinding.getOperandCount() == 1;
1991  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1992  return typeFactory.createSqlType(SqlTypeName.TIMESTAMP, 6);
1993  }
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: