public class TypedBytesRecordInput extends Object implements RecordInput
| Constructor and Description |
|---|
TypedBytesRecordInput(DataInput in)
Creates a new instance of TypedBytesRecordInput.
|
TypedBytesRecordInput(TypedBytesInput in)
Creates a new instance of TypedBytesRecordInput.
|
| Modifier and Type | Method and Description |
|---|---|
void |
endMap(String tag) |
void |
endRecord(String tag) |
void |
endVector(String tag) |
static TypedBytesRecordInput |
get(DataInput in)
Get a thread-local typed bytes record input for the supplied
DataInput. |
static TypedBytesRecordInput |
get(TypedBytesInput in)
Get a thread-local typed bytes record input for the supplied
TypedBytesInput. |
boolean |
readBool(String tag) |
Buffer |
readBuffer(String tag) |
byte |
readByte(String tag) |
double |
readDouble(String tag) |
float |
readFloat(String tag) |
int |
readInt(String tag) |
long |
readLong(String tag) |
String |
readString(String tag) |
Index |
startMap(String tag) |
void |
startRecord(String tag) |
Index |
startVector(String tag) |
public TypedBytesRecordInput(TypedBytesInput in)
public TypedBytesRecordInput(DataInput in)
public static TypedBytesRecordInput get(TypedBytesInput in)
TypedBytesInput.in - typed bytes input objectTypedBytesInput.public static TypedBytesRecordInput get(DataInput in)
DataInput.in - data input objectDataInput.public boolean readBool(String tag) throws IOException
readBool in interface RecordInputIOExceptionpublic Buffer readBuffer(String tag) throws IOException
readBuffer in interface RecordInputIOExceptionpublic byte readByte(String tag) throws IOException
readByte in interface RecordInputIOExceptionpublic double readDouble(String tag) throws IOException
readDouble in interface RecordInputIOExceptionpublic float readFloat(String tag) throws IOException
readFloat in interface RecordInputIOExceptionpublic int readInt(String tag) throws IOException
readInt in interface RecordInputIOExceptionpublic long readLong(String tag) throws IOException
readLong in interface RecordInputIOExceptionpublic String readString(String tag) throws IOException
readString in interface RecordInputIOExceptionpublic void startRecord(String tag) throws IOException
startRecord in interface RecordInputIOExceptionpublic Index startVector(String tag) throws IOException
startVector in interface RecordInputIOExceptionpublic Index startMap(String tag) throws IOException
startMap in interface RecordInputIOExceptionpublic void endRecord(String tag) throws IOException
endRecord in interface RecordInputIOExceptionpublic void endVector(String tag) throws IOException
endVector in interface RecordInputIOExceptionpublic void endMap(String tag) throws IOException
endMap in interface RecordInputIOExceptionCopyright © 2018 CERN. All Rights Reserved.