public class NoneDocStoreBeanAdapter<T> extends DocStoreBeanBaseAdapter<T>
| Constructor and Description |
|---|
NoneDocStoreBeanAdapter(io.ebeaninternal.server.deploy.BeanDescriptor<T> desc,
io.ebeaninternal.server.deploy.meta.DeployBeanDescriptor<T> deploy) |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteById(Object idValue,
DocStoreUpdateContext txn)
Process a delete by id of a given document.
|
void |
index(Object idValue,
T entityBean,
DocStoreUpdateContext txn)
Process an index event which is effectively an insert or update (or put).
|
void |
insert(Object idValue,
io.ebeaninternal.server.core.PersistRequestBean<T> persistRequest,
DocStoreUpdateContext txn)
Process an insert persist request.
|
boolean |
isMapped()
Return true if this type is mapped for doc storage.
|
void |
update(Object idValue,
io.ebeaninternal.server.core.PersistRequestBean<T> persistRequest,
DocStoreUpdateContext txn)
Process an update persist request.
|
void |
updateEmbedded(Object idValue,
String embeddedProperty,
String embeddedRawContent,
DocStoreUpdateContext txn)
Process an update of an embedded document.
|
applyPath, createDocMapping, getEmbedded, getEmbeddedManyRoot, getIndexName, getIndexType, getMode, getQueueId, hasEmbeddedInvalidation, rawProperty, registerInvalidationPath, registerPaths, updateEmbeddedpublic NoneDocStoreBeanAdapter(io.ebeaninternal.server.deploy.BeanDescriptor<T> desc, io.ebeaninternal.server.deploy.meta.DeployBeanDescriptor<T> deploy)
public boolean isMapped()
DocStoreBeanAdapterisMapped in interface DocStoreBeanAdapter<T>isMapped in class DocStoreBeanBaseAdapter<T>public void deleteById(Object idValue, DocStoreUpdateContext txn) throws IOException
DocStoreBeanAdapterdeleteById in interface BeanDocType<T>deleteById in interface DocStoreBeanAdapter<T>deleteById in class DocStoreBeanBaseAdapter<T>IOExceptionpublic void index(Object idValue, T entityBean, DocStoreUpdateContext txn) throws IOException
DocStoreBeanAdapterindex in interface BeanDocType<T>index in interface DocStoreBeanAdapter<T>index in class DocStoreBeanBaseAdapter<T>IOExceptionpublic void insert(Object idValue, io.ebeaninternal.server.core.PersistRequestBean<T> persistRequest, DocStoreUpdateContext txn) throws IOException
DocStoreBeanAdapterinsert in interface DocStoreBeanAdapter<T>insert in class DocStoreBeanBaseAdapter<T>IOExceptionpublic void update(Object idValue, io.ebeaninternal.server.core.PersistRequestBean<T> persistRequest, DocStoreUpdateContext txn) throws IOException
DocStoreBeanAdapterupdate in interface DocStoreBeanAdapter<T>update in class DocStoreBeanBaseAdapter<T>IOExceptionpublic void updateEmbedded(Object idValue, String embeddedProperty, String embeddedRawContent, DocStoreUpdateContext txn) throws IOException
DocStoreBeanAdapterupdateEmbedded in interface BeanDocType<T>updateEmbedded in interface DocStoreBeanAdapter<T>updateEmbedded in class DocStoreBeanBaseAdapter<T>idValue - the id of the bean effected by an embedded document updateembeddedProperty - the path of the propertyembeddedRawContent - the embedded content for this property in JSON formtxn - the doc store transaction to use to process the updateIOExceptionCopyright © 2019. All rights reserved.