|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.unh.sdb.datasource.DataCollection
edu.unh.sdb.datasource.DataBlock
edu.unh.sdb.datasource.BasicBlock
edu.unh.sdb.datasource.DSPartitionedStencilIterator
edu.unh.sdb.datasource.DSThreadedPartitionedStencilIterator
public class DSThreadedPartitionedStencilIterator
Nested Class Summary | |
---|---|
protected class |
DSThreadedPartitionedStencilIterator.IOThread
|
Field Summary |
---|
Fields inherited from class edu.unh.sdb.datasource.BasicBlock |
---|
leastSignificantAxis, steps |
Fields inherited from class edu.unh.sdb.datasource.DataCollection |
---|
attributeOrder, axisOrdering, axisWeights, bounds, dataOrder, dimensionality, numAttributes, pointOrder, recordDesc |
Constructor Summary | |
---|---|
DSThreadedPartitionedStencilIterator(DSPartitionedStencil stencil,
DataSource ds)
|
Method Summary | |
---|---|
void |
datum(Datum dtm,
IndexSpaceID did)
Given an IndexSpaceID, copy the values of the Datum at that position to the argument Datum. |
void |
datum(Datum dtm,
IndexSpaceID did,
FieldIDMapper mp)
Given an IndexSpaceID and FieldIDMapper, copy the values of the Datum at that position to the argument Datum. |
void |
end()
Advance the iterator to the last valid value in the iteration. |
void |
init()
Perform any necessary initialization, and set the iterator value to the first value in the iteration. |
protected void |
load(int index)
|
boolean |
next()
Advance the iterator by one step. |
void |
setDatum(IndexSpaceID isid,
Datum d)
Set the location specified by the IndexSpaceID to the given datum. |
void |
subblock(DataBlock theBlock,
ISBounds dstBounds,
ISBounds srcBounds)
Reads a subblock defined by srcBounds into the region of the Datablock argument defined by dstBounds. |
void |
subblock(DataBlock theBlock,
ISBounds dstBounds,
ISBounds srcBounds,
FieldIDMapper mp)
Reads a subblock defined by srcBounds into the region of the Datablock argument defined by dstBounds. |
boolean |
valid()
Return true if the iterator currently has a valid value, false otherwise. |
Methods inherited from class edu.unh.sdb.datasource.DSPartitionedStencilIterator |
---|
getStencil |
Methods inherited from class edu.unh.sdb.datasource.BasicBlock |
---|
copyData, copyData, copyData, datum, datum, datum, datum, datum, datum, getByte, getDouble, getDoubles, getFieldPos, getFloat, getFloats, getInt, getInts, getShort, getShorts, getValues, getValues, psubblock, setAttributeOrderRod, setBytes, setDoubles, setField, setField, setField, setField, setField, setField, setFloats, setFloats, setInts, setRod, setRod, setShorts, setValues, setValues, subblock, subblock, subblock |
Methods inherited from class edu.unh.sdb.datasource.DataBlock |
---|
setByAttribute, setByte, setBytes, setBytesByAttribute, setBytesByPoint, setDouble, setDoubles, setDoublesByAttribute, setDoublesByPoint, setFloat, setFloats, setFloatsByAttribute, setFloatsByPoint, setInt, setInts, setIntsByAttribute, setIntsByPoint, setShort, setShorts, setShortsByAttribute, setShortsByPoint, setValuesByAttribute, setValuesByPoint, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DSThreadedPartitionedStencilIterator(DSPartitionedStencil stencil, DataSource ds)
Method Detail |
---|
public void init()
init
in interface SDBIterator
init
in class DSPartitionedStencilIterator
public boolean next()
next
in interface SDBIterator
next
in class DSPartitionedStencilIterator
public boolean valid()
valid
in interface SDBIterator
valid
in class DSPartitionedStencilIterator
public void end()
end
in interface SDBIterator
end
in class DSPartitionedStencilIterator
public void setDatum(IndexSpaceID isid, Datum d)
setDatum
in class BasicBlock
public void datum(Datum dtm, IndexSpaceID did)
datum
in interface Indexable
datum
in class BasicBlock
public void datum(Datum dtm, IndexSpaceID did, FieldIDMapper mp)
datum
in interface Indexable
datum
in class BasicBlock
public void subblock(DataBlock theBlock, ISBounds dstBounds, ISBounds srcBounds)
subblock
in interface Indexable
subblock
in class BasicBlock
public void subblock(DataBlock theBlock, ISBounds dstBounds, ISBounds srcBounds, FieldIDMapper mp)
subblock
in interface Indexable
subblock
in class BasicBlock
protected void load(int index)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |