| 1746 | } |
| 1747 | |
| 1748 | func (p *TSExecuteStatementResp) ReadField9(ctx context.Context, iprot thrift.TProtocol) error { |
| 1749 | _, _, size, err := iprot.ReadMapBegin(ctx) |
| 1750 | if err != nil { |
| 1751 | return thrift.PrependError("error reading map begin: ", err) |
| 1752 | } |
| 1753 | tMap := make(map[string]int32, size) |
| 1754 | p.ColumnNameIndexMap = tMap |
| 1755 | for i := 0; i < size; i ++ { |
| 1756 | var _key14 string |
| 1757 | if v, err := iprot.ReadString(ctx); err != nil { |
| 1758 | return thrift.PrependError("error reading field 0: ", err) |
| 1759 | } else { |
| 1760 | _key14 = v |
| 1761 | } |
| 1762 | var _val15 int32 |
| 1763 | if v, err := iprot.ReadI32(ctx); err != nil { |
| 1764 | return thrift.PrependError("error reading field 0: ", err) |
| 1765 | } else { |
| 1766 | _val15 = v |
| 1767 | } |
| 1768 | p.ColumnNameIndexMap[_key14] = _val15 |
| 1769 | } |
| 1770 | if err := iprot.ReadMapEnd(ctx); err != nil { |
| 1771 | return thrift.PrependError("error reading map end: ", err) |
| 1772 | } |
| 1773 | return nil |
| 1774 | } |
| 1775 | |
| 1776 | func (p *TSExecuteStatementResp) ReadField10(ctx context.Context, iprot thrift.TProtocol) error { |
| 1777 | _, size, err := iprot.ReadListBegin(ctx) |