Package io.crate.executor

Examples of io.crate.executor.QueryResult


    private void handlerSideCollect(final int resultIdx) {
        ListenableFuture<Object[][]> future = handlerSideDataCollectOperation.collect(collectNode);
        Futures.addCallback(future, new FutureCallback<Object[][]>() {
            @Override
            public void onSuccess(@Nullable Object[][] rows) {
                ((SettableFuture<QueryResult>)result.get(resultIdx)).set(new QueryResult(rows));
            }

            @Override
            public void onFailure(@Nonnull Throwable t) {
                ((SettableFuture<QueryResult>)result.get(resultIdx)).setException(t);
View Full Code Here

TOP

Related Classes of io.crate.executor.QueryResult

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.