Class ArrowTypeComparator


  • public class ArrowTypeComparator
    extends Object
    This utility class can be used to implement a comparator for various Apache Arrow typed values. It is mostly used as part of our testing harness and notably does not support certain complex types (e.g. STRUCTs).
    • Method Detail

      • compare

        public static int compare​(org.apache.arrow.vector.complex.reader.FieldReader reader,
                                  Object lhs,
                                  Object rhs)
      • compare

        public static int compare​(org.apache.arrow.vector.types.pojo.ArrowType arrowType,
                                  Object lhs,
                                  Object rhs)