public class HadoopDirectDataOutput extends OutputStream implements DataOutput
| Constructor and Description |
|---|
HadoopDirectDataOutput(int flushSize)
Constructor.
|
HadoopDirectDataOutput(int flushSize,
int allocSize)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
buffer() |
int |
bufferLength() |
int |
position() |
boolean |
readyForFlush() |
void |
reset()
Reset the stream.
|
void |
write(byte[] b) |
void |
write(byte[] b,
int off,
int len) |
void |
write(int val) |
void |
writeBoolean(boolean val) |
void |
writeByte(int val) |
void |
writeBytes(String str) |
void |
writeChar(int val) |
void |
writeChars(String str) |
void |
writeDouble(double val) |
void |
writeFloat(float val) |
void |
writeInt(int val) |
void |
writeLong(long val) |
void |
writeShort(int val) |
void |
writeUTF(String str) |
close, flushpublic HadoopDirectDataOutput(int flushSize)
flushSize - Flush size.public HadoopDirectDataOutput(int flushSize,
int allocSize)
flushSize - Flush size.allocSize - Allocation size.public void write(@NotNull
byte[] b)
throws IOException
write in interface DataOutputwrite in class OutputStreamIOExceptionpublic void write(@NotNull
byte[] b,
int off,
int len)
throws IOException
write in interface DataOutputwrite in class OutputStreamIOExceptionpublic void write(int val)
throws IOException
write in interface DataOutputwrite in class OutputStreamIOExceptionpublic void writeBoolean(boolean val)
throws IOException
writeBoolean in interface DataOutputIOExceptionpublic void writeByte(int val)
throws IOException
writeByte in interface DataOutputIOExceptionpublic void writeShort(int val)
throws IOException
writeShort in interface DataOutputIOExceptionpublic void writeChar(int val)
throws IOException
writeChar in interface DataOutputIOExceptionpublic void writeInt(int val)
throws IOException
writeInt in interface DataOutputIOExceptionpublic void writeLong(long val)
throws IOException
writeLong in interface DataOutputIOExceptionpublic void writeFloat(float val)
throws IOException
writeFloat in interface DataOutputIOExceptionpublic void writeDouble(double val)
throws IOException
writeDouble in interface DataOutputIOExceptionpublic void writeBytes(@NotNull
String str)
throws IOException
writeBytes in interface DataOutputIOExceptionpublic void writeChars(@NotNull
String str)
throws IOException
writeChars in interface DataOutputIOExceptionpublic void writeUTF(@NotNull
String str)
throws IOException
writeUTF in interface DataOutputIOExceptionpublic byte[] buffer()
public int bufferLength()
public int position()
public boolean readyForFlush()
public void reset()
Follow @ApacheIgnite
Ignite Fabric : ver. 2.5.1-p166 Release Date : September 3 2019