@Test public void testRangeOption() { long startOffset = 1; long endOffset = 2; ByteRange range = ByteRanges.fromOffsetRange(startOffset, endOffset); GetBlobOptions options = new GetBlobOptionsBuilder().operationType(GetBlobOptions.OperationType.All) .range(ByteRanges.fromOffsetRange(startOffset, endOffset)) .build(); assertEquals("Range from options not as expected.", range, options.getRange()); }
public ByteRange getRange() { return range; }
GetBlobOptions { public ByteRange getRange() { return range; } }
GetBlobOptions { public ByteRange getRange() { return range; } GetBlobOptions(OperationType operationType, GetOption getOption, ByteRange range, boolean resolveRangeOnEmptyBlob,
      boolean rawMode, int blobSegmentIdx); }
GetBlobOptions { public ByteRange getRange() { return range; } GetBlobOptions(OperationType operationType, GetOption getOption, ByteRange range, boolean resolveRangeOnEmptyBlob,
      boolean rawMode, int blobSegmentIdx); boolean isRawMode(); OperationType getOperationType(); GetOption getGetOption(); ByteRange getRange(); boolean resolveRangeOnEmptyBlob(); int getBlobSegmentIdx(); boolean hasBlobSegmentIdx(); @Override String toString(); @Override boolean equals(Object o); @Override int hashCode(); }
GetBlobOptions { public ByteRange getRange() { return range; } GetBlobOptions(OperationType operationType, GetOption getOption, ByteRange range, boolean resolveRangeOnEmptyBlob,
      boolean rawMode, int blobSegmentIdx); boolean isRawMode(); OperationType getOperationType(); GetOption getGetOption(); ByteRange getRange(); boolean resolveRangeOnEmptyBlob(); int getBlobSegmentIdx(); boolean hasBlobSegmentIdx(); @Override String toString(); @Override boolean equals(Object o); @Override int hashCode(); static final int NO_BLOB_SEGMENT_IDX_SPECIFIED; }