Class HadoopInputFile
Object
io.delta.kernel.defaults.engine.hadoopio.HadoopInputFile
- All Implemented Interfaces:
InputFile
-
Constructor Summary
ConstructorsConstructorDescriptionHadoopInputFile(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path path, long fileSize) -
Method Summary
-
Constructor Details
-
HadoopInputFile
public HadoopInputFile(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path path, long fileSize)
-
-
Method Details
-
length
Description copied from interface:InputFileGet the size of the file.- Specified by:
lengthin interfaceInputFile- Returns:
- the size of the file.
- Throws:
IOException
-
path
Description copied from interface:InputFileGet the path of the file. -
newStream
Description copied from interface:InputFileGet the input stream to read the file.- Specified by:
newStreamin interfaceInputFile- Returns:
- the input stream to read the file. It is the responsibility of the caller to close the stream.
- Throws:
IOException
-