OmniSciDB  a5dc49c757
 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 2658 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 2659 of file HeavyDBSqlOperatorTable.java.

2659  {
2660  super("ST_Buffer",
2661  SqlKind.OTHER_FUNCTION,
2662  null,
2663  null,
2664  OperandTypes.family(signature()),
2665  SqlFunctionCategory.SYSTEM);
2666  }

Member Function Documentation

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

Definition at line 2669 of file HeavyDBSqlOperatorTable.java.

2669  {
2670  assert opBinding.getOperandCount() == 2;
2671  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
2672  return typeFactory.createSqlType(SqlTypeName.INTEGER);
2673  }
static java.util.List<SqlTypeFamily> com.mapd.calcite.parser.HeavyDBSqlOperatorTable.ST_Buffer.signature ( )
inlinestaticprivate

Definition at line 2675 of file HeavyDBSqlOperatorTable.java.

2675  {
2676  java.util.List<SqlTypeFamily> st_buffer_sig =
2677  new java.util.ArrayList<SqlTypeFamily>();
2678  st_buffer_sig.add(SqlTypeFamily.ANY);
2679  st_buffer_sig.add(SqlTypeFamily.NUMERIC);
2680  return st_buffer_sig;
2681  }

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