Package mil.nga.geopackage.features.user
Class FeatureTableReader
- java.lang.Object
-
- mil.nga.geopackage.user.UserTableReader<FeatureColumn,FeatureTable>
-
- mil.nga.geopackage.features.user.FeatureTableReader
-
public class FeatureTableReader extends UserTableReader<FeatureColumn,FeatureTable>
Reads the metadata from an existing feature table- Since:
- 3.3.0
- Author:
- osbornb
-
-
Constructor Summary
Constructors Constructor Description FeatureTableReader(String tableName)
Constructor, uses first or only found geometry columnFeatureTableReader(String tableName, String geometryColumnName)
ConstructorFeatureTableReader(GeometryColumns geometryColumns)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected FeatureColumn
createColumn(TableColumn tableColumn)
Create the columnprotected FeatureTable
createTable(String tableName, List<FeatureColumn> columnList)
Create the table-
Methods inherited from class mil.nga.geopackage.user.UserTableReader
readTable
-
-
-
-
Constructor Detail
-
FeatureTableReader
public FeatureTableReader(GeometryColumns geometryColumns)
Constructor- Parameters:
geometryColumns
- geometry columns
-
FeatureTableReader
public FeatureTableReader(String tableName, String geometryColumnName)
Constructor- Parameters:
tableName
- table namegeometryColumnName
- geometry column name
-
FeatureTableReader
public FeatureTableReader(String tableName)
Constructor, uses first or only found geometry column- Parameters:
tableName
- table name
-
-
Method Detail
-
createTable
protected FeatureTable createTable(String tableName, List<FeatureColumn> columnList)
Create the table- Specified by:
createTable
in classUserTableReader<FeatureColumn,FeatureTable>
- Parameters:
tableName
- table namecolumnList
- column list- Returns:
- table
-
createColumn
protected FeatureColumn createColumn(TableColumn tableColumn)
Create the column- Specified by:
createColumn
in classUserTableReader<FeatureColumn,FeatureTable>
- Parameters:
tableColumn
- table column- Returns:
- column
-
-