|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.unh.sdb.datasource.ISPartitioning
public abstract class ISPartitioning
A ISPartitioning provides a mapping between an N-Dimensional index space and an integer partitioning Space of the same dimensionality.
Field Summary | |
---|---|
protected int |
dimensionality
|
Constructor Summary | |
---|---|
ISPartitioning(IndexSpaceID partitionDimensions,
ISBounds spaceBounds)
The first argument specifies the shape of each partition, not the dimensions of the partSpace. |
|
ISPartitioning(int[] partitioningDimensions,
ISBounds spaceBounds)
|
|
ISPartitioning(ISBounds partitioningBounds,
ISBounds spaceBounds)
|
Method Summary | |
---|---|
int |
dim()
|
abstract ISBounds |
getIndexedBounds(ISBounds bounds,
IndexSpaceID partitioningIndex)
Sets the argument ISBounds to the bounds corresponding to the partition ID. |
ISIterator |
getISIterator()
|
ISBounds |
getPartitioningBounds()
|
int[] |
getPartitioningDimensions(int[] dimensions)
|
abstract ISBoundsIterator |
getPartitionIterator(ISBounds subSpace)
|
ISBounds |
getSpaceBounds()
|
boolean |
inBounds(IndexSpaceID pid)
Return true if the argument represents a partition coordinate that is within the bounds of this partitioning. |
boolean |
inBounds(int[] coords)
Return true if the argument represents a partition coordinate that is within the bounds of this partitioning. |
abstract IndexSpaceID |
map(IndexSpaceID p)
|
abstract ISBounds |
map(ISBounds b)
|
java.lang.String |
toString()
Return a String representing the object. |
java.lang.String |
toString(java.lang.String indent)
Return a String representing the object indented by the argument string. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected int dimensionality
Constructor Detail |
---|
public ISPartitioning(ISBounds partitioningBounds, ISBounds spaceBounds)
public ISPartitioning(IndexSpaceID partitionDimensions, ISBounds spaceBounds)
public ISPartitioning(int[] partitioningDimensions, ISBounds spaceBounds)
Method Detail |
---|
public final int dim()
public ISBounds getPartitioningBounds()
public final boolean inBounds(IndexSpaceID pid)
public final boolean inBounds(int[] coords)
public int[] getPartitioningDimensions(int[] dimensions)
public ISBounds getSpaceBounds()
public abstract ISBoundsIterator getPartitionIterator(ISBounds subSpace)
public ISIterator getISIterator()
public abstract IndexSpaceID map(IndexSpaceID p)
public abstract ISBounds map(ISBounds b)
public abstract ISBounds getIndexedBounds(ISBounds bounds, IndexSpaceID partitioningIndex)
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toString(java.lang.String indent)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |