public class TermsLookup extends java.lang.Object implements Writeable, ToXContent
Writeable.Reader<V>, Writeable.Writer<V>
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
EMPTY_PARAMS
Constructor and Description |
---|
TermsLookup(StreamInput in)
Read from a stream.
|
TermsLookup(java.lang.String index,
java.lang.String type,
java.lang.String id,
java.lang.String path) |
TermsLookup(TermsLookup copy) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
java.lang.String |
id() |
java.lang.String |
index() |
TermsLookup |
index(java.lang.String index) |
static TermsLookup |
parseTermsLookup(XContentParser parser) |
java.lang.String |
path() |
java.lang.String |
routing() |
TermsLookup |
routing(java.lang.String routing) |
java.lang.String |
toString() |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
java.lang.String |
type() |
void |
writeTo(StreamOutput out)
Write this into the StreamOutput.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
isFragment
public TermsLookup(TermsLookup copy)
public TermsLookup(java.lang.String index, java.lang.String type, java.lang.String id, java.lang.String path)
public TermsLookup(StreamInput in) throws java.io.IOException
java.io.IOException
public void writeTo(StreamOutput out) throws java.io.IOException
Writeable
public java.lang.String index()
public TermsLookup index(java.lang.String index)
public java.lang.String type()
public java.lang.String id()
public java.lang.String path()
public java.lang.String routing()
public TermsLookup routing(java.lang.String routing)
public static TermsLookup parseTermsLookup(XContentParser parser) throws java.io.IOException
java.io.IOException
public java.lang.String toString()
toString
in class java.lang.Object
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
toXContent
in interface ToXContent
java.io.IOException
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object