MemoryMapDataSet

Interface: IDataSet

Public Methods

  • MemoryMapDataSet(string) - Constructor that takes the path/file name.
  • MemoryMapDataSet(string, int) - Constructor that take the path/file name and the buffer size in number of rows.
  • Clear()
  • ClearBufferedData()
  • GetDataPoint(int, int)
  • GetColumnName(int)
  • GetColIndexFromName(string)
  • GetRowId(int)
  • GetRowIndexFromId(int)
  • GetRowName(int)
  • GetRowIndexFromName(string)

Properties

  • Name
  • NumCols
  • NumRows

Protected Methods

  • AddColumn(string)
  • AddRow(int, string)

Private Methods

  • ReadLine(int) - Puts a row of data into the buffer
  • ReadLint(int, int) - Puts N consecutive rows if data into the buffer

Protected Members

  • FileStream fs - Stream for file access
  • StreamReader sr - Stream for file reading
  • int bufferSize - Number of rows in the buffer
  • SortedList bufferIds - Maps row id to buffer index
  • ArrayList bufferData - Buffered data
  • string name - The dataset name
  • ArrayList columnNames - Column names
  • SortedList columnIndices - Map of column names to indices
  • ArrayList rowIds - Row ids
  • SortedList rowIndices - Map or row ids to indices
  • ArrayList rowNames - Row names
  • SortedList rowIndices2 - Map of row names to indices

Edit | Attach | Print version | History: r3 < r2 < r1 | Backlinks | View wiki text | Edit WikiText | More topic actions...
Topic revision: r2 - 22 Apr 2005, WillGray
 

This site is powered by FoswikiCopyright © 2013-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Vanderbilt Biostatistics Wiki? Send feedback