com.perforce.p4java.admin
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 Summary
static int NOVERSION
          What getVersion returns if there was no version number returned from the server.
 
Method Summary
 List<Map<String,String>> getColumnMetadata()
          Get a list of column metadata maps.
 String getName()
          Get the name of the table.
 int getVersion()
          Get the table schema version.
 void setColumnMetadata(List<Map<String,String>> columnMetadata)
          Set the colum metadata map.
 void setName(String name)
          Set the name of the table.
 void setVersion(int version)
          Get the table schema version.
 

Field Detail

NOVERSION

static final int NOVERSION
What getVersion returns if there was no version number returned from the server.

See Also:
Constant Field Values
Method Detail

getName

String getName()
Get the name of the table.


getVersion

int getVersion()
Get the table schema version.


getColumnMetadata

List<Map<String,String>> getColumnMetadata()
Get 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.


setVersion

void setVersion(int version)
Get the table schema version.


setColumnMetadata

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



Copyright © 2015 Perforce Software. All Rights Reserved.