Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DirForNetwork ¶
func DirForNetwork(dir string, nn gpbft.NetworkName) string
Types ¶
type GMessageEnvelope ¶
type PJustification ¶
type ParquetEnvelope ¶
type ParquetEnvelope struct { TimestampMicro int64 `parquet:"TimestampMicro,timestamp(microsecond)"` NetworkName string Message PMessage }
func ToParquet ¶
func ToParquet(gme GMessageEnvelope) (ParquetEnvelope, error)
type ParquetWriter ¶
type ParquetWriter[T any] struct { // contains filtered or unexported fields }
func NewParquetWriter ¶
func NewParquetWriter[T any](path string) (*ParquetWriter[T], error)
func (*ParquetWriter[T]) Close ¶
func (pw *ParquetWriter[T]) Close() error
func (*ParquetWriter[T]) Rotate ¶
func (pw *ParquetWriter[T]) Rotate() error
func (*ParquetWriter[T]) Write ¶
func (pw *ParquetWriter[T]) Write(row T) (int, error)
func (*ParquetWriter[T]) WriteRows ¶
func (pw *ParquetWriter[T]) WriteRows(rows []T) (int, error)
Click to show internal directories.
Click to hide internal directories.