Examples of checkTotalDistinctCount()


Examples of com.pearson.entech.elasticsearch.search.facet.approx.date.DistinctQueryResultChecker.checkTotalDistinctCount()

        protected void checkHeaders(final Facet facet) {
            try {
                super.checkHeaders(facet);
                final DistinctQueryResultChecker checker = (DistinctQueryResultChecker) getChecker();
                final HasDistinct castFacet = (HasDistinct) facet;
                checker.checkTotalDistinctCount(castFacet.getDistinctCount());
            } catch(final AssertionError e) {
                System.out.println("WARNING: Validation failed, cause: " + 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.