OmniSciDB  471d68cefb
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
com.mapd.calcite.parser.MapDSqlOperatorTable.ST_Buffer Class Reference
+ Inheritance diagram for com.mapd.calcite.parser.MapDSqlOperatorTable.ST_Buffer:
+ Collaboration diagram for com.mapd.calcite.parser.MapDSqlOperatorTable.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 1624 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1625 of file MapDSqlOperatorTable.java.

References com.mapd.calcite.parser.MapDSqlOperatorTable.ST_Buffer.signature().

1625  {
1626  super("ST_Buffer",
1627  SqlKind.OTHER_FUNCTION,
1628  null,
1629  null,
1630  OperandTypes.family(signature()),
1631  SqlFunctionCategory.SYSTEM);
1632  }

+ Here is the call graph for this function:

Member Function Documentation

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

Definition at line 1635 of file MapDSqlOperatorTable.java.

References INTEGER.

1635  {
1636  assert opBinding.getOperandCount() == 2;
1637  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1638  return typeFactory.createSqlType(SqlTypeName.INTEGER);
1639  }
#define INTEGER
static java.util.List<SqlTypeFamily> com.mapd.calcite.parser.MapDSqlOperatorTable.ST_Buffer.signature ( )
inlinestaticprivate

Definition at line 1641 of file MapDSqlOperatorTable.java.

References ANY, and NUMERIC.

Referenced by com.mapd.calcite.parser.MapDSqlOperatorTable.ST_Buffer.ST_Buffer().

1641  {
1642  java.util.List<SqlTypeFamily> st_buffer_sig =
1643  new java.util.ArrayList<SqlTypeFamily>();
1644  st_buffer_sig.add(SqlTypeFamily.ANY);
1645  st_buffer_sig.add(SqlTypeFamily.NUMERIC);
1646  return st_buffer_sig;
1647  }
#define ANY
#define NUMERIC

+ Here is the caller graph for this function:


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