Class QueryArr<E extends QueryFragment>


  • 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.
    • Constructor Summary

      Constructors 
      Constructor Description
      QueryArr​(java.util.List<E> value)
      Constructs a ValueFragment with the specified value.
    • 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

      • get

        public java.util.List<E> get()
        Retrieves the encapsulated value of this fragment.
        Specified by:
        get in class QueryFragment<java.util.List<E extends QueryFragment>>
        Returns:
        the encapsulated object.
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • getValue

        public java.lang.Object getValue()