Package io.crate.sql.tree

Examples of io.crate.sql.tree.QualifiedName


                .addPrimaryKey("name").build();

        PartitionName partitionName = PartitionPropertiesAnalyzer.toPartitionName(
                tableInfo,
                Arrays.asList(new Assignment(
                        new QualifiedNameReference(new QualifiedName("name")),
                        new StringLiteral("foo"))),
                new Object[0]);
        assertThat(partitionName.stringValue(), is(".partitioned.users.0426crrf"));
    }
View Full Code Here


        selectAnalysis = (SelectAnalysis) analyzer.newAnalysis(
            new Analyzer.ParameterContext(new Object[0], new Object[0][]));
    }

    public Symbol fromSQL(String expression) {
        analyzer.process(new Table(new QualifiedName(ImmutableList.of("information_schema", "tables"))), selectAnalysis);
        return analyzer.process(SqlParser.createExpression(expression), selectAnalysis);
    }
View Full Code Here

TOP

Related Classes of io.crate.sql.tree.QualifiedName

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.