@Override public void writeTo(StreamOutput out) throws IOException { out.writeOptionalStreamable(docs); out.writeOptionalStreamable(store); out.writeOptionalStreamable(indexing); out.writeOptionalStreamable(get); out.writeOptionalWriteable(search); out.writeOptionalStreamable(merge); out.writeOptionalStreamable(refresh); out.writeOptionalStreamable(flush); out.writeOptionalStreamable(warmer); out.writeOptionalStreamable(queryCache); out.writeOptionalStreamable(fieldData); out.writeOptionalStreamable(completion); out.writeOptionalStreamable(segments); out.writeOptionalStreamable(translog); out.writeOptionalStreamable(requestCache); out.writeOptionalStreamable(recoveryStats); }
@Override public void writeTo(StreamOutput out) throws IOException { super.writeTo(out); out.writeOptionalStreamable(restoreInfo); }
@Override public void writeTo(StreamOutput out) throws IOException { super.writeTo(out); out.writeOptionalStreamable(internalShardId); out.writeOptionalString(index); }
@Override public void writeTo(StreamOutput out) throws IOException { out.writeVInt(id); DocWriteRequest.writeDocumentRequest(out, request); out.writeOptionalStreamable(primaryResponse); } }
@Override public void writeTo(StreamOutput out) throws IOException { hits.writeTo(out); out.writeOptionalStreamable((InternalAggregations)aggregations); out.writeOptionalStreamable(suggest); out.writeBoolean(timedOut); out.writeOptionalBoolean(terminatedEarly); out.writeOptionalWriteable(profileResults); out.writeVInt(numReducePhases); } }
@Override public void writeTo(StreamOutput out) throws IOException { super.writeTo(out); if (tokens != null) { out.writeVInt(tokens.size()); for (AnalyzeToken token : tokens) { token.writeTo(out); } } else { out.writeVInt(0); } out.writeOptionalStreamable(detail); }
@Override public void writeTo(StreamOutput out) throws IOException { super.writeTo(out); out.writeString(index); out.writeOptionalStreamable(shardId); out.writeTimeValue(timeout); out.writeOptionalString(concreteIndex); }
@Override public void writeTo(StreamOutput out) throws IOException { shardRouting.writeTo(out); commonStats.writeTo(out); out.writeOptionalStreamable(commitStats); out.writeString(statePath); out.writeString(dataPath); out.writeBoolean(isCustomDataPath); if (out.getVersion().onOrAfter(Version.V_6_0_0_alpha1)) { out.writeOptionalWriteable(seqNoStats); } }
@Override public void writeTo(StreamOutput out) throws IOException { super.writeTo(out); out.writeOptionalStreamable(restoreInfo); }
@Override public void writeTo(StreamOutput out) throws IOException { super.writeTo(out); out.writeOptionalStreamable(restoreInfo); }
@Override public void writeTo(StreamOutput out) throws IOException { super.writeTo(out); out.writeOptionalStreamable(script); }
@Override public void writeTo(StreamOutput out) throws IOException { super.writeTo(out); out.writeOptionalStreamable(script); }
@Override public void writeTo(StreamOutput out) throws IOException { out.writeOptionalText(field); out.writeInt(offset); out.writeOptionalStreamable(child); }
@Override public void writeTo(StreamOutput out) throws IOException { super.writeTo(out); clusterName.writeTo(out); out.writeOptionalStreamable(node); }
@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 writeTo(StreamOutput out) throws IOException { super.writeTo(out); out.writeOptionalStreamable(internalShardId); out.writeOptionalString(index); }
@Override public void writeTo(StreamOutput out) throws IOException { out.writeVInt(id); DocWriteRequest.writeDocumentRequest(out, request); out.writeOptionalStreamable(primaryResponse); out.writeBoolean(ignoreOnReplica); } }
@Override public void writeTo(StreamOutput out) throws IOException { super.writeTo(out); out.writeString(index); out.writeOptionalStreamable(shardId); out.writeTimeValue(timeout); out.writeOptionalString(concreteIndex); }
@Override public void writeTo(StreamOutput out) throws IOException { shardRouting.writeTo(out); commonStats.writeTo(out); out.writeOptionalStreamable(commitStats); out.writeString(statePath); out.writeString(dataPath); out.writeBoolean(isCustomDataPath); if (out.getVersion().onOrAfter(Version.V_6_0_0_alpha1)) { out.writeOptionalWriteable(seqNoStats); } }