ipc2count

package module
v0.0.0-...-fed5443 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 20, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

README

go-arrow-ipc-count

Counts the number of records of the specified ipc files

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrIpcFilenameToCnt error = errors.New("unable to get the num records of the file")

Functions

func StdinToIpcNamesToTotalCountDefault

func StdinToIpcNamesToTotalCountDefault() (int, error)

Types

type FilenameReader

type FilenameReader struct{ io.Reader }
var FilenameReaderStdin FilenameReader = FilenameReader{Reader: os.Stdin}

func (FilenameReader) ToFilenames

func (r FilenameReader) ToFilenames() iter.Seq[string]

func (FilenameReader) ToTotalNumRecords

func (r FilenameReader) ToTotalNumRecords(opts ...ai.Option) (int, error)

type IpcFileLike

type IpcFileLike struct{ ai.ReadAtSeeker }

func (IpcFileLike) ToNumRecords

func (f IpcFileLike) ToNumRecords(opts ...ai.Option) (int, error)

func (IpcFileLike) ToReader

func (f IpcFileLike) ToReader(opts ...ai.Option) (IpcFileReader, error)

type IpcFileName

type IpcFileName string

func (IpcFileName) ToNumRecords

func (n IpcFileName) ToNumRecords(opts ...ai.Option) (int, error)

type IpcFileReadOpts

type IpcFileReadOpts struct{ Opts []ai.Option }
var IpcFileReadOptsEmpty IpcFileReadOpts

func (IpcFileReadOpts) FilenamesToTotalCount

func (o IpcFileReadOpts) FilenamesToTotalCount(i FilenameReader) (int, error)

func (IpcFileReadOpts) StdinToNamesToTotalCount

func (o IpcFileReadOpts) StdinToNamesToTotalCount() (int, error)

type IpcFileReader

type IpcFileReader struct{ *ai.FileReader }

func (IpcFileReader) Close

func (f IpcFileReader) Close() error

func (IpcFileReader) NumRecords

func (f IpcFileReader) NumRecords() int

type IpcFilenames

type IpcFilenames iter.Seq[string]

func (IpcFilenames) ToTotalNumRecords

func (i IpcFilenames) ToTotalNumRecords(opts ...ai.Option) (int, error)

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL