public class TypedBytesRecordInput extends Object
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) |
byte |
readByte(String tag) |
double |
readDouble(String tag) |
float |
readFloat(String tag) |
int |
readInt(String tag) |
long |
readLong(String tag) |
String |
readString(String tag) |
void |
startRecord(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
IOException
public byte readByte(String tag) throws IOException
IOException
public double readDouble(String tag) throws IOException
IOException
public float readFloat(String tag) throws IOException
IOException
public int readInt(String tag) throws IOException
IOException
public long readLong(String tag) throws IOException
IOException
public String readString(String tag) throws IOException
IOException
public void startRecord(String tag) throws IOException
IOException
public void endRecord(String tag) throws IOException
IOException
public void endVector(String tag) throws IOException
IOException
public void endMap(String tag) throws IOException
IOException
Copyright © 2016 The Apache Software Foundation. All rights reserved.