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 |
cols, colTypes, duration, EMPTY_TYPES, includeTypes, requestStartedTime
Constructor and Description |
---|
SQLBulkResponse() |
SQLBulkResponse(java.lang.String[] outputNames,
SQLBulkResponse.Result[] results,
long requestCreationTime,
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, toXContentNestedDataType, writeSharedAttributes
putHeader, remoteAddress, remoteAddress
public static final SQLBulkResponse.Result[] EMPTY_RESULTS
public SQLBulkResponse()
public SQLBulkResponse(java.lang.String[] outputNames, SQLBulkResponse.Result[] results, long requestCreationTime, 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