Class S3ObjectInputFile

java.lang.Object
com.markosindustries.distroboy.aws.s3.parquet.S3ObjectInputFile
All Implemented Interfaces:
org.apache.parquet.io.InputFile

public class S3ObjectInputFile
extends java.lang.Object
implements org.apache.parquet.io.InputFile
  • Constructor Summary

    Constructors
    Constructor Description
    S3ObjectInputFile​(software.amazon.awssdk.services.s3.S3Client s3Client, java.lang.String bucket, software.amazon.awssdk.services.s3.model.S3Object s3Object)  
  • Method Summary

    Modifier and Type Method Description
    long getLength()  
    org.apache.parquet.io.SeekableInputStream newStream()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • S3ObjectInputFile

      public S3ObjectInputFile​(software.amazon.awssdk.services.s3.S3Client s3Client, java.lang.String bucket, software.amazon.awssdk.services.s3.model.S3Object s3Object)
  • Method Details

    • getLength

      public long getLength() throws java.io.IOException
      Specified by:
      getLength in interface org.apache.parquet.io.InputFile
      Throws:
      java.io.IOException
    • newStream

      public org.apache.parquet.io.SeekableInputStream newStream() throws java.io.IOException
      Specified by:
      newStream in interface org.apache.parquet.io.InputFile
      Throws:
      java.io.IOException