Klasse MorphiumBase
java.lang.Object
de.caluga.morphium.MorphiumBase
- Bekannte direkte Unterklassen:
Morphium
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifikator und TypMethodeBeschreibungaddAllToSet(Query<T> query, String field, List<?> value, boolean multiple) addAllToSet(Query<T> query, String field, List<?> value, boolean upsert, boolean multiple) addAllToSet(Query<T> query, String field, List<?> value, boolean upsert, boolean multiple, AsyncOperationCallback callback) currentDate(Query<?> query, Enum field, boolean upsert, boolean multiple) currentDate(Query<?> query, String field, boolean upsert, boolean multiple) set current date into one field//////////////////////////// /////////////////// //////////// ///////// /////// DEC and INC Methods //dec(Query<T> query, Enum<?> field, double amount, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) dec(Query<T> query, Enum<?> field, int amount, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) dec(Query<T> query, Enum<?> field, long amount, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) dec(Query<T> query, Enum<?> field, Number amount, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) dec(Query<T> query, String name, double amount, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) dec(Query<T> query, String name, int amount, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) dec(Query<T> query, String name, long amount, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) dec(Query<T> query, String name, Number amount, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) dec(Query<T> query, Map<String, Number> toUpdate, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) voiddecreasing a value of a given object callesinc(toDec,field,-amount);voidvoidvoidvoidvoidvoidvoid<T> voiddec(Map<Enum, Number> fieldsToInc, Query<T> matching, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) delete(Query<T> o, AsyncOperationCallback<T> callback) voidvoid<T> voiddelete(List<T> lst, AsyncOperationCallback<T> callback) <T> voiddelete(T lo, AsyncOperationCallback<T> callback) <T> voiddelete(T lo, String collection, AsyncOperationCallback<T> callback) returns a distinct list of values of the given collection Attention: these values are not unmarshalled, you might get MongoMapUngültige Eingabe: "<"String,Object>s<T> voidensureIndicesFor(Class<T> type) can be called for autmatic index ensurance.<T> voidensureIndicesFor(Class<T> type, AsyncOperationCallback<T> callback) <T> voidensureIndicesFor(Class<T> type, String onCollection) <T> voidensureIndicesFor(Class<T> type, String onCollection, AsyncOperationCallback<T> callback) abstract <T> voidensureIndicesFor(Class<T> type, String onCollection, AsyncOperationCallback<T> callback, MorphiumWriter wr) booleanbooleanbooleanexplainRemove(ExplainCommand.ExplainVerbosity verbosity, T o) explainRemove(Query<T> q) <T> Tabstract <T> Tabstract <T> voidfindById(Class<? extends T> type, Object id, String collection, AsyncOperationCallback callback) abstract AnnotationAndReflectionHelperabstract MorphiumConfigabstract Stringabstract MorphiumDriverabstract Objectabstract MorphiumObjectMapperabstract MorphiumWritergetWriterForClass(Class<?> cls) inc(Query<T> query, Enum<?> field, double amount, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) inc(Query<T> query, Enum<?> field, int amount, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) inc(Query<T> query, Enum<?> field, long amount, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) inc(Query<T> query, Enum<?> field, Number amount, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) inc(Query<T> query, String name, double amount, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) inc(Query<T> query, String name, int amount, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) inc(Query<T> query, String name, long amount, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) inc(Query<T> query, String name, Number amount, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) voidvoidvoidvoidvoidvoidvoidvoidinc(Map<Enum, Number> fieldsToInc, Query<T> matching, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) <T> voidinc(T toSet, Enum<?> field, double i, AsyncOperationCallback<T> callback) <T> voidinc(T toSet, Enum<?> field, int i, AsyncOperationCallback<T> callback) <T> voidinc(T toSet, Enum<?> field, long i, AsyncOperationCallback<T> callback) <T> voidinc(T toSet, Enum<?> collection, Enum<?> field, double i, AsyncOperationCallback<T> callback) <T> voidinc(T toSet, Enum<?> field, Number i, AsyncOperationCallback<T> callback) <T> voidinc(T toSet, String field, double i, AsyncOperationCallback<T> callback) <T> voidinc(T toSet, String field, int i, AsyncOperationCallback<T> callback) <T> voidinc(T toSet, String field, long i, AsyncOperationCallback<T> callback) <T> voidinc(T toSet, String collection, Enum<?> field, double i, AsyncOperationCallback<T> callback) <T> voidinc(T toSet, String collection, Enum<?> field, int i, AsyncOperationCallback<T> callback) <T> voidinc(T toSet, String collection, Enum<?> field, long i, AsyncOperationCallback<T> callback) <T> voidinc(T toSet, String collection, Enum<?> field, Number i, AsyncOperationCallback<T> callback) <T> voidinc(T toSet, String field, Number i, AsyncOperationCallback<T> callback) <T> voidinc(T toSet, String collection, String field, double i, AsyncOperationCallback<T> callback) <T> voidinc(T toSet, String collection, String field, int i, AsyncOperationCallback<T> callback) <T> voidinc(T toSet, String collection, String field, long i, AsyncOperationCallback<T> callback) <T> voidinc(T toSet, String collection, String field, Number i, AsyncOperationCallback<T> callback) <T> voidinsert(T o) <T> voidinsert(T o, AsyncOperationCallback<T> callback) <T> voidinsert(T o, String collection, AsyncOperationCallback<T> callback) <T> voidinsertList(List arrayList) <T> voidinsertList(List arrayList, AsyncOperationCallback<T> callback) abstract <T> voidinsertList(List lst, String collection, AsyncOperationCallback<T> callback) abstract booleanpull(Query<T> query, String field, Expr value, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) pull(Query<T> query, String field, Object value, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) Asynchronous call to pulllpull(T entity, String field, Expr value, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) pullAll(Query<T> query, String field, List<?> value, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) push(Query<T> query, String field, Object value, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) voidvoidvoidabstract voidpushAll(Query<T> query, String field, List<?> value, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) pushPull(boolean push, Query<T> query, String field, Object value, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) pushPullAll(boolean push, Query<T> query, String field, List<?> value, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) remove(Query<T> o, AsyncOperationCallback<T> callback) voiddeletes a single object from morphium backend.void<T> voidremove(List<T> lst, AsyncOperationCallback<T> callback) <T> void<T> voidremove(List<T> lst, String forceCollectionName, AsyncOperationCallback<T> callback) <T> voidremove(T lo, AsyncOperationCallback<T> callback) <T> voidremove(T lo, String collection, AsyncOperationCallback<T> callback) <T> voidsave(List<T> lst, AsyncOperationCallback<T> callback) <T> voidsave(T o) <T> voidsave(T o, AsyncOperationCallback<T> callback) <T> voidsave(T o, String collection, AsyncOperationCallback<T> callback) <T> voidabstract <T> voidsaveList(List<T> lst, AsyncOperationCallback<T> callback) <T> voidabstract <T> voidsaveList(List<T> lst, String collection, AsyncOperationCallback<T> callback) <T> voidVeraltet.There is a newer implementation.Veraltet.There is a newer implementation.set(Query<T> query, Enum<?> field, Object val, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) Veraltet.set(Query<T> query, Enum<?> field, Object val, AsyncOperationCallback<T> callback) Veraltet.There is a newer implementation.Veraltet.There is a newer implementation.Veraltet.There is a newer implementation.set(Query<T> query, String field, Object val, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) Veraltet.There is a newer implementation.set(Query<T> query, String field, Object val, AsyncOperationCallback<T> callback) Veraltet.There is a newer implementation.abstract <T> voidset(T toSet, String collection, boolean upserts, Map<Enum, Object> values, AsyncOperationCallback<T> callback) abstract <T> voidset(T toSet, String collection, Map<String, Object> values, boolean upserts, AsyncOperationCallback<T> callback) <T> voidsetInEntity(T toSet, Enum<?> field, Object value) <T> voidsetInEntity(T toSet, Enum<?> field, Object value, boolean upserts, AsyncOperationCallback<T> callback) This method sets a property.<T> voidsetInEntity(T toSet, Enum<?> field, Object value, AsyncOperationCallback<T> callback) ///// //<T> voidsetInEntity(T toSet, String collection, boolean upserts, Map<Enum, Object> values) abstract <T> voidsetInEntity(T toSet, String collection, boolean upserts, Map<Enum, Object> values, AsyncOperationCallback<T> callback) <T> voidsetInEntity(T toSet, String collection, Enum<?> field, Object value) <T> voidsetInEntity(T toSet, String collection, Enum field, Object value, boolean upserts, AsyncOperationCallback<T> callback) <T> voidsetInEntity(T toSet, String field, Object value) setting a value in an existing mongo collection entry - no reading necessary.<T> voidsetInEntity(T toSet, String field, Object value, boolean upserts, AsyncOperationCallback<T> callback) This method sets a property.<T> voidsetInEntity(T toSet, String field, Object value, AsyncOperationCallback<T> callback) This method sets a property. // * @deprecated There is a newer implementation.<T> voidsetInEntity(T toSet, String collection, String field, Object value, boolean upserts, AsyncOperationCallback<T> callback) <T> voidsetInEntity(T toSet, String collection, Map<String, Object> values) This method sets properties. // * @deprecated There is a newer implementation.<T> voidsetInEntity(T toSet, String collection, Map<String, Object> values, boolean upserts) abstract <T> voidsetInEntity(T toSet, String collection, Map<String, Object> values, boolean upserts, AsyncOperationCallback<T> callback) <T> voidsetInEntity(T toSet, Map<Enum, Object> values) This method sets properties.<T> voidstore(List<T> lst, AsyncOperationCallback<T> callback) <T> voidstore(T o) Stores a single Object.<T> voidstore(T o, AsyncOperationCallback<T> callback) <T> void<T> voidstore(T o, String collection, AsyncOperationCallback<T> callback) <T> voidstoreBuffered(T lst) <T> voidstoreBuffered(T lst, AsyncOperationCallback<T> callback) <T> voidstoreBuffered(T lst, String collection, AsyncOperationCallback<T> callback) <T> voidsorts elements in this list, whether to store in background or directly.<T> voidstoreList(List<T> lst, AsyncOperationCallback<T> callback) <T> voidstores all elements of this list to the given collection<T> voidstoreList(List<T> lst, String collection, AsyncOperationCallback<T> callback) <T> voiddirectly writes data to Mongo, no Mapper used use with caution, as caches are not updated also no checks for validity of fields, no references, no auto-variables no async writing!<T> voidstoreNoCache(T lst) <T> voidstoreNoCache(T o, AsyncOperationCallback<T> callback) <T> voidstoreNoCache(T o, String collection) <T> voidstoreNoCache(T o, String collection, AsyncOperationCallback<T> callback) <T> voidunsetInEntity(T toSet, Enum<?> field) <T> voidunsetInEntity(T toSet, Enum<?> field, AsyncOperationCallback<T> callback) This method unsets a property.<T> voidunsetInEntity(T toSet, String field) <T> voidunsetInEntity(T toSet, String field, AsyncOperationCallback<T> callback) This method unsets a property.<T> voidunsetInEntity(T toSet, String collection, Enum<?> field) This method unsets a property.<T> voidunsetInEntity(T toSet, String collection, Enum<?> field, AsyncOperationCallback<T> callback) This method unsets a property.abstract <T> voidunsetInEntity(T toSet, String collection, String field, AsyncOperationCallback<T> callback) unsetQ(Query<T> q, boolean multiple, AsyncOperationCallback<T> cb, Enum... field) Veraltet.There is a newer implementation.Veraltet.There is a newer implementation.unsetQ(Query<T> q, AsyncOperationCallback<T> cb, boolean multiple, String... field) unsetQ(Query<T> q, AsyncOperationCallback<T> cb, Enum... field) unsetQ(Query<T> q, AsyncOperationCallback<T> cb, String... field) Veraltet.There is a newer implementation.Veraltet.There is a newer implementation.voidupdateUsingFields(Object ent, Enum... fieldNames) voidupdateUsingFields(Object ent, String... fields) updating an enty in DB without sending the whole entity only transfers the fields to be changed / set<T> voidupdateUsingFields(T ent, AsyncOperationCallback<T> callback, Enum... fields) <T> voidupdateUsingFields(T ent, AsyncOperationCallback<T> callback, String... fields) <T> voidupdateUsingFields(T ent, String collection, AsyncOperationCallback<T> callback, Enum... fields) <T> voidupdateUsingFields(T ent, String collection, AsyncOperationCallback<T> callback, String... fields)
-
Konstruktordetails
-
MorphiumBase
public MorphiumBase()
-
-
Methodendetails
-
unsetInEntity
-
unsetInEntity
-
unsetInEntity
This method unsets a property. Please useunsetInEntity(Object, Enum, AsyncOperationCallback)instead. -
unsetInEntity
This method unsets a property. Please useunsetInEntity(Object, String, Enum)instead. -
unsetInEntity
public <T> void unsetInEntity(T toSet, String collection, Enum<?> field, AsyncOperationCallback<T> callback) This method unsets a property. -
unsetInEntity
This method unsets a property. -
dec
-
inc
-
inc
-
inc
-
inc
-
inc
-
inc
-
inc
-
inc
-
inc
-
inc
-
inc
-
inc
-
dec
-
dec
-
dec
-
dec
-
dec
-
dec
-
dec
-
dec
-
updateUsingFields
-
updateUsingFields
-
updateUsingFields
-
updateUsingFields
-
updateUsingFields
public <T> void updateUsingFields(T ent, String collection, AsyncOperationCallback<T> callback, Enum... fields) -
updateUsingFields
public <T> void updateUsingFields(T ent, String collection, AsyncOperationCallback<T> callback, String... fields) -
dec
public <T> void dec(Map<Enum, Number> fieldsToInc, Query<T> matching, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) -
dec
-
dec
-
dec
-
dec
-
dec
-
dec
-
dec
-
dec
-
inc
-
inc
-
inc
-
inc
-
inc
-
inc
-
inc
-
inc
-
inc
-
inc
-
inc
-
inc
-
inc
-
inc
-
inc
-
inc
-
inc
public <T> void inc(T toSet, Enum<?> collection, Enum<?> field, double i, AsyncOperationCallback<T> callback) -
inc
public <T> void inc(T toSet, String collection, Enum<?> field, double i, AsyncOperationCallback<T> callback) -
inc
public <T> void inc(T toSet, String collection, String field, double i, AsyncOperationCallback<T> callback) -
inc
public <T> void inc(T toSet, String collection, Enum<?> field, int i, AsyncOperationCallback<T> callback) -
inc
public <T> void inc(T toSet, String collection, String field, int i, AsyncOperationCallback<T> callback) -
inc
public <T> void inc(T toSet, String collection, Enum<?> field, long i, AsyncOperationCallback<T> callback) -
inc
public <T> void inc(T toSet, String collection, String field, long i, AsyncOperationCallback<T> callback) -
inc
public <T> void inc(T toSet, String collection, Enum<?> field, Number i, AsyncOperationCallback<T> callback) -
inc
public <T> void inc(T toSet, String collection, String field, Number i, AsyncOperationCallback<T> callback) -
remove
-
delete
-
explainRemove
-
remove
-
delete
-
remove
-
pushPull
-
pushPullAll
-
pullAll
-
remove
deletes a single object from morphium backend. Clears cache- Parameter:
o- - entity
-
delete
-
remove
-
delete
-
delete
-
remove
-
delete
-
remove
-
remove
-
delete
-
remove
-
exists
- Löst aus:
MorphiumDriverException
-
exists
- Löst aus:
MorphiumDriverException
-
exists
- Löst aus:
MorphiumDriverException
-
storeList
sorts elements in this list, whether to store in background or directly.- Typparameter:
T- - type of list elements- Parameter:
lst- - all objects are sorted whether to store in BG or direclty. All objects are stored in their corresponding collection
-
saveList
-
storeList
-
saveList
-
storeList
-
storeList
-
saveList
-
storeList
-
store
public <T> void store(T o) Stores a single Object. Clears the corresponding cache- Parameter:
o- - Object to store
-
save
public <T> void save(T o) -
store
-
save
-
store
-
store
-
save
-
setInEntity
public <T> void setInEntity(T toSet, Enum<?> field, Object value, AsyncOperationCallback<T> callback) ///// // -
setInEntity
-
setInEntity
-
setInEntity
public <T> void setInEntity(T toSet, Enum<?> field, Object value, boolean upserts, AsyncOperationCallback<T> callback) This method sets a property. Please usesetInEntity(Object, Enum, Object, boolean, AsyncOperationCallback)instead. -
setInEntity
-
setInEntity
-
explainRemove
-
setInEntity
setting a value in an existing mongo collection entry - no reading necessary. Object is altered in place db.collection.update({"_id":toSet.id},{$set:{field:value}} attention: this alteres the given object toSet in a similar way- Parameter:
toSet- - object to set the value in (or better - the corresponding entry in mongo)field- - the field to changevalue- - the value to set
-
setInEntity
public <T> void setInEntity(T toSet, String field, Object value, boolean upserts, AsyncOperationCallback<T> callback) This method sets a property. Please usesetInEntity(Object,String, Object, boolean, AsyncOperationCallback)instead. -
setInEntity
This method sets properties. // * @deprecated There is a newer implementation. Please useUngültige Eingabe: "" -
setInEntity
-
setInEntity
public <T> void setInEntity(T toSet, String collection, Enum field, Object value, boolean upserts, AsyncOperationCallback<T> callback) -
setInEntity
public <T> void setInEntity(T toSet, String collection, String field, Object value, boolean upserts, AsyncOperationCallback<T> callback) -
setInEntity
public <T> void setInEntity(T toSet, String field, Object value, AsyncOperationCallback<T> callback) This method sets a property. // * @deprecated There is a newer implementation. Please usesetInEntity(Object,String, Object, AsyncOperationCallback)instead. -
dec
-
dec
-
dec
-
dec
-
dec
-
dec
-
dec
-
dec
-
dec
-
dec
-
dec
-
dec
-
dec
-
dec
-
dec
-
dec
-
inc
-
inc
-
inc
-
inc
-
inc
-
inc
-
inc
-
inc
-
inc
-
inc
-
inc
-
inc
-
findById
-
distinct
-
distinct
-
distinct
-
distinct
-
addToSet
-
addToSet
-
addToSet
-
push
-
push
-
pullAll
-
push
-
save
-
store
-
pull
public <T> Map<String,Object> pull(Query<T> query, String field, Object value, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) Asynchronous call to pulll- Typparameter:
T- - type- Parameter:
query- - queryfield- - field to pullvalue- - value to pull from fieldupsert- - insert document unless it existsmultiple- - more than onecallback- -callback to call when operation succeeds - synchronous call, if null
-
push
-
pull
-
push
-
pull
-
push
-
pull
-
pushAll
-
push
-
set
@Deprecated public <T> Map<String,Object> set(Query<T> query, Enum<?> field, Object val, AsyncOperationCallback<T> callback) Veraltet.There is a newer implementation. Please useQuery.set(String, Object, boolean, boolean, AsyncOperationCallback)instead.This method sets a property. -
set
Veraltet.There is a newer implementation. Please useQuery.set(String, Object, boolean, boolean, AsyncOperationCallback)instead.This method sets a property. -
set
@Deprecated public <T> Map<String,Object> set(Query<T> query, String field, Object val, AsyncOperationCallback<T> callback) Veraltet.There is a newer implementation. Please useQuery.set(String, Object, boolean, boolean, AsyncOperationCallback)instead.This method sets a property. -
setEnum
-
pushAll
-
addAllToSet
-
addAllToSet
-
addAllToSet
-
pull
-
pushAll
-
set
@Deprecated public <T> Map<String,Object> set(Query<T> query, Enum<?> field, Object val, boolean upsert, boolean multiple) Veraltet.There is a newer implementation. Please useQuery.set(Enum, Object, boolean, boolean, AsyncOperationCallback)instead.will change an entry in mongodb-collection corresponding to given class object if query is too complex, upsert might not work! Upsert should consist of single anueries, which will be used to generate the object to create, unless it already exists. look at Mongodb-query documentation as well- Parameter:
query- - query to specify which objects should be setfield- - field to setval- - value to setupsert- - insert, if it does not exist (query needs to be simple!)multiple- - update several documents, if false, only first hit will be updated
-
set
@Deprecated public <T> Map<String,Object> set(Query<T> query, Enum<?> field, Object val, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) Veraltet. -
pullAll
-
set
@Deprecated public <T> Map<String,Object> set(Query<T> query, String field, Object val, boolean upsert, boolean multiple) Veraltet.There is a newer implementation. Please useQuery.set(String, Object, boolean, boolean, AsyncOperationCallback)instead.This method sets a property. -
set
@Deprecated public <T> Map<String,Object> set(Query<T> query, String field, Object val, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) Veraltet.There is a newer implementation. Please useQuery.set(String, Object, boolean, boolean, AsyncOperationCallback)instead.This method sets a property. -
set
@Deprecated public Map<String,Object> set(Query<?> query, Map<String, Object> map, boolean upsert, boolean multiple) Veraltet.There is a newer implementation. Please useQuery.set(Map, boolean, boolean, AsyncOperationCallback)instead.This method sets a property. -
currentDate
-
currentDate
-
pull
-
pull
-
push
-
push
-
insertList
-
insertList
-
insert
public <T> void insert(T o) -
insert
-
insert
-
storeMaps
public Map<String,Integer> storeMaps(Class type, List<Map<String, Object>> lst) throws MorphiumDriverExceptiondirectly writes data to Mongo, no Mapper used use with caution, as caches are not updated also no checks for validity of fields, no references, no auto-variables no async writing!- Parameter:
type- - type to write to (just for determining collection name)lst- - list of entries to write- Gibt zurück:
- statistics
- Löst aus:
MorphiumDriverException
-
storeNoCache
public <T> void storeNoCache(T lst) -
storeNoCache
-
storeNoCache
-
storeNoCache
-
storeBuffered
public <T> void storeBuffered(T lst) -
storeBuffered
-
storeBuffered
-
ensureIndicesFor
can be called for autmatic index ensurance. Attention: might cause heavy load on mongo- Parameter:
type- type to ensure indices for
-
ensureIndicesFor
-
ensureIndicesFor
-
ensureIndicesFor
public <T> void ensureIndicesFor(Class<T> type, String onCollection, AsyncOperationCallback<T> callback) -
unsetQ
Veraltet.There is a newer implementation. Please useQuery.unset(String[])instead.This method sets a property. -
unsetQ
Veraltet.There is a newer implementation. Please useQuery.unset(boolean, String[])instead.This method sets a property. -
unsetQ
Veraltet.There is a newer implementation. Please useQuery.unset(Enum[])instead.This method sets a property. -
unsetQ
Veraltet.There is a newer implementation. Please useQuery.unset(boolean, Enum[])instead.This method sets a property. -
unsetQ
-
unsetQ
-
unsetQ
-
unsetQ
-
ensureIndicesFor
public abstract <T> void ensureIndicesFor(Class<T> type, String onCollection, AsyncOperationCallback<T> callback, MorphiumWriter wr) -
saveMaps
public abstract Map<String,Integer> saveMaps(Class type, List<Map<String, Object>> lst) throws MorphiumDriverException- Löst aus:
MorphiumDriverException
-
insertList
public abstract <T> void insertList(List lst, String collection, AsyncOperationCallback<T> callback) -
findById
-
findById
public abstract <T> void findById(Class<? extends T> type, Object id, String collection, AsyncOperationCallback callback) -
distinct
-
distinct
-
distinct
-
inc
-
setInEntity
public abstract <T> void setInEntity(T toSet, String collection, Map<String, Object> values, boolean upserts, AsyncOperationCallback<T> callback) -
set
public abstract <T> void set(T toSet, String collection, Map<String, Object> values, boolean upserts, AsyncOperationCallback<T> callback) -
set
public abstract <T> void set(T toSet, String collection, boolean upserts, Map<Enum, Object> values, AsyncOperationCallback<T> callback) -
setInEntity
public abstract <T> void setInEntity(T toSet, String collection, boolean upserts, Map<Enum, Object> values, AsyncOperationCallback<T> callback) -
unsetInEntity
public abstract <T> void unsetInEntity(T toSet, String collection, String field, AsyncOperationCallback<T> callback) -
isWriteBufferEnabledForThread
public abstract boolean isWriteBufferEnabledForThread() -
getDriver
-
getDatabase
-
getId
-
getWriterForClass
-
getMapper
-
getARHelper
-
getConfig
-
saveList
public abstract <T> void saveList(List<T> lst, String collection, AsyncOperationCallback<T> callback) -
saveList
-