Interface IDbSchema

All Known Implementing Classes:
DbSchema

public interface IDbSchema
Defines Perforce DB schema associated with a Perforce server (admin / superuser feature).

Usage of this feature is intentionally not documented here in any detail; see "p4 help dbschema" for more useful details.

  • Field Details

    • NOVERSION

      static final int NOVERSION
      What getVersion returns if there was no version number returned from the server.
      See Also:
  • Method Details

    • getName

      String getName()
      Returns:
      the name of the table.
    • getVersion

      int getVersion()
      Returns:
      the table schema version.
    • getColumnMetadata

      List<Map<String,String>> getColumnMetadata()
      Returns:
      a list of column metadata maps. Note that while this list should never be null, individual map values within it may be null. Field (map key) names and values are not explained here.
    • setName

      void setName(String name)
      Set the name of the table.
      Parameters:
      name - table name
    • setVersion

      void setVersion(int version)
      Set the table schema version.
      Parameters:
      version - schema version
    • setColumnMetadata

      void setColumnMetadata(List<Map<String,String>> columnMetadata)
      Set the colum metadata map.
      Parameters:
      columnMetadata - data