Overview | Package | Class | Use | Tree | Deprecated | Index | Help

Neo4j Community
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.neo4j.graphdb
Interface RelationshipExpander

All Known Subinterfaces:
  Expander

All Known Implementing Classes:
  OrderedByTypeExpander, StandardExpander

Deprecated. in favor or `PathExpander`. A `RelationshipExpander` can still be wrapped via `StandardExpander.toPathExpander(RelationshipExpander)` to act like a `PathExpander`.

    public interface RelationshipExpander

An expander of relationships. It's a flexible way of getting relationships from a node.

Method Summary
`Iterable<Relationship>` | `expand(Node node)` Deprecated. Returns relationships for a `Node`.
`RelationshipExpander` | `reversed()` Deprecated. Returns a new instance with the exact expansion logic, but reversed.

Method Detail

### expand

    Iterable<Relationship> expand(Node node)

  Deprecated.
  Returns relationships for a `Node`.

  Parameters:
    `node` - the node to expand.
  Returns:
    the relationships to return for the `node`.

### reversed

    RelationshipExpander reversed()

  Deprecated.
  Returns a new instance with the exact expansion logic, but reversed. For example if this expander is set to expand:
  - KNOWS : OUTGOING
  - LIVES : INCOMING
  Then the reversed expander will be set to expand:
  - KNOWS : INCOMING
  - LIVES : OUTGOING

  Returns:
    a reversed `RelationshipExpander`.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help

Neo4j Community
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2002-2013 The Neo4j Graph Database Project. All Rights Reserved.