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

org.webpieces.elasticsearch.queries.Query 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 Query {

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

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

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

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

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

    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Nested nested;

    public Match getMatch() {
        return match;
    }

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

    public Map getTerm() {
        return term;
    }

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

    public Bool getBool() {
        return bool;
    }

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

    public Map getWildcard() {
        return wildcard;
    }

    public void setWildcard(Map wildcard) {
        this.wildcard = wildcard;
    }

    public QueryString getQueryString() {
        return queryString;
    }

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

    public Nested getNested() {
        return nested;
    }

    public void setNested(Nested nested) {
        this.nested = nested;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy