|
@@ -847,11 +847,17 @@ type Iter struct {
|
|
|
rows [][][]byte
|
|
rows [][][]byte
|
|
|
meta resultMetadata
|
|
meta resultMetadata
|
|
|
next *nextIter
|
|
next *nextIter
|
|
|
|
|
+ host *HostInfo
|
|
|
|
|
|
|
|
framer *framer
|
|
framer *framer
|
|
|
once sync.Once
|
|
once sync.Once
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+// Host returns the host which the query was sent to.
|
|
|
|
|
+func (iter *Iter) Host() *HostInfo {
|
|
|
|
|
+ return iter.host
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
// Columns returns the name and type of the selected columns.
|
|
// Columns returns the name and type of the selected columns.
|
|
|
func (iter *Iter) Columns() []ColumnInfo {
|
|
func (iter *Iter) Columns() []ColumnInfo {
|
|
|
return iter.meta.columns
|
|
return iter.meta.columns
|