OmniSciDB  4201147b46
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
com.mapd.calcite.parser.HeavyDBSqlOperatorTable.ST_Buffer Class Reference
+ Inheritance diagram for com.mapd.calcite.parser.HeavyDBSqlOperatorTable.ST_Buffer:
+ Collaboration diagram for com.mapd.calcite.parser.HeavyDBSqlOperatorTable.ST_Buffer:

Public Member Functions

RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Package Functions

 ST_Buffer ()
 

Static Private Member Functions

static java.util.List
< SqlTypeFamily > 
signature ()
 

Detailed Description

Definition at line 2036 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

com.mapd.calcite.parser.HeavyDBSqlOperatorTable.ST_Buffer.ST_Buffer ( )
inlinepackage

Definition at line 2037 of file HeavyDBSqlOperatorTable.java.

2037  {
2038  super("ST_Buffer",
2039  SqlKind.OTHER_FUNCTION,
2040  null,
2041  null,
2042  OperandTypes.family(signature()),
2043  SqlFunctionCategory.SYSTEM);
2044  }

Member Function Documentation

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

Definition at line 2047 of file HeavyDBSqlOperatorTable.java.

2047  {
2048  assert opBinding.getOperandCount() == 2;
2049  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
2050  return typeFactory.createSqlType(SqlTypeName.INTEGER);
2051  }
static java.util.List<SqlTypeFamily> com.mapd.calcite.parser.HeavyDBSqlOperatorTable.ST_Buffer.signature ( )
inlinestaticprivate

Definition at line 2053 of file HeavyDBSqlOperatorTable.java.

2053  {
2054  java.util.List<SqlTypeFamily> st_buffer_sig =
2055  new java.util.ArrayList<SqlTypeFamily>();
2056  st_buffer_sig.add(SqlTypeFamily.ANY);
2057  st_buffer_sig.add(SqlTypeFamily.NUMERIC);
2058  return st_buffer_sig;
2059  }

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