public class VariableDepthRelationshipQuery extends Object implements QueryStatements
| Constructor and Description |
|---|
VariableDepthRelationshipQuery() |
| Modifier and Type | Method and Description |
|---|---|
Query |
findAll()
construct a query to fetch all objects
|
Query |
findAll(Collection<Long> ids,
int depth)
construct a query to fetch all objects with the specified ids
|
Query |
findAllByType(String type,
Collection<Long> ids,
int depth)
construct a query to fetch all objects with the specified ids
|
Query |
findByProperties(String type,
Filters parameters,
int depth)
construct queries to fetch all objects with the specified label and property
|
Query |
findByType(String type,
int depth)
construct queries to fetch all objects with the specified label or relationship type
|
Query |
findOne(Long id,
int depth)
construct a query to fetch a single object with the specified id
|
public Query findOne(Long id, int depth)
QueryStatementsfindOne in interface QueryStatementsid - the id of the object to finddepth - the depth to traverse for any related objectspublic Query findAll(Collection<Long> ids, int depth)
QueryStatementsfindAll in interface QueryStatementsids - the ids of the objects to finddepth - the depth to traverse for any related objectspublic Query findAllByType(String type, Collection<Long> ids, int depth)
QueryStatementsfindAllByType in interface QueryStatementstype - the label attached to the object, or the relationship typeids - the ids of the objects to finddepth - the depth to traverse for any related objectspublic Query findAll()
QueryStatementsfindAll in interface QueryStatementspublic Query findByType(String type, int depth)
QueryStatementsfindByType in interface QueryStatementstype - the label attached to the object, or the relationship typedepth - the depth to traverse for related objectspublic Query findByProperties(String type, Filters parameters, int depth)
QueryStatementsfindByProperties in interface QueryStatementstype - the label value or relationship type to filter onparameters - parameters to filter ondepth - the depth to traverse for related objectsCopyright © 2015 Neo Technology, Inc.. All rights reserved.