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