gr.uoa.di.madgik.searchlibrary.operatorlibrary.merge
Class RecordBufferEntry

java.lang.Object
  extended by gr.uoa.di.madgik.searchlibrary.operatorlibrary.merge.RecordBufferEntry

public class RecordBufferEntry
extends Object

A utility class used by readers to pass records along with their id (actually, their index in a vector of ReaderHolder The inclusion of the reader id is necessary in order for the MergeWorker involved in the authoring of the final result set to infer the exact RecordDefinition offset for each record encountered via the intermediate buffer

Author:
gerasimos.farantatos

Field Summary
 int id
           
 gr.uoa.di.madgik.grs.record.Record record
           
 
Constructor Summary
RecordBufferEntry(gr.uoa.di.madgik.grs.record.Record record, int id)
          Creates a new instance
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

record

public final gr.uoa.di.madgik.grs.record.Record record

id

public final int id
Constructor Detail

RecordBufferEntry

public RecordBufferEntry(gr.uoa.di.madgik.grs.record.Record record,
                         int id)
Creates a new instance

Parameters:
record - The record to be passed to a writer via a buffer
id - The id of the reader from which the record was read


Copyright © 2013. All Rights Reserved.