public class OBSPositionReader extends ObjectPositionReader
ObjectPositionReader that reads from OBS object store.| Modifier and Type | Field and Description |
|---|---|
protected com.obs.services.ObsClient |
mClient
Client for operations with OBS.
|
mBucketName, mFileLength, mPath| Constructor and Description |
|---|
OBSPositionReader(com.obs.services.ObsClient 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 com.obs.services.ObsClient mClient
public OBSPositionReader(com.obs.services.ObsClient client,
java.lang.String bucketName,
java.lang.String path,
long fileLength)
client - the OBS clientbucketName - the bucket namepath - the file pathfileLength - the file lengthprotected java.io.InputStream openObjectInputStream(long position,
int bytesToRead)
throws java.io.IOException
openObjectInputStream in class ObjectPositionReaderjava.io.IOExceptionCopyright © 2023. All Rights Reserved.