Apache Mesos
Public Member Functions | Public Attributes | List of all members
recordio::Encoder< T > Class Template Reference

Given an encoding function for individual records, this provides encoding from typed records into "Record-IO" data. More...

#include <recordio.hpp>

Public Member Functions

return stringify (s.size())+"\n"+s
 

Public Attributes

 __pad0__: serialize(_serialize) {} std::string encode(const T& record) const { std::string s = serialize(record)
 

Detailed Description

template<typename T>
class recordio::Encoder< T >

Given an encoding function for individual records, this provides encoding from typed records into "Record-IO" data.

Member Function Documentation

template<typename T>
return recordio::Encoder< T >::stringify ( s.  size())

Member Data Documentation

template<typename T>
recordio::Encoder< T >::__pad0__

The documentation for this class was generated from the following file: