Medial Code Documentation
Loading...
Searching...
No Matches
Public Member Functions
dmlc::data::DensifyParser< IndexType > Class Template Reference
Inheritance diagram for dmlc::data::DensifyParser< IndexType >:
dmlc::Parser< IndexType, DType > dmlc::DataIter< DType >

Public Member Functions

 DensifyParser (dmlc::Parser< IndexType > *parser, uint32_t num_col)
 
void BeforeFirst () override
 set before first of the item
 
bool Next () override
 move to next item
 
const dmlc::RowBlock< IndexType > & Value () const override
 get current data
 
size_t BytesRead () const override
 
- Public Member Functions inherited from dmlc::Parser< IndexType, DType >
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)
 
- Public Member Functions inherited from dmlc::DataIter< DType >
virtual ~DataIter (void) DMLC_THROW_EXCEPTION
 destructor
 

Additional Inherited Members

- Public Types inherited from dmlc::Parser< IndexType, DType >
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 Public Member Functions inherited from dmlc::Parser< IndexType, DType >
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"
 

Member Function Documentation

◆ BeforeFirst()

template<typename IndexType >
void dmlc::data::DensifyParser< IndexType >::BeforeFirst ( )
inlineoverridevirtual

set before first of the item

Implements dmlc::DataIter< DType >.

◆ BytesRead()

template<typename IndexType >
size_t dmlc::data::DensifyParser< IndexType >::BytesRead ( ) const
inlineoverridevirtual
Returns
size of bytes read so far

Implements dmlc::Parser< IndexType, DType >.

◆ Next()

template<typename IndexType >
bool dmlc::data::DensifyParser< IndexType >::Next ( )
inlineoverridevirtual

move to next item

Implements dmlc::DataIter< DType >.

◆ Value()

template<typename IndexType >
const dmlc::RowBlock< IndexType > & dmlc::data::DensifyParser< IndexType >::Value ( ) const
inlineoverridevirtual

get current data

Implements dmlc::DataIter< DType >.


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