public class SQLBulkResponse extends SQLBaseResponse
Modifier and Type | Class and Description |
---|---|
static class |
SQLBulkResponse.Result |
Modifier and Type | Field and Description |
---|---|
static SQLBulkResponse.Result[] |
EMPTY_RESULTS |
EMPTY_TYPES
Constructor and Description |
---|
SQLBulkResponse() |
SQLBulkResponse(java.lang.String[] outputNames,
SQLBulkResponse.Result[] results,
float duration,
DataType[] colTypes,
boolean includeTypes) |
Modifier and Type | Method and Description |
---|---|
void |
readFrom(org.elasticsearch.common.io.stream.StreamInput in) |
SQLBulkResponse.Result[] |
results() |
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) |
cols, cols, colTypes, columnTypes, duration, includeTypes, writeSharedAttributes
remoteAddress, remoteAddress
public static final SQLBulkResponse.Result[] EMPTY_RESULTS
public SQLBulkResponse()
public SQLBulkResponse(java.lang.String[] outputNames, SQLBulkResponse.Result[] results, float duration, DataType[] colTypes, boolean includeTypes)
public SQLBulkResponse.Result[] results()
public org.elasticsearch.common.xcontent.XContentBuilder toXContent(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params) throws java.io.IOException
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
writeTo
in class SQLBaseResponse
java.io.IOException
public void readFrom(org.elasticsearch.common.io.stream.StreamInput in) throws java.io.IOException
readFrom
in interface org.elasticsearch.common.io.stream.Streamable
readFrom
in class SQLBaseResponse
java.io.IOException