Package org.hibernate.search.query.facet

Examples of org.hibernate.search.query.facet.RangeFacet


    public String getValue() {
      String value;
      if ( facet instanceof RangeFacet ) {
        // this could get more involved
        RangeFacet rangeFacet = (RangeFacet) facet;
        value = rangeFacet.getMin().toString() + " - " + rangeFacet.getMax().toString();
      }
      else {
        value = facet.getValue();
      }
      return value;
View Full Code Here

TOP

Related Classes of org.hibernate.search.query.facet.RangeFacet

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.