Java Code Examples for org.elasticsearch.common.io.stream.StreamOutput#writeZLong()
The following examples show how to use
org.elasticsearch.common.io.stream.StreamOutput#writeZLong() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: RecoveryFinalizeRecoveryRequest.java From crate with Apache License 2.0 | 5 votes |
@Override public void writeTo(StreamOutput out) throws IOException { super.writeTo(out); out.writeLong(recoveryId); shardId.writeTo(out); out.writeZLong(globalCheckpoint); }
Example 2
Source File: RecoveryTranslogOperationsRequest.java From crate with Apache License 2.0 | 5 votes |
@Override public void writeTo(StreamOutput out) throws IOException { super.writeTo(out); out.writeLong(recoveryId); shardId.writeTo(out); Translog.writeOperations(out, operations); out.writeVInt(totalTranslogOps); out.writeZLong(maxSeenAutoIdTimestampOnPrimary); out.writeZLong(maxSeqNoOfUpdatesOrDeletesOnPrimary); }
Example 3
Source File: ReplicationTracker.java From crate with Apache License 2.0 | 5 votes |
@Override public void writeTo(StreamOutput out) throws IOException { out.writeZLong(localCheckpoint); out.writeZLong(globalCheckpoint); out.writeBoolean(inSync); out.writeBoolean(tracked); }
Example 4
Source File: ResyncReplicationRequest.java From crate with Apache License 2.0 | 5 votes |
@Override public void writeTo(final StreamOutput out) throws IOException { super.writeTo(out); out.writeZLong(trimAboveSeqNo); out.writeZLong(maxSeenAutoIdTimestampOnPrimary); out.writeArray(Translog.Operation::writeOperation, operations); }
Example 5
Source File: NestedLoopPhase.java From crate with Apache License 2.0 | 5 votes |
@Override public void writeTo(StreamOutput out) throws IOException { super.writeTo(out); DataTypes.toStream(leftSideColumnTypes, out); out.writeZLong(estimatedRowsSizeLeft); out.writeZLong(estimatedNumberOfRowsLeft); out.writeBoolean(blockNestedLoop); }
Example 6
Source File: HashJoinPhase.java From crate with Apache License 2.0 | 5 votes |
@Override public void writeTo(StreamOutput out) throws IOException { super.writeTo(out); Symbols.toStream(leftJoinConditionInputs, out); Symbols.toStream(rightJoinConditionInputs, out); DataTypes.toStream(leftOutputTypes, out); out.writeZLong(estimatedRowSizeForLeft); out.writeZLong(numberOfRowsForLeft); }
Example 7
Source File: RecoveryTranslogOperationsResponse.java From crate with Apache License 2.0 | 4 votes |
@Override public void writeTo(final StreamOutput out) throws IOException { out.writeZLong(localCheckpoint); }
Example 8
Source File: SeqNoStats.java From crate with Apache License 2.0 | 4 votes |
@Override public void writeTo(StreamOutput out) throws IOException { out.writeZLong(maxSeqNo); out.writeZLong(localCheckpoint); out.writeZLong(globalCheckpoint); }
Example 9
Source File: TransportReplicationAction.java From crate with Apache License 2.0 | 4 votes |
@Override public void writeTo(StreamOutput out) throws IOException { out.writeZLong(localCheckpoint); out.writeZLong(globalCheckpoint); }
Example 10
Source File: TransportReplicationAction.java From crate with Apache License 2.0 | 4 votes |
@Override public void writeTo(StreamOutput out) throws IOException { super.writeTo(out); out.writeZLong(globalCheckpoint); out.writeZLong(maxSeqNoOfUpdatesOrDeletes); }