OmniSciDB  95562058bd
 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 1552 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1553 of file MapDSqlOperatorTable.java.

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

1553  {
1554  super("ST_Buffer",
1555  SqlKind.OTHER_FUNCTION,
1556  null,
1557  null,
1558  OperandTypes.family(signature()),
1559  SqlFunctionCategory.SYSTEM);
1560  }

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

References assert().

1563  {
1564  assert opBinding.getOperandCount() == 2;
1565  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1566  return typeFactory.createSqlType(SqlTypeName.INTEGER);
1567  }
int64_t const int32_t sz assert(dest)

+ Here is the call graph for this function:

static java.util.List<SqlTypeFamily> com.mapd.calcite.parser.MapDSqlOperatorTable.ST_Buffer.signature ( )
inlinestaticprivate

Definition at line 1569 of file MapDSqlOperatorTable.java.

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

1569  {
1570  java.util.List<SqlTypeFamily> st_buffer_sig =
1571  new java.util.ArrayList<SqlTypeFamily>();
1572  st_buffer_sig.add(SqlTypeFamily.ANY);
1573  st_buffer_sig.add(SqlTypeFamily.NUMERIC);
1574  return st_buffer_sig;
1575  }

+ Here is the caller graph for this function:


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