public class ShapeFetchService extends AbstractComponent
deprecationLogger, logger, settings| Constructor and Description |
|---|
ShapeFetchService(Client client,
Settings settings) |
| Modifier and Type | Method and Description |
|---|---|
ShapeBuilder |
fetch(GetRequest getRequest,
String path)
Fetches the Shape with the given ID in the given type and index.
|
logDeprecatedSetting, logRemovedSetting, nodeNamepublic ShapeBuilder fetch(GetRequest getRequest, String path) throws IOException
getRequest - GetRequest containing index, type and idpath - Name or path of the field in the Shape Document where the Shape itself is locatedIOException - Can be thrown while parsing the Shape Document and extracting the ShapeCopyright © 2009–2017. All rights reserved.