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

org.webpieces.elasticsearch.queries.Must Maven / Gradle / Ivy

package org.webpieces.elasticsearch.queries;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;

import java.util.Map;

public class Must {
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @JsonProperty("match_all")
    private Map matchAll;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Match match;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Map term;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Query query;

    @JsonProperty("query_string")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private QueryString queryString;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Bool bool;

    public Map getMatchAll() {
        return matchAll;
    }

    public void setMatchAll(Map matchAll) {
        this.matchAll = matchAll;
    }

    public Match getMatch() {
        return match;
    }

    public void setMatch(Match match) {
        this.match = match;
    }

    public Query getQuery() {
        return query;
    }

    public void setQuery(Query query) {
        this.query = query;
    }

    public Map getTerm() {
        return term;
    }

    public void setTerm(Map term) {
        this.term = term;
    }

    public QueryString getQueryString() {
        return queryString;
    }

    public void setQueryString(QueryString queryString) {
        this.queryString = queryString;
    }

    public Bool getBool() {
        return bool;
    }

    public void setBool(Bool bool) {
        this.bool = bool;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy