public class FeatureTableData extends Object
| Constructor and Description |
|---|
FeatureTableData(String name,
long count)
Constructor
|
FeatureTableData(String name,
long count,
List<FeatureRowData> rows)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
long |
getCount()
Get the row count
|
String |
getName()
Get the table name
|
List<FeatureRowData> |
getRows()
Get the feature rows
|
Object |
jsonCompatible()
Build a JSON compatible object
|
Object |
jsonCompatible(boolean includePoints,
boolean includeGeometries)
Build a JSON compatible object
|
Object |
jsonCompatibleWithGeometries(boolean includeGeometries)
Build a JSON compatible object
|
Object |
jsonCompatibleWithPoints(boolean includePoints)
Build a JSON compatible object
|
public FeatureTableData(String name, long count)
name - table namecount - row countpublic FeatureTableData(String name, long count, List<FeatureRowData> rows)
name - table namecount - row countrows - feature rowspublic String getName()
public long getCount()
public List<FeatureRowData> getRows()
public Object jsonCompatible()
public Object jsonCompatibleWithPoints(boolean includePoints)
includePoints - true to include point geometries, but no other geometry typespublic Object jsonCompatibleWithGeometries(boolean includeGeometries)
includeGeometries - true to include all geometries, false for no geometriespublic Object jsonCompatible(boolean includePoints, boolean includeGeometries)
includePoints - true to include point geometries, ignored if includeGeometries is trueincludeGeometries - true to include all geometry types