public static class SQLBulkResponse.Result
extends java.lang.Object
implements org.elasticsearch.common.io.stream.Streamable
Constructor and Description |
---|
Result() |
Result(java.lang.String errorMessage,
long rowCount) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
errorMessage() |
void |
readFrom(org.elasticsearch.common.io.stream.StreamInput in) |
long |
rowCount() |
void |
toXContent(org.elasticsearch.common.xcontent.XContentBuilder builder) |
void |
writeTo(org.elasticsearch.common.io.stream.StreamOutput out) |
public Result()
public Result(@Nullable java.lang.String errorMessage, long rowCount)
@Nullable public java.lang.String errorMessage()
public long rowCount()
public void readFrom(org.elasticsearch.common.io.stream.StreamInput in) throws java.io.IOException
readFrom
in interface org.elasticsearch.common.io.stream.Streamable
java.io.IOException
public void writeTo(org.elasticsearch.common.io.stream.StreamOutput out) throws java.io.IOException
writeTo
in interface org.elasticsearch.common.io.stream.Streamable
java.io.IOException
public void toXContent(org.elasticsearch.common.xcontent.XContentBuilder builder) throws java.io.IOException
java.io.IOException