public interface QueryStatements
Modifier and Type | Method and Description |
---|---|
GraphModelQuery |
findAll()
construct a query to fetch all objects
|
GraphModelQuery |
findAll(Collection<Long> ids,
int depth)
construct a query to fetch all objects with the specified ids
|
GraphModelQuery |
findByProperty(String type,
Property<String,Object> property,
int depth)
construct a query to fetch all objects with the specified label and property
|
GraphModelQuery |
findByType(String type,
int depth)
construct a query to fetch all objects with the specified label or relationship type
|
GraphModelQuery |
findOne(Long id,
int depth)
construct a query to fetch a single object with the specified id
|
GraphModelQuery findOne(Long id, int depth)
id
- the id of the object to finddepth
- the depth to traverse for any related objectsGraphModelQuery findAll(Collection<Long> ids, int depth)
ids
- the ids of the objects to finddepth
- the depth to traverse for any related objectsGraphModelQuery findAll()
GraphModelQuery findByType(String type, int depth)
type
- the label attached to the object, or the relationship typedepth
- the depth to traverse for related objectsGraphModelQuery findByProperty(String type, Property<String,Object> property, int depth)
type
- the label value or relationship type to filter onproperty
- a propertydepth
- the depth to traverse for related objectsCopyright © 2011-2014–2015 Pivotal Software, Inc.. All rights reserved.