org.jmonks.batch.io
Class Record

java.lang.Object
  extended byorg.jmonks.batch.io.Record
Direct Known Subclasses:
ReaderRecord, WriterRecord

public abstract class Record
extends java.lang.Object

Record represents the map of field names and values based on the record spec defined in the file spec. ReaderRecord and WriterRecord classes provide the methods to read and write the values to this record object for the FileReader and FileWriter consequently.
TODO :: Based on the memory statistics on handling huge files introduces a method to remove the data from the records, once they have been used.

Since:
1.0
Version:
1.0
Author:
Suresh Pragada

Constructor Summary
protected Record(RecordType recordType)
          Creates the record by accepting the record type.
 
Method Summary
 RecordType getRecordType()
          Gets the record type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Record

protected Record(RecordType recordType)
Creates the record by accepting the record type.

Parameters:
recordType - Type of the record.
Method Detail

getRecordType

public RecordType getRecordType()
Gets the record type.