|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectappl.data.LateLoadingProxy
appl.data.WritableGridLLProxy
appl.parallel.data.splittable.SplittableLLProxyGrid
public class SplittableLLProxyGrid
Field Summary |
---|
Fields inherited from class appl.data.WritableGridLLProxy |
---|
metaData |
Fields inherited from class appl.data.LateLoadingProxy |
---|
baseObject, dataLoader, intialDataLoader, loaded, LOG |
Constructor Summary | |
---|---|
SplittableLLProxyGrid(ImportFactory importFac,
RasterMetaData metaData,
Object inputPara,
XuluRegistry reg)
|
|
SplittableLLProxyGrid(RasterMetaData metaData,
int id)
|
|
SplittableLLProxyGrid(WritableGridFactory targetFactory,
RasterMetaData metaData)
|
Method Summary | |
---|---|
DataPartition |
getEmpty(int id)
Creates an empty Object with the given id. |
DataLoader |
getLocalLoader()
Returns the loader which is responible for loading the data. |
WritableGridPartition |
getPartition(Rectangle partitionBounds)
Returns the partition specified by the given Rectangle . |
Rectangle |
getPartitionBounds()
Returns the bounds of the partition as a rectangle. |
int |
getRootID()
Should return a unique ID for this resource. |
int |
getSplitHeight()
|
int |
getSplitWidth()
|
void |
setPartition(DataPartition partition,
Rectangle partitionBounds)
Overwrites the data at the location specified by the Rectangle
with the given partition-data. |
Methods inherited from class appl.data.LateLoadingProxy |
---|
getProxiedObject, getUnloadFile, isLoaded, isUnloadingEnabled, loadData, setUnloadDir, setUnloading, unloadData |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SplittableLLProxyGrid(ImportFactory importFac, RasterMetaData metaData, Object inputPara, XuluRegistry reg)
public SplittableLLProxyGrid(WritableGridFactory targetFactory, RasterMetaData metaData)
public SplittableLLProxyGrid(RasterMetaData metaData, int id)
Method Detail |
---|
public DataLoader getLocalLoader()
SplittableResource
getLocalLoader
in interface SplittableResource
public int getRootID()
SplittableResource
hashcode
of the object.
getRootID
in interface DataPartition
getRootID
in interface SplittableResource
public WritableGridPartition getPartition(Rectangle partitionBounds)
DataPartition
Rectangle
. Note, that
partitioning by a rectangle does not mean, that the underlying datastructure
has to be 2D, but only that the splitting has to be at max. 2D.
getPartition
in interface DataPartition
partitionBounds
- the bounds of the partition which are to be retrieved
in global coordinates (the coordinates should be relative to the root-structure)public void setPartition(DataPartition partition, Rectangle partitionBounds)
Rectangle
with the given partition-data.
setPartition
in interface DataPartition
partition
- the grid to be inserted which MUST be an instance of
WritableGrid
!partitionBounds
- the target location of the dataDataPartition.setPartition(DataPartition,
java.awt.Rectangle)
public int getSplitHeight()
getSplitHeight
in interface SplittableResource
public int getSplitWidth()
getSplitWidth
in interface SplittableResource
public Rectangle getPartitionBounds()
DataPartition
getPartitionBounds
in interface DataPartition
public DataPartition getEmpty(int id)
DataPartition
getEmpty
in interface DataPartition
id
- the id of the new Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |