Class DateCount


  • public class DateCount
    extends java.lang.Object
    A date count (Used in faceted navigation).
    Since:
    v12.0
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private int count
      Number of documents for this date.
      private java.lang.String queryTerm
      Date constraint to apply to select documents for this date count, e.g.
    • Constructor Summary

      Constructors 
      Constructor Description
      DateCount()  
      DateCount​(java.lang.String queryTerm, int count)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getCount()
      Number of documents for this date.
      java.lang.String getQueryTerm()
      Date constraint to apply to select documents for this date count, e.g.
      void setCount​(int count)
      Number of documents for this date.
      void setQueryTerm​(java.lang.String queryTerm)
      Date constraint to apply to select documents for this date count, e.g.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • queryTerm

        private java.lang.String queryTerm

        Date constraint to apply to select documents for this date count, e.g. |d>1jan2003.

      • count

        private int count
        Number of documents for this date.
    • Constructor Detail

      • DateCount

        public DateCount​(java.lang.String queryTerm,
                         int count)
      • DateCount

        public DateCount()
    • Method Detail

      • getQueryTerm

        public java.lang.String getQueryTerm()

        Date constraint to apply to select documents for this date count, e.g. |d>1jan2003.

      • setQueryTerm

        public void setQueryTerm​(java.lang.String queryTerm)

        Date constraint to apply to select documents for this date count, e.g. |d>1jan2003.

      • getCount

        public int getCount()
        Number of documents for this date.
      • setCount

        public void setCount​(int count)
        Number of documents for this date.