Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetReaderFunc ¶
type GetReaderFunc func(offset, length int64) (io.ReadCloser, error)
GetReaderFunc - function type returning io.ReadCloser for requested offset/length.
type Reader ¶
type Reader struct {
// contains filtered or unexported fields
}
Reader - Reader for parquet file.
func NewReader ¶
func NewReader(getReaderFunc GetReaderFunc) (*Reader, error)
NewReader - creates new parquet reader. Reader calls getReaderFunc to handle on target file
type Writer ¶
type Writer struct { PageSize int64 RowGroupSize int64 CompressionType parquet.CompressionCodec // contains filtered or unexported fields }
Writer - represents parquet writer.
func NewWriter ¶
func NewWriter(writeCloser io.WriteCloser, schemaTree *schema.Tree, rowGroupCount int) (*Writer, error)
NewWriter - creates new parquet writer. Binary data of rowGroupCount records are written to writeCloser.
func (*Writer) Close ¶
Close - finalizes and closes writer. If any pending records are available, they are written here.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.