Documentation ¶
Index ¶
- type ArgumentMap
- func (am *ArgumentMap) GetAliasedColumnNames() (aliasNames []string)
- func (am *ArgumentMap) GetMappedColumns(requiredName string) (userColumns []io.DataShape)
- func (am *ArgumentMap) MapRequiredColumn(requiredName string, userColumns ...io.DataShape)
- func (am *ArgumentMap) PrepareArguments(inputs []string) (err error)
- func (am *ArgumentMap) SetAlias(requiredName, aliasName string)
- func (am *ArgumentMap) String() (st string)
- func (am *ArgumentMap) Validate() (unmapped []io.DataShape)
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)
Click to show internal directories.
Click to hide internal directories.