public class ShortcutTraversal extends Object
VarTraversals can be represented using shortcut edges.
ShortcutTraversal represents this pattern in order to improve query performance
A VarTraversals can be represented by a shortcut edge when:
| Constructor and Description |
|---|
ShortcutTraversal() |
| Modifier and Type | Method and Description |
|---|---|
void |
addRel(String roleplayer) |
void |
addRel(String roletype,
String roleplayer) |
void |
setInvalid()
Make this ShortcutTraversal invalid, so it will not be used in the traversal
|
void |
setType(String type) |
public void setInvalid()
public void setType(String type)
type - the type of the variable this ShortcutTraversal representspublic void addRel(String roleplayer)
roleplayer - a roleplayer of the relation that this ShortcutTraversal representsCopyright © 2016. All rights reserved.