SpatialSpec Class
- java.
lang. Object - JsonSerializable
- com.
microsoft. azure. cosmosdb. SpatialSpec
- com.
public class SpatialSpec extends JsonSerializable
Constructor Summary
Constructor | Description |
---|---|
SpatialSpec() |
Constructor. |
SpatialSpec(String jsonString) |
Constructor. |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
getPath()
Gets path. |
Collection<Spatial |
getSpatialTypes()
Gets the collection of spatial types. |
void |
setPath(String path)
Sets path. |
void |
setSpatialTypes(Collection<SpatialType> spatialTypes)
Sets the collection of spatial types. |
Inherited Members
JsonSerializable.get(String propertyName)
JsonSerializable.getBoolean(String propertyName)
JsonSerializable.getCollection(String propertyName)
JsonSerializable.getDouble(String propertyName)
JsonSerializable.getHashMap()
JsonSerializable.getInt(String propertyName)
JsonSerializable.getLogger()
JsonSerializable.getLong(String propertyName)
JsonSerializable.getMapper()
JsonSerializable.getObject(String propertyName)
JsonSerializable.getObjectByPath(List<String> propertyNames)
JsonSerializable.getString(String propertyName)
JsonSerializable.has(String propertyName)
JsonSerializable.JsonSerializable()
JsonSerializable.JsonSerializable(String jsonString, ObjectMapper objectMapper)
JsonSerializable.JsonSerializable(String jsonString)
JsonSerializable.remove(String propertyName)
JsonSerializable.toJson()
JsonSerializable.toJson(SerializationFormattingPolicy formattingPolicy)
JsonSerializable.toString()
Constructor Details
SpatialSpec
public SpatialSpec()
Constructor.
SpatialSpec
public SpatialSpec(String jsonString)
Constructor.
Parameters:
jsonString
- the json string that represents the included path.
Method Details
getPath
public String getPath()
Gets path.
Returns:
the path.
getSpatialTypes
public Collection
Gets the collection of spatial types.
Returns:
the collection of spatial types.
setPath
public void setPath(String path)
Sets path.
Parameters:
path
- the path.
setSpatialTypes
public void setSpatialTypes(Collection
Sets the collection of spatial types.
Parameters:
spatialTypes
- the collection of spatial types.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java