Class SearchContextId
java.lang.Object
org.elasticsearch.search.internal.SearchContextId
- All Implemented Interfaces:
Writeable
public final class SearchContextId extends java.lang.Object implements Writeable
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V>
-
Constructor Summary
Constructors Constructor Description SearchContextId(java.lang.String readerId, long id)
SearchContextId(StreamInput in)
-
Method Summary
Modifier and Type Method Description boolean
equals(java.lang.Object o)
long
getId()
java.lang.String
getReaderId()
int
hashCode()
java.lang.String
toString()
void
writeTo(StreamOutput out)
Write this into the StreamOutput.
-
Constructor Details
-
SearchContextId
public SearchContextId(java.lang.String readerId, long id) -
SearchContextId
- Throws:
java.io.IOException
-
-
Method Details
-
writeTo
Description copied from interface:Writeable
Write this into the StreamOutput. -
getReaderId
public java.lang.String getReaderId() -
getId
public long getId() -
equals
public boolean equals(java.lang.Object o)- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-