public class LazySimpleSerializeWrite extends Object implements SerializeWrite
| Modifier and Type | Field and Description |
|---|---|
static org.apache.commons.logging.Log |
LOG |
| Constructor and Description |
|---|
LazySimpleSerializeWrite(int fieldCount,
byte separator,
LazySerDeParameters lazyParams) |
| Modifier and Type | Method and Description |
|---|---|
void |
reset() |
void |
set(ByteStream.Output output) |
void |
setAppend(ByteStream.Output output) |
void |
writeBinary(byte[] v) |
void |
writeBinary(byte[] v,
int start,
int length) |
void |
writeBoolean(boolean v) |
void |
writeByte(byte v) |
void |
writeDate(Date date) |
void |
writeDate(int dateAsDays) |
void |
writeDouble(double v) |
void |
writeFloat(float vf) |
void |
writeHiveChar(HiveChar hiveChar) |
void |
writeHiveDecimal(HiveDecimal v) |
void |
writeHiveIntervalDayTime(HiveIntervalDayTime vidt) |
void |
writeHiveIntervalDayTime(long totalNanos) |
void |
writeHiveIntervalYearMonth(HiveIntervalYearMonth viyt) |
void |
writeHiveIntervalYearMonth(int totalMonths) |
void |
writeHiveVarchar(HiveVarchar hiveVarchar) |
void |
writeInt(int v) |
void |
writeLong(long v) |
void |
writeNull() |
void |
writeShort(short v) |
void |
writeString(byte[] v) |
void |
writeString(byte[] v,
int start,
int length) |
void |
writeTimestamp(Timestamp v) |
public LazySimpleSerializeWrite(int fieldCount,
byte separator,
LazySerDeParameters lazyParams)
public void set(ByteStream.Output output)
set in interface SerializeWritepublic void setAppend(ByteStream.Output output)
setAppend in interface SerializeWritepublic void reset()
reset in interface SerializeWritepublic void writeNull()
throws IOException
writeNull in interface SerializeWriteIOExceptionpublic void writeBoolean(boolean v)
throws IOException
writeBoolean in interface SerializeWriteIOExceptionpublic void writeByte(byte v)
throws IOException
writeByte in interface SerializeWriteIOExceptionpublic void writeShort(short v)
throws IOException
writeShort in interface SerializeWriteIOExceptionpublic void writeInt(int v)
throws IOException
writeInt in interface SerializeWriteIOExceptionpublic void writeLong(long v)
throws IOException
writeLong in interface SerializeWriteIOExceptionpublic void writeFloat(float vf)
throws IOException
writeFloat in interface SerializeWriteIOExceptionpublic void writeDouble(double v)
throws IOException
writeDouble in interface SerializeWriteIOExceptionpublic void writeString(byte[] v)
throws IOException
writeString in interface SerializeWriteIOExceptionpublic void writeString(byte[] v,
int start,
int length)
throws IOException
writeString in interface SerializeWriteIOExceptionpublic void writeHiveChar(HiveChar hiveChar) throws IOException
writeHiveChar in interface SerializeWriteIOExceptionpublic void writeHiveVarchar(HiveVarchar hiveVarchar) throws IOException
writeHiveVarchar in interface SerializeWriteIOExceptionpublic void writeBinary(byte[] v)
throws IOException
writeBinary in interface SerializeWriteIOExceptionpublic void writeBinary(byte[] v,
int start,
int length)
throws IOException
writeBinary in interface SerializeWriteIOExceptionpublic void writeDate(Date date) throws IOException
writeDate in interface SerializeWriteIOExceptionpublic void writeDate(int dateAsDays)
throws IOException
writeDate in interface SerializeWriteIOExceptionpublic void writeTimestamp(Timestamp v) throws IOException
writeTimestamp in interface SerializeWriteIOExceptionpublic void writeHiveIntervalYearMonth(HiveIntervalYearMonth viyt) throws IOException
writeHiveIntervalYearMonth in interface SerializeWriteIOExceptionpublic void writeHiveIntervalYearMonth(int totalMonths)
throws IOException
writeHiveIntervalYearMonth in interface SerializeWriteIOExceptionpublic void writeHiveIntervalDayTime(HiveIntervalDayTime vidt) throws IOException
writeHiveIntervalDayTime in interface SerializeWriteIOExceptionpublic void writeHiveIntervalDayTime(long totalNanos)
throws IOException
writeHiveIntervalDayTime in interface SerializeWriteIOExceptionpublic void writeHiveDecimal(HiveDecimal v) throws IOException
writeHiveDecimal in interface SerializeWriteIOExceptionCopyright © 2017 The Apache Software Foundation. All rights reserved.