public class ShapeFetchService extends AbstractComponent
componentSettings, logger, settings
Constructor and Description |
---|
ShapeFetchService(Client client,
Settings settings) |
Modifier and Type | Method and Description |
---|---|
ShapeBuilder |
fetch(String id,
String type,
String index,
String path)
Fetches the Shape with the given ID in the given type and index.
|
nodeName
public ShapeBuilder fetch(String id, String type, String index, String path) throws IOException
id
- ID of the Shape to fetchtype
- Index type where the Shape is indexedindex
- Index where the Shape is indexedpath
- 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–2015. All rights reserved.