Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- algorithm() - Method in record class io.trino.filesystem.encryption.EncryptionKey
-
Returns the value of the
algorithmrecord component. - appendPath(String) - Method in class io.trino.filesystem.Location
-
Creates a new location by appending the given path element to the current path.
- appendPath(String, String) - Static method in class io.trino.filesystem.Locations
-
Deprecated.
- appendSuffix(String) - Method in class io.trino.filesystem.Location
-
Creates a new location by appending the given suffix to the current path.
- areDirectoryLocationsEquivalent(Location, Location) - Static method in class io.trino.filesystem.Locations
-
Verifies whether the two provided directory location parameters point to the same actual location.
- attribute(AttributeKey<T>, Optional<T>) - Static method in class io.trino.filesystem.tracing.Tracing
B
- Block(List<String>, long, long) - Constructor for record class io.trino.filesystem.FileEntry.Block
-
Creates an instance of a
Blockrecord class. - blocks() - Method in record class io.trino.filesystem.FileEntry
-
Returns the value of the
blocksrecord component.
C
- CACHE_FILE_LOCATION - Static variable in class io.trino.filesystem.tracing.CacheSystemAttributes
- CACHE_FILE_LOCATION_COUNT - Static variable in class io.trino.filesystem.tracing.CacheSystemAttributes
- CACHE_FILE_READ_POSITION - Static variable in class io.trino.filesystem.tracing.CacheSystemAttributes
- CACHE_FILE_READ_SIZE - Static variable in class io.trino.filesystem.tracing.CacheSystemAttributes
- CACHE_FILE_WRITE_POSITION - Static variable in class io.trino.filesystem.tracing.CacheSystemAttributes
- CACHE_FILE_WRITE_SIZE - Static variable in class io.trino.filesystem.tracing.CacheSystemAttributes
- CACHE_KEY - Static variable in class io.trino.filesystem.tracing.CacheSystemAttributes
- CacheFileSystem - Class in io.trino.filesystem.cache
- CacheFileSystem(TrinoFileSystem, TrinoFileSystemCache, CacheKeyProvider) - Constructor for class io.trino.filesystem.cache.CacheFileSystem
- CacheFileSystemFactory - Class in io.trino.filesystem.cache
- CacheFileSystemFactory(Tracer, TrinoFileSystemFactory, TrinoFileSystemCache, CacheKeyProvider) - Constructor for class io.trino.filesystem.cache.CacheFileSystemFactory
- cacheInput(TrinoInputFile, String) - Method in interface io.trino.filesystem.cache.TrinoFileSystemCache
-
Get the TrinoInput of the TrinoInputFile, potentially using or updating the data cached at key.
- cacheInput(TrinoInputFile, String) - Method in class io.trino.filesystem.memory.MemoryFileSystemCache
- cacheInput(TrinoInputFile, String) - Method in class io.trino.filesystem.tracing.TracingFileSystemCache
- CacheInputFile - Class in io.trino.filesystem.cache
- CacheInputFile(TrinoInputFile, TrinoFileSystemCache, CacheKeyProvider, OptionalLong, Optional<Instant>) - Constructor for class io.trino.filesystem.cache.CacheInputFile
- CacheKeyProvider - Interface in io.trino.filesystem.cache
- cacheLength(TrinoInputFile, String) - Method in interface io.trino.filesystem.cache.TrinoFileSystemCache
-
Get the length of the TrinoInputFile, potentially using or updating the data cached at key.
- cacheLength(TrinoInputFile, String) - Method in class io.trino.filesystem.memory.MemoryFileSystemCache
- cacheLength(TrinoInputFile, String) - Method in class io.trino.filesystem.tracing.TracingFileSystemCache
- cacheStream(TrinoInputFile, String) - Method in interface io.trino.filesystem.cache.TrinoFileSystemCache
-
Get the TrinoInputStream of the TrinoInputFile, potentially using or updating the data cached at key.
- cacheStream(TrinoInputFile, String) - Method in class io.trino.filesystem.memory.MemoryFileSystemCache
- cacheStream(TrinoInputFile, String) - Method in class io.trino.filesystem.tracing.TracingFileSystemCache
- CacheSystemAttributes - Class in io.trino.filesystem.tracing
- CachingHostAddressProvider - Interface in io.trino.filesystem.cache
- close() - Method in class io.trino.filesystem.memory.MemoryOutputStream
- ConsistentHashingHostAddressProvider - Class in io.trino.filesystem.cache
- ConsistentHashingHostAddressProvider(NodeManager, ConsistentHashingHostAddressProviderConfig) - Constructor for class io.trino.filesystem.cache.ConsistentHashingHostAddressProvider
- ConsistentHashingHostAddressProviderConfig - Class in io.trino.filesystem.cache
- ConsistentHashingHostAddressProviderConfig() - Constructor for class io.trino.filesystem.cache.ConsistentHashingHostAddressProviderConfig
- create() - Method in interface io.trino.filesystem.TrinoOutputFile
-
This method delegates to
TrinoOutputFile.create(AggregatedMemoryContext). - create(AggregatedMemoryContext) - Method in class io.trino.filesystem.local.LocalOutputFile
- create(AggregatedMemoryContext) - Method in interface io.trino.filesystem.TrinoOutputFile
-
Open an output stream for creating a new file.
- create(ConnectorSession) - Method in class io.trino.filesystem.switching.SwitchingFileSystemFactory
- create(ConnectorSession) - Method in class io.trino.filesystem.tracing.TracingFileSystemFactory
- create(ConnectorSession) - Method in interface io.trino.filesystem.TrinoFileSystemFactory
- create(ConnectorIdentity) - Method in class io.trino.filesystem.cache.CacheFileSystemFactory
- create(ConnectorIdentity) - Method in class io.trino.filesystem.local.LocalFileSystemFactory
- create(ConnectorIdentity) - Method in class io.trino.filesystem.memory.MemoryFileSystemFactory
- create(ConnectorIdentity) - Method in class io.trino.filesystem.switching.SwitchingFileSystemFactory
- create(ConnectorIdentity) - Method in class io.trino.filesystem.tracing.TracingFileSystemFactory
- create(ConnectorIdentity) - Method in interface io.trino.filesystem.TrinoFileSystemFactory
- createDirectory(Location) - Method in class io.trino.filesystem.cache.CacheFileSystem
- createDirectory(Location) - Method in class io.trino.filesystem.encryption.EncryptionEnforcingFileSystem
- createDirectory(Location) - Method in class io.trino.filesystem.local.LocalFileSystem
- createDirectory(Location) - Method in class io.trino.filesystem.memory.MemoryFileSystem
- createDirectory(Location) - Method in interface io.trino.filesystem.TrinoFileSystem
-
Creates the specified directory and any parent directories that do not exist.
- createExclusive(byte[]) - Method in interface io.trino.filesystem.TrinoOutputFile
-
Create file exclusively and atomically with the specified content.
- createOrOverwrite(byte[]) - Method in class io.trino.filesystem.local.LocalOutputFile
- createOrOverwrite(byte[]) - Method in interface io.trino.filesystem.TrinoOutputFile
-
Create file with the specified content, atomically if possible.
- createTemporaryDirectory(Location, String, String) - Method in class io.trino.filesystem.cache.CacheFileSystem
- createTemporaryDirectory(Location, String, String) - Method in class io.trino.filesystem.encryption.EncryptionEnforcingFileSystem
- createTemporaryDirectory(Location, String, String) - Method in class io.trino.filesystem.local.LocalFileSystem
- createTemporaryDirectory(Location, String, String) - Method in class io.trino.filesystem.memory.MemoryFileSystem
- createTemporaryDirectory(Location, String, String) - Method in interface io.trino.filesystem.TrinoFileSystem
-
Creates a temporary directory for the target path.
D
- data() - Method in record class io.trino.filesystem.memory.MemoryBlob
-
Returns the value of the
datarecord component. - DefaultCacheKeyProvider - Class in io.trino.filesystem.cache
- DefaultCacheKeyProvider() - Constructor for class io.trino.filesystem.cache.DefaultCacheKeyProvider
- DefaultCachingHostAddressProvider - Class in io.trino.filesystem.cache
- DefaultCachingHostAddressProvider() - Constructor for class io.trino.filesystem.cache.DefaultCachingHostAddressProvider
- deleteDirectory(Location) - Method in class io.trino.filesystem.cache.CacheFileSystem
- deleteDirectory(Location) - Method in class io.trino.filesystem.encryption.EncryptionEnforcingFileSystem
- deleteDirectory(Location) - Method in class io.trino.filesystem.local.LocalFileSystem
- deleteDirectory(Location) - Method in class io.trino.filesystem.memory.MemoryFileSystem
- deleteDirectory(Location) - Method in interface io.trino.filesystem.TrinoFileSystem
-
Deletes all files and directories within the specified directory recursively, and deletes the directory itself.
- deleteFile(Location) - Method in class io.trino.filesystem.cache.CacheFileSystem
- deleteFile(Location) - Method in class io.trino.filesystem.encryption.EncryptionEnforcingFileSystem
- deleteFile(Location) - Method in class io.trino.filesystem.local.LocalFileSystem
- deleteFile(Location) - Method in class io.trino.filesystem.memory.MemoryFileSystem
- deleteFile(Location) - Method in interface io.trino.filesystem.TrinoFileSystem
-
Deletes the specified file.
- deleteFiles(Collection<Location>) - Method in class io.trino.filesystem.cache.CacheFileSystem
- deleteFiles(Collection<Location>) - Method in class io.trino.filesystem.encryption.EncryptionEnforcingFileSystem
- deleteFiles(Collection<Location>) - Method in interface io.trino.filesystem.TrinoFileSystem
-
Delete specified files.
- destroy() - Method in class io.trino.filesystem.cache.ConsistentHashingHostAddressProvider
- directoryExists(Location) - Method in class io.trino.filesystem.cache.CacheFileSystem
- directoryExists(Location) - Method in class io.trino.filesystem.encryption.EncryptionEnforcingFileSystem
- directoryExists(Location) - Method in class io.trino.filesystem.local.LocalFileSystem
- directoryExists(Location) - Method in class io.trino.filesystem.memory.MemoryFileSystem
- directoryExists(Location) - Method in interface io.trino.filesystem.TrinoFileSystem
-
Checks if a directory exists at the specified location.
E
- empty() - Static method in interface io.trino.filesystem.FileIterator
- encryptedPreSignedUri(Location, Duration, EncryptionKey) - Method in class io.trino.filesystem.encryption.EncryptionEnforcingFileSystem
- encryptedPreSignedUri(Location, Duration, EncryptionKey) - Method in interface io.trino.filesystem.TrinoFileSystem
-
Returns the direct encrypted pre-signed URI location for the given storage location.
- EncryptionEnforcingFileSystem - Class in io.trino.filesystem.encryption
-
File system implementation that enforces encrypted file system calls.
- EncryptionEnforcingFileSystem(TrinoFileSystem, EncryptionKey) - Constructor for class io.trino.filesystem.encryption.EncryptionEnforcingFileSystem
- EncryptionKey - Record Class in io.trino.filesystem.encryption
- EncryptionKey(byte[], String) - Constructor for record class io.trino.filesystem.encryption.EncryptionKey
-
Creates an instance of a
EncryptionKeyrecord class. - equals(Object) - Method in record class io.trino.filesystem.encryption.EncryptionKey
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.trino.filesystem.FileEntry.Block
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.trino.filesystem.FileEntry
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class io.trino.filesystem.Location
- equals(Object) - Method in record class io.trino.filesystem.memory.MemoryBlob
-
Indicates whether some other object is "equal to" this one.
- exists() - Method in class io.trino.filesystem.cache.CacheInputFile
- exists() - Method in class io.trino.filesystem.local.LocalInputFile
- exists() - Method in class io.trino.filesystem.memory.MemoryInputFile
- exists() - Method in interface io.trino.filesystem.TrinoInputFile
- expire(Location) - Method in interface io.trino.filesystem.cache.TrinoFileSystemCache
-
Give a hint to the cache that the cache entry for location should be expired.
- expire(Location) - Method in class io.trino.filesystem.memory.MemoryFileSystemCache
- expire(Location) - Method in class io.trino.filesystem.tracing.TracingFileSystemCache
- expire(Collection<Location>) - Method in interface io.trino.filesystem.cache.TrinoFileSystemCache
-
Give a hint to the cache that the cache entry for locations should be expired.
- expire(Collection<Location>) - Method in class io.trino.filesystem.memory.MemoryFileSystemCache
- expire(Collection<Location>) - Method in class io.trino.filesystem.tracing.TracingFileSystemCache
- EXTRA_CREDENTIALS_ACCESS_KEY_PROPERTY - Static variable in class io.trino.filesystem.s3.S3FileSystemConstants
- EXTRA_CREDENTIALS_SECRET_KEY_PROPERTY - Static variable in class io.trino.filesystem.s3.S3FileSystemConstants
- EXTRA_CREDENTIALS_SESSION_TOKEN_PROPERTY - Static variable in class io.trino.filesystem.s3.S3FileSystemConstants
F
- FILE_LOCATION - Static variable in class io.trino.filesystem.tracing.FileSystemAttributes
- FILE_LOCATION_COUNT - Static variable in class io.trino.filesystem.tracing.FileSystemAttributes
- FILE_READ_POSITION - Static variable in class io.trino.filesystem.tracing.FileSystemAttributes
- FILE_READ_SIZE - Static variable in class io.trino.filesystem.tracing.FileSystemAttributes
- FILE_SIZE - Static variable in class io.trino.filesystem.tracing.FileSystemAttributes
- FileEntry - Record Class in io.trino.filesystem
- FileEntry(Location, long, Instant, Optional<List<FileEntry.Block>>) - Constructor for record class io.trino.filesystem.FileEntry
- FileEntry(Location, long, Instant, Optional<List<FileEntry.Block>>, Set<String>) - Constructor for record class io.trino.filesystem.FileEntry
-
Creates an instance of a
FileEntryrecord class. - FileEntry.Block - Record Class in io.trino.filesystem
- FileIterator - Interface in io.trino.filesystem
- fileName() - Method in class io.trino.filesystem.Location
-
Returns the file name of the location.
- FileSystemAttributes - Class in io.trino.filesystem.tracing
- flush() - Method in class io.trino.filesystem.memory.MemoryOutputStream
- flushCache() - Method in class io.trino.filesystem.memory.MemoryFileSystemCache
G
- get() - Method in interface io.trino.filesystem.tracing.Tracing.CheckedSupplier
- getCacheKey(TrinoInputFile) - Method in interface io.trino.filesystem.cache.CacheKeyProvider
-
Get the cache key of a TrinoInputFile.
- getCacheKey(TrinoInputFile) - Method in class io.trino.filesystem.cache.DefaultCacheKeyProvider
- getCacheTtl() - Method in class io.trino.filesystem.memory.MemoryFileSystemCacheConfig
- getDelegate() - Method in class io.trino.filesystem.encryption.EncryptionEnforcingFileSystem
- getHitCount() - Method in class io.trino.filesystem.memory.MemoryFileSystemCache
- getHosts(String, List<HostAddress>) - Method in interface io.trino.filesystem.cache.CachingHostAddressProvider
-
Returns a lists of hosts which are preferred to cache the split with the given path.
- getHosts(String, List<HostAddress>) - Method in class io.trino.filesystem.cache.ConsistentHashingHostAddressProvider
- getHosts(String, List<HostAddress>) - Method in class io.trino.filesystem.cache.DefaultCachingHostAddressProvider
- getLargeFileSkippedCount() - Method in class io.trino.filesystem.memory.MemoryFileSystemCache
- getMaxContentLength() - Method in class io.trino.filesystem.memory.MemoryFileSystemCacheConfig
- getMaxSize() - Method in class io.trino.filesystem.memory.MemoryFileSystemCacheConfig
- getPosition() - Method in class io.trino.filesystem.TrinoInputStream
- getPreferredHostsCount() - Method in class io.trino.filesystem.cache.ConsistentHashingHostAddressProviderConfig
- getRequestCount() - Method in class io.trino.filesystem.memory.MemoryFileSystemCache
H
- hashCode() - Method in record class io.trino.filesystem.encryption.EncryptionKey
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.trino.filesystem.FileEntry.Block
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.trino.filesystem.FileEntry
-
Returns a hash code value for this object.
- hashCode() - Method in class io.trino.filesystem.Location
- hashCode() - Method in record class io.trino.filesystem.memory.MemoryBlob
-
Returns a hash code value for this object.
- hasNext() - Method in interface io.trino.filesystem.FileIterator
- headers() - Method in class io.trino.filesystem.UriLocation
- host() - Method in class io.trino.filesystem.Location
-
Returns the host of the location, if present.
- hosts() - Method in record class io.trino.filesystem.FileEntry.Block
-
Returns the value of the
hostsrecord component.
I
- io.trino.filesystem - package io.trino.filesystem
- io.trino.filesystem.cache - package io.trino.filesystem.cache
- io.trino.filesystem.encryption - package io.trino.filesystem.encryption
- io.trino.filesystem.local - package io.trino.filesystem.local
- io.trino.filesystem.memory - package io.trino.filesystem.memory
- io.trino.filesystem.s3 - package io.trino.filesystem.s3
- io.trino.filesystem.switching - package io.trino.filesystem.switching
- io.trino.filesystem.tracing - package io.trino.filesystem.tracing
- isEmpty() - Method in class io.trino.filesystem.memory.MemoryFileSystem
- isUnrecoverableException(Throwable) - Static method in interface io.trino.filesystem.TrinoFileSystem
-
Checks whether given exception is unrecoverable, so that further retries won't help
K
- key() - Method in record class io.trino.filesystem.encryption.EncryptionKey
-
Returns the value of the
keyrecord component.
L
- lastModified() - Method in class io.trino.filesystem.cache.CacheInputFile
- lastModified() - Method in record class io.trino.filesystem.FileEntry
-
Returns the value of the
lastModifiedrecord component. - lastModified() - Method in class io.trino.filesystem.local.LocalInputFile
- lastModified() - Method in record class io.trino.filesystem.memory.MemoryBlob
-
Returns the value of the
lastModifiedrecord component. - lastModified() - Method in class io.trino.filesystem.memory.MemoryInputFile
- lastModified() - Method in interface io.trino.filesystem.TrinoInputFile
- length() - Method in class io.trino.filesystem.cache.CacheInputFile
- length() - Method in record class io.trino.filesystem.FileEntry.Block
-
Returns the value of the
lengthrecord component. - length() - Method in record class io.trino.filesystem.FileEntry
-
Returns the value of the
lengthrecord component. - length() - Method in class io.trino.filesystem.local.LocalInputFile
- length() - Method in class io.trino.filesystem.memory.MemoryInputFile
- length() - Method in interface io.trino.filesystem.TrinoInputFile
- listDirectories(Location) - Method in class io.trino.filesystem.cache.CacheFileSystem
- listDirectories(Location) - Method in class io.trino.filesystem.encryption.EncryptionEnforcingFileSystem
- listDirectories(Location) - Method in class io.trino.filesystem.local.LocalFileSystem
- listDirectories(Location) - Method in class io.trino.filesystem.memory.MemoryFileSystem
- listDirectories(Location) - Method in interface io.trino.filesystem.TrinoFileSystem
-
Lists all directories that are direct descendants of the specified directory.
- listFiles(Location) - Method in class io.trino.filesystem.cache.CacheFileSystem
- listFiles(Location) - Method in class io.trino.filesystem.encryption.EncryptionEnforcingFileSystem
- listFiles(Location) - Method in class io.trino.filesystem.local.LocalFileSystem
- listFiles(Location) - Method in class io.trino.filesystem.memory.MemoryFileSystem
- listFiles(Location) - Method in interface io.trino.filesystem.TrinoFileSystem
-
Lists all files within the specified directory recursively.
- LocalFileSystem - Class in io.trino.filesystem.local
-
A hierarchical file system for testing.
- LocalFileSystem(Path) - Constructor for class io.trino.filesystem.local.LocalFileSystem
- LocalFileSystemFactory - Class in io.trino.filesystem.local
-
A hierarchical file system for testing.
- LocalFileSystemFactory(Path) - Constructor for class io.trino.filesystem.local.LocalFileSystemFactory
- LocalInputFile - Class in io.trino.filesystem.local
- LocalInputFile(Location, Path) - Constructor for class io.trino.filesystem.local.LocalInputFile
- LocalInputFile(Location, Path, long, Instant) - Constructor for class io.trino.filesystem.local.LocalInputFile
- LocalInputFile(File) - Constructor for class io.trino.filesystem.local.LocalInputFile
- LocalOutputFile - Class in io.trino.filesystem.local
- LocalOutputFile(Location, Path) - Constructor for class io.trino.filesystem.local.LocalOutputFile
- LocalOutputFile(File) - Constructor for class io.trino.filesystem.local.LocalOutputFile
- location() - Method in class io.trino.filesystem.cache.CacheInputFile
- location() - Method in record class io.trino.filesystem.FileEntry
-
Returns the value of the
locationrecord component. - location() - Method in class io.trino.filesystem.local.LocalInputFile
- location() - Method in class io.trino.filesystem.local.LocalOutputFile
- location() - Method in class io.trino.filesystem.memory.MemoryInputFile
- location() - Method in interface io.trino.filesystem.TrinoInputFile
- location() - Method in interface io.trino.filesystem.TrinoOutputFile
- Location - Class in io.trino.filesystem
-
Location of a file or directory in a blob or hierarchical file system.
- Locations - Class in io.trino.filesystem
M
- MemoryBlob - Record Class in io.trino.filesystem.memory
- MemoryBlob(Slice) - Constructor for record class io.trino.filesystem.memory.MemoryBlob
- MemoryBlob(Slice, Instant) - Constructor for record class io.trino.filesystem.memory.MemoryBlob
-
Creates an instance of a
MemoryBlobrecord class. - MemoryFileSystem - Class in io.trino.filesystem.memory
-
A blob file system for testing.
- MemoryFileSystem() - Constructor for class io.trino.filesystem.memory.MemoryFileSystem
- MemoryFileSystemCache - Class in io.trino.filesystem.memory
- MemoryFileSystemCache(MemoryFileSystemCacheConfig) - Constructor for class io.trino.filesystem.memory.MemoryFileSystemCache
- MemoryFileSystemCacheConfig - Class in io.trino.filesystem.memory
- MemoryFileSystemCacheConfig() - Constructor for class io.trino.filesystem.memory.MemoryFileSystemCacheConfig
- MemoryFileSystemCacheModule - Class in io.trino.filesystem.memory
- MemoryFileSystemCacheModule(boolean) - Constructor for class io.trino.filesystem.memory.MemoryFileSystemCacheModule
- MemoryFileSystemFactory - Class in io.trino.filesystem.memory
-
A blob file system for testing.
- MemoryFileSystemFactory() - Constructor for class io.trino.filesystem.memory.MemoryFileSystemFactory
- MemoryInputFile - Class in io.trino.filesystem.memory
- MemoryInputFile(Location, Slice) - Constructor for class io.trino.filesystem.memory.MemoryInputFile
- MemoryInputFile(Location, Supplier<MemoryBlob>, OptionalLong, Optional<Instant>) - Constructor for class io.trino.filesystem.memory.MemoryInputFile
- MemoryOutputStream - Class in io.trino.filesystem.memory
- MemoryOutputStream(Location, MemoryOutputStream.OnStreamClose) - Constructor for class io.trino.filesystem.memory.MemoryOutputStream
- MemoryOutputStream.OnStreamClose - Interface in io.trino.filesystem.memory
N
- newEncryptedInputFile(Location, long, EncryptionKey) - Method in class io.trino.filesystem.encryption.EncryptionEnforcingFileSystem
- newEncryptedInputFile(Location, long, EncryptionKey) - Method in interface io.trino.filesystem.TrinoFileSystem
-
Creates an encrypted TrinoInputFile with a predeclared length which can be used to read the file encrypted data.
- newEncryptedInputFile(Location, long, Instant, EncryptionKey) - Method in class io.trino.filesystem.encryption.EncryptionEnforcingFileSystem
- newEncryptedInputFile(Location, long, Instant, EncryptionKey) - Method in interface io.trino.filesystem.TrinoFileSystem
-
Creates an encrypted TrinoInputFile with a predeclared length and lastModifiedTime which can be used to read the encrypted file data.
- newEncryptedInputFile(Location, EncryptionKey) - Method in class io.trino.filesystem.encryption.EncryptionEnforcingFileSystem
- newEncryptedInputFile(Location, EncryptionKey) - Method in interface io.trino.filesystem.TrinoFileSystem
-
Creates an encrypted TrinoInputFile which can be used to read the encrypted file data.
- newEncryptedOutputFile(Location, EncryptionKey) - Method in class io.trino.filesystem.encryption.EncryptionEnforcingFileSystem
- newEncryptedOutputFile(Location, EncryptionKey) - Method in interface io.trino.filesystem.TrinoFileSystem
-
Creates an encrypted TrinoOutputFile which can be used to create or overwrite the file.
- newInput() - Method in class io.trino.filesystem.cache.CacheInputFile
- newInput() - Method in class io.trino.filesystem.local.LocalInputFile
- newInput() - Method in class io.trino.filesystem.memory.MemoryInputFile
- newInput() - Method in interface io.trino.filesystem.TrinoInputFile
- newInputFile(Location) - Method in class io.trino.filesystem.cache.CacheFileSystem
- newInputFile(Location) - Method in class io.trino.filesystem.encryption.EncryptionEnforcingFileSystem
- newInputFile(Location) - Method in class io.trino.filesystem.local.LocalFileSystem
- newInputFile(Location) - Method in class io.trino.filesystem.memory.MemoryFileSystem
- newInputFile(Location) - Method in interface io.trino.filesystem.TrinoFileSystem
-
Creates a TrinoInputFile which can be used to read the file data.
- newInputFile(Location, long) - Method in class io.trino.filesystem.cache.CacheFileSystem
- newInputFile(Location, long) - Method in class io.trino.filesystem.encryption.EncryptionEnforcingFileSystem
- newInputFile(Location, long) - Method in class io.trino.filesystem.local.LocalFileSystem
- newInputFile(Location, long) - Method in class io.trino.filesystem.memory.MemoryFileSystem
- newInputFile(Location, long) - Method in interface io.trino.filesystem.TrinoFileSystem
-
Creates a TrinoInputFile with a predeclared length which can be used to read the file data.
- newInputFile(Location, long, Instant) - Method in class io.trino.filesystem.cache.CacheFileSystem
- newInputFile(Location, long, Instant) - Method in class io.trino.filesystem.encryption.EncryptionEnforcingFileSystem
- newInputFile(Location, long, Instant) - Method in class io.trino.filesystem.local.LocalFileSystem
- newInputFile(Location, long, Instant) - Method in class io.trino.filesystem.memory.MemoryFileSystem
- newInputFile(Location, long, Instant) - Method in interface io.trino.filesystem.TrinoFileSystem
-
Creates a TrinoInputFile with a predeclared length and lastModifiedTime which can be used to read the file data.
- newOutputFile(Location) - Method in class io.trino.filesystem.cache.CacheFileSystem
- newOutputFile(Location) - Method in class io.trino.filesystem.encryption.EncryptionEnforcingFileSystem
- newOutputFile(Location) - Method in class io.trino.filesystem.local.LocalFileSystem
- newOutputFile(Location) - Method in class io.trino.filesystem.memory.MemoryFileSystem
- newOutputFile(Location) - Method in interface io.trino.filesystem.TrinoFileSystem
-
Creates a TrinoOutputFile which can be used to create or overwrite the file.
- newStream() - Method in class io.trino.filesystem.cache.CacheInputFile
- newStream() - Method in class io.trino.filesystem.local.LocalInputFile
- newStream() - Method in class io.trino.filesystem.memory.MemoryInputFile
- newStream() - Method in interface io.trino.filesystem.TrinoInputFile
- next() - Method in interface io.trino.filesystem.FileIterator
O
- of(String) - Static method in class io.trino.filesystem.Location
- offset() - Method in record class io.trino.filesystem.FileEntry.Block
-
Returns the value of the
offsetrecord component. - onClose(Slice) - Method in interface io.trino.filesystem.memory.MemoryOutputStream.OnStreamClose
P
- parentDirectory() - Method in class io.trino.filesystem.Location
-
Creates a new location with all characters removed after the last slash in the path.
- path() - Method in class io.trino.filesystem.Location
-
Returns the path of the location.
- port() - Method in class io.trino.filesystem.Location
- preSignedUri(Location, Duration) - Method in class io.trino.filesystem.encryption.EncryptionEnforcingFileSystem
- preSignedUri(Location, Duration) - Method in interface io.trino.filesystem.TrinoFileSystem
-
Returns the direct pre-signed URI location for the given storage location.
R
- randomAes256() - Static method in record class io.trino.filesystem.encryption.EncryptionKey
- readFully(long, byte[], int, int) - Method in interface io.trino.filesystem.TrinoInput
- readFully(long, int) - Method in interface io.trino.filesystem.TrinoInput
- readTail(byte[], int, int) - Method in interface io.trino.filesystem.TrinoInput
- readTail(int) - Method in interface io.trino.filesystem.TrinoInput
- renameDirectory(Location, Location) - Method in class io.trino.filesystem.cache.CacheFileSystem
- renameDirectory(Location, Location) - Method in class io.trino.filesystem.encryption.EncryptionEnforcingFileSystem
- renameDirectory(Location, Location) - Method in class io.trino.filesystem.local.LocalFileSystem
- renameDirectory(Location, Location) - Method in class io.trino.filesystem.memory.MemoryFileSystem
- renameDirectory(Location, Location) - Method in interface io.trino.filesystem.TrinoFileSystem
-
Renames source to target.
- renameFile(Location, Location) - Method in class io.trino.filesystem.cache.CacheFileSystem
- renameFile(Location, Location) - Method in class io.trino.filesystem.encryption.EncryptionEnforcingFileSystem
- renameFile(Location, Location) - Method in class io.trino.filesystem.local.LocalFileSystem
- renameFile(Location, Location) - Method in class io.trino.filesystem.memory.MemoryFileSystem
- renameFile(Location, Location) - Method in interface io.trino.filesystem.TrinoFileSystem
-
Rename source to target without overwriting target.
- run() - Method in interface io.trino.filesystem.tracing.Tracing.CheckedRunnable
S
- S3FileSystemConstants - Class in io.trino.filesystem.s3
- scheme() - Method in class io.trino.filesystem.Location
-
Returns the scheme of the location, if present.
- seek(long) - Method in class io.trino.filesystem.TrinoInputStream
- setCacheTtl(Duration) - Method in class io.trino.filesystem.memory.MemoryFileSystemCacheConfig
- setMaxContentLength(DataSize) - Method in class io.trino.filesystem.memory.MemoryFileSystemCacheConfig
- setMaxSize(DataSize) - Method in class io.trino.filesystem.memory.MemoryFileSystemCacheConfig
- setPreferredHostsCount(int) - Method in class io.trino.filesystem.cache.ConsistentHashingHostAddressProviderConfig
- setup(Binder) - Method in class io.trino.filesystem.memory.MemoryFileSystemCacheModule
- sibling(String) - Method in class io.trino.filesystem.Location
-
Returns a new location with the same parent directory as the current location, but with the filename corresponding to the specified name.
- startRefreshingHashRing() - Method in class io.trino.filesystem.cache.ConsistentHashingHostAddressProvider
- SwitchingFileSystemFactory - Class in io.trino.filesystem.switching
- SwitchingFileSystemFactory(Function<Location, TrinoFileSystemFactory>) - Constructor for class io.trino.filesystem.switching.SwitchingFileSystemFactory
T
- tags() - Method in record class io.trino.filesystem.FileEntry
-
Returns the value of the
tagsrecord component. - toString() - Method in record class io.trino.filesystem.encryption.EncryptionKey
-
Returns a string representation of this record class.
- toString() - Method in record class io.trino.filesystem.FileEntry.Block
-
Returns a string representation of this record class.
- toString() - Method in record class io.trino.filesystem.FileEntry
-
Returns a string representation of this record class.
- toString() - Method in class io.trino.filesystem.local.LocalInputFile
- toString() - Method in class io.trino.filesystem.local.LocalOutputFile
- toString() - Method in class io.trino.filesystem.Location
-
Return the original location string.
- toString() - Method in record class io.trino.filesystem.memory.MemoryBlob
-
Returns a string representation of this record class.
- toString() - Method in class io.trino.filesystem.memory.MemoryInputFile
- Tracing - Class in io.trino.filesystem.tracing
- Tracing.CheckedRunnable<E> - Interface in io.trino.filesystem.tracing
- Tracing.CheckedSupplier<T,
E> - Interface in io.trino.filesystem.tracing - TracingFileSystemCache - Class in io.trino.filesystem.tracing
- TracingFileSystemCache(Tracer, TrinoFileSystemCache) - Constructor for class io.trino.filesystem.tracing.TracingFileSystemCache
- TracingFileSystemFactory - Class in io.trino.filesystem.tracing
- TracingFileSystemFactory(Tracer, TrinoFileSystemFactory) - Constructor for class io.trino.filesystem.tracing.TracingFileSystemFactory
- TrinoFileSystem - Interface in io.trino.filesystem
-
TrinoFileSystem is the main abstraction for Trino to interact with data in cloud-like storage systems.
- TrinoFileSystemCache - Interface in io.trino.filesystem.cache
- TrinoFileSystemException - Exception Class in io.trino.filesystem
-
Unrecoverable file system exception.
- TrinoFileSystemException(String) - Constructor for exception class io.trino.filesystem.TrinoFileSystemException
- TrinoFileSystemException(String, Throwable) - Constructor for exception class io.trino.filesystem.TrinoFileSystemException
- TrinoFileSystemFactory - Interface in io.trino.filesystem
- TrinoInput - Interface in io.trino.filesystem
- TrinoInputFile - Interface in io.trino.filesystem
- TrinoInputStream - Class in io.trino.filesystem
- TrinoInputStream() - Constructor for class io.trino.filesystem.TrinoInputStream
- TrinoOutputFile - Interface in io.trino.filesystem
U
- uri() - Method in class io.trino.filesystem.UriLocation
- UriLocation - Class in io.trino.filesystem
- UriLocation(URI, Map<String, List<String>>) - Constructor for class io.trino.filesystem.UriLocation
- userInfo() - Method in class io.trino.filesystem.Location
-
Returns the user info of the location, if present.
V
- verifyValidFileLocation() - Method in class io.trino.filesystem.Location
-
Verifies the location is valid for a file reference.
W
- withTracing(Span, Tracing.CheckedRunnable<E>) - Static method in class io.trino.filesystem.tracing.Tracing
- withTracing(Span, Tracing.CheckedSupplier<T, E>) - Static method in class io.trino.filesystem.tracing.Tracing
- write(byte[], int, int) - Method in class io.trino.filesystem.memory.MemoryOutputStream
- write(int) - Method in class io.trino.filesystem.memory.MemoryOutputStream
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
Location.appendPath(String)instead