@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,
java.lang.String bucketName,
java.lang.String path,
long fileLength) |
| Modifier and Type | Method and Description |
|---|---|
protected java.io.InputStream |
openObjectInputStream(long position,
int bytesToRead) |
readInternalprotected final org.jets3t.service.impl.rest.httpclient.GoogleStorageService mClient
public GCSPositionReader(org.jets3t.service.impl.rest.httpclient.GoogleStorageService client,
java.lang.String bucketName,
java.lang.String path,
long fileLength)
client - the Aliyun OSS clientbucketName - the bucket namepath - the file pathfileLength - the file lengthprotected java.io.InputStream openObjectInputStream(long position,
int bytesToRead)
openObjectInputStream in class ObjectPositionReaderCopyright © 2023. All Rights Reserved.