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.graphmatching
Class PatternGroup

    java.lang.Object
      org.neo4j.graphmatching.PatternGroup

    public class PatternGroup

extends Object

Represents a group in SPARQL. A group can carry filters, which can restrict the returned result set.

Constructor Summary
`PatternGroup()`

Method Summary
`void` | `addFilter(FilterExpression regexRepression)` Adds a filter expression to the list of filters for this group.
`FilterExpression[]` | `getFilters()` Returns the filter expressions which has been added for this group with `addFilter(FilterExpression)`.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### PatternGroup

    public PatternGroup()

Method Detail

### addFilter

    public void addFilter(FilterExpression regexRepression)

  Adds a filter expression to the list of filters for this group.

  Parameters:
    `regexRepression` - the `FilterExpression` to add to this group.

### getFilters

    public FilterExpression[] getFilters()

  Returns the filter expressions which has been added for this group with `addFilter(FilterExpression)`.

  Returns:
    the filters for this group.

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 © 2011 The Neo4j Graph Database Project. All Rights Reserved.