java.lang.Object
org.neo4j.cypherdsl.core.NodeLabel
- All Implemented Interfaces:
Visitable
Expression for a single Node label.
- Since:
- 1.0
- Author:
- Michael J. Simons
-
Method Summary
Modifier and TypeMethodDescriptiongetValue()Returns the actual value of this label. Needs to be escaped before rendering.toString()Mostvisitableswill render themselves into a Cypher fragment preceded with the actual classname.
-
Method Details
-
getValue
Returns the actual value of this label. Needs to be escaped before rendering.- Returns:
- the actual value of this label. Needs to be escaped before rendering
-
toString
Description copied from interface:VisitableMostvisitableswill render themselves into a Cypher fragment preceded with the actual classname. The representation however is not cached - in contrast to the ones for full statements. UsingtoStringis recommended for debugging purposes mainly, and not for production use.The concrete classname has been prepended to help debugging and actually to discourage using fragments to build queries without explicitly rendering them, either as statement or going through the renderer on purpose.
-