Package | Description |
---|---|
com.datastax.driver.dse.geometry | |
com.datastax.driver.dse.geometry.codecs | |
com.datastax.dse.graph.api.predicates | |
com.datastax.dse.graph.internal.serde |
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) |
Modifier and Type | Method and Description |
---|---|
static Polygon |
Geo.polygon(double... points)
Create a
Polygon with the points given in parameters. |
Modifier and Type | Method and Description |
---|---|
static org.apache.tinkerpop.gremlin.process.traversal.P<Object> |
Geo.inside(Polygon polygon)
Graph predicate to find whether an entity is inside a defined
Polygon . |
Modifier and Type | Method and Description |
---|---|
Polygon |
DseGraphModule.PolygonGeometryDeserializer.parse(String val) |
Copyright © 2012–2017. All rights reserved.