public class MongodbLabel<E extends LabelElement> extends Object implements Label<E>
| 限定符和类型 | 字段和说明 |
|---|---|
protected static org.slf4j.Logger |
_Logger
日志
|
protected String |
m_Serverid
服务器id
|
OPTION_FORCE, OPTION_IF_ABSENT, OPTION_NONE| 构造器和说明 |
|---|
MongodbLabel(com.mongodb.client.MongoDatabase db,
cn.weforward.protocol.ext.ObjectMapper<E> mapper,
String name,
String serverid,
int hashsize) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
add(E element) |
E |
get(String id) |
String |
getName() |
E |
put(E element,
int options) |
E |
remove(String id) |
void |
removeAll() |
long |
removeRange(String first,
String last) |
cn.weforward.common.ResultPage<E> |
resultPage() |
cn.weforward.common.ResultPage<E> |
searchRange(String first,
String last) |
cn.weforward.common.ResultPage<E> |
startsWith(String prefix) |
String |
toString() |
protected static org.slf4j.Logger _Logger
protected String m_Serverid
public String getName()
getName 在接口中 cn.weforward.common.NameablegetName 在接口中 Label<E extends LabelElement>public cn.weforward.common.ResultPage<E> resultPage()
resultPage 在接口中 Label<E extends LabelElement>public void add(E element)
add 在接口中 Label<E extends LabelElement>public cn.weforward.common.ResultPage<E> searchRange(String first, String last)
searchRange 在接口中 Label<E extends LabelElement>public cn.weforward.common.ResultPage<E> startsWith(String prefix)
startsWith 在接口中 Label<E extends LabelElement>public void removeAll()
removeAll 在接口中 Label<E extends LabelElement>public long removeRange(String first, String last)
removeRange 在接口中 Label<E extends LabelElement>Copyright © 2022. All rights reserved.