Java Code Examples for org.elasticsearch.common.io.stream.StreamInput#readZLong()
The following examples show how to use
org.elasticsearch.common.io.stream.StreamInput#readZLong() .
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: RecoveryTranslogOperationsRequest.java From crate with Apache License 2.0 | 5 votes |
public RecoveryTranslogOperationsRequest(StreamInput in) throws IOException { super(in); recoveryId = in.readLong(); shardId = new ShardId(in); operations = Translog.readOperations(in, "recovery"); totalTranslogOps = in.readVInt(); maxSeenAutoIdTimestampOnPrimary = in.readZLong(); maxSeqNoOfUpdatesOrDeletesOnPrimary = in.readZLong(); }
Example 2
Source File: NestedLoopPhase.java From crate with Apache License 2.0 | 5 votes |
public NestedLoopPhase(StreamInput in) throws IOException { super(in); this.leftSideColumnTypes = DataTypes.listFromStream(in); this.estimatedRowsSizeLeft = in.readZLong(); this.estimatedNumberOfRowsLeft = in.readZLong(); this.blockNestedLoop = in.readBoolean(); }
Example 3
Source File: HashJoinPhase.java From crate with Apache License 2.0 | 5 votes |
public HashJoinPhase(StreamInput in) throws IOException { super(in); leftJoinConditionInputs = Symbols.listFromStream(in); rightJoinConditionInputs = Symbols.listFromStream(in); leftOutputTypes = DataTypes.listFromStream(in); estimatedRowSizeForLeft = in.readZLong(); numberOfRowsForLeft = in.readZLong(); }
Example 4
Source File: RecoveryFinalizeRecoveryRequest.java From crate with Apache License 2.0 | 4 votes |
public RecoveryFinalizeRecoveryRequest(StreamInput in) throws IOException { super(in); recoveryId = in.readLong(); shardId = new ShardId(in); globalCheckpoint = in.readZLong(); }
Example 5
Source File: RecoveryTranslogOperationsResponse.java From crate with Apache License 2.0 | 4 votes |
public RecoveryTranslogOperationsResponse(final StreamInput in) throws IOException { localCheckpoint = in.readZLong(); }
Example 6
Source File: ReplicationTracker.java From crate with Apache License 2.0 | 4 votes |
public CheckpointState(StreamInput in) throws IOException { this.localCheckpoint = in.readZLong(); this.globalCheckpoint = in.readZLong(); this.inSync = in.readBoolean(); this.tracked = in.readBoolean(); }
Example 7
Source File: SeqNoStats.java From crate with Apache License 2.0 | 4 votes |
public SeqNoStats(StreamInput in) throws IOException { this(in.readZLong(), in.readZLong(), in.readZLong()); }
Example 8
Source File: ResyncReplicationRequest.java From crate with Apache License 2.0 | 4 votes |
public ResyncReplicationRequest(final StreamInput in) throws IOException { super(in); trimAboveSeqNo = in.readZLong(); maxSeenAutoIdTimestampOnPrimary = in.readZLong(); operations = in.readArray(Translog.Operation::readOperation, Translog.Operation[]::new); }
Example 9
Source File: TransportReplicationAction.java From crate with Apache License 2.0 | 4 votes |
public ReplicaResponse(StreamInput in) throws IOException { localCheckpoint = in.readZLong(); globalCheckpoint = in.readZLong(); }
Example 10
Source File: TransportReplicationAction.java From crate with Apache License 2.0 | 4 votes |
public ConcreteReplicaRequest(StreamInput in, Reader<R> reader) throws IOException { super(in, reader); globalCheckpoint = in.readZLong(); maxSeqNoOfUpdatesOrDeletes = in.readZLong(); }