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 - denotes parquet file.
type Record ¶
type Record struct {
// contains filtered or unexported fields
}
Record - ordered parquet record.
type Value ¶
Value - denotes column value
func (Value) MarshalJSON ¶
MarshalJSON - encodes to JSON data
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.