@Override public void writeTo(StreamOutput out) throws IOException { out.writeOptionalBytesReference(status); }
@Override public void writeTo(StreamOutput out) throws IOException { out.writeBoolean(completed); task.writeTo(out); out.writeOptionalBytesReference(error); out.writeOptionalBytesReference(response); }
@Override public void doWriteTo(StreamOutput out) throws IOException { out.writeOptionalWriteable(fuzzyOptions); out.writeOptionalWriteable(regexOptions); out.writeOptionalBytesReference(contextBytes); if (out.getVersion().onOrAfter(Version.V_6_1_0)) { out.writeBoolean(skipDuplicates); } }
@Override public void writeTo(StreamOutput out) throws IOException { out.writeOptionalBytesReference(status); }
@Override public void writeTo(StreamOutput out) throws IOException { out.writeOptionalBytesReference(status); }
@Override public void writeTo(StreamOutput out) throws IOException { out.writeOptionalBytesReference(status); }
@Override public void writeTo(StreamOutput out) throws IOException { out.writeBoolean(completed); task.writeTo(out); out.writeOptionalBytesReference(error); out.writeOptionalBytesReference(response); }
@Override public void writeTo(StreamOutput out) throws IOException { out.writeBoolean(completed); task.writeTo(out); out.writeOptionalBytesReference(error); out.writeOptionalBytesReference(response); }
@Override public void writeTo(StreamOutput out) throws IOException { out.writeBoolean(completed); task.writeTo(out); out.writeOptionalBytesReference(error); out.writeOptionalBytesReference(response); }
@Override public void writeTo(StreamOutput out) throws IOException { super.writeTo(out); out.writeOptionalBytesReference(source); out.writeOptionalStreamable(response); }
@Override public void writeTo(StreamOutput out) throws IOException { super.writeTo(out); out.writeOptionalBytesReference(source); out.writeOptionalStreamable(response); }
@Override public void doWriteTo(StreamOutput out) throws IOException { out.writeOptionalWriteable(fuzzyOptions); out.writeOptionalWriteable(regexOptions); out.writeOptionalBytesReference(contextBytes); }
@Override public void writeTo(StreamOutput out) throws IOException { out.writeOptionalString(index); out.writeOptionalBytesReference(document); out.writeOptionalString(xContentType != null ? xContentType.mediaTypeWithoutParameters(): null); out.writeOptionalNamedWriteable(query); }
@Override public void doWriteTo(StreamOutput out) throws IOException { out.writeOptionalWriteable(fuzzyOptions); out.writeOptionalWriteable(regexOptions); out.writeOptionalBytesReference(contextBytes); if (out.getVersion().onOrAfter(Version.V_6_1_0)) { out.writeBoolean(skipDuplicates); } }
@Override public void doWriteTo(StreamOutput out) throws IOException { out.writeOptionalWriteable(fuzzyOptions); out.writeOptionalWriteable(regexOptions); out.writeOptionalBytesReference(contextBytes); if (out.getVersion().onOrAfter(Version.V_6_1_0)) { out.writeBoolean(skipDuplicates); } }