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ückgebenModifikator und TypMethodeBeschreibungMorphium.createMapQuery(String collection) <T> Query<T> Morphium.createQueryFor(Class<? extends T> type) <T> Query<T> Morphium.createQueryFor(Class<? extends T> type, String usingCollectionName) DAO.getQuery()Methoden in de.caluga.morphium mit Parametern vom Typ QueryModifikator und TypMethodeBeschreibungMorphiumBase.addAllToSet(Query<T> query, String field, List<?> value, boolean multiple) MorphiumBase.addAllToSet(Query<T> query, String field, List<?> value, boolean upsert, boolean multiple) MorphiumBase.addAllToSet(Query<T> query, String field, List<?> value, boolean upsert, boolean multiple, AsyncOperationCallback callback) MorphiumBase.currentDate(Query<?> query, Enum field, boolean upsert, boolean multiple) MorphiumBase.currentDate(Query<?> query, String field, boolean upsert, boolean multiple) set current date into one field//////////////////////////// /////////////////// //////////// ///////// /////// DEC and INC Methods //MorphiumBase.dec(Query<T> query, Enum<?> field, double amount, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) MorphiumBase.dec(Query<T> query, Enum<?> field, int amount, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) MorphiumBase.dec(Query<T> query, Enum<?> field, long amount, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) MorphiumBase.dec(Query<T> query, Enum<?> field, Number amount, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) MorphiumBase.dec(Query<T> query, String name, double amount, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) MorphiumBase.dec(Query<T> query, String name, int amount, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) MorphiumBase.dec(Query<T> query, String name, long amount, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) MorphiumBase.dec(Query<T> query, String name, Number amount, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) MorphiumBase.dec(Query<T> query, Map<String, Number> toUpdate, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) <T> voidMorphiumBase.dec(Map<Enum, Number> fieldsToInc, Query<T> matching, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) MorphiumBase.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>sMorphiumBase.explainRemove(Query<T> q) <T> List<T> Veraltet.voidMorphium.firePostRemoveEvent(Query q) voidMorphium.firePreRemoveEvent(Query q) 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) MorphiumBase.inc(Query<T> query, Enum<?> field, double amount, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) MorphiumBase.inc(Query<T> query, Enum<?> field, int amount, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) MorphiumBase.inc(Query<T> query, Enum<?> field, long amount, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) MorphiumBase.inc(Query<T> query, Enum<?> field, Number amount, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) MorphiumBase.inc(Query<T> query, String name, double amount, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) MorphiumBase.inc(Query<T> query, String name, int amount, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) MorphiumBase.inc(Query<T> query, String name, long amount, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) MorphiumBase.inc(Query<T> query, String name, Number amount, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) MorphiumBase.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) voidvoidMorphiumBase.pull(Query<T> query, String field, Expr value, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) MorphiumBase.pull(Query<T> query, String field, Object value, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) Asynchronous call to pulllMorphiumBase.pullAll(Query<?> query, Enum<?> field, List<Object> value, boolean upsert, boolean multiple) MorphiumBase.pullAll(Query<?> query, String field, List<Object> value, boolean upsert, boolean multiple) MorphiumBase.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) MorphiumBase.push(Query<T> query, String field, Object value, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) MorphiumBase.pushAll(Query<?> query, Enum<?> field, List<Object> value, boolean upsert, boolean multiple) MorphiumBase.pushAll(Query<T> query, String field, List<?> value, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) MorphiumBase.pushPull(boolean push, Query<T> query, String field, Object value, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) MorphiumBase.pushPullAll(boolean push, Query<T> query, String field, List<?> value, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) MorphiumBase.remove(Query<T> o, AsyncOperationCallback<T> callback) Veraltet.There is a newer implementation.Veraltet.There is a newer implementation.MorphiumBase.set(Query<T> query, Enum<?> field, Object val, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) Veraltet.MorphiumBase.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.MorphiumBase.set(Query<T> query, String field, Object val, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback) Veraltet.There is a newer implementation.MorphiumBase.set(Query<T> query, String field, Object val, AsyncOperationCallback<T> callback) Veraltet.There is a newer implementation.MorphiumBase.unsetQ(Query<T> q, boolean multiple, AsyncOperationCallback<T> cb, Enum... field) Veraltet.There is a newer implementation.Veraltet.There is a newer implementation.MorphiumBase.unsetQ(Query<T> q, AsyncOperationCallback<T> cb, boolean multiple, String... field) MorphiumBase.unsetQ(Query<T> q, AsyncOperationCallback<T> cb, Enum... field) MorphiumBase.unsetQ(Query<T> q, AsyncOperationCallback<T> cb, String... field) Veraltet.There is a newer implementation.Veraltet.There is a newer implementation. -
Verwendungen von Query in de.caluga.morphium.aggregation
Methoden in de.caluga.morphium.aggregation mit Parametern vom Typ QueryModifikator 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 QueryModifikator 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 QueryModifikator 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 QueryModifikator 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 QueryModifikator 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ückgebenModifikator 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.setAdditionalDataPresent(boolean additionalDataPresent) Query.setAndExpr(List<FilterExpression> andExpr) Query.setArHelper(AnnotationAndReflectionHelper arHelper) Query.setARHelper(AnnotationAndReflectionHelper ar) Query.setAutoValuesEnabled(boolean autoValuesEnabled) Query.setBatchSize(int batchSize) Query.setCollation(Collation collation) Query.setCollectionName(String n) Query.setExecutor(ThreadPoolExecutor executor) Query.setFieldList(Map<String, Object> fieldList) Query.setHintMap(Map<String, Object> h) Query.setHintString(String h) Query.setLimit(int limit) Query.setMorphium(Morphium m) Query.setNorQueries(List<Query<T>> norQueries) Query.setOrQueries(List<Query<T>> orQueries) Query.setOverrideDB(String overrideDB) Query.setProjection(Enum... fl) Query.setProjection(String... fl) Query.setRawQuery(Map<String, Object> rawQuery) Query.setReadPreferenceLevel(ReadPreferenceLevel readPreferenceLevel) Query.setSkip(int skip) 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, die Typen mit Argumenten vom Typ Query zurückgebenMethoden in de.caluga.morphium.query mit Parametern vom Typ QueryModifikator und TypMethodeBeschreibungvoidvoidvoidMethodenparameter in de.caluga.morphium.query mit Typargumenten vom Typ QueryModifikator und TypMethodeBeschreibungQuery.setNorQueries(List<Query<T>> norQueries) Query.setOrQueries(List<Query<T>> orQueries) Konstruktoren 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 QueryModifikator und TypMethodeBeschreibungBufferedMorphiumWriterImpl.explainRemove(ExplainCommand.ExplainVerbosity verbosity, Query<T> q) MorphiumWriter.explainRemove(ExplainCommand.ExplainVerbosity verbosity, Query<T> q) MorphiumWriterImpl.explainRemove(ExplainCommand.ExplainVerbosity verbosity, Query<T> q) BufferedMorphiumWriterImpl.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)
Queryinstead