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
Modifier and TypeFieldDescriptionstatic final String
GeoPackage Id columnstatic final String
Last indexed columnstatic final String
Table name columnstatic final String[]
Columnsstatic final String
Create table SQLlong
GeoPackage IdTime in milliseconds since epoch when the table was last indexedstatic final String
Table nameGeoPackage table name -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlong
Get the GeoPackage idGet the last indexed dateGet the table namevoid
setGeoPackageId
(long geoPackageId) Set the GeoPackage idvoid
setLastIndexed
(Long lastIndexed) Set the last indexed datevoid
setTableName
(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
-