Package mil.nga.geopackage.db.metadata
Class TableMetadata
java.lang.Object
mil.nga.geopackage.db.metadata.TableMetadata
Metadata about tables within a GeoPackage
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringGeoPackage Id columnstatic final StringLast indexed columnstatic final StringTable name columnstatic final String[]Columnsstatic final StringCreate table SQLlongGeoPackage IdTime in milliseconds since epoch when the table was last indexedstatic final StringTable nameGeoPackage table name -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongGet the GeoPackage idGet the last indexed dateGet the table namevoidsetGeoPackageId(long geoPackageId) Set the GeoPackage idvoidsetLastIndexed(Long lastIndexed) Set the last indexed datevoidsetTableName(String tableName) Set the table name
-
Field Details
-
TABLE_NAME
Table name- See Also:
-
COLUMN_GEOPACKAGE_ID
GeoPackage Id column- See Also:
-
COLUMN_TABLE_NAME
Table name column- See Also:
-
COLUMN_LAST_INDEXED
Last indexed column- See Also:
-
COLUMNS
Columns -
CREATE_SQL
Create table SQL- See Also:
-
geoPackageId
public long geoPackageIdGeoPackage Id -
tableName
GeoPackage table name -
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
Get the table name- Returns:
- table name
-
setTableName
Set the table name- Parameters:
tableName- table name
-
getLastIndexed
Get the last indexed date- Returns:
- last indexed date
-
setLastIndexed
Set the last indexed date- Parameters:
lastIndexed- last indexed date
-