Class RPCUtils
java.lang.Object
com.lucidworks.apollo.pipeline.util.RPCUtils
Common code between IndexingRPCStage and RPCQueryStage
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic voidstatic voidstatic DocumentcreateDocument(Object entity, String mimeType, com.lucidworks.apollo.pipeline.Context context, com.fasterxml.jackson.databind.ObjectMapper mapper) static DocumentobjectToJsonDOM(Object entity, com.fasterxml.jackson.databind.ObjectMapper mapper, de.odysseus.staxon.json.JsonXMLConfig config) static voidprocessXMLRule(TransformerFactory tf, NodeList nodes, Map<String, Object> values, String target) static Stringsubstitute(String input, com.lucidworks.apollo.aggregation.Aggregatable entity, boolean discardAbsent)
-
Field Details
-
RESULTS_LOCATION
- See Also:
-
REQUEST
- See Also:
-
RESPONSE
- See Also:
-
CONTEXT
- See Also:
-
AS_RESPONSE
- See Also:
-
-
Method Details
-
createDocument
-
processXMLRule
-
substitute
-
convertNode
-
addValue
-
objectToJsonDOM
-