Package mil.nga.geopackage.tiles.overlay
Class FeatureTableData
- java.lang.Object
-
- mil.nga.geopackage.tiles.overlay.FeatureTableData
-
public class FeatureTableData extends Object
Represents a collection of rows from a feature table- Since:
- 1.2.7
-
-
Constructor Summary
Constructors Constructor Description FeatureTableData(String name, long count)ConstructorFeatureTableData(String name, long count, List<FeatureRowData> rows)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetCount()Get the row countStringgetName()Get the table nameList<FeatureRowData>getRows()Get the feature rowsObjectjsonCompatible()Build a JSON compatible objectObjectjsonCompatible(boolean includePoints, boolean includeGeometries)Build a JSON compatible objectObjectjsonCompatibleWithGeometries(boolean includeGeometries)Build a JSON compatible objectObjectjsonCompatibleWithPoints(boolean includePoints)Build a JSON compatible object
-
-
-
Constructor Detail
-
FeatureTableData
public FeatureTableData(String name, long count)
Constructor- Parameters:
name- table namecount- row count
-
FeatureTableData
public FeatureTableData(String name, long count, List<FeatureRowData> rows)
Constructor- Parameters:
name- table namecount- row countrows- feature rows
-
-
Method Detail
-
getName
public String getName()
Get the table name- Returns:
- table name
-
getCount
public long getCount()
Get the row count- Returns:
- row count
-
getRows
public List<FeatureRowData> getRows()
Get the feature rows- Returns:
- feature rows
-
jsonCompatible
public Object jsonCompatible()
Build a JSON compatible object- Returns:
- JSON compatible object
-
jsonCompatibleWithPoints
public Object jsonCompatibleWithPoints(boolean includePoints)
Build a JSON compatible object- Parameters:
includePoints- true to include point geometries, but no other geometry types- Returns:
- JSON compatible object
-
jsonCompatibleWithGeometries
public Object jsonCompatibleWithGeometries(boolean includeGeometries)
Build a JSON compatible object- Parameters:
includeGeometries- true to include all geometries, false for no geometries- Returns:
- JSON compatible object
-
jsonCompatible
public Object jsonCompatible(boolean includePoints, boolean includeGeometries)
Build a JSON compatible object- Parameters:
includePoints- true to include point geometries, ignored if includeGeometries is trueincludeGeometries- true to include all geometry types- Returns:
- JSON compatible object
-
-