@Retention(value=RUNTIME) @Target(value={FIELD,METHOD}) public @interface Query
@Query(value = "start n=node({self}) match n-[:KNOWS]->other return other", elementClass=Person.class) Iterable<Person> friends;
Modifier and Type | Optional Element and Description |
---|---|
String |
countQuery |
String |
countQueryName |
Class<?> |
elementClass |
String[] |
params |
String |
queryName |
QueryType |
type |
String |
value |
public abstract String value
public abstract String countQuery
public abstract Class<?> elementClass
public abstract String[] params
public abstract QueryType type
public abstract String queryName
public abstract String countQueryName
Copyright © 2011-2013-2013 SpringSource. All Rights Reserved.