Class PgShellType

All Implemented Interfaces:
IHashable, ISearchPath, IStatement

public final class PgShellType extends AbstractType
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(PgStatement obj)
      Description copied from class: PgStatement
      This method does not account for nested child PgStatements. Shallow version of PgStatement.equals(Object)
      Overrides:
      compare in class AbstractType