79 explicit RowSet(
Statement& statement,
unsigned maxRows,
bool includeCurrentRow);
84 messageLength{o.messageLength},
85 buffer{std::move(o.buffer)},
86 descriptors{std::move(o.descriptors)},
87 statusWrapper{std::move(o.statusWrapper)},
88 numericConverter{std::move(o.numericConverter)},
89 calendarConverter{std::move(o.calendarConverter)}
101 messageLength = o.messageLength;
102 buffer = std::move(o.buffer);
103 descriptors = std::move(o.descriptors);
104 statusWrapper = std::move(o.statusWrapper);
105 numericConverter = std::move(o.numericConverter);
106 calendarConverter = std::move(o.calendarConverter);
131 return messageLength;
140 assert(index < count);
141 return Row{*client, descriptors, getRawRow(index)};
148 std::span<const std::byte>
getRawRow(
unsigned index)
const
150 assert(index < count);
151 const auto* data = buffer.data() +
static_cast<std::size_t
>(index) * messageLength;
152 return {data, messageLength};
166 unsigned messageLength = 0;
167 std::vector<std::byte> buffer;
168 std::vector<Descriptor> descriptors;
169 impl::StatusWrapper statusWrapper;
170 impl::NumericConverter numericConverter;
171 impl::CalendarConverter calendarConverter;