Verwendungen von Klasse
de.caluga.morphium.query.Query
Packages, die Query verwenden
Package
Beschreibung
-
Verwendungen von Query in de.caluga.morphium
Methoden in de.caluga.morphium, die Query zurückgebenModifizierer und TypMethodeBeschreibungMorphium.createMapQuery(String collection) <T> Query<T>Morphium.createQueryByTemplate(T template, String... fields) <T> Query<T>Morphium.createQueryFor(Class<? extends T> type) <T> Query<T>Morphium.createQueryFor(Class<? extends T> type, String usingCollectionName) <T> Query<T>Morphium.getOutdatedLocksQuery(Class<? extends T> cls, int ms) DAO.getQuery()Methoden in de.caluga.morphium mit Parametern vom Typ QueryModifizierer und TypMethodeBeschreibungMorphium.addAllToSet(Query<T> query, String field, List<?> value, boolean multiple) Morphium.addAllToSet(Query<T> query, String field, List<?> value, boolean upsert, boolean multiple) Morphium.addAllToSet(Query<T> query, String field, List<?> value, boolean upsert, boolean multiple, AsyncOperationCallback callback) Morphium.addToSet(Query<T> query, String field, Object value, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) Morphium.currentDate(Query<?> query, Enum field, boolean upsert, boolean multiple) Morphium.currentDate(Query<?> query, String field, boolean upsert, boolean multiple) set current date into one fieldMorphium.dec(Query<T> query, Enum<?> field, double amount, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) Morphium.dec(Query<T> query, Enum<?> field, int amount, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) Morphium.dec(Query<T> query, Enum<?> field, long amount, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) Morphium.dec(Query<T> query, Enum<?> field, Number amount, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) Morphium.dec(Query<T> query, String name, double amount, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) Morphium.dec(Query<T> query, String name, int amount, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) Morphium.dec(Query<T> query, String name, long amount, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) Morphium.dec(Query<T> query, String name, Number amount, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) Morphium.dec(Query<T> query, Map<String, Number> toUpdate, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) <T> voidMorphium.dec(Map<Enum, Number> fieldsToInc, Query<T> matching, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) <T> void<T> voidMorphium.delete(Query<T> o, 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>sreturns 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> List<T>Veraltet.voidMorphium.firePostRemoveEvent(Query q) voidMorphium.firePreRemoveEvent(Query q) Morphium.inc(Query<T> query, Enum<?> field, double amount, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) Morphium.inc(Query<T> query, Enum<?> field, int amount, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) Morphium.inc(Query<T> query, Enum<?> field, long amount, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) Morphium.inc(Query<T> query, Enum<?> field, Number amount, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) Morphium.inc(Query<T> query, String name, double amount, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) Morphium.inc(Query<T> query, String name, int amount, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) Morphium.inc(Query<T> query, String name, long amount, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) Morphium.inc(Query<T> query, String name, Number amount, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) Morphium.inc(Query<T> query, Map<String, Number> toUpdate, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) Morphium.inc(Map<Enum, Number> fieldsToInc, Query<T> matching, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) <T> List<T>Morphium.lockEntities(Query<T> q, String lockId, int maxLockTimeMs) voidMorphiumStorageAdapter.postRemove(Morphium m, Query<T> q) voidMorphiumStorageListener.postRemove(Morphium m, Query<T> q) voidvoidMorphium.pull(Query<T> query, String field, Expr value, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) Morphium.pull(Query<T> query, String field, Object value, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) Asynchronous call to pulllMorphium.pullAll(Query<?> query, Enum<?> field, List<Object> value, boolean upsert, boolean multiple) voidMorphium.pullAll(Query<?> query, String field, List<Object> value, boolean upsert, boolean multiple) <T> voidMorphium.pullAll(Query<T> query, String field, List<?> value, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) Morphium.push(Query<T> query, String field, Object value, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) asynchronous call to callbackMorphium.pushAll(Query<?> query, Enum<?> field, List<Object> value, boolean upsert, boolean multiple) Morphium.pushAll(Query<T> query, String field, List<?> value, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) <T> voidMorphium.pushPull(boolean push, Query<T> query, String field, Object value, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) <T> voidMorphium.pushPullAll(boolean push, Query<T> query, String field, List<?> value, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) will change an entry in mongodb-collection corresponding to given class object if query is too complex, upsert might not work!Morphium.set(Query<T> query, Enum<?> field, Object val, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) Morphium.set(Query<T> query, Enum<?> field, Object val, AsyncOperationCallback<T> callback) Morphium.set(Query<T> query, String field, Object val, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) Morphium.set(Query<T> query, String field, Object val, AsyncOperationCallback<T> callback) Morphium.set(Query<T> query, Map<String, Object> map, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) Morphium.unsetQ(Query<T> q, boolean multiple, AsyncOperationCallback<T> cb, Enum... field) Morphium.unsetQ(Query<T> q, AsyncOperationCallback<T> cb, boolean multiple, String... field) Morphium.unsetQ(Query<T> q, AsyncOperationCallback<T> cb, Enum... field) Morphium.unsetQ(Query<T> q, AsyncOperationCallback<T> cb, String... field) -
Verwendungen von Query in de.caluga.morphium.aggregation
Methoden in de.caluga.morphium.aggregation mit Parametern vom Typ QueryModifizierer und TypMethodeBeschreibungAggregator<T,R> Aggregator.graphLookup(Class<?> fromType, Expr startWith, Enum connectFromField, Enum connectToField, String as, Integer maxDepth, String depthField, Query restrictSearchWithMatch) Aggregator<T,R> Aggregator.graphLookup(Class<?> fromType, Expr startWith, String connectFromField, String connectToField, String as, Integer maxDepth, String depthField, Query restrictSearchWithMatch) Aggregator<T,R> Aggregator.graphLookup(String fromCollection, Expr startWith, String connectFromField, String connectToField, String as, Integer maxDepth, String depthField, Query restrictSearchWithMatch) Aggregator<T,R> AggregatorImpl.graphLookup(Class<?> type, Expr startWith, Enum connectFromField, Enum connectToField, String as, Integer maxDepth, String depthField, Query restrictSearchWithMatch) Aggregator<T,R> AggregatorImpl.graphLookup(Class<?> type, Expr startWith, String connectFromField, String connectToField, String as, Integer maxDepth, String depthField, Query restrictSearchWithMatch) Aggregator<T,R> AggregatorImpl.graphLookup(String fromCollection, Expr startWith, String connectFromField, String connectToField, String as, Integer maxDepth, String depthField, Query restrictSearchWithMatch) Aggregator<T,R> Aggregator<T,R> Aggregator<T,R> Aggregator.matchSubQuery(Query<?> q) Aggregator<T,R> AggregatorImpl.matchSubQuery(Query<?> q) -
Verwendungen von Query in de.caluga.morphium.async
Methoden in de.caluga.morphium.async mit Parametern vom Typ QueryModifizierer und TypMethodeBeschreibungvoidAsyncCallbackAdapter.onOperationError(AsyncOperationType type, Query<T> q, long duration, String error, Throwable t, T entity, Object... param) voidAsyncOperationCallback.onOperationError(AsyncOperationType type, Query<T> q, long duration, String error, Throwable t, T entity, Object... param) callback for insuccesfull operationsvoidAsyncCallbackAdapter.onOperationSucceeded(AsyncOperationType type, Query<T> q, long duration, List<T> result, T entity, Object... param) voidAsyncOperationCallback.onOperationSucceeded(AsyncOperationType type, Query<T> q, long duration, List<T> result, T entity, Object... param) throw morphium access veto exception if you want to stop any subsequent calls -
Verwendungen von Query in de.caluga.morphium.bulk
Methoden in de.caluga.morphium.bulk mit Parametern vom Typ QueryModifizierer und TypMethodeBeschreibungvoidMorphiumBulkContext.addCurrentDateRequest(Query<T> query, boolean upsert, boolean multiple, String... fld) voidMorphiumBulkContext.addCustomUpdateRequest(Query<T> query, Map<String, Object> command, boolean upsert, boolean multiple) voidMorphiumBulkContext.addDeleteRequest(Query<T> q, boolean multiple) voidMorphiumBulkContext.addIncRequest(Query<T> query, String field, Number value, boolean upsert, boolean multiple) voidMorphiumBulkContext.addIncRequest(Query<T> query, Map<String, Number> toInc, boolean upsert, boolean multiple) voidMorphiumBulkContext.addMaxRequest(Query<T> query, String field, Object value, boolean upsert, boolean multiple) voidMorphiumBulkContext.addMaxRequest(Query<T> query, Map<String, Object> toSet, boolean upsert, boolean multiple) voidMorphiumBulkContext.addMinRequest(Query<T> query, String field, Object value, boolean upsert, boolean multiple) voidMorphiumBulkContext.addMinRequest(Query<T> query, Map<String, Object> toSet, boolean upsert, boolean multiple) voidMorphiumBulkContext.addMulRequest(Query<T> query, String field, Number value, boolean upsert, boolean multiple) voidMorphiumBulkContext.addPopRequest(Query<T> query, String field, boolean upsert, boolean multiple) voidMorphiumBulkContext.addPushRequest(Query<T> query, String field, Object value, boolean upsert, boolean multiple) voidMorphiumBulkContext.addPushRequest(Query<T> query, String field, List<Object> value, boolean upsert, boolean multiple) voidMorphiumBulkContext.addRenameRequest(Query<T> query, String field, String newName, boolean upsert, boolean multiple) voidMorphiumBulkContext.addSetRequest(Query<T> query, String field, Object value, boolean upsert, boolean multiple) voidMorphiumBulkContext.addSetRequest(Query<T> query, Map<String, Object> toSet, boolean upsert, boolean multiple) voidMorphiumBulkContext.addUnsetRequest(Query<T> query, String field, Object value, boolean upsert, boolean multiple) voidMorphiumBulkContext.addUnsetRequest(Query<T> query, Map<String, Object> toSet, boolean upsert, boolean multiple) -
Verwendungen von Query in de.caluga.morphium.cache
Methoden in de.caluga.morphium.cache mit Parametern vom Typ QueryModifizierer und TypMethodeBeschreibungMorphiumCache.getCacheKey(Query q) MorphiumCacheImpl.getCacheKey(Query q) create unique cache key for queries, also honoring skip Ungültige Eingabe: "&" limit and sortingMorphiumCacheJCacheImpl.getCacheKey(Query q) voidMessagingCacheSynchronizer.postRemove(Morphium m, Query q) void -
Verwendungen von Query in de.caluga.morphium.driver.inmem
Methoden in de.caluga.morphium.driver.inmem mit Parametern vom Typ QueryModifizierer und TypMethodeBeschreibungAggregator<T,R> InMemAggregator.graphLookup(Class<?> type, Expr startWith, Enum connectFromField, Enum connectToField, String as, Integer maxDepth, String depthField, Query restrictSearchWithMatch) Aggregator<T,R> InMemAggregator.graphLookup(Class<?> type, Expr startWith, String connectFromField, String connectToField, String as, Integer maxDepth, String depthField, Query restrictSearchWithMatch) Aggregator<T,R> InMemAggregator.graphLookup(String fromCollection, Expr startWith, String connectFromField, String connectToField, String as, Integer maxDepth, String depthField, Query restrictSearchWithMatch) Aggregator<T,R> Aggregator<T,R> InMemAggregator.matchSubQuery(Query<?> q) -
Verwendungen von Query in de.caluga.morphium.query
Methoden in de.caluga.morphium.query, die Query zurückgebenModifizierer und TypMethodeBeschreibungQuery.addChild(FilterExpression ex) Query.addProjection(Enum f) Query.addProjection(Enum f, String projectOperator) Query.addProjection(String f) Query.addProjection(String f, String projectOperator) MongoField.bitsAllClear(int... b) MongoField.bitsAllClear(long bitmask) MongoFieldImpl.bitsAllClear(int... b) MongoFieldImpl.bitsAllClear(long bitmask) MongoField.bitsAllSet(int... b) MongoField.bitsAllSet(long bitmask) MongoFieldImpl.bitsAllSet(int... b) MongoFieldImpl.bitsAllSet(long bitmask) MongoField.bitsAnyClear(int... b) MongoField.bitsAnyClear(long bitmask) MongoFieldImpl.bitsAnyClear(int... b) MongoFieldImpl.bitsAnyClear(long bitmask) MongoField.bitsAnySet(int... b) MongoField.bitsAnySet(long bitmask) MongoFieldImpl.bitsAnySet(int... b) MongoFieldImpl.bitsAnySet(long bitmask) MongoField.box(double x, double y, double x2, double y2) search for entries with geo coordinates wihtin the given rectancle - x,y upper left, x2,y2 lower right cornerMongoFieldImpl.box(double x, double y, double x2, double y2) MongoField.center(double x, double y, double r) MongoFieldImpl.center(double x, double y, double r) MongoField.centerSphere(double x, double y, double r) MongoFieldImpl.centerSphere(double x, double y, double r) Query.clone()Query.disableAutoValues()Query.enableAutoValues()MongoField.exists()MongoFieldImpl.exists()MongoField.geoIntersects(Geo shape) MongoFieldImpl.geoIntersects(Geo shape) MongoField.geoWithinBox(Double x1, Double y1, Double x2, Double y2) MongoFieldImpl.geoWithinBox(Double x1, Double y1, Double x2, Double y2) MongoField.getQuery()MongoFieldImpl.getQuery()QueryIterator.getQuery()Query.hideFieldInProjection(Enum f) Query.hideFieldInProjection(String f) MongoField.in(Collection<?> vals) MongoFieldImpl.in(Collection<?> vals) Query.limit(int i) Query.matchesJsonSchema(String schemaDef) Query.matchesJsonSchema(Map<String, Object> schemaDef) MongoField.mod(int base, int val) MongoFieldImpl.mod(int base, int val) MongoField.near(double x, double y) MongoField.near(double x, double y, double maxDistance) MongoFieldImpl.near(double x, double y) MongoFieldImpl.near(double x, double y, double maxDistance) MongoField.nearSphere(double x, double y) MongoField.nearSphere(double x, double y, double maxDistance) MongoField.nearSphere(double x, double y, double minDistance, double maxDistance) MongoFieldImpl.nearSphere(double x, double y) MongoFieldImpl.nearSphere(double x, double y, double maxDistance) MongoFieldImpl.nearSphere(double x, double y, double minDistance, double maxDistance) MongoField.nin(Collection<?> vals) MongoFieldImpl.nin(Collection<?> vals) MongoField.not()MongoFieldImpl.not()MongoField.notExists()MongoFieldImpl.notExists()MongoField.polygon(double... p) MongoFieldImpl.polygon(double... p) Query.q()Query.setAutoValuesEnabled(boolean autoValuesEnabled) Query.setBatchSize(int batchSize) Query.setCollation(Collation collation) Query.setCollectionName(String n) Query.setProjection(Enum... fl) Query.setProjection(String... fl) MongoField.size(int val) MongoFieldImpl.size(int val) Query.skip(int i) this does not check for existence of the Field!Query.text(Query.TextSearchLanguages lang, boolean caseSensitive, boolean diacriticSensitive, String... text) Query.text(Query.TextSearchLanguages lang, String... text) Query.text(String metaScoreField, Query.TextSearchLanguages lang, boolean caseSensitive, boolean diacriticSensitive, String... text) Query.text(String metaScoreField, Query.TextSearchLanguages lang, String... text) Methoden in de.caluga.morphium.query mit Parametern vom Typ QueryModifizierer und TypMethodeBeschreibungvoidvoidvoidMethodenparameter in de.caluga.morphium.query mit Typargumenten vom Typ QueryKonstruktoren in de.caluga.morphium.query mit Parametern vom Typ Query -
Verwendungen von Query in de.caluga.morphium.writer
Methoden in de.caluga.morphium.writer mit Parametern vom Typ QueryModifizierer und TypMethodeBeschreibungBufferedMorphiumWriterImpl.inc(Query<T> query, String field, Number amount, boolean upsert, boolean multiple, AsyncOperationCallback<T> c) BufferedMorphiumWriterImpl.inc(Query<T> query, Map<String, Number> fieldsToInc, boolean upsert, boolean multiple, AsyncOperationCallback<T> c) MorphiumWriter.inc(Query<T> query, String field, Number amount, boolean insertIfNotExist, boolean multiple, AsyncOperationCallback<T> callback) MorphiumWriter.inc(Query<T> query, Map<String, Number> fieldsToInc, boolean insertIfNotExist, boolean multiple, AsyncOperationCallback<T> callback) MorphiumWriterImpl.inc(Query<T> query, String field, Number amount, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) MorphiumWriterImpl.inc(Query<T> query, Map<String, Number> fieldsToInc, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) BufferedMorphiumWriterImpl.pushPull(MorphiumStorageListener.UpdateTypes type, Query<T> q, String field, Object value, boolean upsert, boolean multiple, AsyncOperationCallback<T> c) MorphiumWriter.pushPull(MorphiumStorageListener.UpdateTypes type, Query<T> query, String field, Object value, boolean insertIfNotExist, boolean multiple, AsyncOperationCallback<T> callback) MorphiumWriterImpl.pushPull(MorphiumStorageListener.UpdateTypes type, Query<T> query, String field, Object value, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) BufferedMorphiumWriterImpl.pushPullAll(MorphiumStorageListener.UpdateTypes type, Query<T> q, String field, List<?> value, boolean upsert, boolean multiple, AsyncOperationCallback<T> c) MorphiumWriter.pushPullAll(MorphiumStorageListener.UpdateTypes type, Query<T> query, String field, List<?> value, boolean insertIfNotExist, boolean multiple, AsyncOperationCallback<T> callback) MorphiumWriterImpl.pushPullAll(MorphiumStorageListener.UpdateTypes type, Query<T> query, String f, List<?> v, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) BufferedMorphiumWriterImpl.remove(Query<T> q, boolean multiple, AsyncOperationCallback<T> c) BufferedMorphiumWriterImpl.remove(Query<T> q, AsyncOperationCallback<T> c) MorphiumWriter.remove(Query<T> q, boolean multiple, AsyncOperationCallback<T> callback) MorphiumWriter.remove(Query<T> q, AsyncOperationCallback<T> callback) deletes all objects matching the given queryMorphiumWriterImpl.remove(Query<T> q, boolean multiple, AsyncOperationCallback<T> callback) MorphiumWriterImpl.remove(Query<T> q, AsyncOperationCallback<T> callback) deletes all objects matching the given queryBufferedMorphiumWriterImpl.set(Query<T> query, Map<String, Object> values, boolean upsert, boolean multiple, AsyncOperationCallback<T> c) MorphiumWriter.set(Query<T> query, Map<String, Object> values, boolean insertIfNotExist, boolean multiple, AsyncOperationCallback<T> callback) will change an entry in mongodb-collection corresponding to given class object if query is too complex, upsert might not work!MorphiumWriterImpl.set(Query<T> query, Map<String, Object> values, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) will change an entry in mongodb-collection corresponding to given class object if query is too complex, upsert might not work!BufferedMorphiumWriterImpl.unset(Query<T> query, AsyncOperationCallback<T> c, boolean multiple, Enum... fields) BufferedMorphiumWriterImpl.unset(Query<T> query, AsyncOperationCallback<T> c, boolean multiple, String... fields) BufferedMorphiumWriterImpl.unset(Query<T> query, String field, boolean multiple, AsyncOperationCallback<T> c) MorphiumWriter.unset(Query<T> query, AsyncOperationCallback<T> callback, boolean multiple, Enum... fields) MorphiumWriter.unset(Query<T> query, AsyncOperationCallback<T> callback, boolean multiple, String... fields) MorphiumWriter.unset(Query<T> query, String field, boolean multiple, AsyncOperationCallback<T> callback) MorphiumWriterImpl.unset(Query<T> query, AsyncOperationCallback<T> callback, boolean multiple, Enum... fields) MorphiumWriterImpl.unset(Query<T> query, AsyncOperationCallback<T> callback, boolean multiple, String... fields) MorphiumWriterImpl.unset(Query<T> query, String field, boolean multiple, AsyncOperationCallback<T> callback)