org.apache.hadoop.record
Interface InputArchive

All Known Implementing Classes:
BinaryInputArchive

public interface InputArchive

Interface that all the Deserializers have to implement.

Author:
Milind Bhandarkar

Method Summary
 void endMap(String tag)
           
 void endRecord(String tag)
           
 void endVector(String tag)
           
 boolean readBool(String tag)
           
 ByteArrayOutputStream readBuffer(String tag)
           
 byte readByte(String tag)
           
 double readDouble(String tag)
           
 float readFloat(String tag)
           
 int readInt(String tag)
           
 long readLong(String tag)
           
 void readRecord(Record r, String tag)
           
 String readString(String tag)
           
 Index startMap(String tag)
           
 void startRecord(String tag)
           
 Index startVector(String tag)
           
 

Method Detail

readByte

public byte readByte(String tag)
              throws IOException
Throws:
IOException

readBool

public boolean readBool(String tag)
                 throws IOException
Throws:
IOException

readInt

public int readInt(String tag)
            throws IOException
Throws:
IOException

readLong

public long readLong(String tag)
              throws IOException
Throws:
IOException

readFloat

public float readFloat(String tag)
                throws IOException
Throws:
IOException

readDouble

public double readDouble(String tag)
                  throws IOException
Throws:
IOException

readString

public String readString(String tag)
                  throws IOException
Throws:
IOException

readBuffer

public ByteArrayOutputStream readBuffer(String tag)
                                 throws IOException
Throws:
IOException

readRecord

public void readRecord(Record r,
                       String tag)
                throws IOException
Throws:
IOException

startRecord

public void startRecord(String tag)
                 throws IOException
Throws:
IOException

endRecord

public void endRecord(String tag)
               throws IOException
Throws:
IOException

startVector

public Index startVector(String tag)
                  throws IOException
Throws:
IOException

endVector

public void endVector(String tag)
               throws IOException
Throws:
IOException

startMap

public Index startMap(String tag)
               throws IOException
Throws:
IOException

endMap

public void endMap(String tag)
            throws IOException
Throws:
IOException


Copyright © 2006 The Apache Software Foundation