sample

package
v0.0.0-...-0236cb5 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

package sample is used to sample rows from a table in order to generate point reads

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SampleGenerator

type SampleGenerator struct {
	// contains filtered or unexported fields
}

func NewSampleGenerator

func NewSampleGenerator(src *rand.Rand, samples map[string]interface{}, cols []string) (*SampleGenerator, error)

func (*SampleGenerator) Next

func (s *SampleGenerator) Next() interface{}

Jump to

Keyboard shortcuts

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