if (hasScan()) { hash = (37 * hash) + SCAN_FIELD_NUMBER; hash = (53 * hash) + getScan().hashCode();
if (hasScan()) { hash = (37 * hash) + SCAN_FIELD_NUMBER; hash = (53 * hash) + getScan().hashCode();
if (hasScan()) { hash = (37 * hash) + SCAN_FIELD_NUMBER; hash = (53 * hash) + getScan().hashCode();
public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.ExportProtos.ExportRequest other) { if (other == org.apache.hadoop.hbase.protobuf.generated.ExportProtos.ExportRequest.getDefaultInstance()) return this; if (other.hasScan()) { mergeScan(other.getScan()); } if (other.hasOutputPath()) { bitField0_ |= 0x00000002; outputPath_ = other.outputPath_; onChanged(); } if (other.hasCompressed()) { setCompressed(other.getCompressed()); } if (other.hasCompressType()) { bitField0_ |= 0x00000008; compressType_ = other.compressType_; onChanged(); } if (other.hasCompressCodec()) { bitField0_ |= 0x00000010; compressCodec_ = other.compressCodec_; onChanged(); } if (other.hasFsToken()) { mergeFsToken(other.getFsToken()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.ExportProtos.ExportRequest other) { if (other == org.apache.hadoop.hbase.protobuf.generated.ExportProtos.ExportRequest.getDefaultInstance()) return this; if (other.hasScan()) { mergeScan(other.getScan()); } if (other.hasOutputPath()) { bitField0_ |= 0x00000002; outputPath_ = other.outputPath_; onChanged(); } if (other.hasCompressed()) { setCompressed(other.getCompressed()); } if (other.hasCompressType()) { bitField0_ |= 0x00000008; compressType_ = other.compressType_; onChanged(); } if (other.hasCompressCodec()) { bitField0_ |= 0x00000010; compressCodec_ = other.compressCodec_; onChanged(); } if (other.hasFsToken()) { mergeFsToken(other.getFsToken()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; if (!hasScan()) { memoizedIsInitialized = 0; return false; } if (!hasOutputPath()) { memoizedIsInitialized = 0; return false; } if (!getScan().isInitialized()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; }
private Scan validateKey(final RegionInfo region, final ExportProtos.ExportRequest request) throws IOException { Scan scan = ProtobufUtil.toScan(request.getScan()); byte[] regionStartKey = region.getStartKey(); byte[] originStartKey = scan.getStartRow(); if (originStartKey == null || Bytes.compareTo(originStartKey, regionStartKey) < 0) { scan.setStartRow(regionStartKey); } byte[] regionEndKey = region.getEndKey(); byte[] originEndKey = scan.getStopRow(); if (originEndKey == null || Bytes.compareTo(originEndKey, regionEndKey) > 0) { scan.setStartRow(regionEndKey); } return scan; }
private Scan validateKey(final RegionInfo region, final ExportProtos.ExportRequest request) throws IOException { Scan scan = ProtobufUtil.toScan(request.getScan()); byte[] regionStartKey = region.getStartKey(); byte[] originStartKey = scan.getStartRow(); if (originStartKey == null || Bytes.compareTo(originStartKey, regionStartKey) < 0) { scan.setStartRow(regionStartKey); } byte[] regionEndKey = region.getEndKey(); byte[] originEndKey = scan.getStopRow(); if (originEndKey == null || Bytes.compareTo(originEndKey, regionEndKey) > 0) { scan.setStartRow(regionEndKey); } return scan; }
public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; if (!hasScan()) { memoizedIsInitialized = 0; return false; } if (!hasOutputPath()) { memoizedIsInitialized = 0; return false; } if (!getScan().isInitialized()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; }
public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.ExportProtos.ExportRequest other) { if (other == org.apache.hadoop.hbase.protobuf.generated.ExportProtos.ExportRequest.getDefaultInstance()) return this; if (other.hasScan()) { mergeScan(other.getScan()); } if (other.hasOutputPath()) { bitField0_ |= 0x00000002; outputPath_ = other.outputPath_; onChanged(); } if (other.hasCompressed()) { setCompressed(other.getCompressed()); } if (other.hasCompressType()) { bitField0_ |= 0x00000008; compressType_ = other.compressType_; onChanged(); } if (other.hasCompressCodec()) { bitField0_ |= 0x00000010; compressCodec_ = other.compressCodec_; onChanged(); } if (other.hasFsToken()) { mergeFsToken(other.getFsToken()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; if (!hasScan()) { memoizedIsInitialized = 0; return false; } if (!hasOutputPath()) { memoizedIsInitialized = 0; return false; } if (!getScan().isInitialized()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; }
private Scan validateKey(final RegionInfo region, final ExportProtos.ExportRequest request) throws IOException { Scan scan = ProtobufUtil.toScan(request.getScan()); byte[] regionStartKey = region.getStartKey(); byte[] originStartKey = scan.getStartRow(); if (originStartKey == null || Bytes.compareTo(originStartKey, regionStartKey) < 0) { scan.setStartRow(regionStartKey); } byte[] regionEndKey = region.getEndKey(); byte[] originEndKey = scan.getStopRow(); if (originEndKey == null || Bytes.compareTo(originEndKey, regionEndKey) > 0) { scan.setStartRow(regionEndKey); } return scan; }