Class CollectionDetails

java.lang.Object
com.lexalytics.salience.CollectionDetails

public class CollectionDetails
extends java.lang.Object

A CollectionDetails object provides the statistical information about the collection content determined by Salience.

  • Constructor Summary

    Constructors 
    Constructor Description
    CollectionDetails​(int nSize)
    Creates a new CollectionDetails object.
  • Method Summary

    Modifier and Type Method Description
    int getSize()
    The number of documents within the collection.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CollectionDetails

      public CollectionDetails​(int nSize)
      Creates a new CollectionDetails object. This is not intended for client use. CollectionDetails are created by Salience Engine when SalienceCollections.getCollectionDetails() is called.
      Parameters:
      nSize - The number of documents in the collection.
  • Method Details

    • getSize

      public int getSize()
      The number of documents within the collection.
      Returns:
      An integer representing the number of documents within the collection.