Class StringGen

java.lang.Object
org.apache.drill.exec.store.mock.AbstractFieldGen
org.apache.drill.exec.store.mock.StringGen
All Implemented Interfaces:
FieldGen

public class StringGen extends AbstractFieldGen
Generates a mock string field of the given length. Fields are composed of upper case letters uniformly distributed from A to Z, and repeated or the length of the field. Exampled for a 4-character field: DDDD, MMMM, AAAA, RRRR, ...