Class QueryResponse

    • Method Detail

      • handleResponse

        public static <T> QuerySuccess<T> handleResponse​(java.net.http.HttpResponse<java.lang.String> response,
                                                         Codec<T> codec)
                                                  throws FaunaException
        Handle a HTTPResponse and return a QuerySuccess, or throw a FaunaException.
        Parameters:
        response - The HTTPResponse object.
        Returns:
        A successful response from Fauna.
        Throws:
        FaunaException
      • getLastSeenTxn

        public java.lang.Long getLastSeenTxn()
      • getSchemaVersion

        public java.lang.Long getSchemaVersion()
      • getSummary

        public java.lang.String getSummary()
      • getQueryTags

        public java.util.Map<java.lang.String,​java.lang.String> getQueryTags()