Package io.crate.operation.collect.files

Examples of io.crate.operation.collect.files.CollectorContext


import static org.junit.Assert.assertNull;

public class LineContextTest {
    @Test
    public void testGet() throws Exception {
        LineContext context = new LineContext(new CollectorContext());

        String source = "{\"name\": \"foo\", \"details\": {\"age\": 43}}";
        context.rawSource(source.getBytes());

        assertNull(context.get(new ColumnIdent("invalid", "column")));
View Full Code Here

TOP

Related Classes of io.crate.operation.collect.files.CollectorContext

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.