| Package | Description |
|---|---|
| com.google.cloud.hadoop.gcsio | |
| com.google.cloud.hadoop.gcsio.testing |
| Modifier and Type | Field and Description |
|---|---|
static GoogleCloudStorageReadOptions |
GoogleCloudStorageReadOptions.DEFAULT |
static GoogleCloudStorageReadOptions |
GoogleCloudStorageOptions.READ_CHANNEL_OPTIONS_DEFAULT
Default setting for read write channel.
|
| Modifier and Type | Method and Description |
|---|---|
GoogleCloudStorageReadOptions |
GoogleCloudStorageReadOptions.Builder.build() |
abstract GoogleCloudStorageReadOptions |
GoogleCloudStorageOptions.getReadChannelOptions() |
| Modifier and Type | Method and Description |
|---|---|
java.nio.channels.SeekableByteChannel |
GoogleCloudStorageImpl.open(StorageResourceId resourceId,
GoogleCloudStorageReadOptions readOptions)
See
GoogleCloudStorage.open(StorageResourceId) for details about expected behavior. |
java.nio.channels.SeekableByteChannel |
ThrottledGoogleCloudStorage.open(StorageResourceId resourceId,
GoogleCloudStorageReadOptions readOptions) |
java.nio.channels.SeekableByteChannel |
ForwardingGoogleCloudStorage.open(StorageResourceId resourceId,
GoogleCloudStorageReadOptions readOptions) |
java.nio.channels.SeekableByteChannel |
GoogleCloudStorage.open(StorageResourceId resourceId,
GoogleCloudStorageReadOptions readOptions)
Opens an object for reading.
|
java.nio.channels.SeekableByteChannel |
GoogleCloudStorageFileSystem.open(java.net.URI path,
GoogleCloudStorageReadOptions readOptions)
Opens an object for reading.
|
abstract GoogleCloudStorageOptions.Builder |
GoogleCloudStorageOptions.Builder.setReadChannelOptions(GoogleCloudStorageReadOptions readChannelOptions) |
| Constructor and Description |
|---|
GoogleCloudStorageReadChannel(GoogleCloudStorageReadOptions readOptions)
Used for unit testing only.
|
GoogleCloudStorageReadChannel(com.google.api.services.storage.Storage gcs,
java.lang.String bucketName,
java.lang.String objectName,
ApiErrorExtractor errorExtractor,
ClientRequestHelper<com.google.api.services.storage.model.StorageObject> requestHelper,
GoogleCloudStorageReadOptions readOptions)
Constructs an instance of GoogleCloudStorageReadChannel.
|
| Modifier and Type | Method and Description |
|---|---|
java.nio.channels.SeekableByteChannel |
InMemoryObjectEntry.getReadChannel(GoogleCloudStorageReadOptions readOptions)
Returns a SeekableByteChannel pointing at this InMemoryObjectEntry's byte contents; a previous
writer must have already closed the associated WritableByteChannel to commit the byte contents
and make them available for reading.
|
java.nio.channels.SeekableByteChannel |
InMemoryGoogleCloudStorage.open(StorageResourceId resourceId,
GoogleCloudStorageReadOptions readOptions) |
| Constructor and Description |
|---|
InMemoryObjectReadChannel(byte[] content,
GoogleCloudStorageReadOptions readOptions)
Creates a new instance of InMemoryObjectReadChannel with
readOptions plumbed into the
base class. |
Copyright © 2019. All rights reserved.