Creates a DataFrame Generator for the given Schema.
Creates a DataFrame Generator for the given Schema.
SQL Context.
The required Schema.
minimum number of partitions, defaults to 1.
Arbitrary DataFrames generator of the required schema.
Creates a DataFrame Generator for the given Schema, and the given custom generators.
Creates a DataFrame Generator for the given Schema, and the given custom generators. custom generators should be in the form of (column index, generator function).
Note: The given custom generators should match the required schema, for ex. you can't use Int generator for StringType.
Note 2: The ColumnGenerator* accepted as userGenerators has changed. ColumnGenerator is now the base class of the accepted generators, users upgrading to 0.6 need to change their calls to use Column. Futher explanation can be found in the release notes, and in the class descriptions at the bottom of this file.
SQL Context.
The required Schema.
minimum number of partitions, defaults to 1.
custom user generators in the form of (column index, generator function). column index starts from 0 to length - 1
Arbitrary DataFrames generator of the required schema.
Creates row generator for the required schema and with user's custom generators.
Creates row generator for the required schema and with user's custom generators.
Note: Custom generators should match the required schema, for ex. you can't use Int generator for StringType.
the required Row's schema.
user custom generator, this is useful if the user want to Control specific columns generation.
Gen[Row]
Creates row generator for the required schema.
Creates row generator for the required schema.
the required Row's schema.
Gen[Row]