Class GetAliasesResponse
java.lang.Object
org.elasticsearch.transport.TransportMessage
org.elasticsearch.transport.TransportResponse
org.elasticsearch.action.ActionResponse
org.elasticsearch.action.admin.indices.alias.get.GetAliasesResponse
- All Implemented Interfaces:
Writeable
public class GetAliasesResponse extends ActionResponse
-
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.transport.TransportResponse
TransportResponse.Empty
Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V>
-
Constructor Summary
Constructors Constructor Description GetAliasesResponse(ImmutableOpenMap<java.lang.String,java.util.List<AliasMetadata>> aliases)
GetAliasesResponse(StreamInput in)
-
Method Summary
Modifier and Type Method Description boolean
equals(java.lang.Object o)
ImmutableOpenMap<java.lang.String,java.util.List<AliasMetadata>>
getAliases()
int
hashCode()
void
writeTo(StreamOutput out)
Write this into the StreamOutput.Methods inherited from class org.elasticsearch.transport.TransportMessage
remoteAddress, remoteAddress
-
Constructor Details
-
GetAliasesResponse
public GetAliasesResponse(ImmutableOpenMap<java.lang.String,java.util.List<AliasMetadata>> aliases) -
GetAliasesResponse
- Throws:
java.io.IOException
-
-
Method Details
-
getAliases
-
writeTo
Description copied from interface:Writeable
Write this into the StreamOutput.- Throws:
java.io.IOException
-
equals
public boolean equals(java.lang.Object o)- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()- Overrides:
hashCode
in classjava.lang.Object
-