17 #ifndef FOLLY_IO_RECORDIO_H_ 18 #error This file may only be included from folly/io/RecordIO.h 21 #include <boost/iterator/iterator_facade.hpp> 28 RecordIOReader::Iterator,
29 const std::pair<ByteRange, off_t>,
30 boost::forward_traversal_tag> {
64 return seek(off_t(-1));
73 namespace recordio_helpers {
75 namespace recordio_detail {
96 offsetof(
Header, headerHash) +
sizeof(Header::headerHash) ==
sizeof(
Header),
97 "invalid header layout");
constexpr size_t headerSize()
FOLLY_PACK_PUSH struct folly::Unaligned< T, typename std::enable_if< std::is_pod< T >::value >::type > FOLLY_PACK_ATTR
void advance(size_type n)
—— Concurrent Priority Queue Implementation ——
detail::Skip skip(size_t count)
bool equal(const Iterator &other) const
Iterator seek(off_t pos) const
constexpr Range< Iter > range(Iter first, Iter last)
RecordInfo findRecord(ByteRange range, uint32_t fileId)
reference dereference() const
Iterator(ByteRange range, uint32_t fileId, off_t pos)
std::pair< ByteRange, off_t > recordAndPos_
friend class boost::iterator_core_access