Class VectorPrinter

java.lang.Object
org.apache.drill.exec.vector.accessor.impl.VectorPrinter

public class VectorPrinter extends Object
Handy tool to visualize string and offset vectors for debugging.
  • Constructor Details

    • VectorPrinter

      public VectorPrinter()
  • Method Details

    • printOffsets

      public static void printOffsets(UInt4Vector vector, int maxPrint)
    • printOffsets

      public static void printOffsets(UInt4Vector vector, int start, int length)
    • printStrings

      public static void printStrings(VarCharVector vector, int start, int length)
    • header

      public static void header(ValueVector vector, int start, int length)
    • stringAt

      public static String stringAt(VarCharVector vector, int i)