private static void generateAvroStructFromSchema(String schemaLiteral, StringBuilder sb)
      throws SerDeException {
    Schema schema = Schema.parse(schemaLiteral);

    generateAvroStructFromSchema(schema, sb);
  }
Auto-generate the avro struct from schema

@param schemaLiteral schema for the avro struct as string
@param sb StringBuilder to hold the generated struct
@throws SerDeException if something goes wrong while generating the struct
hbase-handler/src/java/org/apache/hadoop/hive/hbase/HBaseSerDeHelper.java