tables

package
v0.0.0-...-c864ae1 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2023 License: BSD-2-Clause, BSD-3-Clause, MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultNullTable = new(NullTable)

Functions

This section is empty.

Types

type AscHeader

type AscHeader struct {
	NumCols     uint
	NumRows     uint
	XllCorner   float64
	YllCorner   float64
	CellSize    int64
	NoDataValue int64
}

type AscTable

type AscTable interface {
	dataset.Table
	Header() AscHeader
	SetHeader(header AscHeader)
}

type AscTableImpl

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

func (*AscTableImpl) Cell

func (bt *AscTableImpl) Cell(col uint, row uint) interface{}

func (*AscTableImpl) CellFloat64

func (bt *AscTableImpl) CellFloat64(col uint, row uint) float64

func (*AscTableImpl) CellString

func (bt *AscTableImpl) CellString(col uint, row uint) string

func (*AscTableImpl) ColumnAndRowSize

func (bt *AscTableImpl) ColumnAndRowSize() (colNum uint, rowNum uint)

func (*AscTableImpl) Header

func (at *AscTableImpl) Header() AscHeader

func (*AscTableImpl) Name

func (bt *AscTableImpl) Name() string

func (*AscTableImpl) SetCell

func (bt *AscTableImpl) SetCell(col uint, row uint, value interface{})

func (*AscTableImpl) SetColumnAndRowSize

func (bt *AscTableImpl) SetColumnAndRowSize(colNum uint, rowNum uint)

func (*AscTableImpl) SetHeader

func (at *AscTableImpl) SetHeader(header AscHeader)

func (*AscTableImpl) SetName

func (bt *AscTableImpl) SetName(name string)

type CsvTable

type CsvTable interface {
	dataset.Table
	Header() dataset.TableHeader
	SetHeader(header dataset.TableHeader)
}

func ToCsvTable

func ToCsvTable(dataSet dataset.DataSet, tableName string) CsvTable

type CsvTableImpl

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

func (*CsvTableImpl) Cell

func (bt *CsvTableImpl) Cell(col uint, row uint) interface{}

func (*CsvTableImpl) CellFloat64

func (bt *CsvTableImpl) CellFloat64(col uint, row uint) float64

func (*CsvTableImpl) CellString

func (bt *CsvTableImpl) CellString(col uint, row uint) string

func (*CsvTableImpl) ColumnAndRowSize

func (bt *CsvTableImpl) ColumnAndRowSize() (colNum uint, rowNum uint)

func (*CsvTableImpl) Header

func (ct *CsvTableImpl) Header() dataset.TableHeader

func (*CsvTableImpl) Name

func (bt *CsvTableImpl) Name() string

func (*CsvTableImpl) SetCell

func (bt *CsvTableImpl) SetCell(col uint, row uint, value interface{})

func (*CsvTableImpl) SetColumnAndRowSize

func (bt *CsvTableImpl) SetColumnAndRowSize(colNum uint, rowNum uint)

func (*CsvTableImpl) SetHeader

func (ct *CsvTableImpl) SetHeader(header dataset.TableHeader)

func (*CsvTableImpl) SetName

func (bt *CsvTableImpl) SetName(name string)

type NullTable

type NullTable struct{}

func (*NullTable) Cell

func (nt *NullTable) Cell(xPos uint, yPos uint) interface{}

func (*NullTable) CellFloat64

func (nt *NullTable) CellFloat64(xPos uint, yPos uint) float64

func (*NullTable) CellString

func (nt *NullTable) CellString(xPos uint, yPos uint) string

func (*NullTable) ColumnAndRowSize

func (nt *NullTable) ColumnAndRowSize() (colNum uint, rowNum uint)

func (*NullTable) Name

func (nt *NullTable) Name() string

func (*NullTable) SetCell

func (nt *NullTable) SetCell(xPos uint, yPos uint, value interface{})

func (*NullTable) SetColumnAndRowSize

func (nt *NullTable) SetColumnAndRowSize(colNum uint, rowNum uint)

func (*NullTable) SetName

func (nt *NullTable) SetName(name string)

Jump to

Keyboard shortcuts

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