org.neo4j.kernel
Class OrderedByTypeExpander
java.lang.Object
org.neo4j.kernel.StandardExpander
org.neo4j.kernel.OrderedByTypeExpander
- All Implemented Interfaces:
- Expander, RelationshipExpander
public final class OrderedByTypeExpander
- extends StandardExpander
OrderedByTypeExpander
public OrderedByTypeExpander()
add
public StandardExpander add(RelationshipType type,
Direction direction)
- Description copied from interface:
Expander
- Add a
RelationshipType with a Direction to the
Expander.
- Specified by:
add in interface Expander- Specified by:
add in class StandardExpander
- Parameters:
type - relationship typedirection - expanding direction
- Returns:
- new instance
remove
public StandardExpander remove(RelationshipType type)
- Description copied from interface:
Expander
- Remove a
RelationshipType from the Expander.
- Specified by:
remove in interface Expander- Specified by:
remove in class StandardExpander
- Parameters:
type - relationship type
- Returns:
- new instance
reversed
public StandardExpander reversed()
- Description copied from interface:
RelationshipExpander
- Returns a new instance with the exact same
RelationshipTypes, but
with all directions reversed (see Direction.reverse()).
- Specified by:
reversed in interface Expander- Specified by:
reversed in interface RelationshipExpander- Specified by:
reversed in class StandardExpander
- Returns:
- a
RelationshipExpander with the same types, but with
reversed directions.
Copyright © 2002-2012 The Neo4j Graph Database Project. All Rights Reserved.