public class NodeQueryStatements<ID extends Serializable> extends Object implements QueryStatements<ID>
| Constructor and Description |
|---|
NodeQueryStatements() |
NodeQueryStatements(String primaryIndex) |
| 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 label,
Collection<ID> ids,
int depth)
construct a query to fetch all objects with the specified ids
|
PagingAndSortingQuery |
findByType(String label,
Filters parameters,
int depth)
construct queries to fetch all objects with the specified label that match the specified filters
|
PagingAndSortingQuery |
findByType(String label,
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 NodeQueryStatements()
public NodeQueryStatements(String primaryIndex)
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 label, Collection<ID> ids, int depth)
QueryStatementsfindAllByType in interface QueryStatements<ID extends Serializable>label - 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 label, int depth)
QueryStatementsfindByType in interface QueryStatements<ID extends Serializable>label - the label attached to the object, or the relationship typedepth - the depth to traverse for related objectsPagingAndSortingQuerypublic PagingAndSortingQuery findByType(String label, Filters parameters, int depth)
QueryStatementsfindByType in interface QueryStatements<ID extends Serializable>label - 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.