Package org.apache.solr.schema
Enum IndexSchema.SchemaProps.Handler
- java.lang.Object
-
- java.lang.Enum<IndexSchema.SchemaProps.Handler>
-
- org.apache.solr.schema.IndexSchema.SchemaProps.Handler
-
- All Implemented Interfaces:
Serializable
,Comparable<IndexSchema.SchemaProps.Handler>
- Enclosing class:
- IndexSchema.SchemaProps
public static enum IndexSchema.SchemaProps.Handler extends Enum<IndexSchema.SchemaProps.Handler>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COPY_FIELDS
DYNAMIC_FIELDS
FIELD_TYPES
FIELDS
NAME
SIMILARITY
UNIQUE_KEY
VERSION
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getNameLower()
String
getRealName()
static IndexSchema.SchemaProps.Handler
valueOf(String name)
Returns the enum constant of this type with the specified name.static IndexSchema.SchemaProps.Handler[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NAME
public static final IndexSchema.SchemaProps.Handler NAME
-
VERSION
public static final IndexSchema.SchemaProps.Handler VERSION
-
UNIQUE_KEY
public static final IndexSchema.SchemaProps.Handler UNIQUE_KEY
-
SIMILARITY
public static final IndexSchema.SchemaProps.Handler SIMILARITY
-
FIELD_TYPES
public static final IndexSchema.SchemaProps.Handler FIELD_TYPES
-
FIELDS
public static final IndexSchema.SchemaProps.Handler FIELDS
-
DYNAMIC_FIELDS
public static final IndexSchema.SchemaProps.Handler DYNAMIC_FIELDS
-
COPY_FIELDS
public static final IndexSchema.SchemaProps.Handler COPY_FIELDS
-
-
Method Detail
-
values
public static IndexSchema.SchemaProps.Handler[] 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 (IndexSchema.SchemaProps.Handler c : IndexSchema.SchemaProps.Handler.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IndexSchema.SchemaProps.Handler 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
-
getRealName
public String getRealName()
-
getNameLower
public String getNameLower()
-
-