public static interface Mapping.SourceTransform extends ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
EMPTY_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.
|
toXContent
Map<String,Object> transformSourceAsMap(Map<String,Object> sourceAsMap)
sourceAsMap
- source to transform. This may be mutated by the script.Copyright © 2009–2016. All rights reserved.