appl.parallel.data.xulugridfile
Class GridFileDataLoader
java.lang.Object
appl.parallel.data.xulugridfile.GridFileDataLoader
- All Implemented Interfaces:
- DataLoader, Serializable
public class GridFileDataLoader
- extends Object
- implements DataLoader
This DataLoader
is responsible to load data from a
XuluGridFile
. When load()
is called it tries to load the
whole(!) grid into the memory. Notice that using this loader will destroy all
memory advantages of the XuluGridFile
. It is intended as standard loader in
the xulu application. The user can therefore force the loading of the grid
into the local memory e.g. for visualization.
- Author:
- Dominik Appl
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GridFileDataLoader
public GridFileDataLoader(XuluGridFile gridFile)
getLoadInfo
public String getLoadInfo()
- Specified by:
getLoadInfo
in interface DataLoader
- Returns:
- some general information about the loading class
(like what the class exactly loads)
load
public WritableGrid load()
throws LoadingException
- loads the whole grid into memory and returns it
- Specified by:
load
in interface DataLoader
- Returns:
- the newly loaded object
- Throws:
LoadingException
- if for some reason the data could not
be loaded- See Also:
DataLoader.load()