// GetVal returns the ith row of the column. It will return an error if i is
// not in the range of rows
GetVal returns the ith row of the column. It will return an error if i is
not in the range of rows
// GetVal returns the ith row of the column . It will return an error if i is // not in the range of rows
func (c Column) GetVal(i int) (interface{}, error) {
	if err := c.checkRowIdx(i); err != nil {
		return nil, err
	}
	switch c.ci.colType {
	case ColTypeBool:
		return c.boolVals[i], nil
	case ColTypeInt:
		return c.intVals[i], nil
	case ColTypeFloat:
		return c.floatVals[i], nil
	case ColTypeString:
		return c.stringVals[i], nil
	default:
		panic(dfErrorf("Unexpected column type: %q", c.ci.colType))
	}
}
func ( c Column ) GetVal ( i int ) ( interface { } , error ) { if err := c . checkRowIdx ( i ) ; err != nil { return nil , err } switch c . ci . colType { case ColTypeBool : return c . boolVals [ i ] , nil case ColTypeInt : return c . intVals [ i ] , nil case ColTypeFloat : return c . floatVals [ i ] , nil case ColTypeString : return c . stringVals [ i ] , nil default : panic ( dfErrorf ( " " , c . ci . colType ) ) } }
GetVal returns the ith row of the column.
GetVal returns the ith row of the column .