Package org.codice.solr.query
Enum Class AttributeFormat
- All Implemented Interfaces:
Serializable,Comparable<AttributeFormat>,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAttributes of thisAttributeFormatmust have a value that is a Javabyte[]andAttributeType#getBinding()should returnClass<Array>ofbyte.Attributes of thisAttributeFormatmust have a value that is a Java String and treated as plain text. -
Method Summary
Modifier and TypeMethodDescriptionstatic AttributeFormatReturns the enum constant of this class with the specified name.static AttributeFormat[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
STRING
Attributes of thisAttributeFormatmust have a value that is a Java String and treated as plain text. -
BOOLEAN
-
DATE
-
SHORT
-
INTEGER
-
LONG
-
FLOAT
-
DOUBLE
-
GEOMETRY
-
BINARY
Attributes of thisAttributeFormatmust have a value that is a Javabyte[]andAttributeType#getBinding()should returnClass<Array>ofbyte. -
XML
-
OBJECT
Attributes of thisAttributeFormatmust have a value that implements theSerializableinterface. Additional processing (indexing,tokenizing) will not be performed even if indicated by theAttributeDescriptor.
NOTE: In order for classes to be deserialized by a
Source, that class must exist on the classpath of thatSource. This may require additional parameters to be set such as DynamicImport-Package in order for the Source to accommodate OBJECT format.- See Also:
-
-
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
-