Class MultiGetRequest.Item

    • Constructor Detail

      • Item

        public Item()
      • Item

        public Item​(java.lang.String index,
                    java.lang.String type,
                    java.lang.String id)
        Constructs a single get item.
        index - The index name
        type - The type (can be null)
        id - The id
    • Method Detail

      • index

        public java.lang.String index()
      • indices

        public java.lang.String[] indices()
        Description copied from interface: IndicesRequest
        Returns the array of indices that the action relates to
        Specified by:
        indices in interface IndicesRequest
      • indicesOptions

        public IndicesOptions indicesOptions()
        Description copied from interface: IndicesRequest
        Returns the indices options used to resolve indices. They tell for instance whether a single index is accepted, whether an empty array will be converted to _all, and how wildcards will be expanded if needed.
        Specified by:
        indicesOptions in interface IndicesRequest
      • type

        public java.lang.String type()
      • id

        public java.lang.String id()
      • routing

        public MultiGetRequest.Item routing​(java.lang.String routing)
        The routing associated with this document.
      • routing

        public java.lang.String routing()
      • parent

        public java.lang.String parent()
        The parent for this request.
      • storedFields

        public java.lang.String[] storedFields()
      • version

        public long version()
      • equals

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

        public int hashCode()
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        toString in class java.lang.Object