public interface IGeoSpatialLiteralSerializer extends Serializable
Modifier and Type | Method and Description |
---|---|
String |
fromComponents(Object[] components)
Recomposes the components into a string, should typically use
the object's toString() method.
|
IV<?,?> |
serializeCoordSystem(BigdataValueFactory vf,
Object coordinateSystem)
Serialize a coordinate system value contained in a geospatial datatype.
|
IV<?,?> |
serializeCustomFields(BigdataValueFactory vf,
Object... customFields)
Serialize a custom fields value contained in a geospatial datatype.
|
IV<?,?> |
serializeDistance(BigdataValueFactory vf,
Double distance,
ICoordinate.UNITS unit)
Serialize a distance value.
|
IV<?,?> |
serializeLatitude(BigdataValueFactory vf,
Object latitude)
Serialize a latitude value contained in a geospatial datatype.
|
IV<?,?> |
serializeLocation(BigdataValueFactory vf,
Object latitude,
Object longitude)
Serialize a geo-location of latitude and longitude.
|
IV<?,?> |
serializeLocationAndTime(BigdataValueFactory vf,
Object latitude,
Object longitude,
Object time)
Serialize a latitude+longitude+time value contained in a geospatial datatype.
|
IV<?,?> |
serializeLongitude(BigdataValueFactory vf,
Object longitude)
Serialize a longitude value contained in a geospatial datatype.
|
IV<?,?> |
serializeTime(BigdataValueFactory vf,
Object time)
Serialize a time value contained in a geospatial datatype.
|
String[] |
toComponents(String literalString)
Decomposes a string[] into an array of strings identifying the
individual components.
|
String[] toComponents(String literalString)
literalString
- String fromComponents(Object[] components)
components
- IV<?,?> serializeLocation(BigdataValueFactory vf, Object latitude, Object longitude)
vf
- latitude
- longitude
- IV<?,?> serializeLocationAndTime(BigdataValueFactory vf, Object latitude, Object longitude, Object time)
vf
- latitude
- longitude
- time
- IV<?,?> serializeTime(BigdataValueFactory vf, Object time)
vf
- time
- IV<?,?> serializeLatitude(BigdataValueFactory vf, Object latitude)
vf
- latitude
- IV<?,?> serializeLongitude(BigdataValueFactory vf, Object longitude)
vf
- longitude
- IV<?,?> serializeCoordSystem(BigdataValueFactory vf, Object coordinateSystem)
vf
- coordinateSystem
- IV<?,?> serializeCustomFields(BigdataValueFactory vf, Object... customFields)
coordSystem
- IV<?,?> serializeDistance(BigdataValueFactory vf, Double distance, ICoordinate.UNITS unit)
ICoordinate.UNITS
in which the value is represented. The ICoordinate.UNITS
depend on the
units that are specified within the query. Given that the user should be aware of the ICoordinate.UNITS
,
you may choose to return a numerical value, just ignoring the latter.vf
- distance
- units
- Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.