public class QueryParserHelper extends QueryHelper
Modifier | Constructor and Description |
---|---|
protected |
QueryParserHelper() |
Modifier and Type | Method and Description |
---|---|
static CompareQuery |
eq(com.fasterxml.jackson.databind.JsonNode command,
VarNameAdapter adapter) |
static ExistsQuery |
exists(com.fasterxml.jackson.databind.JsonNode command,
VarNameAdapter adapter) |
static MltQuery |
flt(com.fasterxml.jackson.databind.JsonNode command,
VarNameAdapter adapter) |
static CompareQuery |
gt(com.fasterxml.jackson.databind.JsonNode command,
VarNameAdapter adapter) |
static CompareQuery |
gte(com.fasterxml.jackson.databind.JsonNode command,
VarNameAdapter adapter) |
static InQuery |
in(com.fasterxml.jackson.databind.JsonNode command,
VarNameAdapter adapter) |
static ExistsQuery |
isNull(com.fasterxml.jackson.databind.JsonNode command,
VarNameAdapter adapter) |
static CompareQuery |
lt(com.fasterxml.jackson.databind.JsonNode command,
VarNameAdapter adapter) |
static CompareQuery |
lte(com.fasterxml.jackson.databind.JsonNode command,
VarNameAdapter adapter) |
static MatchQuery |
match(com.fasterxml.jackson.databind.JsonNode command,
VarNameAdapter adapter) |
static MatchQuery |
matchAll(com.fasterxml.jackson.databind.JsonNode command,
VarNameAdapter adapter) |
static MatchQuery |
matchPhrase(com.fasterxml.jackson.databind.JsonNode command,
VarNameAdapter adapter) |
static MatchQuery |
matchPhrasePrefix(com.fasterxml.jackson.databind.JsonNode command,
VarNameAdapter adapter) |
static ExistsQuery |
missing(com.fasterxml.jackson.databind.JsonNode command,
VarNameAdapter adapter) |
static MltQuery |
mlt(com.fasterxml.jackson.databind.JsonNode command,
VarNameAdapter adapter) |
static CompareQuery |
ne(com.fasterxml.jackson.databind.JsonNode command,
VarNameAdapter adapter) |
static InQuery |
nin(com.fasterxml.jackson.databind.JsonNode command,
VarNameAdapter adapter) |
static NopQuery |
nop()
Constructs a null operation (nop) query, meaning there is no 'where' demand.
|
static PathQuery |
path(com.fasterxml.jackson.databind.JsonNode array,
VarNameAdapter adapter) |
static RangeQuery |
range(com.fasterxml.jackson.databind.JsonNode command,
VarNameAdapter adapter) |
static SearchQuery |
regex(com.fasterxml.jackson.databind.JsonNode command,
VarNameAdapter adapter) |
static SearchQuery |
search(com.fasterxml.jackson.databind.JsonNode command,
VarNameAdapter adapter) |
static CompareQuery |
size(com.fasterxml.jackson.databind.JsonNode command,
VarNameAdapter adapter) |
static TermQuery |
term(com.fasterxml.jackson.databind.JsonNode command,
VarNameAdapter adapter) |
static WildcardQuery |
wildcard(com.fasterxml.jackson.databind.JsonNode command,
VarNameAdapter adapter) |
and, eq, eq, eq, eq, eq, exists, flt, gt, gt, gt, gt, gt, gte, gte, gte, gte, gte, in, in, in, in, in, isNull, lt, lt, lt, lt, lt, lte, lte, lte, lte, lte, match, matchAll, matchPhrase, matchPhrasePrefix, missing, mlt, ne, ne, ne, ne, ne, nin, nin, nin, nin, nin, not, or, path, range, range, range, range, regex, search, size, term, term, term, term, term, term, wildcard
public static final PathQuery path(com.fasterxml.jackson.databind.JsonNode array, VarNameAdapter adapter)
array
- primary list of path in the future PathQueryadapter
- VarNameAdapterpublic static final CompareQuery eq(com.fasterxml.jackson.databind.JsonNode command, VarNameAdapter adapter) throws InvalidParseOperationException
command
- JsonNodeadapter
- VarNameAdapterInvalidParseOperationException
- if could not parse to JSONpublic static final CompareQuery ne(com.fasterxml.jackson.databind.JsonNode command, VarNameAdapter adapter) throws InvalidParseOperationException
command
- JsonNodeadapter
- VarNameAdapterInvalidParseOperationException
- if could not parse to JSONpublic static final CompareQuery lt(com.fasterxml.jackson.databind.JsonNode command, VarNameAdapter adapter) throws InvalidParseOperationException
command
- JsonNodeadapter
- VarNameAdapterInvalidParseOperationException
- if could not parse to JSONpublic static final CompareQuery lte(com.fasterxml.jackson.databind.JsonNode command, VarNameAdapter adapter) throws InvalidParseOperationException
command
- JsonNodeadapter
- VarNameAdapterInvalidParseOperationException
- if could not parse to JSONpublic static final CompareQuery gt(com.fasterxml.jackson.databind.JsonNode command, VarNameAdapter adapter) throws InvalidParseOperationException
command
- JsonNodeadapter
- VarNameAdapterInvalidParseOperationException
- if could not parse to JSONpublic static final CompareQuery gte(com.fasterxml.jackson.databind.JsonNode command, VarNameAdapter adapter) throws InvalidParseOperationException
command
- JsonNodeadapter
- VarNameAdapterInvalidParseOperationException
- if could not parse to JSONpublic static final CompareQuery size(com.fasterxml.jackson.databind.JsonNode command, VarNameAdapter adapter) throws InvalidParseOperationException
command
- JsonNodeadapter
- VarNameAdapterInvalidParseOperationException
- if could not parse to JSONpublic static final ExistsQuery exists(com.fasterxml.jackson.databind.JsonNode command, VarNameAdapter adapter) throws InvalidCreateOperationException, InvalidParseOperationException
command
- JsonNodeadapter
- VarNameAdapterInvalidCreateOperationException
- using Exists operatorInvalidParseOperationException
- if could not parse to JSONpublic static final ExistsQuery missing(com.fasterxml.jackson.databind.JsonNode command, VarNameAdapter adapter) throws InvalidCreateOperationException, InvalidParseOperationException
command
- JsonNodeadapter
- VarNameAdapterInvalidCreateOperationException
- using Exists operatorInvalidParseOperationException
- if could not parse to JSONpublic static final ExistsQuery isNull(com.fasterxml.jackson.databind.JsonNode command, VarNameAdapter adapter) throws InvalidCreateOperationException, InvalidParseOperationException
command
- JsonNodeadapter
- VarNameAdapterInvalidCreateOperationException
- using Exists operatorInvalidParseOperationException
- if could not parse to JSONpublic static final InQuery in(com.fasterxml.jackson.databind.JsonNode command, VarNameAdapter adapter) throws InvalidParseOperationException
command
- JsonNodeadapter
- VarNameAdapterInvalidParseOperationException
- if could not parse to JSONpublic static final InQuery nin(com.fasterxml.jackson.databind.JsonNode command, VarNameAdapter adapter) throws InvalidParseOperationException
command
- JsonNodeadapter
- VarNameAdapterInvalidParseOperationException
- if could not parse to JSONpublic static final MatchQuery match(com.fasterxml.jackson.databind.JsonNode command, VarNameAdapter adapter) throws InvalidParseOperationException
command
- JsonNodeadapter
- VarNameAdapterInvalidParseOperationException
- if could not parse to JSONpublic static final MatchQuery matchAll(com.fasterxml.jackson.databind.JsonNode command, VarNameAdapter adapter) throws InvalidParseOperationException
command
- JsonNodeadapter
- VarNameAdapterInvalidParseOperationException
- if could not parse to JSONpublic static final MatchQuery matchPhrase(com.fasterxml.jackson.databind.JsonNode command, VarNameAdapter adapter) throws InvalidParseOperationException
command
- JsonNodeadapter
- VarNameAdapterInvalidParseOperationException
- if could not parse to JSONpublic static final MatchQuery matchPhrasePrefix(com.fasterxml.jackson.databind.JsonNode command, VarNameAdapter adapter) throws InvalidParseOperationException
command
- JsonNodeadapter
- VarNameAdapterInvalidParseOperationException
- if could not parse to JSONpublic static final SearchQuery regex(com.fasterxml.jackson.databind.JsonNode command, VarNameAdapter adapter) throws InvalidParseOperationException
command
- JsonNodeadapter
- VarNameAdapterInvalidParseOperationException
- if could not parse to JSONpublic static final SearchQuery search(com.fasterxml.jackson.databind.JsonNode command, VarNameAdapter adapter) throws InvalidParseOperationException
command
- JsonNodeadapter
- VarNameAdapterInvalidParseOperationException
- if could not parse to JSONpublic static final TermQuery term(com.fasterxml.jackson.databind.JsonNode command, VarNameAdapter adapter) throws InvalidParseOperationException
command
- JsonNodeadapter
- VarNameAdapterInvalidParseOperationException
- if could not parse to JSONpublic static final WildcardQuery wildcard(com.fasterxml.jackson.databind.JsonNode command, VarNameAdapter adapter) throws InvalidParseOperationException
command
- JsonNodeadapter
- VarNameAdapterInvalidParseOperationException
- if could not parse to JSONpublic static final MltQuery flt(com.fasterxml.jackson.databind.JsonNode command, VarNameAdapter adapter) throws InvalidParseOperationException
command
- JsonNodeadapter
- VarNameAdapterInvalidParseOperationException
- if could not parse to JSONpublic static final MltQuery mlt(com.fasterxml.jackson.databind.JsonNode command, VarNameAdapter adapter) throws InvalidParseOperationException
command
- JsonNodeadapter
- VarNameAdapterInvalidParseOperationException
- if could not parse to JSONpublic static final RangeQuery range(com.fasterxml.jackson.databind.JsonNode command, VarNameAdapter adapter) throws InvalidParseOperationException
command
- JsonNodeadapter
- VarNameAdapterInvalidParseOperationException
- if could not parse to JSONpublic static final NopQuery nop() throws InvalidCreateOperationException
InvalidCreateOperationException
- using NOP operatorCopyright © 2018 Vitam. All rights reserved.