public class GeographyCollection extends GeographyValue
A collection of geography values.
DEFAULT_SRID
Constructor and Description |
---|
GeographyCollection()
Constructor
|
Modifier and Type | Method and Description |
---|---|
static GeographyCollection |
castOptional(DataValue value)
For internal use only.
|
static GeographyCollection |
castRequired(DataValue value)
For internal use only.
|
java.lang.String |
formatWKT()
See formatWKT(boolean).
|
java.lang.String |
formatWKT(boolean sridRequired)
Return this value formatted in OData WKT (well-known text) format.
|
DataType |
getDataType()
Data type of the wrapped value.
|
GeographyValueList |
getGeographies()
List of geography values.
|
static GeographyCollection |
parse(java.lang.String text)
Return a value parsed from text in GeoJSON format.
|
static GeographyCollection |
parseWKT(java.lang.String text)
|
static GeographyCollection |
parseWKT(java.lang.String text,
boolean sridRequired)
Return a value parsed from OData WKT (well-known-text) format.
|
void |
setGeographies(GeographyValueList value)
List of geography values.
|
getSrsCode, getSrsName, parseAny, parseAnyWKT, parseAnyWKT, setSrsCode, setSrsName, toString
cloneMutable, equals, getTypeCode, hashCode
public static GeographyCollection castOptional(DataValue value)
For internal use only.
public static GeographyCollection castRequired(DataValue value)
For internal use only.
public java.lang.String formatWKT()
formatWKT
in class GeographyValue
public java.lang.String formatWKT(boolean sridRequired)
Return this value formatted in OData WKT (well-known text) format.
formatWKT
in class GeographyValue
sridRequired
- Is SRID prefix required?public DataType getDataType()
Data type of the wrapped value.
getDataType
in class DataValue
public GeographyValueList getGeographies()
List of geography values.
public static GeographyCollection parse(java.lang.String text)
Return a value parsed from text in GeoJSON format.
text
- A value in GeoJSON format.public static GeographyCollection parseWKT(java.lang.String text)
public static GeographyCollection parseWKT(java.lang.String text, boolean sridRequired)
Return a value parsed from OData WKT (well-known-text) format.
text
- A value in OData WKT format.sridRequired
- Is SRID prefix required?public void setGeographies(GeographyValueList value)
List of geography values.