OmniSciDB  bf83d84833
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros 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 1773 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1774 of file MapDSqlOperatorTable.java.

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

1774  {
1775  super("ST_Buffer",
1776  SqlKind.OTHER_FUNCTION,
1777  null,
1778  null,
1779  OperandTypes.family(signature()),
1780  SqlFunctionCategory.SYSTEM);
1781  }

+ 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 1784 of file MapDSqlOperatorTable.java.

1784  {
1785  assert opBinding.getOperandCount() == 2;
1786  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1787  return typeFactory.createSqlType(SqlTypeName.INTEGER);
1788  }
static java.util.List<SqlTypeFamily> com.mapd.calcite.parser.MapDSqlOperatorTable.ST_Buffer.signature ( )
inlinestaticprivate

Definition at line 1790 of file MapDSqlOperatorTable.java.

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

1790  {
1791  java.util.List<SqlTypeFamily> st_buffer_sig =
1792  new java.util.ArrayList<SqlTypeFamily>();
1793  st_buffer_sig.add(SqlTypeFamily.ANY);
1794  st_buffer_sig.add(SqlTypeFamily.NUMERIC);
1795  return st_buffer_sig;
1796  }

+ Here is the caller graph for this function:


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