Class VectorHelper

java.lang.Object
io.deephaven.client.impl.VectorHelper

public class VectorHelper extends Object
Helpers to fill various field vectors from arrays or collections.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    fill(org.apache.arrow.vector.BigIntVector vector, long[] array, int offset, int len)
     
    static void
    fill(org.apache.arrow.vector.BigIntVector vector, Collection<Long> values)
     
    static void
    fill(org.apache.arrow.vector.BitVector vector, BooleanArray array, int offset, int len)
     
    static void
    fill(org.apache.arrow.vector.BitVector vector, Collection<Boolean> values)
     
    static void
    fill(org.apache.arrow.vector.Float4Vector vector, float[] array, int offset, int len)
     
    static void
    fill(org.apache.arrow.vector.Float4Vector vector, Collection<Float> values)
     
    static void
    fill(org.apache.arrow.vector.Float8Vector vector, double[] array, int offset, int len)
     
    static void
    fill(org.apache.arrow.vector.Float8Vector vector, Collection<Double> values)
     
    static void
    fill(org.apache.arrow.vector.IntVector vector, int[] array, int offset, int len)
     
    static void
    fill(org.apache.arrow.vector.IntVector vector, Collection<Integer> values)
     
    static void
    fill(org.apache.arrow.vector.SmallIntVector vector, short[] array, int offset, int len)
     
    static void
    fill(org.apache.arrow.vector.SmallIntVector vector, Collection<Short> values)
     
    static void
    fill(org.apache.arrow.vector.TimeStampNanoTZVector vector, Collection<Instant> array)
     
    static void
    fill(org.apache.arrow.vector.TinyIntVector vector, byte[] array, int offset, int len)
     
    static void
    fill(org.apache.arrow.vector.TinyIntVector vector, Collection<Byte> values)
     
    static void
    fill(org.apache.arrow.vector.UInt2Vector vector, char[] array, int offset, int len)
     
    static void
    fill(org.apache.arrow.vector.UInt2Vector vector, Collection<Character> values)
     
    static void
    fill(org.apache.arrow.vector.VarBinaryVector vector, Collection<byte[]> array)
     
    static void
    fill(org.apache.arrow.vector.VarCharVector vector, Collection<String> array)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • VectorHelper

      public VectorHelper()
  • Method Details

    • fill

      public static void fill(org.apache.arrow.vector.TinyIntVector vector, byte[] array, int offset, int len)
    • fill

      public static void fill(org.apache.arrow.vector.TinyIntVector vector, Collection<Byte> values)
    • fill

      public static void fill(org.apache.arrow.vector.BitVector vector, BooleanArray array, int offset, int len)
    • fill

      public static void fill(org.apache.arrow.vector.BitVector vector, Collection<Boolean> values)
    • fill

      public static void fill(org.apache.arrow.vector.UInt2Vector vector, char[] array, int offset, int len)
    • fill

      public static void fill(org.apache.arrow.vector.UInt2Vector vector, Collection<Character> values)
    • fill

      public static void fill(org.apache.arrow.vector.SmallIntVector vector, short[] array, int offset, int len)
    • fill

      public static void fill(org.apache.arrow.vector.SmallIntVector vector, Collection<Short> values)
    • fill

      public static void fill(org.apache.arrow.vector.IntVector vector, int[] array, int offset, int len)
    • fill

      public static void fill(org.apache.arrow.vector.IntVector vector, Collection<Integer> values)
    • fill

      public static void fill(org.apache.arrow.vector.BigIntVector vector, long[] array, int offset, int len)
    • fill

      public static void fill(org.apache.arrow.vector.BigIntVector vector, Collection<Long> values)
    • fill

      public static void fill(org.apache.arrow.vector.Float4Vector vector, float[] array, int offset, int len)
    • fill

      public static void fill(org.apache.arrow.vector.Float4Vector vector, Collection<Float> values)
    • fill

      public static void fill(org.apache.arrow.vector.Float8Vector vector, double[] array, int offset, int len)
    • fill

      public static void fill(org.apache.arrow.vector.Float8Vector vector, Collection<Double> values)
    • fill

      public static void fill(org.apache.arrow.vector.VarCharVector vector, Collection<String> array)
    • fill

      public static void fill(org.apache.arrow.vector.VarBinaryVector vector, Collection<byte[]> array)
    • fill

      public static void fill(org.apache.arrow.vector.TimeStampNanoTZVector vector, Collection<Instant> array)