edu.unh.sdb.datasource
Class RectCellBlock

java.lang.Object
  extended by edu.unh.sdb.datasource.DataCollection
      extended by edu.unh.sdb.datasource.DataBlock
          extended by edu.unh.sdb.datasource.CellBlock
              extended by edu.unh.sdb.datasource.RectCellBlock
All Implemented Interfaces:
Indexable
Direct Known Subclasses:
ARRSCellBlock, URCellBlock

public abstract class RectCellBlock
extends CellBlock


Field Summary
 
Fields inherited from class edu.unh.sdb.datasource.DataCollection
attributeOrder, axisOrdering, axisWeights, bounds, dataOrder, dimensionality, numAttributes, pointOrder, recordDesc
 
Constructor Summary
RectCellBlock()
          Construct a RectCellBlock without arguments
RectCellBlock(DataBlock b)
          Construct a RectCellBlock from a given DataBlock
RectCellBlock(ISBounds isb, AxisOrdering ordering, RecordDescriptor recordDesc)
          Construct a RectCellBlock with the given bounds, axis axisOrdering and RecordDescriptor.
RectCellBlock(ISBounds isb, RecordDescriptor recordDesc)
          Construct a RectCellBlock with the given bounds and number of attributes
 
Method Summary
 int size()
          Return the number of datums .
 
Methods inherited from class edu.unh.sdb.datasource.DataBlock
getValues, setByAttribute, setByte, setBytes, setBytes, setBytesByAttribute, setBytesByPoint, setDatum, setDouble, setDoubles, setDoubles, setDoublesByAttribute, setDoublesByPoint, setFloat, setFloats, setFloats, setFloatsByAttribute, setFloatsByPoint, setInt, setInts, setInts, setIntsByAttribute, setIntsByPoint, setShort, setShorts, setShorts, setShortsByAttribute, setShortsByPoint, setValues, setValues, setValuesByAttribute, setValuesByPoint, toString
 
Methods inherited from class edu.unh.sdb.datasource.DataCollection
byteSize, computeOffset, computeOffset, copyBounds, createDataBlock, createDataBlock, createDataBlock, createDatum, createDatum, createDatum, createDatum, createDatum, createDatum, datum, datum, datum, datum, datum, datum, datum, dim, getAxisOrdering, getAxisWeight, getAxisWeights, getBounds, getByte, getBytes, getBytes, getBytes, getBytes, getBytes, getBytes, getBytesByAttribute, getBytesByAttribute, getBytesByPoint, getBytesByPoint, getDataOrder, getDimensionsArray, getDouble, getDoubles, getDoubles, getDoubles, getDoubles, getDoubles, getDoubles, getDoublesByAttribute, getDoublesByAttribute, getDoublesByPoint, getDoublesByPoint, getFloat, getFloats, getFloats, getFloats, getFloats, getFloats, getFloats, getFloatsByAttribute, getFloatsByAttribute, getFloatsByPoint, getFloatsByPoint, getInt, getInts, getInts, getInts, getInts, getInts, getInts, getIntsByAttribute, getIntsByAttribute, getIntsByPoint, getIntsByPoint, getLowerBoundsArray, getNumAttributes, getRecordDescriptor, getShort, getShorts, getShorts, getShorts, getShorts, getShorts, getShorts, getShortsByAttribute, getShortsByAttribute, getShortsByPoint, getShortsByPoint, getStorageType, getValues, getValuesByAttribute, getValuesByPoint, longVolume, setAxisOrdering, setBounds, setRecordDescriptor, subblock, subblock, subblock, subblock, subblock, subblock, subblock, subblock, subblock, subblock, subblock, subblock, useBytesOnly, volume
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RectCellBlock

public RectCellBlock()
Construct a RectCellBlock without arguments


RectCellBlock

public RectCellBlock(ISBounds isb,
                     AxisOrdering ordering,
                     RecordDescriptor recordDesc)
Construct a RectCellBlock with the given bounds, axis axisOrdering and RecordDescriptor. The bounds will be moved to the origin.


RectCellBlock

public RectCellBlock(ISBounds isb,
                     RecordDescriptor recordDesc)
Construct a RectCellBlock with the given bounds and number of attributes


RectCellBlock

public RectCellBlock(DataBlock b)
Construct a RectCellBlock from a given DataBlock

Method Detail

size

public int size()
Description copied from class: DataCollection
Return the number of datums .

Overrides:
size in class DataCollection