Package | Description |
---|---|
com.datastax.dse.driver.api.core.data.geometry | |
com.datastax.dse.driver.api.core.graph.predicates | |
com.datastax.dse.driver.api.core.type.codec |
Modifier and Type | Method and Description |
---|---|
static LineString |
LineString.fromGeoJson(String source)
Creates a line string from a GeoJSON
LineString representation.
|
static LineString |
LineString.fromPoints(Point p1,
Point p2,
Point... pn)
Creates a line string from two or more points.
|
static LineString |
LineString.fromWellKnownBinary(ByteBuffer source)
Creates a line string from its Well-known Binary
(WKB) representation.
|
static LineString |
LineString.fromWellKnownText(String source)
Creates a line string from its Well-known Text (WKT) representation.
|
Modifier and Type | Method and Description |
---|---|
static LineString |
Geo.lineString(double... coordinates)
Creates a line string from the coordinates of its points.
|
static LineString |
Geo.lineString(Point point1,
Point point2,
Point... otherPoints)
Creates a line string from the given (at least 2) points.
|
Modifier and Type | Field and Description |
---|---|
static TypeCodec<LineString> |
DseTypeCodecs.LINE_STRING |
Copyright © 2017–2023. All rights reserved.