com.worklight.jsonstore.api

Class JSONStoreCountOptions

  • java.lang.Object
    • com.worklight.jsonstore.api.JSONStoreCountOptions


  • public class JSONStoreCountOptions
    extends java.lang.Object
    Options that are used to modify the count operation in JSONStoreCollection.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      void includeDeletedDocuments(boolean include)
      Modify the flag to include deleted documents or to not include deleted documents in the count.
      boolean shouldIncludeDeletedDocuments()
      Retrieve the flag that determines if the count should include deleted documents or not include deleted documents.
      • Methods inherited from class java.lang.Object

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

      • JSONStoreCountOptions

        public JSONStoreCountOptions()
    • Method Detail

      • includeDeletedDocuments

        public void includeDeletedDocuments(boolean include)
        Modify the flag to include deleted documents or to not include deleted documents in the count.
        Parameters:
        include - When true, documents marked 'deleted' will be included in the count.
      • shouldIncludeDeletedDocuments

        public boolean shouldIncludeDeletedDocuments()
        Retrieve the flag that determines if the count should include deleted documents or not include deleted documents.
        Returns:
        True if configured to include documents that are marked 'deleted' in the count.


© Copyright IBM Corp. 2006, 2015. All Rights Reserved.