java.lang.Object
org.neo4j.cypherdsl.core.Asterisk
- All Implemented Interfaces:
Visitable,Expression,IdentifiableElement,Literal<String>
@API(status=STABLE,
since="1.0")
public final class Asterisk
extends Object
implements IdentifiableElement
The
*.- Since:
- 1.0
- Author:
- Michael J. Simons
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.neo4j.cypherdsl.core.Literal
Literal.UnsupportedLiteralException -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescription@NotNull ExpressionTransform this element into an expression@NotNull StringasString()The string representation should be designed in such a way the a renderer can use it correctly in the given context of the literal, i.e.final StringtoString()Mostvisitableswill render themselves into a Cypher fragment preceded with the actual classname.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.neo4j.cypherdsl.core.Expression
add, as, as, ascending, asCondition, concat, contains, descending, divide, endsWith, eq, gt, gte, hasSize, in, includesAll, includesAny, isEmpty, isEqualTo, isFalse, isNotEqualTo, isNotNull, isNull, isTrue, lt, lte, matches, matches, multiply, ne, pow, property, remainder, size, sorted, startsWith, subtract
-
Field Details
-
INSTANCE
The single instance of the*.
-
-
Method Details
-
asString
Description copied from interface:LiteralThe string representation should be designed in such a way the a renderer can use it correctly in the given context of the literal, i.e. a literal containing a string should quote that string and escape all reserved characters. -
asExpression
Description copied from interface:IdentifiableElementTransform this element into an expression- Specified by:
asExpressionin interfaceIdentifiableElement- Returns:
- this element as an expression. Will return the same instance if it is already an expression.
-
getContent
- Returns:
- The content of this literal, may be null
-
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.
-