public class GetRiverStateResponse extends org.elasticsearch.action.ActionResponse implements org.elasticsearch.common.xcontent.ToXContent
Constructor and Description |
---|
GetRiverStateResponse() |
GetRiverStateResponse(org.elasticsearch.common.collect.ImmutableList<RiverState> riverStates) |
Modifier and Type | Method and Description |
---|---|
boolean |
exists(String name,
String type) |
RiverState |
getRiverState() |
org.elasticsearch.common.collect.ImmutableList<RiverState> |
getRiverStates() |
void |
readFrom(org.elasticsearch.common.io.stream.StreamInput in) |
String |
toString() |
org.elasticsearch.common.xcontent.XContentBuilder |
toXContent(org.elasticsearch.common.xcontent.XContentBuilder builder,
org.elasticsearch.common.xcontent.ToXContent.Params params) |
void |
writeTo(org.elasticsearch.common.io.stream.StreamOutput out) |
public GetRiverStateResponse()
public GetRiverStateResponse(org.elasticsearch.common.collect.ImmutableList<RiverState> riverStates)
public RiverState getRiverState()
public org.elasticsearch.common.collect.ImmutableList<RiverState> getRiverStates()
public void readFrom(org.elasticsearch.common.io.stream.StreamInput in) throws IOException
readFrom
in interface org.elasticsearch.common.io.stream.Streamable
readFrom
in class org.elasticsearch.action.ActionResponse
IOException
public void writeTo(org.elasticsearch.common.io.stream.StreamOutput out) throws IOException
writeTo
in interface org.elasticsearch.common.io.stream.Streamable
writeTo
in class org.elasticsearch.action.ActionResponse
IOException
public org.elasticsearch.common.xcontent.XContentBuilder toXContent(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params) throws IOException
toXContent
in interface org.elasticsearch.common.xcontent.ToXContent
IOException
elasticsearch-river-jdbc