程序包 top.lieder
类 MongoDB
java.lang.Object
top.lieder.MongoDB
-
嵌套类概要
嵌套类修饰符和类型类说明static classstatic classstatic class -
字段概要
字段修饰符和类型字段说明com.mongodb.MongoClientcom.mongodb.client.MongoCollection<org.bson.Document>com.mongodb.client.MongoDatabasecom.mongodb.ServerAddresscom.mongodb.ServerAddress -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明booleandeleteAllValue(Set<MongoDB.FilterCell> filterSet) voiddeleteValue(String key, Object value, boolean accurate) voiddeleteValue(Set<MongoDB.FilterCell> filterSet) voiddeleteValue(MongoDB.FilterCell filterCell) org.bson.DocumentgetUpdateDocument(Map<String, Object> dataMap) getValue(boolean withCache) getValue(String key, Object value, boolean accurate, List<MongoDB.SorterCell> sorterList, boolean withCache) getValue(Set<MongoDB.FilterCell> filterSet, boolean withCache) getValue(Set<MongoDB.FilterCell> filterSet, List<MongoDB.SorterCell> sorterList, boolean withCache) getValue(MongoDB.FilterCell filterCell, boolean withCache) getValue(MongoDB.FilterCell filterCell, List<MongoDB.SorterCell> sorterList, boolean withCache) voidvoidsetValue(org.bson.Document dataMap) voidsetValueAsync_highFreq(org.bson.Document document) voidsetValueList(List<org.bson.Document> dataMap) booleanupdateAllValue(Map<String, Object> newData) voidupdateManyValues(List<MongoDB.UpdateCell> updateList) booleanbooleanupdateValue(Set<MongoDB.FilterCell> filterSet, Map<String, Object> newData) booleanupdateValue(MongoDB.FilterCell filterCell, Map<String, Object> newData)
-
字段详细资料
-
seed1
public com.mongodb.ServerAddress seed1 -
seed2
public com.mongodb.ServerAddress seed2 -
username
-
password
-
ReplSetName
-
DEFAULT_DB
-
mongoClient
public com.mongodb.MongoClient mongoClient -
mongoDatabase
public com.mongodb.client.MongoDatabase mongoDatabase -
mongoCollection
public com.mongodb.client.MongoCollection<org.bson.Document> mongoCollection
-
-
构造器详细资料
-
MongoDB
public MongoDB() -
MongoDB
-
MongoDB
-
-
方法详细资料
-
setValue
public void setValue(org.bson.Document dataMap) -
setValueList
-
setValue
-
setValueAsync_highFreq
public void setValueAsync_highFreq(org.bson.Document document) -
getValue
-
getValue
-
getValue
public <T extends Map<String,Object>> List<T> getValue(MongoDB.FilterCell filterCell, boolean withCache) -
getValue
public <T extends Map<String,Object>> List<T> getValue(MongoDB.FilterCell filterCell, List<MongoDB.SorterCell> sorterList, boolean withCache) -
getValue
-
getValue
-
getValue
public <T extends Map<String,Object>> List<T> getValue(Set<MongoDB.FilterCell> filterSet, List<MongoDB.SorterCell> sorterList, boolean withCache) -
deleteValue
-
deleteValue
-
deleteValue
-
deleteAllValue
-
updateValue
-
updateValue
-
updateValue
-
getUpdateDocument
-
updateManyValues
- 抛出:
Exception
-
updateAllValue
-
getCacheHead
-