Package dev.vortex.api
Enum Class Expression.SpatialFunction
- All Implemented Interfaces:
Serializable,Comparable<Expression.SpatialFunction>,Constable
- Enclosing class:
- Expression
Spatial functions over native geometries; codes must match the Rust
spatial table.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionPlanar area of each geometry; zero for points and line strings.Collect each list of homogeneous geometries into the matching multi-geometry.Whether the second geometry lies completely inside the first.Convex hull of each multipoint, as a polygon.Planar (Euclidean) distance between two geometries.Axis-aligned bounding box of each geometry.Whether two geometries intersect; boundary contact counts.Planar length of each lineal geometry.Line string from two points. -
Method Summary
Modifier and TypeMethodDescriptionintarity()bytecode()static Expression.SpatialFunctionReturns the enum constant of this class with the specified name.static Expression.SpatialFunction[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
AREA
Planar area of each geometry; zero for points and line strings. -
COLLECT
Collect each list of homogeneous geometries into the matching multi-geometry. -
CONTAINS
Whether the second geometry lies completely inside the first. -
CONVEX_HULL
Convex hull of each multipoint, as a polygon. -
DISTANCE
Planar (Euclidean) distance between two geometries. -
ENVELOPE
Axis-aligned bounding box of each geometry. -
INTERSECTS
Whether two geometries intersect; boundary contact counts. -
LENGTH
Planar length of each lineal geometry. -
MAKE_LINE
Line string from two points.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
code
public byte code() -
arity
public int arity()
-