Class EngineResponse

    • Constructor Detail

      • EngineResponse

        public EngineResponse()
    • Method Detail

      • getIndexSettingOverride

        public Object getIndexSettingOverride​(String key)
        Get the value of the index override setting
        Parameters:
        key - The name of the index setting
        Returns:
        The index setting override value
      • getIndexSettingOverrideNames

        public Set<String> getIndexSettingOverrideNames()
        Get a set of all the index setting override keys
        Returns:
        A set of the index setting keys
      • isError

        public boolean isError()
        Description copied from interface: ErrorableResponse
        Gets whether this response contains any errors from the requested operation
        Specified by:
        isError in interface ErrorableResponse
        Returns:
        true if 1 or more errors occurred, otherwise false
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • getName

        public String getName()
        The engine name
        Returns:
        the engine name
      • getType

        public String getType()
        The engine type
        Returns:
        the engine type
      • getLanguage

        public String getLanguage()
        The engine language
        Returns:
        the languages
      • getDocumentCount

        public Long getDocumentCount()
        The count of documents in this engine
        Returns:
        the count of documents in the engine
      • getErrors

        public List<String> getErrors()
        The errors
        Returns:
        the errors
      • setName

        public EngineResponse setName​(String name)
        The engine name
        Parameters:
        name - the engine name
        Returns:
        this.
      • setType

        public EngineResponse setType​(String type)
        The engine type
        Parameters:
        type - the engine type
        Returns:
        this.
      • setLanguage

        public EngineResponse setLanguage​(String language)
        The engine language
        Parameters:
        language - the engine language
        Returns:
        this.
      • setDocumentCount

        public EngineResponse setDocumentCount​(Long documentCount)
        The count of documents in this engine
        Parameters:
        documentCount - the count of documents in the engine
        Returns:
        this.
      • setErrors

        public EngineResponse setErrors​(List<String> errors)
        The errors
        Parameters:
        errors - the errors
        Returns:
        this.