Package io.crate.executor.transport.task.elasticsearch.facet

Examples of io.crate.executor.transport.task.elasticsearch.facet.InternalUpdateFacet.rowCount()


        @Override
        public void onResponse(SearchResponse searchResponse) {
            InternalUpdateFacet facet = searchResponse.getFacets().facet(InternalUpdateFacet.class, UpdateFacet.TYPE);
            facet.reduce();
            future.set(new RowCountResult(facet.rowCount()));
        }

        @Override
        public void onFailure(Throwable e) {
            future.setException(e);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.