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 |
---|---|
static Point |
Point.fromGeoJson(String source)
Creates a point from a GeoJSON
Point representation.
|
static Point |
Point.fromWellKnownBinary(ByteBuffer source)
Creates a point from its Well-known Binary
(WKB) representation.
|
static Point |
Point.fromWellKnownText(String source)
Creates a point from its Well-known
Text (WKT) representation.
|
Point |
Distance.getCenter() |
Modifier and Type | Method and Description |
---|---|
List<Point> |
Polygon.getExteriorRing()
Returns the external ring of the polygon.
|
List<List<Point>> |
Polygon.getInteriorRings()
Returns the internal rings of the polygon, i.e.
|
List<Point> |
LineString.getPoints()
Returns the points composing this line string.
|
Modifier and Type | Method and Description |
---|---|
Polygon.Builder |
Polygon.Builder.addRing(Point p1,
Point p2,
Point p3,
Point... pn)
Adds a new ring for this polygon.
|
Polygon.Builder |
Polygon.Builder.addRing(Point p1,
Point p2,
Point p3,
Point... pn)
Adds a new ring for this polygon.
|
Constructor and Description |
---|
Distance(Point center,
double radius)
Creates a new distance with the given center and radius.
|
LineString(Point p1,
Point p2,
Point... pn)
Creates a line string from a series of 2 or more points.
|
LineString(Point p1,
Point p2,
Point... pn)
Creates a line string from a series of 2 or more points.
|
Polygon(Point p1,
Point p2,
Point p3,
Point... pn)
Creates a polygon instance from a series of 3 or more points.
|
Polygon(Point p1,
Point p2,
Point p3,
Point... pn)
Creates a polygon instance from a series of 3 or more points.
|
Modifier and Type | Method and Description |
---|---|
protected Point |
PointCodec.fromWellKnownBinary(ByteBuffer source) |
protected Point |
PointCodec.fromWellKnownText(String source) |
Modifier and Type | Method and Description |
---|---|
protected ByteBuffer |
PointCodec.toWellKnownBinary(Point geometry) |
protected String |
PointCodec.toWellKnownText(Point geometry) |
Modifier and Type | Method and Description |
---|---|
static Point |
Geo.point(double x,
double y)
Create a
Point object with the given x-axis and y-axis
coordinates. |
Modifier and Type | Method and Description |
---|---|
static org.apache.tinkerpop.gremlin.process.traversal.P<Object> |
Geo.inside(Point center,
double radius)
Graph predicate to find whether an entity is inside a defined area using a cartesian coordinate
system.
|
static org.apache.tinkerpop.gremlin.process.traversal.P<Object> |
Geo.inside(Point center,
double radius,
Geo.Unit units)
Graph predicate to find whether an entity is inside a defined area using a geo coordinate
system.
|
Modifier and Type | Method and Description |
---|---|
Point |
DseGraphModule.PointGeometryDeserializer.parse(String val) |
Copyright © 2012–2018. All rights reserved.