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

com.rbmhtechnology.vind.api.result.facet.SubdocumentFacetResult Maven / Gradle / Ivy

There is a newer version: 3.2.0
Show newest version
package com.rbmhtechnology.vind.api.result.facet;

/**
 * Class to store the subdocument facet response.
 *
 * @author Fonso
 * @since 23.06.17.
 */
public class SubdocumentFacetResult implements FacetResult {

    private Integer parentCount;
    private Integer childrenCount;

    public SubdocumentFacetResult(Integer parentCount, Integer childrenCount) {
        this.parentCount = parentCount;
        this.childrenCount = childrenCount;
    }

    public Integer getParentCount() {
        return parentCount;
    }

    public int getChildrenCount() {
        return childrenCount;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy