binaryFileStorage
Class BinaryOfflineDataMap

java.lang.Object
  extended by dataMap.OfflineDataMap<BinaryOfflineDataMapPoint>
      extended by binaryFileStorage.BinaryOfflineDataMap

public class BinaryOfflineDataMap
extends OfflineDataMap<BinaryOfflineDataMapPoint>


Field Summary
private  BinaryDataSource binaryDataSource
           
private  BinaryStore binaryStore
           
 
Fields inherited from class dataMap.OfflineDataMap
AFTER_LAST, BEFORE_FIRST, IN_DATA, IN_GAP, NO_DATA, POINT_END, POINT_START, SCALE_NONE, SCALE_PERDAY, SCALE_PERHOUR, SCALE_PERMINUTE, SCALE_PERSECOND
 
Constructor Summary
BinaryOfflineDataMap(BinaryStore binaryStore, PamDataBlock parentDataBlock)
           
 
Method Summary
 BinaryOfflineDataMapPoint findMapPoint(java.io.File file)
           
protected  java.util.ArrayList<BinaryOfflineDataMapPoint> getFileList(long dataStart, long dataEnd)
          Get a list of map points which have data between the two times.
 
Methods inherited from class dataMap.OfflineDataMap
addDataPoint, clear, getDataCount, getFirstDataTime, getHighestPoint, getLastDataTime, getListIterator, getLowestNonZeroPoint, getLowestPoint, getNextDataStart, getNumMapPoints, getOfflineDataSource, getParentDataBlock, getPrevDataEnd, getSpecialDrawing, isInGap, scaleData, setFirstDataTime, setLastDataTime, setSpecialDrawing, sortMapPoints
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

binaryDataSource

private BinaryDataSource binaryDataSource

binaryStore

private BinaryStore binaryStore
Constructor Detail

BinaryOfflineDataMap

public BinaryOfflineDataMap(BinaryStore binaryStore,
                            PamDataBlock parentDataBlock)
Method Detail

getFileList

protected java.util.ArrayList<BinaryOfflineDataMapPoint> getFileList(long dataStart,
                                                                     long dataEnd)
Get a list of map points which have data between the two times.

Parameters:
dataStart - start time in milliseconds
dataEnd - end time in milliseconds
Returns:
Array list of map points

findMapPoint

public BinaryOfflineDataMapPoint findMapPoint(java.io.File file)