Class FacetResponse

    • Constructor Detail

      • FacetResponse

        public FacetResponse()
      • FacetResponse

        public FacetResponse​(java.lang.String name)
      • FacetResponse

        public FacetResponse​(java.lang.String name,
                             java.lang.String displayName)
    • Method Detail

      • getTotalCount

        public long getTotalCount()
        Get the sum of the counts for all buckets (even those not returned).
      • setTotalCount

        public void setTotalCount​(long value)
        Set the sum of the counts for all buckets (even those not returned).
      • getFacetTime

        public long getFacetTime()
        Get the facet generation time (in milliseconds).
      • setFacetTime

        public void setFacetTime​(long time)
        Set the facet generation time (in milliseconds).
      • addAttributes

        protected void addAttributes​(java.lang.StringBuilder buffer)
        Overrides:
        addAttributes in class FacetBuckets
      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class FacetBuckets
      • writeExternal

        public void writeExternal​(java.io.ObjectOutput out)
                           throws java.io.IOException
        Specified by:
        writeExternal in interface java.io.Externalizable
        Overrides:
        writeExternal in class FacetBuckets
        Throws:
        java.io.IOException
      • readExternal

        public void readExternal​(java.io.ObjectInput in)
                          throws java.io.IOException,
                                 java.lang.ClassNotFoundException
        Specified by:
        readExternal in interface java.io.Externalizable
        Overrides:
        readExternal in class FacetBuckets
        Throws:
        java.io.IOException
        java.lang.ClassNotFoundException