Package io.crate.sql.tree

Examples of io.crate.sql.tree.Assignment


                .add("name", DataTypes.STRING, null, true)
                .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

TOP

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

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.