Package | Description |
---|---|
fr.gouv.vitam.common.database.parser.query |
Provides queries to be used within the Vitam DSL
|
fr.gouv.vitam.common.database.parser.query.action |
Provides actions to be used within the Vitam DSL
|
fr.gouv.vitam.common.database.parser.request |
Provides a global and an abstract parser in order to parse requests
|
fr.gouv.vitam.common.database.parser.request.adapter |
Provides database parser adapters for request
|
fr.gouv.vitam.common.database.parser.request.multiple |
Provides database parsers for multiple query requests
|
fr.gouv.vitam.common.database.parser.request.single |
Provides database parsers for single query requests
|
fr.gouv.vitam.common.database.server |
Database server package in vitam
|
fr.gouv.vitam.functional.administration.common.server |
Provides common server classes for the Functional Administration module
|
fr.gouv.vitam.logbook.common.server.database.collections.request |
Provides specific Request classes for the Logbook module
|
fr.gouv.vitam.metadata.core.database.collections |
Provides
|
Modifier and Type | Method and Description |
---|---|
static CompareQuery |
QueryParserHelper.eq(com.fasterxml.jackson.databind.JsonNode command,
VarNameAdapter adapter) |
static ExistsQuery |
QueryParserHelper.exists(com.fasterxml.jackson.databind.JsonNode command,
VarNameAdapter adapter) |
static MltQuery |
QueryParserHelper.flt(com.fasterxml.jackson.databind.JsonNode command,
VarNameAdapter adapter) |
static CompareQuery |
QueryParserHelper.gt(com.fasterxml.jackson.databind.JsonNode command,
VarNameAdapter adapter) |
static CompareQuery |
QueryParserHelper.gte(com.fasterxml.jackson.databind.JsonNode command,
VarNameAdapter adapter) |
static InQuery |
QueryParserHelper.in(com.fasterxml.jackson.databind.JsonNode command,
VarNameAdapter adapter) |
static ExistsQuery |
QueryParserHelper.isNull(com.fasterxml.jackson.databind.JsonNode command,
VarNameAdapter adapter) |
static CompareQuery |
QueryParserHelper.lt(com.fasterxml.jackson.databind.JsonNode command,
VarNameAdapter adapter) |
static CompareQuery |
QueryParserHelper.lte(com.fasterxml.jackson.databind.JsonNode command,
VarNameAdapter adapter) |
static MatchQuery |
QueryParserHelper.match(com.fasterxml.jackson.databind.JsonNode command,
VarNameAdapter adapter) |
static MatchQuery |
QueryParserHelper.matchAll(com.fasterxml.jackson.databind.JsonNode command,
VarNameAdapter adapter) |
static MatchQuery |
QueryParserHelper.matchPhrase(com.fasterxml.jackson.databind.JsonNode command,
VarNameAdapter adapter) |
static MatchQuery |
QueryParserHelper.matchPhrasePrefix(com.fasterxml.jackson.databind.JsonNode command,
VarNameAdapter adapter) |
static ExistsQuery |
QueryParserHelper.missing(com.fasterxml.jackson.databind.JsonNode command,
VarNameAdapter adapter) |
static MltQuery |
QueryParserHelper.mlt(com.fasterxml.jackson.databind.JsonNode command,
VarNameAdapter adapter) |
static CompareQuery |
QueryParserHelper.ne(com.fasterxml.jackson.databind.JsonNode command,
VarNameAdapter adapter) |
static InQuery |
QueryParserHelper.nin(com.fasterxml.jackson.databind.JsonNode command,
VarNameAdapter adapter) |
static PathQuery |
QueryParserHelper.path(com.fasterxml.jackson.databind.JsonNode array,
VarNameAdapter adapter) |
static RangeQuery |
QueryParserHelper.range(com.fasterxml.jackson.databind.JsonNode command,
VarNameAdapter adapter) |
static SearchQuery |
QueryParserHelper.regex(com.fasterxml.jackson.databind.JsonNode command,
VarNameAdapter adapter) |
static SearchQuery |
QueryParserHelper.search(com.fasterxml.jackson.databind.JsonNode command,
VarNameAdapter adapter) |
static CompareQuery |
QueryParserHelper.size(com.fasterxml.jackson.databind.JsonNode command,
VarNameAdapter adapter) |
static TermQuery |
QueryParserHelper.term(com.fasterxml.jackson.databind.JsonNode command,
VarNameAdapter adapter) |
static WildcardQuery |
QueryParserHelper.wildcard(com.fasterxml.jackson.databind.JsonNode command,
VarNameAdapter adapter) |
Constructor and Description |
---|
CompareQuery(BuilderToken.QUERY req,
com.fasterxml.jackson.databind.JsonNode request,
VarNameAdapter adapter)
For Parsing
|
ExistsQuery(BuilderToken.QUERY req,
com.fasterxml.jackson.databind.JsonNode request,
VarNameAdapter adapter)
For Parsing
|
InQuery(BuilderToken.QUERY req,
com.fasterxml.jackson.databind.JsonNode request,
VarNameAdapter adapter)
For Parsing
|
MatchQuery(BuilderToken.QUERY req,
com.fasterxml.jackson.databind.JsonNode request,
VarNameAdapter adapter)
For Parsing
|
MltQuery(BuilderToken.QUERY req,
com.fasterxml.jackson.databind.JsonNode request,
VarNameAdapter adapter)
For Parsing
|
PathQuery(BuilderToken.QUERY req,
com.fasterxml.jackson.databind.JsonNode request,
VarNameAdapter adapter)
For Parsing
|
RangeQuery(BuilderToken.QUERY req,
com.fasterxml.jackson.databind.JsonNode request,
VarNameAdapter adapter)
For Parsing
|
SearchQuery(BuilderToken.QUERY req,
com.fasterxml.jackson.databind.JsonNode request,
VarNameAdapter adapter)
For Parsing
|
TermQuery(BuilderToken.QUERY req,
com.fasterxml.jackson.databind.JsonNode request,
VarNameAdapter adapter)
For Parsing
|
WildcardQuery(BuilderToken.QUERY req,
com.fasterxml.jackson.databind.JsonNode request,
VarNameAdapter adapter)
For Parsing
|
Modifier and Type | Method and Description |
---|---|
static AddAction |
UpdateActionParserHelper.add(com.fasterxml.jackson.databind.JsonNode data,
VarNameAdapter adapter) |
static IncAction |
UpdateActionParserHelper.inc(com.fasterxml.jackson.databind.JsonNode data,
VarNameAdapter adapter) |
static MaxAction |
UpdateActionParserHelper.max(com.fasterxml.jackson.databind.JsonNode data,
VarNameAdapter adapter) |
static MinAction |
UpdateActionParserHelper.min(com.fasterxml.jackson.databind.JsonNode data,
VarNameAdapter adapter) |
static PopAction |
UpdateActionParserHelper.pop(com.fasterxml.jackson.databind.JsonNode data,
VarNameAdapter adapter) |
static PullAction |
UpdateActionParserHelper.pull(com.fasterxml.jackson.databind.JsonNode data,
VarNameAdapter adapter) |
static PushAction |
UpdateActionParserHelper.push(com.fasterxml.jackson.databind.JsonNode data,
VarNameAdapter adapter) |
static RenameAction |
UpdateActionParserHelper.rename(com.fasterxml.jackson.databind.JsonNode data,
VarNameAdapter adapter) |
static SetAction |
UpdateActionParserHelper.set(com.fasterxml.jackson.databind.JsonNode data,
VarNameAdapter adapter) |
static UnsetAction |
UpdateActionParserHelper.unset(com.fasterxml.jackson.databind.JsonNode array,
VarNameAdapter adapter) |
Constructor and Description |
---|
AddAction(BuilderToken.UPDATEACTION action,
com.fasterxml.jackson.databind.JsonNode request,
VarNameAdapter adapter)
For Parsing
|
IncAction(BuilderToken.UPDATEACTION action,
com.fasterxml.jackson.databind.JsonNode request,
VarNameAdapter adapter)
For Parsing
|
MaxAction(BuilderToken.UPDATEACTION action,
com.fasterxml.jackson.databind.JsonNode request,
VarNameAdapter adapter)
For Parsing
|
MinAction(BuilderToken.UPDATEACTION action,
com.fasterxml.jackson.databind.JsonNode request,
VarNameAdapter adapter)
For Parsing
|
PopAction(BuilderToken.UPDATEACTION action,
com.fasterxml.jackson.databind.JsonNode request,
VarNameAdapter adapter)
For Parsing
|
PullAction(BuilderToken.UPDATEACTION action,
com.fasterxml.jackson.databind.JsonNode request,
VarNameAdapter adapter)
For Parsing
|
PushAction(BuilderToken.UPDATEACTION action,
com.fasterxml.jackson.databind.JsonNode request,
VarNameAdapter adapter)
For Parsing
|
RenameAction(BuilderToken.UPDATEACTION action,
com.fasterxml.jackson.databind.JsonNode request,
VarNameAdapter adapter)
For Parsing
|
SetAction(BuilderToken.UPDATEACTION action,
com.fasterxml.jackson.databind.JsonNode request,
VarNameAdapter adapter)
For Parsing
|
UnsetAction(BuilderToken.UPDATEACTION action,
com.fasterxml.jackson.databind.node.ArrayNode request,
VarNameAdapter adapter)
For Parsing
|
Modifier and Type | Field and Description |
---|---|
protected VarNameAdapter |
AbstractParser.adapter |
Modifier and Type | Class and Description |
---|---|
class |
SingleVarNameAdapter
Model for VarNameAdapter for Single collections
|
class |
SingleVarNameAdapterExternal
Model for VarNameAdapter for Single collections
|
class |
VarNameAdapterExternal
Model for VarNameAdapter for external usage (security for Object/Unit)
|
class |
VarNameInsertAdapter
Model for VarNameAdapter for Insert
|
class |
VarNameUpdateAdapter
Model for VarNameAdapter for Update
|
Constructor and Description |
---|
VarNameInsertAdapter(VarNameAdapter adapter)
Constructor
|
VarNameUpdateAdapter(VarNameAdapter adapter)
Constructor
|
Modifier and Type | Method and Description |
---|---|
static RequestParserMultiple |
RequestParserHelper.getParser(com.fasterxml.jackson.databind.JsonNode jsonRequest,
VarNameAdapter varNameAdapter)
Create one Parser for Metadata according to:
InsertParser if { $roots: root, $query : query, $filter : filter, $data : data} UpdateParser if { $roots: root, $query : query, $filter : filter, $action : action } SelectParser if { $roots: roots, $query : query, $filter : filter, $projection : projection } DeleteParser if { $roots: roots, $query : query, $filter : multi } |
Constructor and Description |
---|
DeleteParserMultiple(VarNameAdapter adapter) |
InsertParserMultiple(VarNameAdapter adapter)
Should be used in Masterdata or Metadata
|
RequestParserMultiple(VarNameAdapter adapter)
Constructor for Metadata
|
SelectParserMultiple(VarNameAdapter adapter) |
UpdateParserMultiple(VarNameAdapter adapter) |
Modifier and Type | Method and Description |
---|---|
static RequestParserSingle |
RequestParserHelperSingle.getParser(com.fasterxml.jackson.databind.JsonNode jsonRequest,
VarNameAdapter varNameAdapter)
Create one Parser for Masterdata according to:
InsertParser if { $query : query, $filter : filter, $data : data} UpdateParser if { $query : query, $filter : filter, $action : action } SelectParser if { $query : query, $filter : filter, $projection : projection } DeleteParser if { $query : query, $filter : multi } |
Constructor and Description |
---|
DeleteParserSingle(VarNameAdapter adapter) |
InsertParserSingle(VarNameAdapter adapter)
Use in Masterdata
|
RequestParserSingle(VarNameAdapter adapter)
Constructor for Masterdata
|
SelectParserSingle(VarNameAdapter adapter) |
UpdateParserSingle(VarNameAdapter adapter) |
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
MongoDbInMemory.getUpdateJson(com.fasterxml.jackson.databind.JsonNode request,
boolean isMultiple,
VarNameAdapter varNameAdapter)
Update the originalDocument with the given request.
|
Modifier and Type | Method and Description |
---|---|
VarNameAdapter |
FunctionalAdminCollections.getVarNameAdapater() |
Modifier and Type | Class and Description |
---|---|
class |
LogbookVarNameAdapter
Logbook VarName Adapater
|
Modifier and Type | Class and Description |
---|---|
class |
MongoDbVarNameAdapter
Model for VarNameAdapter
|
Copyright © 2018 Vitam. All rights reserved.