Enum Class EntityExpansionPolicy

java.lang.Object
java.lang.Enum<EntityExpansionPolicy>
com.northconcepts.datapipeline.twitter.EntityExpansionPolicy
All Implemented Interfaces:
IEntityExpansionPolicy, Serializable, Comparable<EntityExpansionPolicy>, Constable

public enum EntityExpansionPolicy extends Enum<EntityExpansionPolicy> implements IEntityExpansionPolicy
Indicates how multi-valued values should be returned.
  • Enum Constant Details

    • TO_STRING

      public static final EntityExpansionPolicy TO_STRING
      Return multi-valued fields as a single, space-separated string.
    • TO_ARRAY

      public static final EntityExpansionPolicy TO_ARRAY
      Return multi-valued fields as an array.
  • Method Details

    • values

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