@ThreadSafe public class GCSPositionReader extends ObjectPositionReader
ObjectPositionReader
that reads from GCS object store.Modifier and Type | Field and Description |
---|---|
protected org.jets3t.service.impl.rest.httpclient.GoogleStorageService |
mClient
Client for operations with Aliyun OSS.
|
mBucketName, mFileLength, mPath
Constructor and Description |
---|
GCSPositionReader(org.jets3t.service.impl.rest.httpclient.GoogleStorageService client,
String bucketName,
String path,
long fileLength) |
Modifier and Type | Method and Description |
---|---|
protected InputStream |
openObjectInputStream(long position,
int bytesToRead) |
readInternal
protected final org.jets3t.service.impl.rest.httpclient.GoogleStorageService mClient
protected InputStream openObjectInputStream(long position, int bytesToRead)
openObjectInputStream
in class ObjectPositionReader
position
- position of the file to start reading databytesToRead
- bytes to readCopyright © 2023. All Rights Reserved.