Class CollectionStore

java.lang.Object
com.lucidworks.apollo.store.AbstractItemReadStore<T>
com.lucidworks.apollo.store.AbstractItemStore<T>
com.lucidworks.apollo.store.ItemStore<com.lucidworks.apollo.common.models.Collection>
com.lucidworks.apollo.component.CollectionStore
All Implemented Interfaces:
com.lucidworks.apollo.store.ItemReadStore<com.lucidworks.apollo.common.models.Collection>, com.lucidworks.apollo.store.ItemReadWriteStore<com.lucidworks.apollo.common.models.Collection>, com.lucidworks.apollo.store.ItemWriteStore<com.lucidworks.apollo.common.models.Collection>

public class CollectionStore extends com.lucidworks.apollo.store.ItemStore<com.lucidworks.apollo.common.models.Collection>
Store collection metadata in ZooKeeper
  • Nested Class Summary

    Nested classes/interfaces inherited from interface com.lucidworks.apollo.store.ItemReadStore

    com.lucidworks.apollo.store.ItemReadStore.ItemAndVersion<T extends Object>
  • Field Summary

    Fields inherited from class com.lucidworks.apollo.store.ItemStore

    createMode, curatorFramework

    Fields inherited from class com.lucidworks.apollo.store.AbstractItemStore

    itemWriter, notFound, putItemTimer, serializeTimer, storePath

    Fields inherited from class com.lucidworks.apollo.store.AbstractItemReadStore

    CHARSET, deserializeTimer, getItemTimer, itemPath, itemReader, listItemsTimer, LOG, metricRegistry
  • Constructor Summary

    Constructors
    Constructor
    Description
    CollectionStore(org.apache.curator.framework.CuratorFramework curator, com.codahale.metrics.MetricRegistry metricRegistry, com.fasterxml.jackson.databind.ObjectMapper mapper)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected String
     

    Methods inherited from class com.lucidworks.apollo.store.ItemStore

    checkDataLengthError, createItem, createItemOp, deleteAllItems, deleteItem, deleteItemOp, getCreateMode, getItem, getItemBytes, getItems, hasItem, listItems, putItem, putItem, replaceItem, replaceItemOp

    Methods inherited from class com.lucidworks.apollo.store.AbstractItemStore

    asBytes

    Methods inherited from class com.lucidworks.apollo.store.AbstractItemReadStore

    convert, metricName

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.lucidworks.apollo.store.ItemWriteStore

    deleteItem, putItem
  • Constructor Details

    • CollectionStore

      public CollectionStore(org.apache.curator.framework.CuratorFramework curator, com.codahale.metrics.MetricRegistry metricRegistry, com.fasterxml.jackson.databind.ObjectMapper mapper)
  • Method Details

    • getPath

      protected String getPath(String id)
      Overrides:
      getPath in class com.lucidworks.apollo.store.AbstractItemReadStore<com.lucidworks.apollo.common.models.Collection>