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
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