tablesampler

package
v1.1.0-beta.0...-97e7b5c Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TableSampleInfo

type TableSampleInfo struct {
	AstNode    *ast.TableSample
	FullSchema *expression.Schema
	Partitions []table.PartitionedTable
}

TableSampleInfo contains the information for PhysicalTableSample.

func NewTableSampleInfo

func NewTableSampleInfo(node *ast.TableSample, fullSchema *expression.Schema,
	pt []table.PartitionedTable) *TableSampleInfo

NewTableSampleInfo creates a new TableSampleInfo.

func (*TableSampleInfo) MemoryUsage

func (t *TableSampleInfo) MemoryUsage() (sum int64)

MemoryUsage return the memory usage of TableSampleInfo

Jump to

Keyboard shortcuts

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