OmniSciDB  8fa3bf436f
 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 1564 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1565 of file MapDSqlOperatorTable.java.

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

1565  {
1566  super("ST_Buffer",
1567  SqlKind.OTHER_FUNCTION,
1568  null,
1569  null,
1570  OperandTypes.family(signature()),
1571  SqlFunctionCategory.SYSTEM);
1572  }

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

References INTEGER.

1575  {
1576  assert opBinding.getOperandCount() == 2;
1577  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1578  return typeFactory.createSqlType(SqlTypeName.INTEGER);
1579  }
#define INTEGER
static java.util.List<SqlTypeFamily> com.mapd.calcite.parser.MapDSqlOperatorTable.ST_Buffer.signature ( )
inlinestaticprivate

Definition at line 1581 of file MapDSqlOperatorTable.java.

References ANY, and NUMERIC.

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

1581  {
1582  java.util.List<SqlTypeFamily> st_buffer_sig =
1583  new java.util.ArrayList<SqlTypeFamily>();
1584  st_buffer_sig.add(SqlTypeFamily.ANY);
1585  st_buffer_sig.add(SqlTypeFamily.NUMERIC);
1586  return st_buffer_sig;
1587  }
#define ANY
#define NUMERIC

+ Here is the caller graph for this function:


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