OmniSciDB  b28c0d5765
 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 2261 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 2262 of file HeavyDBSqlOperatorTable.java.

2262  {
2263  super("ST_Buffer",
2264  SqlKind.OTHER_FUNCTION,
2265  null,
2266  null,
2267  OperandTypes.family(signature()),
2268  SqlFunctionCategory.SYSTEM);
2269  }

Member Function Documentation

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

Definition at line 2272 of file HeavyDBSqlOperatorTable.java.

2272  {
2273  assert opBinding.getOperandCount() == 2;
2274  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
2275  return typeFactory.createSqlType(SqlTypeName.INTEGER);
2276  }
static java.util.List<SqlTypeFamily> com.mapd.calcite.parser.HeavyDBSqlOperatorTable.ST_Buffer.signature ( )
inlinestaticprivate

Definition at line 2278 of file HeavyDBSqlOperatorTable.java.

2278  {
2279  java.util.List<SqlTypeFamily> st_buffer_sig =
2280  new java.util.ArrayList<SqlTypeFamily>();
2281  st_buffer_sig.add(SqlTypeFamily.ANY);
2282  st_buffer_sig.add(SqlTypeFamily.NUMERIC);
2283  return st_buffer_sig;
2284  }

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