quadbase.common.util.internal
Class VersioningDataOutput
java.lang.Object
|
+--quadbase.common.util.internal.VersioningDataOutput
- All Implemented Interfaces:
- java.io.DataOutput, VersioningDataType
- public class VersioningDataOutput
- extends java.lang.Object
- implements java.io.DataOutput, VersioningDataType
|
Field Summary |
static boolean |
debug
|
| Fields inherited from interface quadbase.common.util.internal.VersioningDataType |
BOOLEAN, BYTE, BYTE_ARRAY, BYTES_STRING, CHAR, CHARS, DOUBLE, FLOAT, INT, LONG, RPT_VER_LIMITSUBREPORTQUERY, SHORT, UTF_STRING |
|
Method Summary |
void |
flush()
|
java.io.DataOutput |
getOriginalDataOutput()
|
void |
write(byte[] b)
|
void |
write(byte[] b,
int off,
int len)
|
void |
write(byte[] b,
int off,
int len,
short version)
|
void |
write(byte[] b,
short version)
|
void |
write(int b)
OLD VERSION |
void |
write(int b,
short version)
|
void |
writeBoolean(boolean v)
|
void |
writeBoolean(boolean v,
short version)
|
void |
writeByte(int v)
|
void |
writeByte(int v,
short version)
|
void |
writeBytes(java.lang.String s)
|
void |
writeBytes(java.lang.String s,
short version)
|
void |
writeChar(int v)
|
void |
writeChar(int v,
short version)
|
void |
writeChars(java.lang.String s)
|
void |
writeChars(java.lang.String s,
short version)
|
void |
writeDouble(double v)
|
void |
writeDouble(double v,
short version)
|
void |
writeFloat(float v)
|
void |
writeFloat(float v,
short version)
|
void |
writeInt(int v)
|
void |
writeInt(int v,
short version)
|
void |
writeLong(long v)
|
void |
writeLong(long v,
short version)
|
void |
writeShort(int v)
|
void |
writeShort(int v,
short version)
|
void |
writeStr(java.lang.String string,
short version)
|
void |
writeUTF(java.lang.String str)
|
void |
writeUTF(java.lang.String str,
short version)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
debug
public static boolean debug
VersioningDataOutput
public VersioningDataOutput(java.io.DataOutput out)
write
public void write(int b,
short version)
throws java.io.IOException
write
public void write(byte[] b,
short version)
throws java.io.IOException
write
public void write(byte[] b,
int off,
int len,
short version)
throws java.io.IOException
writeBoolean
public void writeBoolean(boolean v,
short version)
throws java.io.IOException
writeByte
public void writeByte(int v,
short version)
throws java.io.IOException
writeShort
public void writeShort(int v,
short version)
throws java.io.IOException
writeChar
public void writeChar(int v,
short version)
throws java.io.IOException
writeInt
public void writeInt(int v,
short version)
throws java.io.IOException
writeLong
public void writeLong(long v,
short version)
throws java.io.IOException
writeFloat
public void writeFloat(float v,
short version)
throws java.io.IOException
writeDouble
public void writeDouble(double v,
short version)
throws java.io.IOException
writeBytes
public void writeBytes(java.lang.String s,
short version)
throws java.io.IOException
writeChars
public void writeChars(java.lang.String s,
short version)
throws java.io.IOException
writeUTF
public void writeUTF(java.lang.String str,
short version)
throws java.io.IOException
writeStr
public final void writeStr(java.lang.String string,
short version)
throws java.io.IOException
write
public void write(int b)
throws java.io.IOException
- OLD VERSION
- Specified by:
write in interface java.io.DataOutput
write
public void write(byte[] b)
throws java.io.IOException
- Specified by:
write in interface java.io.DataOutput
write
public void write(byte[] b,
int off,
int len)
throws java.io.IOException
- Specified by:
write in interface java.io.DataOutput
writeBoolean
public void writeBoolean(boolean v)
throws java.io.IOException
- Specified by:
writeBoolean in interface java.io.DataOutput
writeByte
public void writeByte(int v)
throws java.io.IOException
- Specified by:
writeByte in interface java.io.DataOutput
writeShort
public void writeShort(int v)
throws java.io.IOException
- Specified by:
writeShort in interface java.io.DataOutput
writeChar
public void writeChar(int v)
throws java.io.IOException
- Specified by:
writeChar in interface java.io.DataOutput
writeInt
public void writeInt(int v)
throws java.io.IOException
- Specified by:
writeInt in interface java.io.DataOutput
writeLong
public void writeLong(long v)
throws java.io.IOException
- Specified by:
writeLong in interface java.io.DataOutput
writeFloat
public void writeFloat(float v)
throws java.io.IOException
- Specified by:
writeFloat in interface java.io.DataOutput
writeDouble
public void writeDouble(double v)
throws java.io.IOException
- Specified by:
writeDouble in interface java.io.DataOutput
writeBytes
public void writeBytes(java.lang.String s)
throws java.io.IOException
- Specified by:
writeBytes in interface java.io.DataOutput
writeChars
public void writeChars(java.lang.String s)
throws java.io.IOException
- Specified by:
writeChars in interface java.io.DataOutput
writeUTF
public void writeUTF(java.lang.String str)
throws java.io.IOException
- Specified by:
writeUTF in interface java.io.DataOutput
flush
public void flush()
throws java.io.IOException
getOriginalDataOutput
public java.io.DataOutput getOriginalDataOutput()
throws java.io.IOException