Class MongoStoreCollectionMetadata

java.lang.Object
ai.platon.gora.mongodb.store.MongoStoreCollectionMetadata

public class MongoStoreCollectionMetadata extends Object
Class with the collection info returned by MongoStoreMetadataAnalyzer with the information about a MongoStore collection.

- Collection document keys

  • Constructor Details

    • MongoStoreCollectionMetadata

      public MongoStoreCollectionMetadata()
  • Method Details

    • getDocumentKeys

      public List<String> getDocumentKeys()
      Collection document keys present in a given collection at MongoStore
    • setDocumentKeys

      public void setDocumentKeys(List<String> documentKeys)
    • getDocumentTypes

      public List<String> getDocumentTypes()
      Collection document types present in a given collection at MongoStore
    • setDocumentTypes

      public void setDocumentTypes(List<String> documentTypes)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object