Package org.apache.sedona.core.enums
Enum GridType
- java.lang.Object
-
- java.lang.Enum<GridType>
-
- org.apache.sedona.core.enums.GridType
-
- All Implemented Interfaces:
Serializable
,Comparable<GridType>
public enum GridType extends Enum<GridType> implements Serializable
The Enum GridType.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EQUALGRID
Partition the space to uniform gridsKDBTREE
K-D-B-tree partitioning (k-dimensional B-tree)QUADTREE
The Quad-Tree partitioning.QUADTREE_RTREE
Modified Quad-tree partitioning for KNN joinsZORDER
Z-ORDER based partitioning (morton space-filling curve) for KNN joins
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GridType
getGridType(String str)
Gets the grid type.static GridType
valueOf(String name)
Returns the enum constant of this type with the specified name.static GridType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EQUALGRID
public static final GridType EQUALGRID
Partition the space to uniform grids
-
QUADTREE
public static final GridType QUADTREE
The Quad-Tree partitioning.
-
KDBTREE
public static final GridType KDBTREE
K-D-B-tree partitioning (k-dimensional B-tree)
-
ZORDER
public static final GridType ZORDER
Z-ORDER based partitioning (morton space-filling curve) for KNN joins
-
QUADTREE_RTREE
public static final GridType QUADTREE_RTREE
Modified Quad-tree partitioning for KNN joins
-
-
Method Detail
-
values
public static GridType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (GridType c : GridType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GridType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
-