|
virtual bool | Next (void) |
| implement next
|
|
virtual const RowBlock< IndexType, DType > & | Value (void) const |
| get current data
|
|
virtual size_t | BytesRead (void) const =0 |
|
Parser< uint32_t, real_t > * | Create (const char *uri_, unsigned part_index, unsigned num_parts, const char *type) |
|
Parser< uint64_t, real_t > * | Create (const char *uri_, unsigned part_index, unsigned num_parts, const char *type) |
|
Parser< uint32_t, int32_t > * | Create (const char *uri_, unsigned part_index, unsigned num_parts, const char *type) |
|
Parser< uint64_t, int32_t > * | Create (const char *uri_, unsigned part_index, unsigned num_parts, const char *type) |
|
Parser< uint32_t, int64_t > * | Create (const char *uri_, unsigned part_index, unsigned num_parts, const char *type) |
|
Parser< uint64_t, int64_t > * | Create (const char *uri_, unsigned part_index, unsigned num_parts, const char *type) |
|
virtual | ~DataIter (void) DMLC_THROW_EXCEPTION |
| destructor
|
|
virtual void | BeforeFirst (void)=0 |
| set before first of the item
|
|
|
typedef Parser< IndexType, DType > *(* | Factory) (const std::string &path, const std::map< std::string, std::string > &args, unsigned part_index, unsigned num_parts) |
| Factory type of the parser.
|
|
static Parser< IndexType, DType > * | Create (const char *uri_, unsigned part_index, unsigned num_parts, const char *type) |
| create a new instance of parser based on the "type"
|
|
template<typename IndexType, typename DType = real_t>
class dmlc::data::ParserImpl< IndexType, DType >
base class for parser to parse data