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()
Return data type of the wrapped value.
|
GeographyValueList |
getGeographies()
Return 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)
Set list of geography values.
|
getSrsCode, getSrsName, parseAny, parseAnyWKT, parseAnyWKT, setSrsCode, setSrsName, toStringcloneMutable, equals, getTypeCode, hashCodepublic static GeographyCollection castOptional(DataValue value)
For internal use only.
value - (internal use only)public static GeographyCollection castRequired(DataValue value)
For internal use only.
value - (internal use only)public java.lang.String formatWKT()
formatWKT in class GeographyValuepublic java.lang.String formatWKT(boolean sridRequired)
Return this value formatted in OData WKT (well-known text) format.
formatWKT in class GeographyValuesridRequired - Is SRID prefix required?public DataType getDataType()
Return data type of the wrapped value.
getDataType in class DataValuepublic GeographyValueList getGeographies()
Return 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)
text - Text parameter.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)
Set list of geography values.
value - List of geography values.