Package io.trino.filesystem.memory
Class MemoryInputFile
java.lang.Object
io.trino.filesystem.memory.MemoryInputFile
- All Implemented Interfaces:
TrinoInputFile
-
Constructor Summary
ConstructorsConstructorDescriptionMemoryInputFile(Location location, io.airlift.slice.Slice data) MemoryInputFile(Location location, Supplier<MemoryBlob> dataSupplier, OptionalLong length) -
Method Summary
-
Constructor Details
-
MemoryInputFile
-
MemoryInputFile
-
-
Method Details
-
newInput
- Specified by:
newInputin interfaceTrinoInputFile- Throws:
IOException
-
newStream
- Specified by:
newStreamin interfaceTrinoInputFile- Throws:
IOException
-
length
- Specified by:
lengthin interfaceTrinoInputFile- Throws:
IOException
-
lastModified
- Specified by:
lastModifiedin interfaceTrinoInputFile- Throws:
IOException
-
exists
- Specified by:
existsin interfaceTrinoInputFile- Throws:
IOException
-
location
- Specified by:
locationin interfaceTrinoInputFile
-
toString
-