Medial Code Documentation
Loading...
Searching...
No Matches
Public Member Functions
dmlc::data::BasicRowIter< IndexType, DType > Class Template Reference

basic set of row iterators that provides More...

#include <basic_row_iter.h>

Inheritance diagram for dmlc::data::BasicRowIter< IndexType, DType >:
dmlc::RowBlockIter< IndexType, DType > dmlc::DataIter< DType >

Public Member Functions

 BasicRowIter (Parser< IndexType, DType > *parser)
 
virtual void BeforeFirst (void)
 set before first of the item
 
virtual bool Next (void)
 move to next item
 
virtual const RowBlock< IndexType, DType > & Value (void) const
 get current data
 
virtual size_t NumCol (void) const
 
- Public Member Functions inherited from dmlc::RowBlockIter< IndexType, DType >
RowBlockIter< uint32_t, real_t > * Create (const char *uri, unsigned part_index, unsigned num_parts, const char *type)
 
RowBlockIter< uint64_t, real_t > * Create (const char *uri, unsigned part_index, unsigned num_parts, const char *type)
 
RowBlockIter< uint32_t, int32_t > * Create (const char *uri, unsigned part_index, unsigned num_parts, const char *type)
 
RowBlockIter< uint64_t, int32_t > * Create (const char *uri, unsigned part_index, unsigned num_parts, const char *type)
 
RowBlockIter< uint32_t, int64_t > * Create (const char *uri, unsigned part_index, unsigned num_parts, const char *type)
 
RowBlockIter< 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

- Static Public Member Functions inherited from dmlc::RowBlockIter< IndexType, DType >
static RowBlockIter< IndexType, DType > * Create (const char *uri, unsigned part_index, unsigned num_parts, const char *type)
 create a new instance of iterator that returns rowbatch by default, a in-memory based iterator will be returned
 

Detailed Description

template<typename IndexType, typename DType = real_t>
class dmlc::data::BasicRowIter< IndexType, DType >

basic set of row iterators that provides

Template Parameters
IndexTypethe type of index we are using

Member Function Documentation

◆ BeforeFirst()

template<typename IndexType , typename DType = real_t>
virtual void dmlc::data::BasicRowIter< IndexType, DType >::BeforeFirst ( void  )
inlinevirtual

set before first of the item

Implements dmlc::DataIter< DType >.

◆ Next()

template<typename IndexType , typename DType = real_t>
virtual bool dmlc::data::BasicRowIter< IndexType, DType >::Next ( void  )
inlinevirtual

move to next item

Implements dmlc::DataIter< DType >.

◆ NumCol()

template<typename IndexType , typename DType = real_t>
virtual size_t dmlc::data::BasicRowIter< IndexType, DType >::NumCol ( void  ) const
inlinevirtual
Returns
maximum feature dimension in the dataset

Implements dmlc::RowBlockIter< IndexType, DType >.

◆ Value()

template<typename IndexType , typename DType = real_t>
virtual const RowBlock< IndexType, DType > & dmlc::data::BasicRowIter< IndexType, DType >::Value ( void  ) const
inlinevirtual

get current data

Implements dmlc::DataIter< DType >.


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