Interface DbObject

All Known Implementing Classes:
AnyObject, Column, ColumnWithSerialType, Constraint, DuplicatedForeignKeys, DuplicatedIndexes, ForeignKey, Index, IndexWithBloat, IndexWithColumns, IndexWithNulls, IndexWithSize, SequenceState, StoredFunction, Table, TableWithBloat, TableWithMissingIndex, UnusedIndex

public interface DbObject
A generalized representation of a database object. Mostly used as a marker interface.
Since:
0.7.0
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets database object name.
    Gets database object type.
  • Method Details

    • getName

      @Nonnull String getName()
      Gets database object name.
      Returns:
      database object name
    • getObjectType

      @Nonnull PgObjectType getObjectType()
      Gets database object type.
      Returns:
      database object type
      Since:
      0.13.2