Uses of Class
de.caluga.morphium.query.Query
Packages that use Query
Package
Description
-
Uses of Query in de.caluga.morphium
Methods in de.caluga.morphium that return QueryModifier and TypeMethodDescriptionMorphium.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) DAO.getQuery()Methods in de.caluga.morphium with parameters of type QueryModifier and TypeMethodDescription<T> voidMorphium.currentDate(Query<?> query, Enum field, boolean upsert, boolean multiple) <T> voidMorphium.currentDate(Query<?> query, String field, boolean upsert, boolean multiple) set current date into one fieldvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoid<T> voidMorphium.dec(Query<T> query, Enum field, double amount, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) <T> voidMorphium.dec(Query<T> query, Enum field, int amount, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) <T> voidMorphium.dec(Query<T> query, Enum field, long amount, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) <T> voidMorphium.dec(Query<T> query, Enum field, Number amount, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) <T> voidMorphium.dec(Query<T> query, String name, double amount, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) <T> voidMorphium.dec(Query<T> query, String name, int amount, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) <T> voidMorphium.dec(Query<T> query, String name, long amount, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) <T> voidMorphium.dec(Query<T> query, String name, Number amount, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) <T> voidMorphium.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 MongoMapinvalid input: '<'String,Object>sreturns a distinct list of values of the given collection Attention: these values are not unmarshalled, you might get MongoMapinvalid input: '<'String,Object>s<T> List<T>Deprecated.voidMorphium.firePostRemoveEvent(Query q) voidMorphium.firePreRemoveEvent(Query q) voidMorphium.fireProfilingReadEvent(Query q, long time, ReadAccessType t) voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoid<T> voidMorphium.inc(Query<T> query, Enum field, double amount, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) <T> voidMorphium.inc(Query<T> query, Enum field, int amount, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) <T> voidMorphium.inc(Query<T> query, Enum field, long amount, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) <T> voidMorphium.inc(Query<T> query, Enum field, Number amount, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) <T> voidMorphium.inc(Query<T> query, String name, double amount, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) <T> voidMorphium.inc(Query<T> query, String name, int amount, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) <T> voidMorphium.inc(Query<T> query, String name, long amount, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) <T> voidMorphium.inc(Query<T> query, String name, Number amount, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) <T> voidMorphium.inc(Query<T> query, Map<String, Number> toUpdate, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) <T> voidMorphium.inc(Map<Enum, Number> fieldsToInc, Query<T> matching, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) voidMorphiumStorageAdapter.postRemove(Morphium m, Query<T> q) voidMorphiumStorageListener.postRemove(Morphium m, Query<T> q) voidvoidvoidvoidvoid<T> voidMorphium.pull(Query<T> query, String field, Expr value, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) <T> void<T> voidMorphium.pull(Query<T> query, String field, Object value, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) Asynchronous call to pulllvoidvoidMorphium.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) voidvoidvoid<T> void<T> voidMorphium.push(Query<T> query, String field, Object value, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) asynchronous call to callbackvoidvoid<T> voidMorphium.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) voidProfilingListener.readAccess(Query query, long time, ReadAccessType t) void<T> void<T> voidwill change an entry in mongodb-collection corresponding to given class object if query is too complex, upsert might not work!<T> voidMorphium.set(Query<T> query, Enum field, Object val, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) <T> voidMorphium.set(Query<T> query, Enum field, Object val, AsyncOperationCallback<T> callback) <T> void<T> void<T> voidMorphium.set(Query<T> query, String field, Object val, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) <T> voidMorphium.set(Query<T> query, String field, Object val, AsyncOperationCallback<T> callback) <T> voidMorphium.set(Query<T> query, Map<String, Object> map, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) void<T> voidMorphium.unsetQ(Query<T> q, boolean multiple, AsyncOperationCallback<T> cb, Enum... field) <T> void<T> void<T> voidMorphium.unsetQ(Query<T> q, AsyncOperationCallback<T> cb, boolean multiple, String... field) <T> voidMorphium.unsetQ(Query<T> q, AsyncOperationCallback<T> cb, Enum... field) <T> voidMorphium.unsetQ(Query<T> q, AsyncOperationCallback<T> cb, String... field) <T> void<T> void -
Uses of Query in de.caluga.morphium.aggregation
Methods in de.caluga.morphium.aggregation with parameters of type QueryModifier and TypeMethodDescriptionAggregator<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) -
Uses of Query in de.caluga.morphium.async
Methods in de.caluga.morphium.async with parameters of type QueryModifier and TypeMethodDescriptionvoidAsyncCallbackAdapter.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 -
Uses of Query in de.caluga.morphium.bulk
Methods in de.caluga.morphium.bulk with parameters of type QueryModifier and TypeMethodDescriptionvoidMorphiumBulkContext.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) -
Uses of Query in de.caluga.morphium.cache
Methods in de.caluga.morphium.cache with parameters of type QueryModifier and TypeMethodDescriptionMorphiumCache.getCacheKey(Query q) MorphiumCacheImpl.getCacheKey(Query q) create unique cache key for queries, also honoring skip invalid input: '&' limit and sortingMorphiumCacheJCacheImpl.getCacheKey(Query q) voidMessagingCacheSynchronizer.postRemove(Morphium m, Query q) void -
Uses of Query in de.caluga.morphium.driver.inmem
Methods in de.caluga.morphium.driver.inmem with parameters of type QueryModifier and TypeMethodDescriptionAggregator<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) -
Uses of Query in de.caluga.morphium.query
Methods in de.caluga.morphium.query that return QueryModifier and TypeMethodDescriptionQuery.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) Methods in de.caluga.morphium.query with parameters of type QueryModifier and TypeMethodDescriptionvoidvoidvoidMethod parameters in de.caluga.morphium.query with type arguments of type QueryConstructors in de.caluga.morphium.query with parameters of type Query -
Uses of Query in de.caluga.morphium.writer
Methods in de.caluga.morphium.writer with parameters of type QueryModifier and TypeMethodDescription<T> voidBufferedMorphiumWriterImpl.inc(Query<T> query, String field, Number amount, boolean upsert, boolean multiple, AsyncOperationCallback<T> c) <T> voidBufferedMorphiumWriterImpl.inc(Query<T> query, Map<String, Number> fieldsToInc, boolean upsert, boolean multiple, AsyncOperationCallback<T> c) <T> voidMorphiumWriter.inc(Query<T> query, String field, Number amount, boolean insertIfNotExist, boolean multiple, AsyncOperationCallback<T> callback) <T> voidMorphiumWriter.inc(Query<T> query, Map<String, Number> fieldsToInc, boolean insertIfNotExist, boolean multiple, AsyncOperationCallback<T> callback) <T> voidMorphiumWriterImpl.inc(Query<T> query, String field, Number amount, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) <T> voidMorphiumWriterImpl.inc(Query<T> query, Map<String, Number> fieldsToInc, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) <T> voidBufferedMorphiumWriterImpl.pushPull(boolean push, Query<T> q, String field, Object value, boolean upsert, boolean multiple, AsyncOperationCallback<T> c) <T> voidMorphiumWriter.pushPull(boolean push, Query<T> query, String field, Object value, boolean insertIfNotExist, boolean multiple, AsyncOperationCallback<T> callback) <T> voidMorphiumWriterImpl.pushPull(boolean push, Query<T> query, String field, Object value, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) <T> voidBufferedMorphiumWriterImpl.pushPullAll(boolean push, Query<T> q, String field, List<?> value, boolean upsert, boolean multiple, AsyncOperationCallback<T> c) <T> voidMorphiumWriter.pushPullAll(boolean push, Query<T> query, String field, List<?> value, boolean insertIfNotExist, boolean multiple, AsyncOperationCallback<T> callback) <T> voidMorphiumWriterImpl.pushPullAll(boolean push, Query<T> query, String f, List<?> v, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) <T> voidBufferedMorphiumWriterImpl.remove(Query<T> q, boolean multiple, AsyncOperationCallback<T> c) <T> voidBufferedMorphiumWriterImpl.remove(Query<T> q, AsyncOperationCallback<T> c) <T> voidMorphiumWriter.remove(Query<T> q, boolean multiple, AsyncOperationCallback<T> callback) <T> voidMorphiumWriter.remove(Query<T> q, AsyncOperationCallback<T> callback) deletes all objects matching the given query<T> voidMorphiumWriterImpl.remove(Query<T> q, boolean multiple, AsyncOperationCallback<T> callback) <T> voidMorphiumWriterImpl.remove(Query<T> q, AsyncOperationCallback<T> callback) deletes all objects matching the given query<T> voidBufferedMorphiumWriterImpl.set(Query<T> query, Map<String, Object> values, boolean upsert, boolean multiple, AsyncOperationCallback<T> c) <T> voidMorphiumWriter.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!<T> voidMorphiumWriterImpl.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!<T> voidBufferedMorphiumWriterImpl.unset(Query<T> query, AsyncOperationCallback<T> c, boolean multiple, Enum... fields) <T> voidBufferedMorphiumWriterImpl.unset(Query<T> query, AsyncOperationCallback<T> c, boolean multiple, String... fields) <T> voidBufferedMorphiumWriterImpl.unset(Query<T> query, String field, boolean multiple, AsyncOperationCallback<T> c) <T> voidMorphiumWriter.unset(Query<T> query, AsyncOperationCallback<T> callback, boolean multiple, Enum... fields) <T> voidMorphiumWriter.unset(Query<T> query, AsyncOperationCallback<T> callback, boolean multiple, String... fields) <T> voidMorphiumWriter.unset(Query<T> query, String field, boolean multiple, AsyncOperationCallback<T> callback) <T> voidMorphiumWriterImpl.unset(Query<T> query, AsyncOperationCallback<T> callback, boolean multiple, Enum... fields) <T> voidMorphiumWriterImpl.unset(Query<T> query, AsyncOperationCallback<T> callback, boolean multiple, String... fields) <T> voidMorphiumWriterImpl.unset(Query<T> query, String field, boolean multiple, AsyncOperationCallback<T> callback)