public class InsertParserSingle extends RequestParserSingle
| Modifier and Type | Field and Description |
|---|---|
protected static int |
DATA_POS |
FILTER_POS, QUERY_POSadapter, hasFullTextCurrentQuery, hasFullTextQuery, request, rootNode, sourceRequest| Constructor and Description |
|---|
InsertParserSingle()
Use in Internal API
|
InsertParserSingle(VarNameAdapter adapter)
Use in Masterdata
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
dataParse(com.fasterxml.jackson.databind.JsonNode rootNode)
{$data : [{ field: value, ...
|
protected RequestSingle |
getNewRequest() |
Insert |
getRequest() |
void |
parse(com.fasterxml.jackson.databind.JsonNode request) |
String |
toString() |
addCondition, analyzeRootQuery, filterParse, getLastDepth, hintCache, hintNoTimeout, model, parseJson, parseQueryOnly, queryParseanalyzeArrayCommand, analyzeOneCommand, getRequestId, getRootNode, getSource, hasFullTextQuery, isCommandAsFullTextprotected static final int DATA_POS
public InsertParserSingle()
public InsertParserSingle(VarNameAdapter adapter)
adapter - VarNameAdapterprotected RequestSingle getNewRequest()
getNewRequest in class AbstractParser<RequestSingle>public void parse(com.fasterxml.jackson.databind.JsonNode request)
throws InvalidParseOperationException
parse in class AbstractParser<RequestSingle>request - containing a parsed JSON as [ {root}, {query}, {filter}, {data} ] or { $roots: root, $query :
query, $filter : filter, $data : data}InvalidParseOperationException - if request could not parse to JSONprotected void dataParse(com.fasterxml.jackson.databind.JsonNode rootNode)
throws InvalidParseOperationException
rootNode - JsonNodeInvalidParseOperationException - if rootNode could not parse to JSONpublic String toString()
toString in class RequestParserSinglepublic Insert getRequest()
getRequest in class AbstractParser<RequestSingle>Copyright © 2018 Vitam. All rights reserved.