bsonfilter

package
v0.0.0-...-dbab279 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BSONFilter

type BSONFilter struct {
	InputSource  *db.BSONSource
	OutputWriter io.WriteCloser
	// contains filtered or unexported fields
}

func New

func New(options *Options) (*BSONFilter, error)

func (*BSONFilter) Check

func (bf *BSONFilter) Check(raw *bson.Raw) bool

func (*BSONFilter) Close

func (bf *BSONFilter) Close() error

func (*BSONFilter) Init

func (bf *BSONFilter) Init()

func (*BSONFilter) Run

func (bf *BSONFilter) Run() (numAll, numFound int)

type Options

type Options struct {
	IFileName string
	OFileName string
	Query     string
	IsV       bool
	IsVV      bool
}

func ParseFlag

func ParseFlag() (*Options, error)

Jump to

Keyboard shortcuts

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