org.apache.hadoop.record
Interface InputArchive
public interface InputArchive
Interface that all the Deserializers have to implement.
- Author:
- Milind Bhandarkar
readByte
byte readByte(String tag)
throws IOException
- Throws:
IOException
readBool
boolean readBool(String tag)
throws IOException
- Throws:
IOException
readInt
int readInt(String tag)
throws IOException
- Throws:
IOException
readLong
long readLong(String tag)
throws IOException
- Throws:
IOException
readFloat
float readFloat(String tag)
throws IOException
- Throws:
IOException
readDouble
double readDouble(String tag)
throws IOException
- Throws:
IOException
readString
String readString(String tag)
throws IOException
- Throws:
IOException
readBuffer
Buffer readBuffer(String tag)
throws IOException
- Throws:
IOException
readRecord
void readRecord(Record r,
String tag)
throws IOException
- Throws:
IOException
startRecord
void startRecord(String tag)
throws IOException
- Throws:
IOException
endRecord
void endRecord(String tag)
throws IOException
- Throws:
IOException
startVector
Index startVector(String tag)
throws IOException
- Throws:
IOException
endVector
void endVector(String tag)
throws IOException
- Throws:
IOException
startMap
Index startMap(String tag)
throws IOException
- Throws:
IOException
endMap
void endMap(String tag)
throws IOException
- Throws:
IOException
Copyright © 2006 The Apache Software Foundation