Enum GeoJSONAnalyzerProperties.GeoJSONAnalyzerType
- java.lang.Object
-
- java.lang.Enum<GeoJSONAnalyzerProperties.GeoJSONAnalyzerType>
-
- com.arangodb.entity.arangosearch.analyzer.GeoJSONAnalyzerProperties.GeoJSONAnalyzerType
-
- All Implemented Interfaces:
Serializable,Comparable<GeoJSONAnalyzerProperties.GeoJSONAnalyzerType>
- Enclosing class:
- GeoJSONAnalyzerProperties
public static enum GeoJSONAnalyzerProperties.GeoJSONAnalyzerType extends Enum<GeoJSONAnalyzerProperties.GeoJSONAnalyzerType>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GeoJSONAnalyzerProperties.GeoJSONAnalyzerTypevalueOf(String name)Returns the enum constant of this type with the specified name.static GeoJSONAnalyzerProperties.GeoJSONAnalyzerType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
shape
public static final GeoJSONAnalyzerProperties.GeoJSONAnalyzerType shape
(default): index all GeoJSON geometry types (Point, Polygon etc.)
-
centroid
public static final GeoJSONAnalyzerProperties.GeoJSONAnalyzerType centroid
compute and only index the centroid of the input geometry
-
point
public static final GeoJSONAnalyzerProperties.GeoJSONAnalyzerType point
only index GeoJSON objects of type Point, ignore all other geometry types
-
-
Method Detail
-
values
public static GeoJSONAnalyzerProperties.GeoJSONAnalyzerType[] 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 (GeoJSONAnalyzerProperties.GeoJSONAnalyzerType c : GeoJSONAnalyzerProperties.GeoJSONAnalyzerType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GeoJSONAnalyzerProperties.GeoJSONAnalyzerType 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
-
-