ibi Patterns .NET API
Loading...
Searching...
No Matches
NetricsServerInterface.NetricsTextFileRecSrc Class Reference

Text file record source for loading data. More...

Public Member Functions

  NetricsTextFileRecSrc (String filename)
  Text file data source for loading data.
 
override bool  hasNext ()
  Returns true if the source has more records.
 
override NetricsRecord  getNext ()
  Get the next record from the source.
 
override void  reset ()
  Reset the source to the first record.
 
int  getCount ()
  Gets count of records currently processed.
 
void  close ()
  Close files associated with the source.
 
void  Dispose ()
  Closes attached file streams, if any.
 
abstract NetricsRecord  getNext ()
  Returns the next record.
 
abstract bool  hasNext ()
  Returns true if the source has more records.
 
abstract void  reset ()
  Reset the source to the first record.
 
bool  hasNext ()
  Returns true if the source has more records.
 
NetricsBaseRecord  getNext ()
  Returns the next record.
 
void  reset ()
  Reset the source to the first record.
 

Detailed Description

Text file record source for loading data.

Constructor & Destructor Documentation

◆ NetricsTextFileRecSrc()

NetricsServerInterface.NetricsTextFileRecSrc.NetricsTextFileRecSrc ( String  filename )
inline

Text file data source for loading data.

Parameters
filename The data file name.

Member Function Documentation

◆ getNext()

override NetricsRecord NetricsServerInterface.NetricsTextFileRecSrc.getNext ( )
inlinevirtual

Get the next record from the source.

Returns

Implements NetricsServerInterface.NetricsTableRecSrc.

◆ hasNext()

override bool NetricsServerInterface.NetricsTextFileRecSrc.hasNext ( )
inlinevirtual

Returns true if the source has more records.

Returns

Implements NetricsServerInterface.NetricsTableRecSrc.