Class S3InputStream
java.lang.Object
java.io.InputStream
org.apache.parquet.io.SeekableInputStream
org.gridgain.internal.sql.copy.s3.S3InputStream
- All Implemented Interfaces:
Closeable,AutoCloseable
public class S3InputStream
extends org.apache.parquet.io.SeekableInputStream
Input stream implementation for S3 storage.
-
Constructor Summary
ConstructorsConstructorDescriptionS3InputStream(software.amazon.awssdk.services.s3.S3Client s3, S3Uri location) Constructor. -
Method Summary
Methods inherited from class org.apache.parquet.io.SeekableInputStream
readVectored, readVectoredAvailableMethods inherited from class java.io.InputStream
available, mark, markSupported, nullInputStream, read, readAllBytes, readNBytes, readNBytes, reset, skip, skipNBytes, transferTo
-
Constructor Details
-
S3InputStream
Constructor.
-
-
Method Details
-
getPos
public long getPos()- Specified by:
getPosin classorg.apache.parquet.io.SeekableInputStream
-
seek
public void seek(long newPos) - Specified by:
seekin classorg.apache.parquet.io.SeekableInputStream
-
readFully
- Specified by:
readFullyin classorg.apache.parquet.io.SeekableInputStream- Throws:
IOException
-
readFully
- Specified by:
readFullyin classorg.apache.parquet.io.SeekableInputStream- Throws:
IOException
-
readFully
- Specified by:
readFullyin classorg.apache.parquet.io.SeekableInputStream- Throws:
IOException
-
read
- Specified by:
readin classorg.apache.parquet.io.SeekableInputStream- Throws:
IOException
-
read
- Specified by:
readin classInputStream- Throws:
IOException
-
read
- Overrides:
readin classInputStream- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classInputStream- Throws:
IOException
-