Package org.apache.metamodel.schema.builder

Examples of org.apache.metamodel.schema.builder.SingleMapColumnSchemaBuilder


        final JsonDataContext dc = new JsonDataContext(new File("src/test/resources/documents_on_every_line.json"));
        runParseabilityTest(dc);
    }

    public void testUseAnotherSchemaBuilder() throws Exception {
        final SchemaBuilder schemaBuilder = new SingleMapColumnSchemaBuilder("sch", "tbl", "cl");
        final JsonDataContext dc = new JsonDataContext(new FileResource(
                "src/test/resources/documents_on_every_line.json"), schemaBuilder);

        final Table table = dc.getDefaultSchema().getTable(0);
        assertEquals("tbl", table.getName());
View Full Code Here

TOP

Related Classes of org.apache.metamodel.schema.builder.SingleMapColumnSchemaBuilder

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.