public class RelationshipQueryStatements<ID extends Serializable> extends Object implements QueryStatements<ID>
| Constructor and Description |
|---|
RelationshipQueryStatements() |
| Modifier and Type | Method and Description |
|---|---|
PagingAndSortingQuery |
findAll()
construct a query to fetch all objects
|
PagingAndSortingQuery |
findAll(Collection<ID> ids,
int depth)
construct a query to fetch all objects with the specified ids
|
PagingAndSortingQuery |
findAllByType(String type,
Collection<ID> ids,
int depth)
construct a query to fetch all objects with the specified ids
|
PagingAndSortingQuery |
findByType(String type,
Filters parameters,
int depth)
construct queries to fetch all objects with the specified label that match the specified filters
|
PagingAndSortingQuery |
findByType(String type,
int depth)
construct queries to fetch all objects with the specified label or relationship type
|
PagingAndSortingQuery |
findOne(ID id,
int depth)
construct a query to fetch a single object with the specified id
|
public PagingAndSortingQuery findOne(ID id, int depth)
QueryStatementsfindOne in interface QueryStatements<ID extends Serializable>id - the id of the object to finddepth - the depth to traverse for any related objectsPagingAndSortingQuerypublic PagingAndSortingQuery findAll(Collection<ID> ids, int depth)
QueryStatementsfindAll in interface QueryStatements<ID extends Serializable>ids - the ids of the objects to finddepth - the depth to traverse for any related objectsPagingAndSortingQuerypublic PagingAndSortingQuery findAllByType(String type, Collection<ID> ids, int depth)
QueryStatementsfindAllByType in interface QueryStatements<ID extends Serializable>type - the label attached to the object, or the relationship typeids - the ids of the objects to finddepth - the depth to traverse for any related objectsPagingAndSortingQuerypublic PagingAndSortingQuery findAll()
QueryStatementsfindAll in interface QueryStatements<ID extends Serializable>PagingAndSortingQuerypublic PagingAndSortingQuery findByType(String type, int depth)
QueryStatementsfindByType in interface QueryStatements<ID extends Serializable>type - the label attached to the object, or the relationship typedepth - the depth to traverse for related objectsPagingAndSortingQuerypublic PagingAndSortingQuery findByType(String type, Filters parameters, int depth)
QueryStatementsfindByType in interface QueryStatements<ID extends Serializable>type - the label value or relationship type to filter onparameters - parameters to filter ondepth - the depth to traverse for related objectsPagingAndSortingQueryCopyright © 2016 Neo Technology, Inc.. All rights reserved.