Class PgShellType

All Implemented Interfaces:
ISearchPath, IStatement, IType, IHashable

public class PgShellType extends PgAbstractType
PostgreSQL shell type implementation. Shell types are placeholder types created before their actual definition, used to resolve forward references in type definitions.
  • Constructor Details

    • PgShellType

      public PgShellType(String name)
      Creates a new PostgreSQL shell type.
      Parameters:
      name - shell type name
  • Method Details

    • computeHash

      public void computeHash(Hasher hasher)
      Description copied from interface: IHashable
      Computes the hash of the implementing object using the provided hasher. The implementation should call appropriate put methods on the hasher for all fields that should contribute to the hash value.
      Parameters:
      hasher - the hasher instance to use for hash computation
    • compare

      public boolean compare(IStatement obj)
      Description copied from class: AbstractStatement
      This method does not account for nested child PgStatements. Shallow version of AbstractStatement.equals(Object)
      Specified by:
      compare in interface IStatement
      Overrides:
      compare in class AbstractStatement