Package com.asakusafw.vocabulary.bulkloader

Examples of com.asakusafw.vocabulary.bulkloader.PrimaryKey


        object.set("sid", 257L);
        assertThat(object.get("sid"), eq(257L));
        object.set("value", new Text("Hello, DMDL!"));
        assertThat(object.get("value"), eq(new Text("Hello, DMDL!")));

        PrimaryKey pk = object.unwrap().getClass().getAnnotation(PrimaryKey.class);
        assertThat(pk, not(nullValue()));
        assertThat(pk.value(), is(new String[] { "sid" }));
    }
View Full Code Here

TOP

Related Classes of com.asakusafw.vocabulary.bulkloader.PrimaryKey

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.