public class DynamicLabel extends Object implements Label
Label
. This class is
a convenience implementation of Label
that is
typically used when labels are created and named after a
condition that can only be detected at runtime.
For statically known labels please consider the enum approach as described
in Label
documentation.Label
public static Label label(String labelName)
labelName
- the name of the label.Label
instance for the given labelName
.public String name()
Label
equal
names.Copyright © 2002–2014 The Neo4j Graph Database Project. All rights reserved.