Package | Description |
---|---|
sirius.db.es | |
sirius.db.mixing |
Modifier and Type | Method and Description |
---|---|
com.alibaba.fastjson.JSONObject |
LowLevelClient.delete(String index,
String type,
String id,
String routing,
Integer version)
Deletes the given document.
|
com.alibaba.fastjson.JSONObject |
LowLevelClient.index(String index,
String type,
String id,
String routing,
Integer version,
com.alibaba.fastjson.JSONObject data)
Tells Elasticsearch to create or update the given document with the given data.
|
Modifier and Type | Method and Description |
---|---|
protected <E extends B> |
BaseMapper.performDelete(E entity,
boolean force) |
protected <E extends B> |
BaseMapper.performUpdate(E entity,
boolean force) |
<E extends B> |
BaseMapper.tryDelete(E entity)
Tries to delete the entity from the database.
|
<E extends B> |
BaseMapper.tryUpdate(E entity)
Tries to perform an
BaseMapper.update(BaseEntity) of the given entity. |
Copyright © 2018. All rights reserved.