functions

package
v4.1.23 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArgumentMap

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

func NewArgumentMap

func NewArgumentMap(requiredDSV []io.DataShape, optionalDSV ...io.DataShape) *ArgumentMap

func (*ArgumentMap) GetAliasedColumnNames

func (am *ArgumentMap) GetAliasedColumnNames() (aliasNames []string)

func (*ArgumentMap) GetMappedColumns

func (am *ArgumentMap) GetMappedColumns(requiredName string) (userColumns []io.DataShape)

func (*ArgumentMap) MapRequiredColumn

func (am *ArgumentMap) MapRequiredColumn(requiredName string, userColumns ...io.DataShape)

func (*ArgumentMap) PrepareArguments

func (am *ArgumentMap) PrepareArguments(inputs []string) (err error)

func (*ArgumentMap) SetAlias

func (am *ArgumentMap) SetAlias(requiredName, aliasName string)

func (*ArgumentMap) String

func (am *ArgumentMap) String() (st string)

func (*ArgumentMap) Validate

func (am *ArgumentMap) Validate() (unmapped []io.DataShape)

Jump to

Keyboard shortcuts

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