Class GenerateSampleData

java.lang.Object
org.apache.arrow.vector.GenerateSampleData

public class GenerateSampleData extends Object
Helper class to generate test data for Nullable fixed and variable width scalar vectors. Previous implementations of java vector classes provided generateTestData(now deprecated) API to populate the vector with sample data. This class should be used for that purpose.
  • Method Details

    • generateTestData

      public static void generateTestData(ValueVector vector, int valueCount)
      Populates vector with valueCount random values.