6 #ifndef TURI_UNITY_SWRITER_BASE_HPP 7 #define TURI_UNITY_SWRITER_BASE_HPP 8 #include <core/data/flexible_type/flexible_type.hpp> 9 #include <core/storage/sframe_data/siterable.hpp> 26 template<
typename Iterator>
29 typedef Iterator iterator;
30 typedef typename Iterator::value_type value_type;
56 virtual void close() = 0;
virtual size_t num_segments() const =0
Returns the number of parallel output segments.
virtual bool set_num_segments(size_t numseg)=0
virtual iterator get_output_iterator(size_t segmentid)=0
Gets an output iterator to the specified segment.