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

A

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

close() - Method in class io.trino.filesystem.memory.MemoryOutputStream
 
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
 
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.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.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.
createOrOverwrite() - Method in interface io.trino.filesystem.TrinoOutputFile
 
createOrOverwrite(AggregatedMemoryContext) - Method in class io.trino.filesystem.local.LocalOutputFile
 
createOrOverwrite(AggregatedMemoryContext) - Method in interface io.trino.filesystem.TrinoOutputFile
 

D

data() - Method in record class io.trino.filesystem.memory.MemoryBlob
Returns the value of the data record component.
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.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 interface io.trino.filesystem.TrinoFileSystem
Delete specified files.
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.local.LocalInputFile
 
exists() - Method in class io.trino.filesystem.memory.MemoryInputFile
 
exists() - Method in interface io.trino.filesystem.TrinoInputFile
 

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

getPosition() - Method in class io.trino.filesystem.TrinoInputStream
 

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.local - package io.trino.filesystem.local
 
io.trino.filesystem.memory - package io.trino.filesystem.memory
 
io.trino.filesystem.tracing - package io.trino.filesystem.tracing
 

L

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

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

T

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