Search in sources :

Example 1 with G3

use of org.teiid.translator.marshallers.G3 in project teiid by teiid.

the class TestTeiidTableMarsheller method buildG2.

private G2 buildG2() {
    G3 g3 = new G3();
    g3.setE1(1);
    g3.setE2("bar");
    G4 g41 = new G4();
    g41.setE1(1);
    g41.setE2("hello");
    G4 g42 = new G4();
    g42.setE1(2);
    g42.setE2("world");
    G2 g2 = new G2();
    g2.setE1(1);
    g2.setE2("foo");
    g2.setG3(g3);
    g2.setG4(Arrays.asList(g41, g42));
    g2.setE5("Hello Infinispan".getBytes());
    g2.setE6(new Timestamp(1489835322801L));
    return g2;
}
Also used : G2(org.teiid.translator.marshallers.G2) G3(org.teiid.translator.marshallers.G3) G4(org.teiid.translator.marshallers.G4) Timestamp(java.sql.Timestamp)

Aggregations

Timestamp (java.sql.Timestamp)1 G2 (org.teiid.translator.marshallers.G2)1 G3 (org.teiid.translator.marshallers.G3)1 G4 (org.teiid.translator.marshallers.G4)1