| Package | Description |
|---|---|
| com.google.cloud.hadoop.gcsio | |
| com.google.cloud.hadoop.gcsio.testing |
| Modifier and Type | Class and Description |
|---|---|
class |
ForwardingGoogleCloudStorage
A class that wraps a
GoogleCloudStorage object, delegating all calls to it. |
class |
GoogleCloudStorageImpl
Provides read/write access to Google Cloud Storage (GCS), using Java nio channel semantics.
|
class |
PerformanceCachingGoogleCloudStorage
This class adds a caching layer around a GoogleCloudStorage instance, caching calls that create,
update, remove, and query for GoogleCloudStorageItemInfo.
|
class |
ThrottledGoogleCloudStorage
Throttled GCS implementation that will limit our bucket creation and delete operations
to N per second.
|
| Modifier and Type | Method and Description |
|---|---|
protected GoogleCloudStorage |
ForwardingGoogleCloudStorage.getDelegate()
Gets the
GoogleCloudStorage objected wrapped by this class. |
GoogleCloudStorage |
GoogleCloudStorageFileSystem.getGcs()
Retrieve our internal gcs.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
GoogleCloudStorageImpl.validateCopyArguments(java.lang.String srcBucketName,
java.util.List<java.lang.String> srcObjectNames,
java.lang.String dstBucketName,
java.util.List<java.lang.String> dstObjectNames,
GoogleCloudStorage gcsImpl)
Validates basic argument constraints like non-null, non-empty Strings, using
Preconditions in addition to checking for src/dst bucket existence and compatibility of bucket
properties such as location and storage-class. |
| Constructor and Description |
|---|
ForwardingGoogleCloudStorage(GoogleCloudStorage delegate)
Creates a new GoogleCloudStorageWrapper.
|
GoogleCloudStorageFileSystem(GoogleCloudStorage gcs)
Constructs a GoogleCloudStorageFilesystem based on an already-configured underlying
GoogleCloudStorage
gcs. |
GoogleCloudStorageFileSystem(GoogleCloudStorage gcs,
GoogleCloudStorageFileSystemOptions options)
Constructs a GoogleCloudStorageFilesystem based on an already-configured underlying
GoogleCloudStorage
gcs. |
PerformanceCachingGoogleCloudStorage(GoogleCloudStorage delegate,
PerformanceCachingGoogleCloudStorageOptions options)
Creates a wrapper around a GoogleCloudStorage instance, caching calls that create, update,
remove, and query for GoogleCloudStorageItemInfo.
|
ThrottledGoogleCloudStorage(double operationsPerSecond,
GoogleCloudStorage wrappedGcs,
java.util.EnumSet<ThrottledGoogleCloudStorage.StorageOperation> throttledOperations) |
ThrottledGoogleCloudStorage(GoogleCloudStorage wrappedGcs,
com.google.common.util.concurrent.RateLimiter rateLimiter)
Construct a ThrottledGoogleCloudStorage object that throttles all operations.
|
ThrottledGoogleCloudStorage(com.google.common.util.concurrent.RateLimiter rateLimiter,
GoogleCloudStorage wrappedGcs,
java.util.EnumSet<ThrottledGoogleCloudStorage.StorageOperation> throttledOperations) |
| Modifier and Type | Class and Description |
|---|---|
class |
InMemoryGoogleCloudStorage
InMemoryGoogleCloudStorage overrides the public methods of GoogleCloudStorage by implementing all
the equivalent bucket/object semantics with local in-memory storage.
|
Copyright © 2019. All rights reserved.