Class TableMetadata

java.lang.Object
mil.nga.geopackage.db.metadata.TableMetadata

public class TableMetadata extends Object
Metadata about tables within a GeoPackage
  • Field Details

    • TABLE_NAME

      public static final String TABLE_NAME
      Table name
      See Also:
    • COLUMN_GEOPACKAGE_ID

      public static final String COLUMN_GEOPACKAGE_ID
      GeoPackage Id column
      See Also:
    • COLUMN_TABLE_NAME

      public static final String COLUMN_TABLE_NAME
      Table name column
      See Also:
    • COLUMN_LAST_INDEXED

      public static final String COLUMN_LAST_INDEXED
      Last indexed column
      See Also:
    • COLUMNS

      public static final String[] COLUMNS
      Columns
    • CREATE_SQL

      public static final String CREATE_SQL
      Create table SQL
      See Also:
    • geoPackageId

      public long geoPackageId
      GeoPackage Id
    • tableName

      public String tableName
      GeoPackage table name
    • lastIndexed

      public Long lastIndexed
      Time in milliseconds since epoch when the table was last indexed
  • Constructor Details

    • TableMetadata

      public TableMetadata()
  • Method Details

    • getGeoPackageId

      public long getGeoPackageId()
      Get the GeoPackage id
      Returns:
      GeoPackage id
    • setGeoPackageId

      public void setGeoPackageId(long geoPackageId)
      Set the GeoPackage id
      Parameters:
      geoPackageId - GeoPackage id
    • getTableName

      public String getTableName()
      Get the table name
      Returns:
      table name
    • setTableName

      public void setTableName(String tableName)
      Set the table name
      Parameters:
      tableName - table name
    • getLastIndexed

      public Long getLastIndexed()
      Get the last indexed date
      Returns:
      last indexed date
    • setLastIndexed

      public void setLastIndexed(Long lastIndexed)
      Set the last indexed date
      Parameters:
      lastIndexed - last indexed date