public interface UniquenessFactory
UniquenessFilter
filters, it can supply the
created UniquenessFilter
with an optional parameter which is
up to the filter itself to validate and make sense of.Modifier and Type | Method and Description |
---|---|
UniquenessFilter |
create(Object optionalParameter)
Creates a new
UniquenessFilter optionally with a parameter
to it, otherwise null if no parameter should be handed to it. |
boolean |
eagerStartBranches()
Specifies if the
UniquenessFilter must handle start branches eagerly. |
UniquenessFilter create(Object optionalParameter)
UniquenessFilter
optionally with a parameter
to it, otherwise null if no parameter should be handed to it.optionalParameter
- an optional parameter to control the behavior
of the returned UniquenessFilter
. It's up to each filter implementation
to decide what values are OK and what they mean and the caller of this
method need to know that and pass in the correct parameter type.UniquenessFilter
of the type that this factory creates.boolean eagerStartBranches()
UniquenessFilter
must handle start branches eagerly. Depending on the
level of uniqueness it is not always necessary to eagerly exhaust start
branches which can speed up the execution of the traversal.Copyright © 2002–2016 The Neo4j Graph Database Project. All rights reserved.