Enum Class AttributeFormat

java.lang.Object
java.lang.Enum<AttributeFormat>
org.codice.solr.query.AttributeFormat
All Implemented Interfaces:
Serializable, Comparable<AttributeFormat>, Constable

public enum AttributeFormat extends Enum<AttributeFormat>
  • Enum Constant Details

    • STRING

      public static final AttributeFormat STRING
      invalid reference
      Attribute
      s of this AttributeFormat must have a value that is a Java String and treated as plain text.
    • BOOLEAN

      public static final AttributeFormat BOOLEAN
      invalid reference
      Attribute
      s of this AttributeFormat must have a value that is a Java Boolean.
    • DATE

      public static final AttributeFormat DATE
      invalid reference
      Attribute
      s of this AttributeFormat must have a value that is a Java Date.
    • SHORT

      public static final AttributeFormat SHORT
      invalid reference
      Attribute
      s of this AttributeFormat must have a value that is a Java Short.
    • INTEGER

      public static final AttributeFormat INTEGER
      invalid reference
      Attribute
      s of this AttributeFormat must have a value that is a Java Integer.
    • LONG

      public static final AttributeFormat LONG
      invalid reference
      Attribute
      s of this AttributeFormat must have a value that is a Java Long.
    • FLOAT

      public static final AttributeFormat FLOAT
      invalid reference
      Attribute
      s of this AttributeFormat must have a value that is a Java Float.
    • DOUBLE

      public static final AttributeFormat DOUBLE
      invalid reference
      Attribute
      s of this AttributeFormat must have a value that is a Java Double.
    • GEOMETRY

      public static final AttributeFormat GEOMETRY
      invalid reference
      Attribute
      s of this AttributeFormat must have a value that is a WKT-formatted Java String.
    • BINARY

      public static final AttributeFormat BINARY
      invalid reference
      Attribute
      s of this AttributeFormat must have a value that is a Java byte[] and
      invalid reference
      AttributeType#getBinding()
      should return Class<Array> of byte.
    • XML

      public static final AttributeFormat XML
      invalid reference
      Attribute
      s of this AttributeFormat must have a value that is a XML-formatted Java String.
    • OBJECT

      public static final AttributeFormat OBJECT
      invalid reference
      Attribute
      s of this AttributeFormat must have a value that implements the Serializable interface. Additional processing (
      invalid reference
      indexing
      ,
      invalid reference
      tokenizing
      ) will not be performed even if indicated by the
      invalid reference
      AttributeDescriptor
      .

      NOTE: In order for classes to be deserialized by a

      invalid reference
      Source
      , that class must exist on the classpath of that
      invalid reference
      Source
      . 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

      public static AttributeFormat[] 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

      public static AttributeFormat valueOf(String name)
      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 name
      NullPointerException - if the argument is null