AttributeData Class Reference
Class that offers static methods to read (binary) attribute data into SparseBooleanMatrix objects.
More...
List of all members.
Detailed Description
Class that offers static methods to read (binary) attribute data into SparseBooleanMatrix objects.
The expected (sparse) line format is: ENTITY_ID whitespace ATTRIBUTE_ID for attributes that are set.
Member Function Documentation
Read binary attribute data from an IDataReader, e.g. a database via DbDataReader.
- Parameters:
-
| reader | an IDataReader to be read from |
| mapping | the mapping object for the given entity type |
- Returns:
- the attribute data
Read binary attribute data from a StreamReader.
- Parameters:
-
| reader | a StreamReader to be read from |
| mapping | the mapping object for the given entity type |
- Returns:
- the attribute data
Read binary attribute data from a file.
- Parameters:
-
| filename | the name of the file to be read from |
| mapping | the mapping object for the given entity type |
- Returns:
- the attribute data
The documentation for this class was generated from the following file: