Uses of Class
io.trino.filesystem.Location
Packages that use Location
Package
Description
-
Uses of Location in io.trino.filesystem
Methods in io.trino.filesystem that return LocationModifier and TypeMethodDescriptionLocation.appendPath(String newPathElement) Creates a new location by appending the given path element to the current path.Location.appendSuffix(String suffix) Creates a new location by appending the given suffix to the current path.FileEntry.location()Returns the value of thelocationrecord component.TrinoInputFile.location()TrinoOutputFile.location()static LocationLocation.parentDirectory()Creates a new location with all characters removed after the last slash in the path.Returns a new location with the same parent directory as the current location, but with the filename corresponding to the specified name.Methods in io.trino.filesystem that return types with arguments of type LocationModifier and TypeMethodDescriptionTrinoFileSystem.createTemporaryDirectory(Location targetPath, String temporaryPrefix, String relativePrefix) Creates a temporary directory for the target path.TrinoFileSystem.listDirectories(Location location) Lists all directories that are direct descendants of the specified directory.Methods in io.trino.filesystem with parameters of type LocationModifier and TypeMethodDescriptionstatic booleanLocations.areDirectoryLocationsEquivalent(Location leftLocation, Location rightLocation) Verifies whether the two provided directory location parameters point to the same actual location.voidTrinoFileSystem.createDirectory(Location location) Creates the specified directory and any parent directories that do not exist.TrinoFileSystem.createTemporaryDirectory(Location targetPath, String temporaryPrefix, String relativePrefix) Creates a temporary directory for the target path.voidTrinoFileSystem.deleteDirectory(Location location) Deletes all files and directories within the specified directory recursively, and deletes the directory itself.voidTrinoFileSystem.deleteFile(Location location) Deletes the specified file.TrinoFileSystem.directoryExists(Location location) Checks if a directory exists at the specified location.default Optional<UriLocation> TrinoFileSystem.encryptedPreSignedUri(Location location, io.airlift.units.Duration ttl, EncryptionKey key) Returns the direct encrypted pre-signed URI location for the given storage location.TrinoFileSystem.listDirectories(Location location) Lists all directories that are direct descendants of the specified directory.Lists all files within the specified directory recursively.default TrinoInputFileTrinoFileSystem.newEncryptedInputFile(Location location, long length, EncryptionKey key) Creates an encrypted TrinoInputFile with a predeclared length which can be used to read the file encrypted data.default TrinoInputFileTrinoFileSystem.newEncryptedInputFile(Location location, long length, Instant lastModified, EncryptionKey key) Creates an encrypted TrinoInputFile with a predeclared length and lastModifiedTime which can be used to read the encrypted file data.default TrinoInputFileTrinoFileSystem.newEncryptedInputFile(Location location, EncryptionKey key) Creates an encrypted TrinoInputFile which can be used to read the encrypted file data.default TrinoOutputFileTrinoFileSystem.newEncryptedOutputFile(Location location, EncryptionKey key) Creates an encrypted TrinoOutputFile which can be used to create or overwrite the file.TrinoFileSystem.newInputFile(Location location) Creates a TrinoInputFile which can be used to read the file data.TrinoFileSystem.newInputFile(Location location, long length) Creates a TrinoInputFile with a predeclared length which can be used to read the file data.TrinoFileSystem.newInputFile(Location location, long length, Instant lastModified) Creates a TrinoInputFile with a predeclared length and lastModifiedTime which can be used to read the file data.TrinoFileSystem.newOutputFile(Location location) Creates a TrinoOutputFile which can be used to create or overwrite the file.default Optional<UriLocation> TrinoFileSystem.preSignedUri(Location location, io.airlift.units.Duration ttl) Returns the direct pre-signed URI location for the given storage location.voidTrinoFileSystem.renameDirectory(Location source, Location target) Renames source to target.voidTrinoFileSystem.renameFile(Location source, Location target) Rename source to target without overwriting target.Method parameters in io.trino.filesystem with type arguments of type LocationModifier and TypeMethodDescriptiondefault voidTrinoFileSystem.deleteFiles(Collection<Location> locations) Delete specified files.Constructors in io.trino.filesystem with parameters of type LocationModifierConstructorDescriptionFileEntry(Location location, long length, Instant lastModified, Optional<List<FileEntry.Block>> blocks) FileEntry(Location location, long length, Instant lastModified, Optional<List<FileEntry.Block>> blocks, Set<String> tags) Creates an instance of aFileEntryrecord class. -
Uses of Location in io.trino.filesystem.cache
Methods in io.trino.filesystem.cache that return LocationMethods in io.trino.filesystem.cache that return types with arguments of type LocationModifier and TypeMethodDescriptionCacheFileSystem.createTemporaryDirectory(Location targetPath, String temporaryPrefix, String relativePrefix) CacheFileSystem.listDirectories(Location location) Methods in io.trino.filesystem.cache with parameters of type LocationModifier and TypeMethodDescriptionvoidCacheFileSystem.createDirectory(Location location) CacheFileSystem.createTemporaryDirectory(Location targetPath, String temporaryPrefix, String relativePrefix) voidCacheFileSystem.deleteDirectory(Location location) voidCacheFileSystem.deleteFile(Location location) CacheFileSystem.directoryExists(Location location) voidGive a hint to the cache that the cache entry for location should be expired.CacheFileSystem.listDirectories(Location location) CacheFileSystem.newInputFile(Location location) CacheFileSystem.newInputFile(Location location, long length) CacheFileSystem.newInputFile(Location location, long length, Instant lastModified) CacheFileSystem.newOutputFile(Location location) voidCacheFileSystem.renameDirectory(Location source, Location target) voidCacheFileSystem.renameFile(Location source, Location target) Method parameters in io.trino.filesystem.cache with type arguments of type LocationModifier and TypeMethodDescriptionvoidCacheFileSystem.deleteFiles(Collection<Location> locations) voidTrinoFileSystemCache.expire(Collection<Location> locations) Give a hint to the cache that the cache entry for locations should be expired. -
Uses of Location in io.trino.filesystem.encryption
Methods in io.trino.filesystem.encryption that return types with arguments of type LocationModifier and TypeMethodDescriptionEncryptionEnforcingFileSystem.createTemporaryDirectory(Location targetPath, String temporaryPrefix, String relativePrefix) EncryptionEnforcingFileSystem.listDirectories(Location location) Methods in io.trino.filesystem.encryption with parameters of type LocationModifier and TypeMethodDescriptionvoidEncryptionEnforcingFileSystem.createDirectory(Location location) EncryptionEnforcingFileSystem.createTemporaryDirectory(Location targetPath, String temporaryPrefix, String relativePrefix) voidEncryptionEnforcingFileSystem.deleteDirectory(Location location) voidEncryptionEnforcingFileSystem.deleteFile(Location location) EncryptionEnforcingFileSystem.directoryExists(Location location) EncryptionEnforcingFileSystem.encryptedPreSignedUri(Location location, io.airlift.units.Duration ttl, EncryptionKey key) EncryptionEnforcingFileSystem.listDirectories(Location location) EncryptionEnforcingFileSystem.newEncryptedInputFile(Location location, long length, EncryptionKey key) EncryptionEnforcingFileSystem.newEncryptedInputFile(Location location, long length, Instant lastModified, EncryptionKey key) EncryptionEnforcingFileSystem.newEncryptedInputFile(Location location, EncryptionKey key) EncryptionEnforcingFileSystem.newEncryptedOutputFile(Location location, EncryptionKey key) EncryptionEnforcingFileSystem.newInputFile(Location location) EncryptionEnforcingFileSystem.newInputFile(Location location, long length) EncryptionEnforcingFileSystem.newInputFile(Location location, long length, Instant lastModified) EncryptionEnforcingFileSystem.newOutputFile(Location location) EncryptionEnforcingFileSystem.preSignedUri(Location location, io.airlift.units.Duration ttl) voidEncryptionEnforcingFileSystem.renameDirectory(Location source, Location target) voidEncryptionEnforcingFileSystem.renameFile(Location source, Location target) Method parameters in io.trino.filesystem.encryption with type arguments of type LocationModifier and TypeMethodDescriptionvoidEncryptionEnforcingFileSystem.deleteFiles(Collection<Location> locations) -
Uses of Location in io.trino.filesystem.local
Methods in io.trino.filesystem.local that return LocationMethods in io.trino.filesystem.local that return types with arguments of type LocationModifier and TypeMethodDescriptionLocalFileSystem.createTemporaryDirectory(Location targetPath, String temporaryPrefix, String relativePrefix) LocalFileSystem.listDirectories(Location location) Methods in io.trino.filesystem.local with parameters of type LocationModifier and TypeMethodDescriptionvoidLocalFileSystem.createDirectory(Location location) LocalFileSystem.createTemporaryDirectory(Location targetPath, String temporaryPrefix, String relativePrefix) voidLocalFileSystem.deleteDirectory(Location location) voidLocalFileSystem.deleteFile(Location location) LocalFileSystem.directoryExists(Location location) LocalFileSystem.listDirectories(Location location) LocalFileSystem.newInputFile(Location location) LocalFileSystem.newInputFile(Location location, long length) LocalFileSystem.newInputFile(Location location, long length, Instant lastModified) LocalFileSystem.newOutputFile(Location location) voidLocalFileSystem.renameDirectory(Location source, Location target) voidLocalFileSystem.renameFile(Location source, Location target) Constructors in io.trino.filesystem.local with parameters of type LocationModifierConstructorDescriptionLocalInputFile(Location location, Path path) LocalInputFile(Location location, Path path, long length, Instant lastModified) LocalOutputFile(Location location, Path path) -
Uses of Location in io.trino.filesystem.memory
Methods in io.trino.filesystem.memory that return LocationMethods in io.trino.filesystem.memory that return types with arguments of type LocationModifier and TypeMethodDescriptionMemoryFileSystem.createTemporaryDirectory(Location targetPath, String temporaryPrefix, String relativePrefix) MemoryFileSystem.listDirectories(Location location) Methods in io.trino.filesystem.memory with parameters of type LocationModifier and TypeMethodDescriptionvoidMemoryFileSystem.createDirectory(Location location) MemoryFileSystem.createTemporaryDirectory(Location targetPath, String temporaryPrefix, String relativePrefix) voidMemoryFileSystem.deleteDirectory(Location location) voidMemoryFileSystem.deleteFile(Location location) MemoryFileSystem.directoryExists(Location location) voidMemoryFileSystem.listDirectories(Location location) MemoryFileSystem.newInputFile(Location location) MemoryFileSystem.newInputFile(Location location, long length) MemoryFileSystem.newInputFile(Location location, long length, Instant lastModified) MemoryFileSystem.newOutputFile(Location location) voidMemoryFileSystem.renameDirectory(Location source, Location target) voidMemoryFileSystem.renameFile(Location source, Location target) Method parameters in io.trino.filesystem.memory with type arguments of type LocationModifier and TypeMethodDescriptionvoidMemoryFileSystemCache.expire(Collection<Location> locations) Constructors in io.trino.filesystem.memory with parameters of type LocationModifierConstructorDescriptionMemoryInputFile(Location location, io.airlift.slice.Slice data) MemoryInputFile(Location location, Supplier<MemoryBlob> dataSupplier, OptionalLong length, Optional<Instant> lastModified) MemoryOutputStream(Location location, MemoryOutputStream.OnStreamClose onStreamClose) -
Uses of Location in io.trino.filesystem.switching
Constructor parameters in io.trino.filesystem.switching with type arguments of type LocationModifierConstructorDescription -
Uses of Location in io.trino.filesystem.tracing
Methods in io.trino.filesystem.tracing with parameters of type LocationMethod parameters in io.trino.filesystem.tracing with type arguments of type LocationModifier and TypeMethodDescriptionvoidTracingFileSystemCache.expire(Collection<Location> locations)