public static interface Mapping.SourceTransform extends ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsEMPTY_PARAMS| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
transformSourceAsMap(Map<String,Object> sourceAsMap)
Transform the source when it is expressed as a map.
|
toXContentMap<String,Object> transformSourceAsMap(Map<String,Object> sourceAsMap)
sourceAsMap - source to transform. This may be mutated by the script.Copyright © 2009–2016. All rights reserved.