public enum LoadStrategy extends Enum<LoadStrategy>
Enum Constant and Description |
---|
PATH_LOAD_STRATEGY
Load strategy which fetches related nodes by querying all paths from matched nodes, resulting into pattern
similar to
MATCH p=(n)-[*0..n]-() RETURN p |
SCHEMA_LOAD_STRATEGY
Load strategy which uses nested list comprehensions to get related nodes based on the schema generated from
entity classes
NOTE: Does not support queries with unlimited depth
|
Modifier and Type | Method and Description |
---|---|
static LoadStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LoadStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LoadStrategy PATH_LOAD_STRATEGY
MATCH p=(n)-[*0..n]-() RETURN p
public static final LoadStrategy SCHEMA_LOAD_STRATEGY
public static LoadStrategy[] values()
for (LoadStrategy c : LoadStrategy.values()) System.out.println(c);
public static LoadStrategy valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2015–2020 Neo Technology, Inc.. All rights reserved.