public Struct toStruct() {
    return new Struct(fields.toArray(new DataType<?>[fields.size()]));
  }
Retrieve the {@link Struct} represented by {@code this}.
hbase-common/src/main/java/org/apache/hadoop/hbase/types/StructBuilder.java