public class UpdateParserMultiple extends RequestParserMultiple
lastDepthadapter, hasFullTextCurrentQuery, hasFullTextQuery, request, rootNode, sourceRequest| Constructor and Description |
|---|
UpdateParserMultiple()
Empty constructor
|
UpdateParserMultiple(VarNameAdapter adapter) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
actionParse(com.fasterxml.jackson.databind.JsonNode rootNode)
{$"action" : args, ...}
|
protected Action |
analyseOneAction(String refCommand,
com.fasterxml.jackson.databind.JsonNode command) |
protected RequestMultiple |
getNewRequest() |
UpdateMultiQuery |
getRequest() |
protected static BuilderToken.UPDATEACTION |
getUpdateActionId(String actionroot)
Compute the QUERY from command
|
void |
parse(com.fasterxml.jackson.databind.JsonNode request) |
protected void |
setregexParse(com.fasterxml.jackson.databind.JsonNode rootNode) |
protected void |
thresholdParse(com.fasterxml.jackson.databind.JsonNode rootNode)
{$"threshold" : arg}
|
String |
toString() |
addCondition, analyzeRootQuery, filterParse, getFinalScrollId, getFinalScrollTimeout, getLastDepth, hintCache, hintNoTimeout, model, parseJson, parseQueryOnly, queryParse, rootParseanalyzeOneCommand, getAdapter, getRootNode, getSource, hasFullTextQuery, isCommandAsFullText, parseOrderByFilterpublic UpdateParserMultiple()
public UpdateParserMultiple(VarNameAdapter adapter)
adapter - VarNameAdapterprotected RequestMultiple getNewRequest()
getNewRequest in class AbstractParser<RequestMultiple>public void parse(com.fasterxml.jackson.databind.JsonNode request)
throws InvalidParseOperationException
parse in class AbstractParser<RequestMultiple>request - containing a parsed JSON as { $roots: root, $query : query, $filter : filter, $action : action }InvalidParseOperationException - if request could not parse to JSONprotected void actionParse(com.fasterxml.jackson.databind.JsonNode rootNode)
throws InvalidParseOperationException
rootNode - JsonNodeInvalidParseOperationException - if rootNode could not parse to JSONprotected void thresholdParse(com.fasterxml.jackson.databind.JsonNode rootNode)
throws InvalidParseOperationException
rootNode - JsonNodeInvalidParseOperationException - if rootNode could not parse to JSONprotected void setregexParse(com.fasterxml.jackson.databind.JsonNode rootNode)
throws InvalidParseOperationException
InvalidParseOperationExceptionprotected static final BuilderToken.UPDATEACTION getUpdateActionId(String actionroot) throws InvalidParseOperationException
actionroot - StringInvalidParseOperationException - if actionroot could not parse to JSONprotected Action analyseOneAction(String refCommand, com.fasterxml.jackson.databind.JsonNode command) throws InvalidParseOperationException
InvalidParseOperationExceptionpublic String toString()
toString in class RequestParserMultiplepublic UpdateMultiQuery getRequest()
getRequest in class RequestParserMultipleCopyright © 2018 Vitam. All rights reserved.