Package org.apache.cassandra.cql.compiler.common

Examples of org.apache.cassandra.cql.compiler.common.CqlCompiler


    private final static Logger logger_ = Logger.getLogger(CqlDriver.class);

    // Execute a CQL Statement
    public static CqlResult executeQuery(String query) throws TException
    {
        CqlCompiler compiler = new CqlCompiler();

        try
        {
            logger_.debug("Compiling CQL query ...");
            Plan plan = compiler.compileQuery(query);
            if (plan != null)
            {
                logger_.debug("Executing CQL query ...");           
                return plan.execute();
            }
View Full Code Here


    private final static Logger logger_ = Logger.getLogger(CqlDriver.class);

    // Execute a CQL Statement
    public static CqlResult executeQuery(String query)
    {
        CqlCompiler compiler = new CqlCompiler();

        try
        {
            logger_.debug("Compiling CQL query ...");
            Plan plan = compiler.compileQuery(query);
            if (plan != null)
            {
                logger_.debug("Executing CQL query ...");           
                return plan.execute();
            }
View Full Code Here

TOP

Related Classes of org.apache.cassandra.cql.compiler.common.CqlCompiler

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.