@Override
    public int encodedLength(Pojo1 val) {
      return stringField.encodedLength(val.stringFieldAsc) + intField.encodedLength(val.intFieldAsc)
        + doubleField.encodedLength(val.doubleFieldAsc);
    }
The {@link Struct} equivalent of this type.
hbase-common/src/test/java/org/apache/hadoop/hbase/types/TestStruct.java