Package io.ebeanservice.docstore.none
Class NoneDocStore
- java.lang.Object
-
- io.ebeanservice.docstore.none.NoneDocStore
-
- All Implemented Interfaces:
DocumentStore
public class NoneDocStore extends Object implements DocumentStore
DocumentStore that barfs it is used.
-
-
Constructor Summary
Constructors Constructor Description NoneDocStore()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description longcopyIndex(Query<?> query, String newIndex, int bulkBatchSize)longcopyIndex(Class<?> beanType, String newIndex)longcopyIndex(Class<?> beanType, String newIndex, long epochMillis)voidcreateIndex(String indexName, String alias)voiddropIndex(String newIndex)<T> Tfind(DocQueryContext<T> request)<T> voidfindEach(DocQueryContext<T> query, Consumer<T> consumer)voidfindEach(String indexNameType, String rawQuery, Consumer<RawDoc> consumer)<T> voidfindEachWhile(DocQueryContext<T> query, Predicate<T> consumer)voidfindEachWhile(String indexNameType, String rawQuery, Predicate<RawDoc> consumer)<T> List<T>findList(DocQueryContext<T> request)<T> PagedList<T>findPagedList(DocQueryContext<T> request)static IllegalStateExceptionimplementationNotInClassPath()voidindexAll(Class<?> countryClass)<T> voidindexByQuery(Query<T> query)<T> voidindexByQuery(Query<T> query, int bulkBatchSize)voidindexSettings(String indexName, Map<String,Object> settings)longprocess(List<DocStoreQueueEntry> queueEntries)
-
-
-
Constructor Detail
-
NoneDocStore
public NoneDocStore()
-
-
Method Detail
-
implementationNotInClassPath
public static IllegalStateException implementationNotInClassPath()
-
indexSettings
public void indexSettings(String indexName, Map<String,Object> settings)
- Specified by:
indexSettingsin interfaceDocumentStore
-
dropIndex
public void dropIndex(String newIndex)
- Specified by:
dropIndexin interfaceDocumentStore
-
createIndex
public void createIndex(String indexName, String alias)
- Specified by:
createIndexin interfaceDocumentStore
-
indexAll
public void indexAll(Class<?> countryClass)
- Specified by:
indexAllin interfaceDocumentStore
-
copyIndex
public long copyIndex(Class<?> beanType, String newIndex)
- Specified by:
copyIndexin interfaceDocumentStore
-
copyIndex
public long copyIndex(Class<?> beanType, String newIndex, long epochMillis)
- Specified by:
copyIndexin interfaceDocumentStore
-
copyIndex
public long copyIndex(Query<?> query, String newIndex, int bulkBatchSize)
- Specified by:
copyIndexin interfaceDocumentStore
-
indexByQuery
public <T> void indexByQuery(Query<T> query)
- Specified by:
indexByQueryin interfaceDocumentStore
-
indexByQuery
public <T> void indexByQuery(Query<T> query, int bulkBatchSize)
- Specified by:
indexByQueryin interfaceDocumentStore
-
find
public <T> T find(DocQueryContext<T> request)
- Specified by:
findin interfaceDocumentStore
-
findPagedList
public <T> PagedList<T> findPagedList(DocQueryContext<T> request)
- Specified by:
findPagedListin interfaceDocumentStore
-
findList
public <T> List<T> findList(DocQueryContext<T> request)
- Specified by:
findListin interfaceDocumentStore
-
findEach
public <T> void findEach(DocQueryContext<T> query, Consumer<T> consumer)
- Specified by:
findEachin interfaceDocumentStore
-
findEachWhile
public <T> void findEachWhile(DocQueryContext<T> query, Predicate<T> consumer)
- Specified by:
findEachWhilein interfaceDocumentStore
-
findEach
public void findEach(String indexNameType, String rawQuery, Consumer<RawDoc> consumer)
- Specified by:
findEachin interfaceDocumentStore
-
findEachWhile
public void findEachWhile(String indexNameType, String rawQuery, Predicate<RawDoc> consumer)
- Specified by:
findEachWhilein interfaceDocumentStore
-
process
public long process(List<DocStoreQueueEntry> queueEntries) throws IOException
- Specified by:
processin interfaceDocumentStore- Throws:
IOException
-
-