Enum EnumerableRel.Prefer

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      ANY
      Consumer has no preferred representation.
      ARRAY
      Records must be represented as arrays.
      ARRAY_NICE
      Consumer would prefer that records are represented as arrays, but can accommodate records represented as objects.
      CUSTOM
      Records must be represented as objects.
      CUSTOM_NICE
      Consumer would prefer that records are represented as objects, but can accommodate records represented as arrays.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private Prefer()  
    • Enum Constant Detail

      • ARRAY_NICE

        public static final EnumerableRel.Prefer ARRAY_NICE
        Consumer would prefer that records are represented as arrays, but can accommodate records represented as objects.
      • CUSTOM_NICE

        public static final EnumerableRel.Prefer CUSTOM_NICE
        Consumer would prefer that records are represented as objects, but can accommodate records represented as arrays.
    • Constructor Detail

      • Prefer

        private Prefer()
    • Method Detail

      • values

        public static EnumerableRel.Prefer[] 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 (EnumerableRel.Prefer c : EnumerableRel.Prefer.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static EnumerableRel.Prefer valueOf​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null