Uses of Class
fr.gouv.vitam.common.database.builder.query.Query
Package
Description
Provides facet classes
Provides query classes
Provides an abstract request class
Provides database builders for multiple query requests
Provides database builders for single query requests
Provides queries to be used within the Vitam DSL
Provides a query helper
Provides a global and an abstract parser in order to parse requests
Provides database parsers for single query requests
Provides translators from Vitam DSL to native DSL
Provides translators for Elasticsearch
Provides translators for MongoDB
Provides
-
Uses of Query in fr.gouv.vitam.common.database.builder.facet
ModifierConstructorDescriptionFiltersFacet
(String name, Map<String, Query> filters) Filters Facet constructor -
Uses of Query in fr.gouv.vitam.common.database.builder.query
Modifier and TypeClassDescriptionclass
Boolean Queryclass
Compare Queryclass
Exists, Missing, IsNull Queryclass
In and Nin queriesclass
Match Queryclass
MoreLikeThis Queryclass
Search Queryclass
Correspond to an nop query (like "{{'$nop':'1'}}")class
Path Queryclass
Range Queryclass
Search Queryclass
Term Queryclass
Wildcard QueryModifier and TypeMethodDescriptionfinal Query
Query.setDepthLimit
(int relativedepth) Relative Depth, similar tosetRelativeDepthLimit(int)
final Query
Query.setExactDepthLimit
(int exactdepth) Query.setExtraInfo
(int val) final Query
Query.setFullText
(boolean isFullText) final Query
Query.setParserExactdepth
(int exactdepth) final Query
Query.setParserRelativeDepth
(int relativedepth) protected Query
Query.setReady
(boolean ready) final Query
Query.setRelativeDepthLimit
(int relativedepth) -
Uses of Query in fr.gouv.vitam.common.database.builder.request
Modifier and TypeMethodDescriptionabstract AbstractRequest
Set the query of request: in case of multi-query request: re-initialize list of query -
Uses of Query in fr.gouv.vitam.common.database.builder.request.multiple
Modifier and TypeMethodDescriptionfinal RequestMultiple
RequestMultiple.addQueries
(Query... queries) -
Uses of Query in fr.gouv.vitam.common.database.builder.request.single
-
Uses of Query in fr.gouv.vitam.common.database.parser.query
Modifier and TypeClassDescriptionclass
the class Boolean queryclass
the class of compare queryclass
the class of exist queryclass
In and Nin queriesclass
Match queryclass
the multiple queryclass
Correspond to an nop query (like "{{'$nop':'1'}}")class
Path queryclass
The range queryclass
Search Queryclass
Term queryclass
Wildcard queryModifier and TypeMethodDescriptionstatic final Query[]
QueryParserHelper.analyzeArrayCommand
(BuilderToken.QUERY query, com.fasterxml.jackson.databind.JsonNode commands, VarNameAdapter adapter) Analyze an array of commandsstatic final Query
QueryParserHelper.query
(String refCommand, com.fasterxml.jackson.databind.JsonNode command, VarNameAdapter adapter) Transform command to query -
Uses of Query in fr.gouv.vitam.common.database.parser.query.helper
Modifier and TypeMethodDescriptionint
QueryDepthHelper.getExactDepth
(Query query) For Execute operationint
QueryDepthHelper.getRelativeDepth
(Query query) For Execute operationvoid
For Parsing operation -
Uses of Query in fr.gouv.vitam.common.database.parser.request
Modifier and TypeMethodDescriptionprotected Query
AbstractParser.analyzeOneCommand
(String refCommand, com.fasterxml.jackson.databind.JsonNode command) -
Uses of Query in fr.gouv.vitam.common.database.parser.request.single
Modifier and TypeMethodDescriptionvoid
RequestParserSingle.addCondition
(Query condition) Allow to add one condition to the current parsed Request Example: -
Uses of Query in fr.gouv.vitam.common.database.translators
-
Uses of Query in fr.gouv.vitam.common.database.translators.elasticsearch
Modifier and TypeMethodDescriptionstatic co.elastic.clients.elasticsearch._types.query_dsl.Query
QueryToElasticsearch.getCommand
(Query query, VarNameAdapter adapter, DynamicParserTokens parserTokens) -
Uses of Query in fr.gouv.vitam.common.database.translators.mongodb
Modifier and TypeMethodDescriptionstatic org.bson.conversions.Bson
QueryToMongodb.getCommand
(Query query) Modifier and TypeMethodDescriptionprotected static Iterable<org.bson.conversions.Bson>
QueryToMongodb.getCommands
(List<Query> queries) -
Uses of Query in fr.gouv.vitam.metadata.core.database.collections
Modifier and TypeMethodDescriptionprotected Result<MetadataDocument<?>>
DbRequest.exactDepthUnitQuery
(Query realQuery, Result<MetadataDocument<?>> previous, int exactDepth, Integer tenantId, List<co.elastic.clients.elasticsearch._types.SortOptions> sorts, int offset, int limit, Map<String, co.elastic.clients.elasticsearch._types.aggregations.Aggregation> facets, String scrollId, Integer scrollTimeout, DynamicParserTokens parserTokens, boolean trackTotalHits) Execute one Unit Query using exact Depthprotected Result<MetadataDocument<?>>
DbRequest.objectGroupQuery
(Query realQuery, Result<MetadataDocument<?>> previous, Integer tenantId, List<co.elastic.clients.elasticsearch._types.SortOptions> sorts, int offset, int limit, String scrollId, Integer scrollTimeout, Map<String, co.elastic.clients.elasticsearch._types.aggregations.Aggregation> facets, DynamicParserTokens parserTokens, boolean trackTotalHits) Execute one relative Depth ObjectGroup Queryprotected Result<MetadataDocument<?>>
DbRequest.relativeDepthUnitQuery
(Query realQuery, Result<MetadataDocument<?>> previous, int relativeDepth, Integer tenantId, List<co.elastic.clients.elasticsearch._types.SortOptions> sorts, int offset, int limit, Map<String, co.elastic.clients.elasticsearch._types.aggregations.Aggregation> facets, String scrollId, Integer scrollTimeout, DynamicParserTokens parserTokens, boolean trackTotalHits) Execute one relative Depth Unit Queryprotected Result<MetadataDocument<?>>
DbRequest.sameDepthUnitQuery
(Query realQuery, Result<MetadataDocument<?>> previous, Integer tenantId, List<co.elastic.clients.elasticsearch._types.SortOptions> sorts, int offset, int limit, Map<String, co.elastic.clients.elasticsearch._types.aggregations.Aggregation> facets, String scrollId, Integer scrollTimeout, DynamicParserTokens parserTokens, boolean trackTotalHits) Execute one relative Depth Unit Query