Enum RedisInternalFieldDescription

  • All Implemented Interfaces:
    Serializable, Comparable<RedisInternalFieldDescription>

    public enum RedisInternalFieldDescription
    extends Enum<RedisInternalFieldDescription>
    Describes an internal (managed by the connector) field which is added to each table row. The definition itself makes the row show up in the tables (the columns are hidden by default, so they must be explicitly selected) but unless the field is hooked in using the forBooleanValue/forLongValue/forBytesValue methods and the resulting FieldValueProvider is then passed into the appropriate row decoder, the fields will be null. Most values are assigned in the RedisRecordSet.
    • Enum Constant Detail

      • VALUE_CORRUPT_FIELD

        public static final RedisInternalFieldDescription VALUE_CORRUPT_FIELD
        _value_corrupt - True if the row converter could not read the value. May be null if the row converter does not set a value (e.g. the dummy row converter does not).
      • KEY_CORRUPT_FIELD

        public static final RedisInternalFieldDescription KEY_CORRUPT_FIELD
        _key_corrupt - True if the row converter could not read the key. May be null if the row converter does not set a value (e.g. the dummy row converter does not).
    • Method Detail

      • values

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

        public static RedisInternalFieldDescription 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 name
        NullPointerException - if the argument is null
      • getColumnName

        public String getColumnName()
      • getType

        public Type getType()