Class TermsLookup

java.lang.Object
org.elasticsearch.indices.TermsLookup
All Implemented Interfaces:
Writeable, ToXContent, ToXContentFragment

public class TermsLookup
extends java.lang.Object
implements Writeable, ToXContentFragment
Encapsulates the parameters needed to fetch terms.
  • Constructor Details

  • Method Details

    • writeTo

      public void writeTo​(StreamOutput out) throws java.io.IOException
      Description copied from interface: Writeable
      Write this into the StreamOutput.
      Specified by:
      writeTo in interface Writeable
      Throws:
      java.io.IOException
    • index

      public java.lang.String index()
    • type

      @Deprecated public java.lang.String type()
      Deprecated.
      Types are in the process of being removed.
    • id

      public java.lang.String id()
    • path

      public java.lang.String path()
    • routing

      public java.lang.String routing()
    • routing

      public TermsLookup routing​(java.lang.String routing)
    • parseTermsLookup

      public static TermsLookup parseTermsLookup​(XContentParser parser) throws java.io.IOException
      Throws:
      java.io.IOException
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object
    • toXContent

      public XContentBuilder toXContent​(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
      Specified by:
      toXContent in interface ToXContent
      Throws:
      java.io.IOException
    • hashCode

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

      public boolean equals​(java.lang.Object obj)
      Overrides:
      equals in class java.lang.Object