io.ebeanservice.docstore.none.NoneDocStoreUpdateProcessor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ebean Show documentation
Show all versions of ebean Show documentation
composite of common runtime dependencies for all platforms
package io.ebeanservice.docstore.none;
import io.ebean.plugin.BeanType;
import io.ebeanservice.docstore.api.DocStoreQueryUpdate;
import io.ebeanservice.docstore.api.DocStoreTransaction;
import io.ebeanservice.docstore.api.DocStoreUpdateProcessor;
import io.ebeanservice.docstore.api.DocStoreUpdates;
import java.io.IOException;
/**
* DocStoreUpdateProcessor that barfs if it is used.
*/
class NoneDocStoreUpdateProcessor implements DocStoreUpdateProcessor {
@Override
public DocStoreQueryUpdate createQueryUpdate(BeanType beanType, int bulkBatchSize) throws IOException {
throw NoneDocStore.implementationNotInClassPath();
}
@Override
public void process(DocStoreUpdates docStoreUpdates, int bulkBatchSize) {
throw NoneDocStore.implementationNotInClassPath();
}
@Override
public DocStoreTransaction createTransaction(int batchSize) {
throw NoneDocStore.implementationNotInClassPath();
}
@Override
public void commit(DocStoreTransaction docStoreTransaction) {
throw NoneDocStore.implementationNotInClassPath();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy