Package org.kitesdk.data.hbase.avro.entities

Examples of org.kitesdk.data.hbase.avro.entities.SubEntity1


    // create composite dataset
    RandomAccessDataset<Map<String, SpecificRecord>> ds = repo.load(
        "default", tableName + ".SubEntity1.SubEntity2");

    // Construct entities
    SubEntity1 subEntity1 = SubEntity1.newBuilder().setPart1("1").setPart2("1")
        .setField1("field1_1").setField2("field1_2").build();
    SubEntity2 subEntity2 = SubEntity2.newBuilder().setPart1("1").setPart2("1")
        .setField1("field2_1").setField2("field2_2").build();

    Map<String, SpecificRecord> compositeEntity = new HashMap<String, SpecificRecord>();
View Full Code Here

TOP

Related Classes of org.kitesdk.data.hbase.avro.entities.SubEntity1

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.