.setConnectionId(connectionId).setStatementId(statementId) .setOffset(offset).setFetchMaxRowCount(fetchMaxRowCount) .build();
.setConnectionId(connectionId).setStatementId(statementId) .setOffset(offset).setFetchMaxRowCount(fetchMaxRowCount) .build();
.setConnectionId(connectionId).setStatementId(statementId) .setOffset(offset).setFetchMaxRowCount(fetchMaxRowCount) .build();
setConnectionId(connectionId).setStatementId(statementId). setOffset(offset).setFrameMaxSize(maxSize).build(); setConnectionId(connectionId).setStatementId(statementId). setOffset(offset).setFetchMaxRowCount(maxSize).build(); setConnectionId(connectionId).setStatementId(statementId). setOffset(offset).setFetchMaxRowCount(100).setFrameMaxSize(maxSize).build();
public Builder mergeFrom(org.apache.calcite.avatica.proto.Requests.FetchRequest other) { if (other == org.apache.calcite.avatica.proto.Requests.FetchRequest.getDefaultInstance()) return this; if (!other.getConnectionId().isEmpty()) { connectionId_ = other.connectionId_; onChanged(); } if (other.getStatementId() != 0) { setStatementId(other.getStatementId()); } if (other.getOffset() != 0L) { setOffset(other.getOffset()); } if (other.getFetchMaxRowCount() != 0) { setFetchMaxRowCount(other.getFetchMaxRowCount()); } if (other.getFrameMaxSize() != 0) { setFrameMaxSize(other.getFrameMaxSize()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
public Builder mergeFrom(org.apache.calcite.avatica.proto.Requests.FetchRequest other) { if (other == org.apache.calcite.avatica.proto.Requests.FetchRequest.getDefaultInstance()) return this; if (!other.getConnectionId().isEmpty()) { connectionId_ = other.connectionId_; onChanged(); } if (other.getStatementId() != 0) { setStatementId(other.getStatementId()); } if (other.getOffset() != 0L) { setOffset(other.getOffset()); } if (other.getFetchMaxRowCount() != 0) { setFetchMaxRowCount(other.getFetchMaxRowCount()); } if (other.getFrameMaxSize() != 0) { setFrameMaxSize(other.getFrameMaxSize()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
setConnectionId(connectionId).setStatementId(statementId). setOffset(offset).setFrameMaxSize(maxSize).build(); setConnectionId(connectionId).setStatementId(statementId). setOffset(offset).setFetchMaxRowCount(maxSize).build(); setConnectionId(connectionId).setStatementId(statementId). setOffset(offset).setFetchMaxRowCount(100).setFrameMaxSize(maxSize).build();
public Builder mergeFrom(org.apache.calcite.avatica.proto.Requests.FetchRequest other) { if (other == org.apache.calcite.avatica.proto.Requests.FetchRequest.getDefaultInstance()) return this; if (!other.getConnectionId().isEmpty()) { connectionId_ = other.connectionId_; onChanged(); } if (other.getStatementId() != 0) { setStatementId(other.getStatementId()); } if (other.getOffset() != 0L) { setOffset(other.getOffset()); } if (other.getFetchMaxRowCount() != 0) { setFetchMaxRowCount(other.getFetchMaxRowCount()); } onChanged(); return this; }
@Override Requests.FetchRequest serialize() { Requests.FetchRequest.Builder builder = Requests.FetchRequest.newBuilder(); if (null != connectionId) { builder.setConnectionId(connectionId); } builder.setStatementId(statementId); builder.setOffset(offset); // Both fields for backwards compat builder.setFetchMaxRowCount(fetchMaxRowCount).setFrameMaxSize(fetchMaxRowCount); return builder.build(); }
@Override Requests.FetchRequest serialize() { Requests.FetchRequest.Builder builder = Requests.FetchRequest.newBuilder(); if (null != connectionId) { builder.setConnectionId(connectionId); } builder.setStatementId(statementId); builder.setOffset(offset); // Both fields for backwards compat builder.setFetchMaxRowCount(fetchMaxRowCount).setFrameMaxSize(fetchMaxRowCount); return builder.build(); }
@Override Requests.FetchRequest serialize() { Requests.FetchRequest.Builder builder = Requests.FetchRequest.newBuilder(); if (null != connectionId) { builder.setConnectionId(connectionId); } builder.setStatementId(statementId); builder.setOffset(offset); builder.setFetchMaxRowCount(fetchMaxRowCount); return builder.build(); }