Package | Description |
---|---|
com.datastax.driver.dse.geometry | |
com.datastax.driver.dse.geometry.codecs |
Modifier and Type | Method and Description |
---|---|
Polygon |
Polygon.Builder.build()
Builds the polygon.
|
static Polygon |
Polygon.fromGeoJson(String source)
Creates a polygon from its JSON representation.
|
static Polygon |
Polygon.fromWellKnownBinary(ByteBuffer source)
Creates a polygon from its
Well-known Binary (WKB)
representation.
|
static Polygon |
Polygon.fromWellKnownText(String source)
Creates a polygon from its Well-known Text (WKT)
representation.
|
Modifier and Type | Method and Description |
---|---|
protected Polygon |
PolygonCodec.fromWellKnownBinary(ByteBuffer source) |
protected Polygon |
PolygonCodec.fromWellKnownText(String source) |
Modifier and Type | Method and Description |
---|---|
protected ByteBuffer |
PolygonCodec.toWellKnownBinary(Polygon geometry) |
protected String |
PolygonCodec.toWellKnownText(Polygon geometry) |