Documentation
¶
Index ¶
- func NewHttpReader(uri string, dedicatedTransport, ignoreTLSError bool, ...) (source.ParquetFile, error)
- func NewMultipartFileWrapper(fh *multipart.FileHeader, f multipart.File) source.ParquetFile
- type HttpReader
- func (r *HttpReader) Close() error
- func (r *HttpReader) Create(_ string) (source.ParquetFile, error)
- func (r *HttpReader) Open(_ string) (source.ParquetFile, error)
- func (r *HttpReader) Read(b []byte) (int, error)
- func (r *HttpReader) Seek(offset int64, pos int) (int64, error)
- func (r *HttpReader) Write(_ []byte) (int, error)
- type MultipartFileWrapper
- func (mfw *MultipartFileWrapper) Close() error
- func (mfw *MultipartFileWrapper) Create(_ string) (source.ParquetFile, error)
- func (mfw *MultipartFileWrapper) Open(_ string) (source.ParquetFile, error)
- func (mfw *MultipartFileWrapper) Read(p []byte) (int, error)
- func (mfw *MultipartFileWrapper) Seek(offset int64, pos int) (int64, error)
- func (mfw *MultipartFileWrapper) Write(_ []byte) (int, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHttpReader ¶
func NewMultipartFileWrapper ¶
func NewMultipartFileWrapper(fh *multipart.FileHeader, f multipart.File) source.ParquetFile
Types ¶
type HttpReader ¶
type HttpReader struct {
// contains filtered or unexported fields
}
func (*HttpReader) Close ¶
func (r *HttpReader) Close() error
func (*HttpReader) Create ¶
func (r *HttpReader) Create(_ string) (source.ParquetFile, error)
func (*HttpReader) Open ¶
func (r *HttpReader) Open(_ string) (source.ParquetFile, error)
type MultipartFileWrapper ¶
type MultipartFileWrapper struct { FH *multipart.FileHeader F multipart.File }
func (*MultipartFileWrapper) Close ¶
func (mfw *MultipartFileWrapper) Close() error
func (*MultipartFileWrapper) Create ¶
func (mfw *MultipartFileWrapper) Create(_ string) (source.ParquetFile, error)
func (*MultipartFileWrapper) Open ¶
func (mfw *MultipartFileWrapper) Open(_ string) (source.ParquetFile, error)
this method is called multiple times on one file to open parallel readers
Click to show internal directories.
Click to hide internal directories.