Package com.fauna.query.builder
Class QueryLiteral
- java.lang.Object
-
- com.fauna.query.builder.QueryFragment
-
- com.fauna.query.builder.QueryLiteral
-
public class QueryLiteral extends QueryFragment
Represents a literal fragment of a Fauna query. This class encapsulates a fixed string that does not contain any variables.
-
-
Constructor Summary
Constructors Constructor Description QueryLiteral(java.lang.String value)
Constructs a newLiteralFragment
with the given literal value.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.lang.String
get()
Retrieves the string value of this fragment.java.lang.String
getValue()
int
hashCode()
-
-
-
Method Detail
-
get
public java.lang.String get()
Retrieves the string value of this fragment.- Specified by:
get
in classQueryFragment
- Returns:
- the string value.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
getValue
public java.lang.String getValue()
-
-