- 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.ThrottledGoogleCloudStorage
-
- closeReadChannel() - Method in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageReadChannel
-
- com.google.cloud.hadoop.gcsio - package com.google.cloud.hadoop.gcsio
-
- 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.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(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.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.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.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.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
-
- 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.
- 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.
- 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.
- 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.
- getInstance() - Static method in class com.google.cloud.hadoop.gcsio.InMemoryDirectoryListCache
-
Accessor for shared singleton instance of DirectoryListCache.
- 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.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.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
-
- 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.
- 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.ThrottledGoogleCloudStorage
-
- getParentPath(URI) - Static method in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageFileSystem
-
Gets the parent directory of the given path.
- getPath() - Method in class com.google.cloud.hadoop.gcsio.FileInfo
-
Gets the path of this file or directory.
- getPath(String) - Static method in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageFileSystem
-
Constructs and returns full path for the given bucket name.
- getPath(String, String) - Static method in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageFileSystem
-
Constructs and returns full path for the given object name.
- getPath(String, String, boolean) - Static method in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageFileSystem
-
Constructs and returns full path for the given object name.
- getProjectId() - Method in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageOptions
-
- 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
-
- 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.
- 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.
- 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) - 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.
- 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.
- 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.
- 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
-
Callers should usually only obtain an instance via
getInstance() so that cache
info is shared process-wide, but instances can be created for temporary caches.
- 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.
- 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.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.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.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.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
-
- SCHEME - Static variable in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageFileSystem
-
- setAppName(String) - Method in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageOptions.Builder
-
- setAutoRepairImplicitDirectoriesEnabled(boolean) - Method in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageOptions.Builder
-
- setBasePath(String) - Method in class com.google.cloud.hadoop.gcsio.FileSystemBackedDirectoryListCache
-
Only exposed for testing purposes; shouldn't be called outside of tests.
- setCacheBasePath(String) - Method in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageFileSystemOptions.Builder
-
- setCacheMaxEntryAgeMillis(long) - Method in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageFileSystemOptions.Builder
-
- setCacheMaxInfoAgeMillis(long) - Method in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageFileSystemOptions.Builder
-
- setCacheType(DirectoryListCache.Type) - Method in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageFileSystemOptions.Builder
-
- setClock(Clock) - Static method in class com.google.cloud.hadoop.gcsio.CacheEntry
-
Sets a custom Clock to be used for computing cache creation and update times.
- setClock(Clock) - Method in class com.google.cloud.hadoop.gcsio.DirectoryListCache
-
Sets the static Clock instance used for calculating expiration times.
- setCloudStorageOptionsBuilder(GoogleCloudStorageOptions.Builder) - Method in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageFileSystemOptions.Builder
-
- setCreateMarkerObjects(boolean) - Method in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageOptions.Builder
-
- setInferImplicitDirectoriesEnabled(boolean) - Method in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageOptions.Builder
-
- setIsMetadataCacheEnabled(boolean) - Method in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageFileSystemOptions.Builder
-
- setItemInfo(GoogleCloudStorageItemInfo) - Method in class com.google.cloud.hadoop.gcsio.CacheEntry
-
Sets the GoogleCloudStorageItemInfo corresponding to this CacheEntry's StorageResourceId,
and updates the itemInfoUpdateTimeMillis.
- setMaxEntryAgeMillis(long) - Method in class com.google.cloud.hadoop.gcsio.DirectoryListCache.Config
-
Setter for maxEntryAgeMillis.
- setMaxInfoAgeMillis(long) - Method in class com.google.cloud.hadoop.gcsio.DirectoryListCache.Config
-
Setter for maxInfoAgeMillis.
- setMaxListItemsPerCall(long) - Method in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageOptions.Builder
-
- setMaxRequestsPerBatch(long) - Method in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageOptions.Builder
-
- setMaxRetries(int) - Method in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageReadChannel
-
Sets the number of times to automatically retry by re-opening the underlying readChannel
whenever an exception occurs while reading from it.
- setProjectId(String) - Method in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageOptions.Builder
-
- setProxyAddress(String) - Method in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageOptions.Builder
-
- setShouldIncludeInTimestampUpdatesPredicate(Predicate<String>) - Method in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageFileSystemOptions.Builder
-
- setSize(long) - Method in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageReadChannel
-
Sets size of this channel to the given value.
- setSize(HttpResponse, long) - Method in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageReadChannel
-
Set the size of the content.
- setTransportType(HttpTransportFactory.HttpTransportType) - Method in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageOptions.Builder
-
- setWriteChannelOptionsBuilder(AsyncWriteChannelOptions.Builder) - Method in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageOptions.Builder
-
- shouldIncludeInTimestampUpdatesPredicate - Variable in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageFileSystemOptions.Builder
-
- size() - Method in class com.google.cloud.hadoop.gcsio.GoogleCloudStorageReadChannel
-
Returns size of the object to which this channel is connected.
- StorageResourceId - Class in com.google.cloud.hadoop.gcsio
-
Data struct representing either a GCS StorageObject, a GCS Bucket or the GCS root (gs://).
- StorageResourceId(String) - Constructor for class com.google.cloud.hadoop.gcsio.StorageResourceId
-
Constructor for a StorageResourceId representing a Bucket; getObjectName() will return
null for a StorageResourceId that represents a Bucket.
- StorageResourceId(String, String) - Constructor for class com.google.cloud.hadoop.gcsio.StorageResourceId
-
Constructor for a StorageResourceId representing a full StorageObject, including bucketName
and objectName.
- supportsCacheEntryByReference() - Method in class com.google.cloud.hadoop.gcsio.DirectoryListCache
-
Implementations should indicate whether or not CacheEntry objects returned from methods are
intended to be shared references that are authoritative cache state regarding metadata
like cached GoogleCloudStorageItemInfo, etc.
- supportsCacheEntryByReference() - Method in class com.google.cloud.hadoop.gcsio.FileSystemBackedDirectoryListCache
-
We use a real filesystem as our authoritative cache, and thus CacheEntries are not shared
references.
- supportsCacheEntryByReference() - Method in class com.google.cloud.hadoop.gcsio.InMemoryDirectoryListCache
-
We use in-memory data structures to hold CacheEntry items, and thus manage them in a shared
manner; returned CacheEntry items are shared references, and updating their cached info
effectively updates the entry's info for all users of the cache.