Class RandomData

java.lang.Object
org.apache.avro.util.RandomData
All Implemented Interfaces:
Iterable<Object>

public class RandomData extends Object implements Iterable<Object>
Generates schema data as Java objects with random values.
  • Field Details

  • Constructor Details

    • RandomData

      public RandomData(Schema schema, int count)
    • RandomData

      public RandomData(Schema schema, int count, long seed)
    • RandomData

      public RandomData(Schema schema, int count, boolean utf8ForString)
    • RandomData

      public RandomData(Schema schema, int count, long seed, boolean utf8ForString)
    • RandomData

      public RandomData(GenericData genericData, Schema schema, int count)
    • RandomData

      public RandomData(GenericData genericData, Schema schema, int count, long seed)
    • RandomData

      public RandomData(GenericData genericData, Schema schema, int count, boolean utf8ForString)
    • RandomData

      public RandomData(GenericData genericData, Schema schema, int count, long seed, boolean utf8ForString)
  • Method Details