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.StreamablereadFrom in class org.elasticsearch.action.ActionResponseIOExceptionpublic void writeTo(org.elasticsearch.common.io.stream.StreamOutput out) throws IOException
writeTo in interface org.elasticsearch.common.io.stream.StreamablewriteTo in class org.elasticsearch.action.ActionResponseIOExceptionpublic 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.ToXContentIOExceptionelasticsearch-river-jdbc