001package com.avaje.ebeanservice.docstore.none; 002 003import com.avaje.ebean.plugin.BeanType; 004import com.avaje.ebeanservice.docstore.api.DocStoreQueryUpdate; 005import com.avaje.ebeanservice.docstore.api.DocStoreUpdateProcessor; 006import com.avaje.ebeanservice.docstore.api.DocStoreUpdates; 007 008import java.io.IOException; 009 010/** 011 * DocStoreUpdateProcessor that barfs if it is used. 012 */ 013public class NoneDocStoreUpdateProcessor implements DocStoreUpdateProcessor { 014 015 @Override 016 public <T> DocStoreQueryUpdate<T> createQueryUpdate(BeanType<T> beanType, int bulkBatchSize) throws IOException { 017 throw NoneDocStore.implementationNotInClassPath(); 018 } 019 020 @Override 021 public void process(DocStoreUpdates docStoreUpdates, int bulkBatchSize) { 022 throw NoneDocStore.implementationNotInClassPath(); 023 } 024}