Package com.fauna.query.builder
Class QueryArr<E extends QueryFragment>
- java.lang.Object
-
- com.fauna.query.builder.QueryFragment<java.util.List<E>>
-
- com.fauna.query.builder.QueryArr<E>
-
public class QueryArr<E extends QueryFragment> extends QueryFragment<java.util.List<E>>
Represents a value fragment of a Fauna query. This class encapsulates a value that can be a variable in the query.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.util.List<E>
get()
Retrieves the encapsulated value of this fragment.java.lang.Object
getValue()
int
hashCode()
static <E extends QueryFragment>
QueryArrof(java.util.List<E> val)
-
-
-
Constructor Detail
-
QueryArr
public QueryArr(java.util.List<E> value)
Constructs a ValueFragment with the specified value.- Parameters:
value
- the value to encapsulate.
-
-
Method Detail
-
of
public static <E extends QueryFragment> QueryArr of(java.util.List<E> val)
-
get
public java.util.List<E> get()
Retrieves the encapsulated value of this fragment.- Specified by:
get
in classQueryFragment<java.util.List<E extends QueryFragment>>
- Returns:
- the encapsulated object.
-
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.Object getValue()
-
-