interfaceOperatorClassItem
interface OperatorClassItem
extends Clause
Public API: explicitly declared with
@visibility public.One item of an operator class or of an operator family addition: an operator, a support function or the storage type.
Mirrors PostgreSQL's CreateOpClassItem (itemtype OPERATOR, FUNCTION or STORAGE). Source: https://www.postgresql.org/docs/17/sql-createopclass.html.
$type = new \SqlSemantics\Platform\PostgreSql\Statement\Type\TypeName(new \SqlSemantics\Platform\PostgreSql\Statement\Type\Designation\NamedDesignation(new \SqlSemantics\Platform\PostgreSql\Statement\Name\DottedName([new \SqlSemantics\Platform\PostgreSql\Model\Statement\Identifier\Name('int4')])));
new \SqlSemantics\Platform\PostgreSql\Statement\Operator\StorageMember($type) instanceof \SqlSemantics\Platform\PostgreSql\Statement\Operator\OperatorClassItem // => trueTest cases 1§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 1
OperatorClassItemTestcalls
Relations§
Implemented by 3
Constant reads 2
- class-const SqlSemantics\Platform\PostgreSql\Statement\Operator\CreateOperatorClass::__construct() packages/sql-semantics-postgres/src/Statement/Operator/CreateOperatorClass.php:53
- class-const SqlSemantics\Platform\PostgreSql\Statement\Operator\OperatorFamilyAddition::__construct() packages/sql-semantics-postgres/src/Statement/Operator/OperatorFamilyAddition.php:46