- cacheBasePath - Variable in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageFileSystemOptions.Builder
-
- cacheConfig - Variable in class com.google.cloud.hadoop.gcsio.DirectoryListCache
-
- CachedBucket - Class in com.google.cloud.hadoop.gcsio
-
A cache entry for the relevant metadata of a single GCS Bucket, used by DirectoryListCache to supplement "list" operations with buckets known locally, as well as
serving as the container for retrieving CachedObjects from their respective cached buckets.
- CachedBucket(String) - Constructor for class com.google.cloud.hadoop.gcsio.CachedBucket
-
Constructs a CachedBucket that has no associated GoogleCloudStorageItemInfo for the bucket.
- CachedBucket(GoogleCloudStorageItemInfo) - Constructor for class com.google.cloud.hadoop.gcsio.CachedBucket
-
Constructs a CachedBucket with the provided GoogleCloudStorageItemInfo for the bucket.
- CacheEntry - Class in com.google.cloud.hadoop.gcsio
-
Container for various pieces of metadata for a single cache entry, which may be either a Bucket
or a StorageObject; includes GCS API metadata such as StorageResourceId and
GoogleCloudStorageItemInfo as well as cache-specific metadata, such as creation time,
and last-updated time.
- CacheEntry(StorageResourceId) - Constructor for class com.google.cloud.hadoop.gcsio.CacheEntry
-
Constructs a CacheEntry with no known GoogleCloudStorageItemInfo; callers may have to
fetch the associated GoogleCloudStorageItemInfo on-demand.
- CacheEntry(StorageResourceId, long) - Constructor for class com.google.cloud.hadoop.gcsio.CacheEntry
-
Constructs a CacheEntry with no known GoogleCloudStorageItemInfo and an explicit
creationTimeMillis; callers may have to fetch the associated GoogleCloudStorageItemInfo
on-demand.
- CacheEntry(GoogleCloudStorageItemInfo) - Constructor for class com.google.cloud.hadoop.gcsio.CacheEntry
-
- cacheMaxEntryAgeMillis - Variable in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageFileSystemOptions.Builder
-
- cacheMaxInfoAgeMillis - Variable in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageFileSystemOptions.Builder
-
- CacheSupplementedGoogleCloudStorage - Class in com.google.cloud.hadoop.gcsio
-
CacheSupplementedGoogleCloudStorage adds additional book-keeping to a GoogleCloudStorage instance
using a DirectoryListCache and wraps the create/copy/delete/list methods to provide
immediate same-client consistency for "list" operations following a "create/copy/delete".
- CacheSupplementedGoogleCloudStorage(GoogleCloudStorage, DirectoryListCache) - Constructor for class com.google.cloud.hadoop.gcsio.CacheSupplementedGoogleCloudStorage
-
Constructs a CacheSupplementedGoogleCloudStorage that should be usable anywhere a
GoogleCloudStorage interface is used and that supplements missing listObject/listBucket
results from an in-memory cache of known GCS resources that may not have propagated into
the eventually-consistent remote "list" index yet.
- cacheType - Variable in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageFileSystemOptions.Builder
-
- clearItemInfo() - Method in class com.google.cloud.hadoop.gcsio.CacheEntry
-
Clears the GoogleCloudStorageItemInfo stored by this CacheEntry, if any, and sets
itemInfoUpdateTimeMillis to 0.
- clock - Variable in class com.google.cloud.hadoop.gcsio.DirectoryListCache
-
- close() - Method in class com.google.cloud.hadoop.gcsio.CacheSupplementedGoogleCloudStorage
-
Pure pass-through.
- close() - Method in interface com.google.cloud.hadoop.gcsio.GoogleCloudStorage
-
Releases resources used by this instance.
- close() - Method in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageFileSystem
-
Releases resources used by this instance.
- close() - Method in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageImpl
-
- close() - Method in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageReadChannel
-
Closes this channel.
- close() - Method in class com.google.cloud.hadoop.gcsio.MetadataReadOnlyGoogleCloudStorage
-
- close() - Method in class com.google.cloud.hadoop.gcsio.testing.InMemoryGoogleCloudStorage
-
- close() - Method in class com.google.cloud.hadoop.gcsio.ThrottledGoogleCloudStorage
-
- closeReadChannel() - Method in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageReadChannel
-
- com.google.cloud.hadoop.gcsio - package com.google.cloud.hadoop.gcsio
-
- com.google.cloud.hadoop.gcsio.testing - package com.google.cloud.hadoop.gcsio.testing
-
- compose(String, List<String>, String, String) - Method in class com.google.cloud.hadoop.gcsio.CacheSupplementedGoogleCloudStorage
-
Adds destination to the cache.
- compose(String, List<String>, String, String) - Method in interface com.google.cloud.hadoop.gcsio.GoogleCloudStorage
-
Composes inputs into a single GCS object.
- compose(List<URI>, URI, String) - Method in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageFileSystem
-
Composes inputs into a single GCS object.
- compose(String, List<String>, String, String) - Method in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageImpl
-
- compose(String, List<String>, String, String) - Method in class com.google.cloud.hadoop.gcsio.MetadataReadOnlyGoogleCloudStorage
-
- compose(String, List<String>, String, String) - Method in class com.google.cloud.hadoop.gcsio.testing.InMemoryGoogleCloudStorage
-
- compose(String, List<String>, String, String) - Method in class com.google.cloud.hadoop.gcsio.ThrottledGoogleCloudStorage
-
- Config() - Constructor for class com.google.cloud.hadoop.gcsio.DirectoryListCache.Config
-
- containsEntriesForImplicitDirectories() - Method in class com.google.cloud.hadoop.gcsio.DirectoryListCache
-
Implementations should indicate whether implicit directories are automatically detected and
added as CacheEntry items when putResourceId is called without first adding explicit
directory objects for the implied parent directories of the added object.
- containsEntriesForImplicitDirectories() - Method in class com.google.cloud.hadoop.gcsio.FileSystemBackedDirectoryListCache
-
Since our backing store has no notion of "implicit" directories, automatically cache directory
objects for 'implicit' directories, by virtue of having to create those real directories
to insert the child object at all.
- containsEntriesForImplicitDirectories() - Method in class com.google.cloud.hadoop.gcsio.InMemoryDirectoryListCache
-
We don't inspect StorageResourceIds in putResourceId to auto-insert entries for parent
directories, nor do we return fake entries in getObjectList when a delimiter implies a
pure-prefix match.
- convertToDirectoryPath(StorageResourceId) - Static method in class com.google.cloud.hadoop.gcsio.FileInfo
-
Converts the given resourceId to look like a directory path.
- convertToDirectoryPath(PathCodec, URI) - Static method in class com.google.cloud.hadoop.gcsio.FileInfo
-
Converts the given path to look like a directory path.
- convertToFilePath(String) - Static method in class com.google.cloud.hadoop.gcsio.FileInfo
-
Converts the given object name to look like a file path.
- copy(String, List<String>, String, List<String>) - Method in class com.google.cloud.hadoop.gcsio.CacheSupplementedGoogleCloudStorage
-
Adds the copied destination items to the list cache, without their associated metadata;
supplementing with the cache will have to populate the metadata on-demand.
- copy(String, List<String>, String, List<String>) - Method in interface com.google.cloud.hadoop.gcsio.GoogleCloudStorage
-
Copies metadata of the given objects.
- copy(String, List<String>, String, List<String>) - Method in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageImpl
-
- copy(String, List<String>, String, List<String>) - Method in class com.google.cloud.hadoop.gcsio.MetadataReadOnlyGoogleCloudStorage
-
- copy(String, List<String>, String, List<String>) - Method in class com.google.cloud.hadoop.gcsio.testing.InMemoryGoogleCloudStorage
-
- copy(String, List<String>, String, List<String>) - Method in class com.google.cloud.hadoop.gcsio.ThrottledGoogleCloudStorage
-
- create(StorageResourceId) - Method in class com.google.cloud.hadoop.gcsio.CacheSupplementedGoogleCloudStorage
-
Wraps the delegate's returned WritableByteChannel in a helper that will update the
resourceCache when close() is called.
- create(StorageResourceId, CreateObjectOptions) - Method in class com.google.cloud.hadoop.gcsio.CacheSupplementedGoogleCloudStorage
-
- create(String) - Method in class com.google.cloud.hadoop.gcsio.CacheSupplementedGoogleCloudStorage
-
Updates cache with bucketName.
- create(String, CreateBucketOptions) - Method in class com.google.cloud.hadoop.gcsio.CacheSupplementedGoogleCloudStorage
-
Updates cache with bucketName.
- create(StorageResourceId) - Method in interface com.google.cloud.hadoop.gcsio.GoogleCloudStorage
-
Creates and opens an object for writing.
- create(StorageResourceId, CreateObjectOptions) - Method in interface com.google.cloud.hadoop.gcsio.GoogleCloudStorage
-
Creates and opens an object for writing.
- create(String) - Method in interface com.google.cloud.hadoop.gcsio.GoogleCloudStorage
-
Creates a bucket.
- create(String, CreateBucketOptions) - Method in interface com.google.cloud.hadoop.gcsio.GoogleCloudStorage
-
Creates a bucket.
- create(URI) - Method in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageFileSystem
-
Creates and opens an object for writing.
- create(URI, CreateFileOptions) - Method in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageFileSystem
-
Creates and opens an object for writing.
- create(StorageResourceId, CreateObjectOptions) - Method in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageImpl
-
- create(StorageResourceId) - Method in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageImpl
-
- create(String) - Method in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageImpl
-
- create(String, CreateBucketOptions) - Method in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageImpl
-
- create(StorageResourceId) - Method in class com.google.cloud.hadoop.gcsio.MetadataReadOnlyGoogleCloudStorage
-
- create(StorageResourceId, CreateObjectOptions) - Method in class com.google.cloud.hadoop.gcsio.MetadataReadOnlyGoogleCloudStorage
-
- create(String) - Method in class com.google.cloud.hadoop.gcsio.MetadataReadOnlyGoogleCloudStorage
-
- create(String, CreateBucketOptions) - Method in class com.google.cloud.hadoop.gcsio.MetadataReadOnlyGoogleCloudStorage
-
- create(StorageResourceId) - Method in class com.google.cloud.hadoop.gcsio.testing.InMemoryGoogleCloudStorage
-
- create(StorageResourceId, CreateObjectOptions) - Method in class com.google.cloud.hadoop.gcsio.testing.InMemoryGoogleCloudStorage
-
- create(String) - Method in class com.google.cloud.hadoop.gcsio.testing.InMemoryGoogleCloudStorage
-
- create(String, CreateBucketOptions) - Method in class com.google.cloud.hadoop.gcsio.testing.InMemoryGoogleCloudStorage
-
- create(StorageResourceId) - Method in class com.google.cloud.hadoop.gcsio.ThrottledGoogleCloudStorage
-
- create(StorageResourceId, CreateObjectOptions) - Method in class com.google.cloud.hadoop.gcsio.ThrottledGoogleCloudStorage
-
- create(String) - Method in class com.google.cloud.hadoop.gcsio.ThrottledGoogleCloudStorage
-
- create(String, CreateBucketOptions) - Method in class com.google.cloud.hadoop.gcsio.ThrottledGoogleCloudStorage
-
- CREATE_EMPTY_MARKER_OBJECT_DEFAULT - Static variable in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageOptions
-
Default setting for whether or not to create a marker file when beginning file creation.
- CreateBucketOptions - Class in com.google.cloud.hadoop.gcsio
-
Options that can be specified when creating a bucket in the
GoogleCloudStorage.
- CreateBucketOptions(String, String) - Constructor for class com.google.cloud.hadoop.gcsio.CreateBucketOptions
-
Create a bucket with specified location.
- createCompositeException(List<IOException>) - Static method in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageExceptions
-
Creates a composite IOException out of multiple IOExceptions.
- createEmptyObject(StorageResourceId) - Method in class com.google.cloud.hadoop.gcsio.CacheSupplementedGoogleCloudStorage
-
Records the resourceId after delegating.
- createEmptyObject(StorageResourceId, CreateObjectOptions) - Method in class com.google.cloud.hadoop.gcsio.CacheSupplementedGoogleCloudStorage
-
- createEmptyObject(StorageResourceId) - Method in interface com.google.cloud.hadoop.gcsio.GoogleCloudStorage
-
Creates an empty object, useful for placeholders representing, for example, directories.
- createEmptyObject(StorageResourceId, CreateObjectOptions) - Method in interface com.google.cloud.hadoop.gcsio.GoogleCloudStorage
-
Creates an empty object, useful for placeholders representing, for example, directories.
- createEmptyObject(StorageResourceId, CreateObjectOptions) - Method in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageImpl
-
- createEmptyObject(StorageResourceId) - Method in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageImpl
-
- createEmptyObject(StorageResourceId) - Method in class com.google.cloud.hadoop.gcsio.MetadataReadOnlyGoogleCloudStorage
-
- createEmptyObject(StorageResourceId, CreateObjectOptions) - Method in class com.google.cloud.hadoop.gcsio.MetadataReadOnlyGoogleCloudStorage
-
- createEmptyObject(StorageResourceId) - Method in class com.google.cloud.hadoop.gcsio.testing.InMemoryGoogleCloudStorage
-
- createEmptyObject(StorageResourceId, CreateObjectOptions) - Method in class com.google.cloud.hadoop.gcsio.testing.InMemoryGoogleCloudStorage
-
- createEmptyObject(StorageResourceId) - Method in class com.google.cloud.hadoop.gcsio.ThrottledGoogleCloudStorage
-
- createEmptyObject(StorageResourceId, CreateObjectOptions) - Method in class com.google.cloud.hadoop.gcsio.ThrottledGoogleCloudStorage
-
- createEmptyObjects(List<StorageResourceId>) - Method in class com.google.cloud.hadoop.gcsio.CacheSupplementedGoogleCloudStorage
-
Records the resourceIds after delegating.
- createEmptyObjects(List<StorageResourceId>, CreateObjectOptions) - Method in class com.google.cloud.hadoop.gcsio.CacheSupplementedGoogleCloudStorage
-
- createEmptyObjects(List<StorageResourceId>) - Method in interface com.google.cloud.hadoop.gcsio.GoogleCloudStorage
-
- createEmptyObjects(List<StorageResourceId>, CreateObjectOptions) - Method in interface com.google.cloud.hadoop.gcsio.GoogleCloudStorage
-
- createEmptyObjects(List<StorageResourceId>, CreateObjectOptions) - Method in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageImpl
-
- createEmptyObjects(List<StorageResourceId>) - Method in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageImpl
-
- createEmptyObjects(List<StorageResourceId>) - Method in class com.google.cloud.hadoop.gcsio.MetadataReadOnlyGoogleCloudStorage
-
- createEmptyObjects(List<StorageResourceId>, CreateObjectOptions) - Method in class com.google.cloud.hadoop.gcsio.MetadataReadOnlyGoogleCloudStorage
-
- createEmptyObjects(List<StorageResourceId>) - Method in class com.google.cloud.hadoop.gcsio.testing.InMemoryGoogleCloudStorage
-
- createEmptyObjects(List<StorageResourceId>, CreateObjectOptions) - Method in class com.google.cloud.hadoop.gcsio.testing.InMemoryGoogleCloudStorage
-
- createEmptyObjects(List<StorageResourceId>) - Method in class com.google.cloud.hadoop.gcsio.ThrottledGoogleCloudStorage
-
- createEmptyObjects(List<StorageResourceId>, CreateObjectOptions) - Method in class com.google.cloud.hadoop.gcsio.ThrottledGoogleCloudStorage
-
- CreateFileOptions - Class in com.google.cloud.hadoop.gcsio
-
Options that can be specified when creating a file in the GoogleCloudFileSystem.
- CreateFileOptions(boolean) - Constructor for class com.google.cloud.hadoop.gcsio.CreateFileOptions
-
Create a file with empty attributes and optionally overwriting any existing file.
- CreateFileOptions(boolean, String) - Constructor for class com.google.cloud.hadoop.gcsio.CreateFileOptions
-
Create a file with empty attributes, and optionally overwriting any existing file with one
having the given content-type.
- CreateFileOptions(boolean, Map<String, byte[]>) - Constructor for class com.google.cloud.hadoop.gcsio.CreateFileOptions
-
Create a file with specified attributes and optionally overwriting an existing file.
- CreateFileOptions(boolean, String, Map<String, byte[]>) - Constructor for class com.google.cloud.hadoop.gcsio.CreateFileOptions
-
Create a file with specified attributes, and optionally overwriting an existing file with one
having the given content-type.
- createItemInfoForInferredDirectory(StorageResourceId) - Static method in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageImpl
-
Helper for creating a "found" GoogleCloudStorageItemInfo
for an inferred directory.
- createItemInfoForNotFound(StorageResourceId) - Static method in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageImpl
-
Helper for creating a "not found" GoogleCloudStorageItemInfo for a StorageResourceId.
- CreateObjectOptions - Class in com.google.cloud.hadoop.gcsio
-
Options for creating objects in GCS.
- CreateObjectOptions(boolean) - Constructor for class com.google.cloud.hadoop.gcsio.CreateObjectOptions
-
Construct a new CreateObjectOptions with empty metadata and the default content-type.
- CreateObjectOptions(boolean, Map<String, byte[]>) - Constructor for class com.google.cloud.hadoop.gcsio.CreateObjectOptions
-
Construct a new CreateObjectOptions with the specified metadata, and default content-type.
- CreateObjectOptions(boolean, String, Map<String, byte[]>) - Constructor for class com.google.cloud.hadoop.gcsio.CreateObjectOptions
-
Construct a new CreateObjectOptions with the spec metadata and content-type.
- CreateObjectOptions(boolean, String, Map<String, byte[]>, boolean) - Constructor for class com.google.cloud.hadoop.gcsio.CreateObjectOptions
-
Construct a new CreateObjectOptions with the spec metadata and content-type.
- createReadableString(String, String) - Static method in class com.google.cloud.hadoop.gcsio.StorageResourceId
-
Helper for standardizing the way various human-readable messages in logs/exceptions that refer
to a bucket/object pair.
- createRequest(InputStreamContent) - Method in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageWriteChannel
-
- GCS_ROOT - Static variable in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageFileSystem
-
- GCS_TEST_PRIVATE_KEYFILE - Static variable in class com.google.cloud.hadoop.gcsio.testing.TestConfiguration
-
- GCS_TEST_PROJECT_ID - Static variable in class com.google.cloud.hadoop.gcsio.testing.TestConfiguration
-
- GCS_TEST_SERVICE_ACCOUNT - Static variable in class com.google.cloud.hadoop.gcsio.testing.TestConfiguration
-
- get(StorageResourceId) - Method in class com.google.cloud.hadoop.gcsio.CachedBucket
-
Returns the CacheEntry entry corresponding to resourceId that must be a StorageObject
residing inside this CachedBucket, or null if one doesn't exist.
- get(String) - Method in class com.google.cloud.hadoop.gcsio.testing.InMemoryBucketEntry
-
Retrieves a previously inserted InMemoryObjectEntry, or null if it doesn't exist.
- getAppName() - Method in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageOptions
-
- getAttributes() - Method in class com.google.cloud.hadoop.gcsio.CreateFileOptions
-
Extended attributes to set when creating a file.
- getAttributes() - Method in class com.google.cloud.hadoop.gcsio.FileInfo
-
Retrieve file attributes for this file.
- getBucketList() - Method in class com.google.cloud.hadoop.gcsio.DirectoryListCache
-
- getBucketList() - Method in class com.google.cloud.hadoop.gcsio.FileSystemBackedDirectoryListCache
-
- getBucketList() - Method in class com.google.cloud.hadoop.gcsio.InMemoryDirectoryListCache
-
- getBucketName() - Method in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageItemInfo
-
Gets bucket name of this item.
- getBucketName() - Method in class com.google.cloud.hadoop.gcsio.StorageResourceId
-
Gets the bucket name component of this resource identifier.
- getBucketName() - Method in class com.google.cloud.hadoop.gcsio.testing.InMemoryObjectEntry
-
Returns the bucketName initially provided at construction-time of this InMemoryObjectEntry; it
will never change over the lifetime of this InMemoryObjectEntry.
- getCacheBasePath() - Method in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageFileSystemOptions
-
- getCacheEntry(StorageResourceId) - Method in class com.google.cloud.hadoop.gcsio.DirectoryListCache
-
Returns the CacheEntry associated with resourceId, or null if it doesn't exist.
- getCacheEntry(StorageResourceId) - Method in class com.google.cloud.hadoop.gcsio.FileSystemBackedDirectoryListCache
-
- getCacheEntry(StorageResourceId) - Method in class com.google.cloud.hadoop.gcsio.InMemoryDirectoryListCache
-
- getCacheMaxEntryAgeMillis() - Method in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageFileSystemOptions
-
- getCacheMaxInfoAgeMillis() - Method in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageFileSystemOptions
-
- getCacheType() - Method in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageFileSystemOptions
-
- getCloudStorageOptions() - Method in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageFileSystemOptions
-
- getCloudStorageOptionsBuilder() - Method in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageFileSystemOptions.Builder
-
- getContentGeneration() - Method in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageItemInfo
-
Get the content generation of the object.
- getContentGenerationMatch() - Method in class com.google.cloud.hadoop.gcsio.ObjectWriteConditions
-
- getContentType() - Method in class com.google.cloud.hadoop.gcsio.CreateFileOptions
-
Content-type to set when creating a file.
- getContentType() - Method in class com.google.cloud.hadoop.gcsio.CreateObjectOptions
-
Content type to set when creating a file.
- getContentType() - Method in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageItemInfo
-
Gets the content-type of this item, or null if unknown or inapplicable.
- getCrc32c() - Method in class com.google.cloud.hadoop.gcsio.VerificationAttributes
-
CRC32c checksum of an object, if available.
- getCreationTime() - Method in class com.google.cloud.hadoop.gcsio.FileInfo
-
Gets creation time of this item.
- getCreationTime() - Method in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageItemInfo
-
Gets creation time of this item.
- getCreationTimeMillis() - Method in class com.google.cloud.hadoop.gcsio.CacheEntry
-
Accessor for the creation-time of this CacheEntry, which was set at construction-time and is
immutable.
- getEncoding(StorageObject) - Static method in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageReadChannel
-
Returns the FileEncoding of a file given its metadata.
- getFileInfo(URI) - Method in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageFileSystem
-
Gets information about the given path item.
- getFileInfos(List<URI>) - Method in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageFileSystem
-
Gets information about each path in the given list; more efficient than calling getFileInfo()
on each path individually in a loop.
- getFileNotFoundException(String, String) - Static method in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageExceptions
-
Creates FileNotFoundException with suitable message for a GCS bucket or object.
- getInfo() - Method in class com.google.cloud.hadoop.gcsio.testing.InMemoryBucketEntry
-
Gets the GoogleCloudStorageItemInfo associated with this BucketEntry; the 'size'
of a bucket is always 0.
- getInfo() - Method in class com.google.cloud.hadoop.gcsio.testing.InMemoryObjectEntry
-
Gets the GoogleCloudStorageItemInfo associated with this InMemoryObjectEntry, whose
'size' is only updated when the initial writer has finished closing the channel.
- getInstance() - Static method in class com.google.cloud.hadoop.gcsio.InMemoryDirectoryListCache
-
Accessor for shared singleton instance of DirectoryListCache.
- getInstance() - Static method in class com.google.cloud.hadoop.gcsio.testing.TestConfiguration
-
- getInternalNumBuckets() - Method in class com.google.cloud.hadoop.gcsio.DirectoryListCache
-
Gets the internal number of CachedBucket entries, which may not be equal to the size of
getBucketList() if there are expired entries.
- getInternalNumBuckets() - Method in class com.google.cloud.hadoop.gcsio.FileSystemBackedDirectoryListCache
-
- getInternalNumBuckets() - Method in class com.google.cloud.hadoop.gcsio.InMemoryDirectoryListCache
-
- getInternalNumObjects() - Method in class com.google.cloud.hadoop.gcsio.DirectoryListCache
-
Gets the internal total count of cached StorageObject entries.
- getInternalNumObjects() - Method in class com.google.cloud.hadoop.gcsio.FileSystemBackedDirectoryListCache
-
- getInternalNumObjects() - Method in class com.google.cloud.hadoop.gcsio.InMemoryDirectoryListCache
-
- getItemInfo() - Method in class com.google.cloud.hadoop.gcsio.CacheEntry
-
Returns the GoogleCloudStorageItemInfo currently held by this CacheEntry; may be null if one
was never provided.
- getItemInfo(StorageResourceId) - Method in class com.google.cloud.hadoop.gcsio.CacheSupplementedGoogleCloudStorage
-
Pure pass-through.
- getItemInfo() - Method in class com.google.cloud.hadoop.gcsio.FileInfo
-
Gets information about the underlying item.
- getItemInfo(StorageResourceId) - Method in interface com.google.cloud.hadoop.gcsio.GoogleCloudStorage
-
Gets information about an object or a bucket.
- getItemInfo(StorageResourceId) - Method in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageImpl
-
- getItemInfo(StorageResourceId) - Method in class com.google.cloud.hadoop.gcsio.MetadataReadOnlyGoogleCloudStorage
-
Pure fetch from cache.
- getItemInfo(StorageResourceId) - Method in class com.google.cloud.hadoop.gcsio.testing.InMemoryGoogleCloudStorage
-
- getItemInfo(StorageResourceId) - Method in class com.google.cloud.hadoop.gcsio.ThrottledGoogleCloudStorage
-
- getItemInfos(List<StorageResourceId>) - Method in class com.google.cloud.hadoop.gcsio.CacheSupplementedGoogleCloudStorage
-
Pure pass-through.
- getItemInfos(List<StorageResourceId>) - Method in interface com.google.cloud.hadoop.gcsio.GoogleCloudStorage
-
Gets information about multiple objects and/or buckets.
- getItemInfos(List<StorageResourceId>) - Method in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageImpl
-
See GoogleCloudStorage#getItemInfos(List) for details about expected
behavior.
- getItemInfos(List<StorageResourceId>) - Method in class com.google.cloud.hadoop.gcsio.MetadataReadOnlyGoogleCloudStorage
-
Pure fetch from cache.
- getItemInfos(List<StorageResourceId>) - Method in class com.google.cloud.hadoop.gcsio.testing.InMemoryGoogleCloudStorage
-
- getItemInfos(List<StorageResourceId>) - Method in class com.google.cloud.hadoop.gcsio.ThrottledGoogleCloudStorage
-
- getItemInfoUpdateTimeMillis() - Method in class com.google.cloud.hadoop.gcsio.CacheEntry
-
Accessor for the last time the GoogleCloudStorageItemInfo of this CacheEntry was updated,
or 0 if it was never updated.
- getLocation() - Method in class com.google.cloud.hadoop.gcsio.CreateBucketOptions
-
Returns the bucket location.
- getLocation() - Method in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageItemInfo
-
Gets location of this item.
- getMaxEntryAgeMillis() - Method in class com.google.cloud.hadoop.gcsio.DirectoryListCache.Config
-
Getter for maxEntryAgeMillis.
- getMaxInfoAgeMillis() - Method in class com.google.cloud.hadoop.gcsio.DirectoryListCache.Config
-
Getter for maxInfoAgeMillis.
- getMaxListItemsPerCall() - Method in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageOptions
-
- getMaxRequestsPerBatch() - Method in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageOptions
-
- getMd5hash() - Method in class com.google.cloud.hadoop.gcsio.VerificationAttributes
-
MD5 hash of an object, if available.
- getMetadata() - Method in class com.google.cloud.hadoop.gcsio.CreateObjectOptions
-
Custom metadata to apply to this object.
- getMetadata() - Method in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageItemInfo
-
Gets user-supplied metadata for this item.
- getMetadata() - Method in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageReadChannel
-
Retrieve the object's metadata from GCS.
- getMetadata() - Method in class com.google.cloud.hadoop.gcsio.UpdatableItemInfo
-
- getMetaGeneration() - Method in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageItemInfo
-
Get the meta generation of the object.
- getMetaGenerationMatch() - Method in class com.google.cloud.hadoop.gcsio.ObjectWriteConditions
-
- getModificationTime() - Method in class com.google.cloud.hadoop.gcsio.FileInfo
-
- getMutableConfig() - Method in class com.google.cloud.hadoop.gcsio.DirectoryListCache
-
Returns the Config instance used by this DirectoryListCache instance to determine
expiration ages, etc.
- getName() - Method in class com.google.cloud.hadoop.gcsio.CachedBucket
-
Returns the name of the Bucket associated with this CachedBucket.
- getNumObjects() - Method in class com.google.cloud.hadoop.gcsio.CachedBucket
-
- getObjectList() - Method in class com.google.cloud.hadoop.gcsio.CachedBucket
-
- getObjectList(String, String, String, Set<String>) - Method in class com.google.cloud.hadoop.gcsio.DirectoryListCache
-
- getObjectList(String, String, String, Set<String>) - Method in class com.google.cloud.hadoop.gcsio.FileSystemBackedDirectoryListCache
-
- getObjectList(String, String, String, Set<String>) - Method in class com.google.cloud.hadoop.gcsio.InMemoryDirectoryListCache
-
- getObjectName() - Method in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageItemInfo
-
Gets object name of this item.
- getObjectName() - Method in class com.google.cloud.hadoop.gcsio.StorageResourceId
-
Gets the object name component of this resource identifier.
- getObjectName() - Method in class com.google.cloud.hadoop.gcsio.testing.InMemoryObjectEntry
-
Returns the objectName initially provided at construction-time of this InMemoryObjectEntry; it
will never change over the lifetime of this InMemoryObjectEntry.
- getObjectNames() - Method in class com.google.cloud.hadoop.gcsio.testing.InMemoryBucketEntry
-
Returns the Set containing all objectNames previously inserted into this bucket.
- getOptions() - Method in class com.google.cloud.hadoop.gcsio.CacheSupplementedGoogleCloudStorage
-
- getOptions() - Method in interface com.google.cloud.hadoop.gcsio.GoogleCloudStorage
-
Retrieve the options that were used to create this GoogleCloudStorage.
- getOptions() - Method in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageFileSystem
-
Retrieve the options that were used to create this
GoogleCloudStorageFileSystem.
- getOptions() - Method in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageImpl
-
- getOptions() - Method in class com.google.cloud.hadoop.gcsio.MetadataReadOnlyGoogleCloudStorage
-
- getOptions() - Method in class com.google.cloud.hadoop.gcsio.testing.InMemoryGoogleCloudStorage
-
- getOptions() - Method in class com.google.cloud.hadoop.gcsio.ThrottledGoogleCloudStorage
-
- getParentPath(URI) - Method in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageFileSystem
-
Gets the parent directory of the given path.
- getParentPath(PathCodec, URI) - Static method in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageFileSystem
-
- getPath() - Method in class com.google.cloud.hadoop.gcsio.FileInfo
-
Gets the path of this file or directory.
- getPath(String, String, boolean) - Static method in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageFileSystem
-
- getPath(String) - Static method in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageFileSystem
-
- getPath(String, String) - Static method in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageFileSystem
-
- getPath(String, String, boolean) - Method in interface com.google.cloud.hadoop.gcsio.PathCodec
-
Constructs and returns full path for the given object name.
- getPathCodec() - Method in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageFileSystem
-
The PathCodec in use by this file system.
- getPathCodec() - Method in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageFileSystemOptions
-
- getPrivateKeyFile() - Method in class com.google.cloud.hadoop.gcsio.testing.TestConfiguration.EnvironmentBasedTestConfiguration
-
- getPrivateKeyFile() - Method in class com.google.cloud.hadoop.gcsio.testing.TestConfiguration
-
- getProjectId() - Method in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageOptions
-
- getProjectId() - Method in class com.google.cloud.hadoop.gcsio.testing.TestConfiguration.EnvironmentBasedTestConfiguration
-
- getProjectId() - Method in class com.google.cloud.hadoop.gcsio.testing.TestConfiguration
-
- getProxyAddress() - Method in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageOptions
-
- getRawBucketList() - Method in class com.google.cloud.hadoop.gcsio.DirectoryListCache
-
- getRawBucketList() - Method in class com.google.cloud.hadoop.gcsio.FileSystemBackedDirectoryListCache
-
- getRawBucketList() - Method in class com.google.cloud.hadoop.gcsio.InMemoryDirectoryListCache
-
- getReadChannel() - Method in class com.google.cloud.hadoop.gcsio.testing.InMemoryObjectEntry
-
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.
- getRequireMetadataMatchForEmptyObjects() - Method in class com.google.cloud.hadoop.gcsio.CreateObjectOptions
-
See constructor param for details.
- getResourceId() - Method in class com.google.cloud.hadoop.gcsio.CacheEntry
-
Returns the StorageResourceId associated with this CacheEntry; may identify a Bucket or
StorageObject.
- getResourceId() - Method in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageItemInfo
-
Gets the resourceId that holds the (possibly null) bucketName and objectName of this object.
- getServiceAccount() - Method in class com.google.cloud.hadoop.gcsio.testing.TestConfiguration.EnvironmentBasedTestConfiguration
-
- getServiceAccount() - Method in class com.google.cloud.hadoop.gcsio.testing.TestConfiguration
-
- getShallowCopy(String, String) - Method in class com.google.cloud.hadoop.gcsio.testing.InMemoryObjectEntry
-
Returns a copy of this InMemoryObjectEntry which shares the underlying completedContents data;
it is illegal to call this method if the write channel has not yet been closed.
- getShouldIncludeInTimestampUpdatesPredicate() - Method in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageFileSystemOptions
-
- getSize() - Method in class com.google.cloud.hadoop.gcsio.FileInfo
-
Gets the size of this file or directory.
- getSize() - Method in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageItemInfo
-
Gets size of this item (number of bytes).
- getStorageClass() - Method in class com.google.cloud.hadoop.gcsio.CreateBucketOptions
-
Returns the bucket storage class.
- getStorageClass() - Method in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageItemInfo
-
Gets storage class of this item.
- getStorageResourceId() - Method in class com.google.cloud.hadoop.gcsio.UpdatableItemInfo
-
- getTransportType() - Method in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageOptions
-
- getUninitializedInstanceForTest() - Static method in class com.google.cloud.hadoop.gcsio.FileSystemBackedDirectoryListCache
-
Returns an instance not bound to a basePath for testing purposes.
- getVerificationAttributes() - Method in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageItemInfo
-
Get object validation attributes.
- getWriteChannel() - Method in class com.google.cloud.hadoop.gcsio.testing.InMemoryObjectEntry
-
Returns a WritableByteChannel for this InMemoryObjectEntry's byte contents; the same channel is
returned on each call, and it is illegal to call this method if the channel has ever been
closed already.
- getWriteChannelOptions() - Method in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageOptions
-
- getWriteChannelOptionsBuilder() - Method in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageOptions.Builder
-
- GoogleCloudStorage - Interface in com.google.cloud.hadoop.gcsio
-
Interface for exposing the Google Cloud Storage API behavior in a way more amenable to writing
filesystem semantics on top of it, without having to deal with API-specific considerations such
as HttpTransports, credentials, network errors, batching, etc.
- GoogleCloudStorageExceptions - Class in com.google.cloud.hadoop.gcsio
-
Miscellaneous helper methods for standardizing the types of exceptions thrown by the various
GCS-based FileSystems.
- GoogleCloudStorageExceptions() - Constructor for class com.google.cloud.hadoop.gcsio.GoogleCloudStorageExceptions
-
- GoogleCloudStorageFileSystem - Class in com.google.cloud.hadoop.gcsio
-
Provides a POSIX like file system layered on top of Google Cloud Storage (GCS).
- GoogleCloudStorageFileSystem(Credential, GoogleCloudStorageFileSystemOptions) - Constructor for class com.google.cloud.hadoop.gcsio.GoogleCloudStorageFileSystem
-
Constructs an instance of GoogleCloudStorageFileSystem.
- GoogleCloudStorageFileSystem(GoogleCloudStorage) - Constructor for class com.google.cloud.hadoop.gcsio.GoogleCloudStorageFileSystem
-
Constructs a GoogleCloudStorageFilesystem based on an already-configured underlying
GoogleCloudStorage gcs.
- GoogleCloudStorageFileSystem(GoogleCloudStorage, GoogleCloudStorageFileSystemOptions) - Constructor for class com.google.cloud.hadoop.gcsio.GoogleCloudStorageFileSystem
-
Constructs a GoogleCloudStorageFilesystem based on an already-configured underlying
GoogleCloudStorage gcs.
- GoogleCloudStorageFileSystemOptions - Class in com.google.cloud.hadoop.gcsio
-
Configurable options for the GoogleCloudStorageFileSystem class.
- GoogleCloudStorageFileSystemOptions(GoogleCloudStorageOptions, boolean, DirectoryListCache.Type, String, Predicate<String>, long, long, PathCodec) - Constructor for class com.google.cloud.hadoop.gcsio.GoogleCloudStorageFileSystemOptions
-
- GoogleCloudStorageFileSystemOptions.Builder - Class in com.google.cloud.hadoop.gcsio
-
Mutable builder for GoogleCloudStorageFileSystemOptions.
- GoogleCloudStorageImpl - Class in com.google.cloud.hadoop.gcsio
-
Provides read/write access to Google Cloud Storage (GCS), using Java nio channel semantics.
- GoogleCloudStorageImpl(GoogleCloudStorageOptions, Credential) - Constructor for class com.google.cloud.hadoop.gcsio.GoogleCloudStorageImpl
-
Constructs an instance of GoogleCloudStorageImpl.
- GoogleCloudStorageImpl(GoogleCloudStorageOptions, Storage) - Constructor for class com.google.cloud.hadoop.gcsio.GoogleCloudStorageImpl
-
Constructs an instance of GoogleCloudStorageImpl.
- GoogleCloudStorageImpl() - Constructor for class com.google.cloud.hadoop.gcsio.GoogleCloudStorageImpl
-
- GoogleCloudStorageImpl.BackOffFactory - Interface in com.google.cloud.hadoop.gcsio
-
A factory for producing BackOff objects.
- GoogleCloudStorageItemInfo - Class in com.google.cloud.hadoop.gcsio
-
Contains information about an item in Google Cloud Storage.
- GoogleCloudStorageItemInfo(StorageResourceId, long, long, String, String) - Constructor for class com.google.cloud.hadoop.gcsio.GoogleCloudStorageItemInfo
-
Constructs an instance of GoogleCloudStorageItemInfo.
- GoogleCloudStorageItemInfo(StorageResourceId, long, long, String, String, String, Map<String, byte[]>, long, long) - Constructor for class com.google.cloud.hadoop.gcsio.GoogleCloudStorageItemInfo
-
Constructs an instance of GoogleCloudStorageItemInfo.
- GoogleCloudStorageItemInfo(StorageResourceId, long, long, String, String, String, Map<String, byte[]>, long, long, VerificationAttributes) - Constructor for class com.google.cloud.hadoop.gcsio.GoogleCloudStorageItemInfo
-
Constructs an instance of GoogleCloudStorageItemInfo.
- GoogleCloudStorageOptions - Class in com.google.cloud.hadoop.gcsio
-
Configuration options for the GoogleCloudStorage class.
- GoogleCloudStorageOptions(boolean, boolean, String, String, long, long, boolean, HttpTransportFactory.HttpTransportType, String, AsyncWriteChannelOptions) - Constructor for class com.google.cloud.hadoop.gcsio.GoogleCloudStorageOptions
-
- GoogleCloudStorageOptions.Builder - Class in com.google.cloud.hadoop.gcsio
-
Mutable builder for the GoogleCloudStorageOptions class.
- GoogleCloudStorageReadChannel - Class in com.google.cloud.hadoop.gcsio
-
Provides seekable read access to GCS.
- GoogleCloudStorageReadChannel(Storage, String, String, ApiErrorExtractor, ClientRequestHelper<StorageObject>) - Constructor for class com.google.cloud.hadoop.gcsio.GoogleCloudStorageReadChannel
-
Constructs an instance of GoogleCloudStorageReadChannel.
- GoogleCloudStorageReadChannel() - Constructor for class com.google.cloud.hadoop.gcsio.GoogleCloudStorageReadChannel
-
Constructs an instance of GoogleCloudStorageReadChannel.
- GoogleCloudStorageStrings - Class in com.google.cloud.hadoop.gcsio
-
Contains helper methods for standardizing String-matching algorithms specific to GCS.
- GoogleCloudStorageStrings() - Constructor for class com.google.cloud.hadoop.gcsio.GoogleCloudStorageStrings
-
- GoogleCloudStorageWriteChannel - Class in com.google.cloud.hadoop.gcsio
-
Implements WritableByteChannel to provide write access to GCS.
- GoogleCloudStorageWriteChannel(ExecutorService, Storage, ClientRequestHelper<StorageObject>, String, String, AsyncWriteChannelOptions, ObjectWriteConditions, Map<String, String>) - Constructor for class com.google.cloud.hadoop.gcsio.GoogleCloudStorageWriteChannel
-
Constructs an instance of GoogleCloudStorageWriteChannel.
- GoogleCloudStorageWriteChannel(ExecutorService, Storage, ClientRequestHelper<StorageObject>, String, String, AsyncWriteChannelOptions, ObjectWriteConditions, Map<String, String>, String) - Constructor for class com.google.cloud.hadoop.gcsio.GoogleCloudStorageWriteChannel
-
Constructs an instance of GoogleCloudStorageWriteChannel.
- INFER_IMPLICIT_DIRECTORIES_DEFAULT - Static variable in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageOptions
-
Default setting for enabling inferring of implicit directories.
- InMemoryBucketEntry - Class in com.google.cloud.hadoop.gcsio.testing
-
InMemoryBucketEntry represents a GCS bucket in-memory by containing mappings to objects in
the bucket alongside bucket-level metadata including storage location, storage class, etc.
- InMemoryBucketEntry(String, CreateBucketOptions) - Constructor for class com.google.cloud.hadoop.gcsio.testing.InMemoryBucketEntry
-
- InMemoryDirectoryListCache - Class in com.google.cloud.hadoop.gcsio
-
InMemoryDirectoryListCache provides in-memory accounting of full paths for directories and files
created and deleted in GoogleCloudStorageFileSystem within a single running process.
- InMemoryDirectoryListCache() - Constructor for class com.google.cloud.hadoop.gcsio.InMemoryDirectoryListCache
-
- InMemoryGoogleCloudStorage - Class in com.google.cloud.hadoop.gcsio.testing
-
InMemoryGoogleCloudStorage overrides the public methods of GoogleCloudStorage by implementing
all the equivalent bucket/object semantics with local in-memory storage.
- InMemoryGoogleCloudStorage() - Constructor for class com.google.cloud.hadoop.gcsio.testing.InMemoryGoogleCloudStorage
-
- InMemoryGoogleCloudStorage(GoogleCloudStorageOptions) - Constructor for class com.google.cloud.hadoop.gcsio.testing.InMemoryGoogleCloudStorage
-
- InMemoryGoogleCloudStorage(GoogleCloudStorageOptions, Clock) - Constructor for class com.google.cloud.hadoop.gcsio.testing.InMemoryGoogleCloudStorage
-
- InMemoryObjectEntry - Class in com.google.cloud.hadoop.gcsio.testing
-
InMemoryObjectEntry represents a GCS StorageObject in-memory by maintaining byte[] contents
alongside channels and metadata allowing interaction with the data in a similar way to the
equivalent GCS API calls.
- InMemoryObjectEntry(String, String, long, String, Map<String, byte[]>) - Constructor for class com.google.cloud.hadoop.gcsio.testing.InMemoryObjectEntry
-
- InMemoryObjectReadChannel - Class in com.google.cloud.hadoop.gcsio.testing
-
A SeekableByteChannel based on GoogleCloudStorageReadChannel that supports reading
from in-memory byte stream.
- InMemoryObjectReadChannel(byte[]) - Constructor for class com.google.cloud.hadoop.gcsio.testing.InMemoryObjectReadChannel
-
Creates a new instance of InMemoryObjectReadChannel.
- isAutoRepairImplicitDirectoriesEnabled() - Method in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageOptions
-
- isBucket() - Method in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageItemInfo
-
Indicates whether this item is a bucket.
- isBucket() - Method in class com.google.cloud.hadoop.gcsio.StorageResourceId
-
Returns true if this StorageResourceId represents a GCS Bucket; if true, then getObjectName will return null.
- isCacheEntryExpired(CacheEntry) - Method in class com.google.cloud.hadoop.gcsio.DirectoryListCache
-
Helper for determining whether a CacheEntry is entirely expired and should be removed
from the cache.
- isDirectory() - Method in class com.google.cloud.hadoop.gcsio.FileInfo
-
Indicates whether this item is a directory.
- isDirectory() - Method in class com.google.cloud.hadoop.gcsio.StorageResourceId
-
Indicates if this StorageResourceId corresponds to a 'directory'; similar to
FileInfo.isDirectory() except deals entirely with pathnames instead of also checking
for exists() to be true on a corresponding GoogleCloudStorageItemInfo.
- isDirectoryPath(URI) - Static method in class com.google.cloud.hadoop.gcsio.FileInfo
-
Indicates whether the given path looks like a directory path.
- isEmpty() - Method in class com.google.cloud.hadoop.gcsio.BatchHelper
-
Returns true if there are no currently queued entries in the batch helper.
- isGlobalRoot() - Method in class com.google.cloud.hadoop.gcsio.FileInfo
-
Indicates whether this instance has information about the unique, shared root of the
underlying storage system.
- isInferImplicitDirectoriesEnabled() - Method in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageOptions
-
- isMarkerFileCreationEnabled() - Method in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageOptions
-
- isMetadataCacheEnabled() - Method in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageFileSystemOptions
-
- isOpen() - Method in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageReadChannel
-
Tells whether this channel is open.
- isRoot() - Method in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageItemInfo
-
Indicates whether this item refers to the GCS root (gs://).
- isRoot() - Method in class com.google.cloud.hadoop.gcsio.StorageResourceId
-
Returns true if this StorageResourceId represents the GCS root (gs://); if true, then
both getBucketName and getObjectName will be null.
- isStorageObject() - Method in class com.google.cloud.hadoop.gcsio.StorageResourceId
-
Returns true if this StorageResourceId represents a GCS StorageObject; if true, both
getBucketName and getObjectName will be non-empty and non-null.
- LEGACY_PATH_CODEC - Static variable in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageFileSystem
-
A PathCodec that maintains compatibility with versions of GCS FS < 1.4.5.
- listAllFileInfoForPrefix(URI) - Method in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageFileSystem
-
Equivalent to a recursive listing of prefix, except that prefix doesn't
have to represent an actual object but can just be a partial prefix string, and there
is no auto-repair of implicit directories since we can't detect implicit directories
without listing by 'delimiter'.
- listBucketInfo() - Method in class com.google.cloud.hadoop.gcsio.CacheSupplementedGoogleCloudStorage
-
Supplements the list returned by the delegate with cached bucket infos; may trigger fetching
of any metadata not already available in the cache.
- listBucketInfo() - Method in interface com.google.cloud.hadoop.gcsio.GoogleCloudStorage
-
Gets a list of GoogleCloudStorageItemInfo for all buckets of this project.
- listBucketInfo() - Method in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageImpl
-
- listBucketInfo() - Method in class com.google.cloud.hadoop.gcsio.MetadataReadOnlyGoogleCloudStorage
-
- listBucketInfo() - Method in class com.google.cloud.hadoop.gcsio.testing.InMemoryGoogleCloudStorage
-
- listBucketInfo() - Method in class com.google.cloud.hadoop.gcsio.ThrottledGoogleCloudStorage
-
- listBucketNames() - Method in class com.google.cloud.hadoop.gcsio.CacheSupplementedGoogleCloudStorage
-
Supplements the list returned by the delegate with cached bucket names; won't trigger
any fetching of metadata.
- listBucketNames() - Method in interface com.google.cloud.hadoop.gcsio.GoogleCloudStorage
-
Gets a list of names of buckets in this project.
- listBucketNames() - Method in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageImpl
-
- listBucketNames() - Method in class com.google.cloud.hadoop.gcsio.MetadataReadOnlyGoogleCloudStorage
-
- listBucketNames() - Method in class com.google.cloud.hadoop.gcsio.testing.InMemoryGoogleCloudStorage
-
- listBucketNames() - Method in class com.google.cloud.hadoop.gcsio.ThrottledGoogleCloudStorage
-
- listFileInfo(URI, boolean) - Method in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageFileSystem
-
If the given path points to a directory then the information about its
children is returned, otherwise information about the given file is returned.
- listFileNames(FileInfo) - Method in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageFileSystem
-
If the given item is a directory then the paths of its immediate
children are returned, otherwise the path of the given item is returned.
- listFileNames(FileInfo, boolean) - Method in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageFileSystem
-
If the given item is a directory then the paths of its
children are returned, otherwise the path of the given item is returned.
- listObjectInfo(String, String, String) - Method in class com.google.cloud.hadoop.gcsio.CacheSupplementedGoogleCloudStorage
-
Supplements the list returned by the delegate with cached object infos; may trigger fetching
of any metadata not already available in the cache.
- listObjectInfo(String, String, String, long) - Method in class com.google.cloud.hadoop.gcsio.CacheSupplementedGoogleCloudStorage
-
Supplements the list returned by the delegate with cached object infos; may trigger fetching
of any metadata not already available in the cache.
- listObjectInfo(String, String, String) - Method in interface com.google.cloud.hadoop.gcsio.GoogleCloudStorage
-
Same name-matching semantics as listObjectNames except this method
retrieves the full GoogleCloudStorageFileInfo for each item as well.
- listObjectInfo(String, String, String, long) - Method in interface com.google.cloud.hadoop.gcsio.GoogleCloudStorage
-
Same name-matching semantics as listObjectNames except this method
retrieves the full GoogleCloudStorageFileInfo for each item as well.
- listObjectInfo(String, String, String) - Method in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageImpl
-
- listObjectInfo(String, String, String, long) - Method in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageImpl
-
- listObjectInfo(String, String, String) - Method in class com.google.cloud.hadoop.gcsio.MetadataReadOnlyGoogleCloudStorage
-
Uses shared prefix-matching logic to filter entries from the metadata cache.
- listObjectInfo(String, String, String, long) - Method in class com.google.cloud.hadoop.gcsio.MetadataReadOnlyGoogleCloudStorage
-
Uses shared prefix-matching logic to filter entries from the metadata cache.
- listObjectInfo(String, String, String) - Method in class com.google.cloud.hadoop.gcsio.testing.InMemoryGoogleCloudStorage
-
- listObjectInfo(String, String, String, long) - Method in class com.google.cloud.hadoop.gcsio.testing.InMemoryGoogleCloudStorage
-
- listObjectInfo(String, String, String) - Method in class com.google.cloud.hadoop.gcsio.ThrottledGoogleCloudStorage
-
- listObjectInfo(String, String, String, long) - Method in class com.google.cloud.hadoop.gcsio.ThrottledGoogleCloudStorage
-
- listObjectNames(String, String, String) - Method in class com.google.cloud.hadoop.gcsio.CacheSupplementedGoogleCloudStorage
-
Supplements the list returned by the delegate with cached object names; will try to fetch
metadata for supplemental entries which were missing from the delegate's returned list.
- listObjectNames(String, String, String, long) - Method in class com.google.cloud.hadoop.gcsio.CacheSupplementedGoogleCloudStorage
-
Supplements the list returned by the delegate with cached object names; will try to fetch
metadata for supplemental entries which were missing from the delegate's returned list.
- listObjectNames(String, String, String) - Method in interface com.google.cloud.hadoop.gcsio.GoogleCloudStorage
-
Gets names of objects contained in the given bucket and whose names begin with
the given prefix.
- listObjectNames(String, String, String, long) - Method in interface com.google.cloud.hadoop.gcsio.GoogleCloudStorage
-
Gets names of objects contained in the given bucket and whose names begin with
the given prefix.
- listObjectNames(String, String, String) - Method in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageImpl
-
- listObjectNames(String, String, String, long) - Method in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageImpl
-
- listObjectNames(String, String, String) - Method in class com.google.cloud.hadoop.gcsio.MetadataReadOnlyGoogleCloudStorage
-
- listObjectNames(String, String, String, long) - Method in class com.google.cloud.hadoop.gcsio.MetadataReadOnlyGoogleCloudStorage
-
- listObjectNames(String, String, String) - Method in class com.google.cloud.hadoop.gcsio.testing.InMemoryGoogleCloudStorage
-
- listObjectNames(String, String, String, long) - Method in class com.google.cloud.hadoop.gcsio.testing.InMemoryGoogleCloudStorage
-
- listObjectNames(String, String, String) - Method in class com.google.cloud.hadoop.gcsio.ThrottledGoogleCloudStorage
-
- listObjectNames(String, String, String, long) - Method in class com.google.cloud.hadoop.gcsio.ThrottledGoogleCloudStorage
-
- LOG - Static variable in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageFileSystem
-
- LOG - Static variable in class com.google.cloud.hadoop.gcsio.MetadataReadOnlyGoogleCloudStorage
-