Class QueryObj<E extends QueryFragment>


  • public class QueryObj<E extends QueryFragment>
    extends QueryFragment<java.util.Map<java.lang.String,​E>>
    Represents an object fragment of a Fauna query. Object fragments allow for the evaluation of FQL statements stored on the object. This class encapsulates an object that can be a variable in the query.
    • Constructor Summary

      Constructors 
      Constructor Description
      QueryObj​(java.util.Map<java.lang.String,​E> value)
      Constructs a QueryObj with the specified value.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      java.util.Map<java.lang.String,​E> get()
      Retrieves the encapsulated value of this fragment.
      java.lang.Object getValue()  
      int hashCode()  
      static <E extends QueryFragment>
      QueryObj
      of​(java.util.Map<java.lang.String,​E> val)  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • QueryObj

        public QueryObj​(java.util.Map<java.lang.String,​E> value)
        Constructs a QueryObj with the specified value.
        Parameters:
        value - the value to encapsulate.
    • Method Detail

      • of

        public static <E extends QueryFragmentQueryObj of​(java.util.Map<java.lang.String,​E> val)
      • get

        public java.util.Map<java.lang.String,​E> get()
        Retrieves the encapsulated value of this fragment.
        Specified by:
        get in class QueryFragment<java.util.Map<java.lang.String,​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()