All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.hibernate.search.query.facet.RangeFacet Maven / Gradle / Ivy

/*
 * Hibernate Search, full-text search for your domain model
 *
 * License: GNU Lesser General Public License (LGPL), version 2.1 or later
 * See the lgpl.txt file in the root directory or .
 */
package org.hibernate.search.query.facet;

/**
 * @author Hardy Ferentschik
 */
public interface RangeFacet extends Facet {
	/**
	 * @return the lower boundary of this range
	 */
	T getMin();

	/**
	 * @return the upper boundary of this range
	 */
	T getMax();

	/**
	 * @return {@code true} if the lower boundary is included in the range, {@code false} otherwise
	 */
	boolean isIncludeMin();

	/**
	 * @return {@code true} if the upper boundary is included in the range, {@code false} otherwise
	 */
	boolean isIncludeMax();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy