@Override public void writeTo(StreamOutput out) throws IOException { out.writeVLong(fullClusterStateReceivedCount); out.writeVLong(incompatibleClusterStateDiffReceivedCount); out.writeVLong(compatibleClusterStateDiffReceivedCount); }
@Override public void writeTo(StreamOutput out) throws IOException { out.writeVLong(serverOpen); out.writeVLong(rxCount); out.writeVLong(rxSize); out.writeVLong(txCount); out.writeVLong(txSize); }
@Override public void writeTo(StreamOutput out) throws IOException { out.writeVLong(existsCount); out.writeVLong(existsTimeInMillis); out.writeVLong(missingCount); out.writeVLong(missingTimeInMillis); out.writeVLong(current); } }
@Override public void writeTo(StreamOutput out) throws IOException { out.writeString(phase); out.writeVLong(totalOperations); out.writeVLong(resyncedOperations); out.writeVLong(skippedOperations); }
@Override public void writeTo(StreamOutput out) throws IOException { out.writeVLong(total); out.writeVLong(totalTimeInMillis); out.writeVInt(listeners); }
@Override public void writeTo(StreamOutput out) throws IOException { super.writeTo(out); out.writeVLong(checkIndexTime); }
@Override protected void doWriteTo(StreamOutput out) throws IOException { out.writeVLong(docCount); aggregations.writeTo(out); }
public void writeVLongArray(long[] values) throws IOException { writeVInt(values.length); for (long value : values) { writeVLong(value); } }
@Override public void writeTo(StreamOutput out) throws IOException { out.writeString(this.nodeId); out.writeString(this.nodeName); out.writeString(this.path); out.writeVLong(this.totalBytes); out.writeVLong(this.freeBytes); }
@Override protected void doWriteTo(StreamOutput out) throws IOException { out.writeNamedWriteable(format); out.writeDouble(sum); out.writeVLong(count); }
@Override public void writeTo(StreamOutput out) throws IOException { out.writeLong(geohashAsLong); out.writeVLong(docCount); aggregations.writeTo(out); }
@Override public void writeTo(StreamOutput out) throws IOException { out.writeString(targetAllocationID); out.writeVLong(primaryTerm); request.writeTo(out); }
public static void writeSingleTermStats(StreamOutput out, TermStatistics termStatistic) throws IOException { assert termStatistic.docFreq() >= 0; out.writeVLong(termStatistic.docFreq()); out.writeVLong(addOne(termStatistic.totalTermFreq())); }
@Override public void writeTo(StreamOutput out) throws IOException { out.writeVLong(timestamp); out.writeVLong(uptime); mem.writeTo(out); threads.writeTo(out); gc.writeTo(out); out.writeList(bufferPools); classes.writeTo(out); }
@Override protected final void doWriteTo(StreamOutput out) throws IOException { order.writeTo(out); writeSize(requiredSize, out); out.writeVLong(minDocCount); writeTermTypeInfoTo(out); }
@Override public void writeTo(StreamOutput out) throws IOException { out.writeVInt(stats.size()); for (ObjectLongCursor<String> entry : stats) { out.writeString(entry.key); out.writeVLong(entry.value); } }
@Override protected void doWriteTo(StreamOutput out) throws IOException { InternalOrder.Streams.writeHistogramOrder(order, out, false); out.writeVLong(minDocCount); if (minDocCount == 0) { emptyBucketInfo.writeTo(out); } out.writeLong(offset); out.writeNamedWriteable(format); out.writeBoolean(keyed); out.writeList(buckets); }
@Override protected void doWriteTo(StreamOutput out) throws IOException { out.writeVLong(count); if (centroid != null) { out.writeBoolean(true); // should we just write lat and lon separately? out.writeLong(encodeLatLon(centroid.lat(), centroid.lon())); } else { out.writeBoolean(false); } }
public static void write(TDigestState state, StreamOutput out) throws IOException { out.writeDouble(state.compression); out.writeVInt(state.centroidCount()); for (Centroid centroid : state.centroids()) { out.writeDouble(centroid.mean()); out.writeVLong(centroid.count()); } }
@Override public void writeTo(StreamOutput out) throws IOException { super.writeTo(out); shardId.writeTo(out); out.writeString(allocationId); out.writeVLong(primaryTerm); out.writeString(message); out.writeException(failure); if (out.getVersion().onOrAfter(Version.V_6_3_0)) { out.writeBoolean(markAsStale); } }