nativedb

package
v0.5.643 Latest Latest
Warning

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

Go to latest
Published: May 15, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Column

type Column interface {
	GetName() string
	GetType() string
	GetWidth() (int, bool)
	SetWidth(width int)
}

func NewColumn

func NewColumn(columnName, columnType string) Column

type Select

type Select interface {
	GetColumns() []Column
	GetRows() streaming.MapReader
}

func NewSelect

func NewSelect(columns []Column) Select

func NewSelectWithRows

func NewSelectWithRows(columns []Column, rows streaming.MapReader) Select

type StandardColumn

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

func (*StandardColumn) GetName

func (sc *StandardColumn) GetName() string

func (*StandardColumn) GetType

func (sc *StandardColumn) GetType() string

func (*StandardColumn) GetWidth added in v0.5.451

func (sc *StandardColumn) GetWidth() (int, bool)

func (*StandardColumn) SetWidth added in v0.5.451

func (sc *StandardColumn) SetWidth(width int)

type StandardSelect

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

func (*StandardSelect) GetColumns

func (sc *StandardSelect) GetColumns() []Column

func (*StandardSelect) GetRows

func (sc *StandardSelect) GetRows() streaming.MapReader

Jump to

Keyboard shortcuts

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