Package org.apache.avro.thrift.test

Examples of org.apache.avro.thrift.test.Nested


    test.setBinaryField(ByteBuffer.wrap(new byte[] {0,-1}));
    test.setMapField(Collections.singletonMap("x", 1));
    test.setListField(Collections.singletonList(7));
    test.setSetField(Collections.singleton(8));
    test.setEnumField(E.X);
    test.setStructField(new Nested(9));
    test.setFooOrBar(FooOrBar.foo("x"));

    System.out.println(test);

    check(test);
View Full Code Here


    test.setBinaryField(ByteBuffer.wrap(new byte[] {0,-1}));
    test.setMapField(Collections.singletonMap("x", 1));
    test.setListField(Collections.singletonList(7));
    test.setSetField(Collections.singleton(8));
    test.setEnumField(E.X);
    test.setStructField(new Nested(9));

    System.out.println(test);

    check(test);
  }
View Full Code Here

TOP

Related Classes of org.apache.avro.thrift.test.Nested

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.