net.ravendb.client.documents.queries.facets.RangeFacet Maven / Gradle / Ivy
package net.ravendb.client.documents.queries.facets;
import com.fasterxml.jackson.annotation.JsonProperty;
import net.ravendb.client.documents.session.tokens.FacetToken;
import java.util.ArrayList;
import java.util.List;
import java.util.function.Function;
public class RangeFacet extends FacetBase {
private FacetBase _parent;
@JsonProperty("Ranges")
private List ranges;
public RangeFacet(FacetBase parent) {
this();
_parent = parent;
}
public RangeFacet() {
ranges = new ArrayList<>();
}
public List getRanges() {
return ranges;
}
public void setRanges(List ranges) {
this.ranges = ranges;
}
@Override
public FacetToken toFacetToken(Function
© 2015 - 2024 Weber Informatics LLC | Privacy Policy