Class AbstractStatistics

java.lang.Object
org.pgcodekeeper.core.schema.PgStatement
org.pgcodekeeper.core.schema.AbstractStatistics
All Implemented Interfaces:
IHashable, ISearchPath, IStatement
Direct Known Subclasses:
MsStatistics, PgStatistics

public abstract class AbstractStatistics extends PgStatement implements ISearchPath
Abstract base class for database statistics objects. Provides common functionality for extended statistics across different database types.
  • Method Details

    • getStatementType

      public DbObjType getStatementType()
      Description copied from interface: IStatement
      Gets the type of this database object.
      Specified by:
      getStatementType in interface IStatement
      Returns:
      the database object type
    • shallowCopy

      public AbstractStatistics shallowCopy()
      Description copied from class: PgStatement
      Copies all object properties into a new object and leaves all its children empty.
      Specified by:
      shallowCopy in class PgStatement
      Returns:
      shallow copy of a DB object.
    • getContainingSchema

      public ISchema getContainingSchema()
      Description copied from interface: ISearchPath
      Gets the schema that contains this object.
      Specified by:
      getContainingSchema in interface ISearchPath
      Returns:
      the containing schema