com.davisor.data.stream
Class SortDataStream

java.lang.Object
  extended bycom.davisor.data.VoidData
      extended bycom.davisor.data.stream.IteratorDataStream
          extended bycom.davisor.data.stream.SortDataStream
All Implemented Interfaces:
Data, DataStream

public class SortDataStream
extends IteratorDataStream

SortDataStream represents a data stream that has the processed results of SortDataSource. The elements in the stream are DataValues.

Since:
JDK1.2

Field Summary
 
Fields inherited from class com.davisor.data.stream.IteratorDataStream
M_hasNext, M_index, M_iterator, M_metaData, M_nextData
 
Fields inherited from class com.davisor.data.VoidData
M_type
 
Fields inherited from interface com.davisor.data.stream.DataStream
INITIAL_INDEX
 
Constructor Summary
SortDataStream(DataBuffer dataBuffer)
          Creates a data stream from the given data buffer.
 
Methods inherited from class com.davisor.data.stream.IteratorDataStream
close, getIndex, hasNext, init, next, toString
 
Methods inherited from class com.davisor.data.VoidData
equals, getDataValue, getType, hashCode, setType
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.davisor.data.Data
getType
 

Constructor Detail

SortDataStream

public SortDataStream(DataBuffer dataBuffer)
               throws InvalidDataException
Creates a data stream from the given data buffer. The objects in the data buffer are assumed to be instances of DataValue objects with a common Type.

Parameters:
dataBuffer - Data buffer.
Throws:
InvalidDataException - if the data does not fulfill expectations.


Copyright © 2001-2004 Davisor Oy. All Rights Reserved.