Interface Geo
-
@Deprecated public interface Geo
Deprecated.DSE Graph is not supported starting with driver 4.19.2.3.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classGeo.UnitDeprecated.
-
Method Summary
All Methods Static Methods Deprecated Methods Modifier and Type Method Description static org.apache.tinkerpop.gremlin.process.traversal.P<Object>inside(Point center, double radius)Deprecated.Finds whether an entity is inside the given circular area using a cartesian coordinate system.static org.apache.tinkerpop.gremlin.process.traversal.P<Object>inside(Point center, double radius, Geo.Unit units)Deprecated.Finds whether an entity is inside the given circular area using a geo coordinate system.static org.apache.tinkerpop.gremlin.process.traversal.P<Object>inside(Polygon polygon)Deprecated.Finds whether an entity is inside the given polygon.static LineStringlineString(double... coordinates)Deprecated.Creates a line string from the coordinates of its points.static LineStringlineString(Point point1, Point point2, Point... otherPoints)Deprecated.Creates a line string from the given (at least 2) points.static Pointpoint(double x, double y)Deprecated.Creates a point from the given coordinates.static Polygonpolygon(double... coordinates)Deprecated.Creates a polygon from the coordinates of its points.static Polygonpolygon(Point p1, Point p2, Point p3, Point... otherPoints)Deprecated.Creates a polygon from the given (at least 3) points.
-
-
-
Method Detail
-
inside
static org.apache.tinkerpop.gremlin.process.traversal.P<Object> inside(Point center, double radius, Geo.Unit units)
Deprecated.Finds whether an entity is inside the given circular area using a geo coordinate system.- Returns:
- a predicate to apply in a
GraphTraversal.
-
inside
static org.apache.tinkerpop.gremlin.process.traversal.P<Object> inside(Point center, double radius)
Deprecated.Finds whether an entity is inside the given circular area using a cartesian coordinate system.- Returns:
- a predicate to apply in a
GraphTraversal.
-
inside
static org.apache.tinkerpop.gremlin.process.traversal.P<Object> inside(Polygon polygon)
Deprecated.Finds whether an entity is inside the given polygon.- Returns:
- a predicate to apply in a
GraphTraversal.
-
point
@NonNull static Point point(double x, double y)
Deprecated.Creates a point from the given coordinates.This is just a shortcut to
Point.fromCoordinates(double, double). It is duplicated here so thatGeocan be used as a single entry point in Gremlin-groovy scripts.
-
lineString
@NonNull static LineString lineString(@NonNull Point point1, @NonNull Point point2, @NonNull Point... otherPoints)
Deprecated.Creates a line string from the given (at least 2) points.This is just a shortcut to
LineString.fromPoints(Point, Point, Point...). It is duplicated here so thatGeocan be used as a single entry point in Gremlin-groovy scripts.
-
lineString
@NonNull static LineString lineString(double... coordinates)
Deprecated.Creates a line string from the coordinates of its points.This is provided for backward compatibility with previous DSE versions. We recommend
lineString(Point, Point, Point...)instead.
-
polygon
@NonNull static Polygon polygon(@NonNull Point p1, @NonNull Point p2, @NonNull Point p3, @NonNull Point... otherPoints)
Deprecated.Creates a polygon from the given (at least 3) points.This is just a shortcut to
Polygon.fromPoints(Point, Point, Point, Point...). It is duplicated here so thatGeocan be used as a single entry point in Gremlin-groovy scripts.
-
polygon
@NonNull static Polygon polygon(double... coordinates)
Deprecated.Creates a polygon from the coordinates of its points.This is provided for backward compatibility with previous DSE versions. We recommend
polygon(Point, Point, Point, Point...)instead.
-
-