Class ValueConverter


  • public class ValueConverter
    extends Object
    Used to convert from Redis' native value/type system to the Apache Arrow type that was configured for the particular field.
    • Method Detail

      • convert

        public static Object convert​(org.apache.arrow.vector.types.pojo.Field field,
                                     String origVal)
        Allows for coercing types in the event that schema has evolved or there were other data issues.
        Parameters:
        field - The Apache Arrow field that the value belongs to.
        origVal - The original value from Redis (before any conversion or coercion).
        Returns:
        The coerced value.