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