Class SqlStructGenerator.Builder

java.lang.Object
io.bloviate.gen.AbstractBuilder<Struct>
io.bloviate.gen.SqlStructGenerator.Builder
All Implemented Interfaces:
Builder<Struct>
Enclosing class:
SqlStructGenerator

public static class SqlStructGenerator.Builder extends AbstractBuilder<Struct>
Fluent builder for SqlStructGenerator.
  • Constructor Details

    • Builder

      public Builder(RandomGenerator random)
      Creates a builder backed by the given seeded random source.
      Parameters:
      random - the random source used to draw generated values
  • Method Details

    • build

      public SqlStructGenerator build()
      Description copied from interface: Builder
      Builds and returns a configured data generator.
      Returns:
      a new DataGenerator configured with the builder's settings