Index

A B C D E F G H I L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values

A

AllowFilesystemCacheOnCoordinator - Annotation Interface in io.trino.filesystem.cache
 
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.

B

Block(List<String>, long, long) - Constructor for record class io.trino.filesystem.FileEntry.Block
Creates an instance of a Block record class.
blocks() - Method in record class io.trino.filesystem.FileEntry
Returns the value of the blocks record component.

C

CACHE_FILE_LOCATION - 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.tracing.TracingFileSystemCache
 
CacheInputFile - Class in io.trino.filesystem.cache
 
CacheInputFile(TrinoInputFile, TrinoFileSystemCache, CacheKeyProvider) - Constructor for class io.trino.filesystem.cache.CacheInputFile
 
CacheKeyProvider - Interface in io.trino.filesystem.cache
 
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.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
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.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.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.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.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 data record 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.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.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 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.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
 
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.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 FileEntry record 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
 

G

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
 
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
 
getPosition() - Method in class io.trino.filesystem.TrinoInputStream
 
getPreferredHostsCount() - Method in class io.trino.filesystem.cache.ConsistentHashingHostAddressProviderConfig
 

H

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
 
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 hosts record component.

I

io.trino.filesystem - package io.trino.filesystem
 
io.trino.filesystem.cache - package io.trino.filesystem.cache
 
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.tracing - package io.trino.filesystem.tracing
 
isEmpty() - Method in class io.trino.filesystem.memory.MemoryFileSystem
 

L

lastModified() - Method in class io.trino.filesystem.cache.CacheInputFile
 
lastModified() - Method in record class io.trino.filesystem.FileEntry
Returns the value of the lastModified record 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 lastModified record 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 length record component.
length() - Method in record class io.trino.filesystem.FileEntry
Returns the value of the length record 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.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.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) - 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 location record 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 MemoryBlob record class.
MemoryFileSystem - Class in io.trino.filesystem.memory
A blob file system for testing.
MemoryFileSystem() - Constructor for class io.trino.filesystem.memory.MemoryFileSystem
 
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) - 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

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.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.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.
newOutputFile(Location) - Method in class io.trino.filesystem.cache.CacheFileSystem
 
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 offset record 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
 

R

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.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.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.

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
 
setPreferredHostsCount(int) - Method in class io.trino.filesystem.cache.ConsistentHashingHostAddressProviderConfig
 
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
 

T

tags() - Method in record class io.trino.filesystem.FileEntry
Returns the value of the tags record component.
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
 
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
 
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

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

write(byte[], int, int) - Method in class io.trino.filesystem.memory.MemoryOutputStream
 
write(int) - Method in class io.trino.filesystem.memory.MemoryOutputStream
 
A B C D E F G H I L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values