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 SerializeWrite
public void setAppend(ByteStream.Output output)
setAppend
in interface SerializeWrite
public void reset()
reset
in interface SerializeWrite
public void writeNull() throws IOException
writeNull
in interface SerializeWrite
IOException
public void writeBoolean(boolean v) throws IOException
writeBoolean
in interface SerializeWrite
IOException
public void writeByte(byte v) throws IOException
writeByte
in interface SerializeWrite
IOException
public void writeShort(short v) throws IOException
writeShort
in interface SerializeWrite
IOException
public void writeInt(int v) throws IOException
writeInt
in interface SerializeWrite
IOException
public void writeLong(long v) throws IOException
writeLong
in interface SerializeWrite
IOException
public void writeFloat(float vf) throws IOException
writeFloat
in interface SerializeWrite
IOException
public void writeDouble(double v) throws IOException
writeDouble
in interface SerializeWrite
IOException
public void writeString(byte[] v) throws IOException
writeString
in interface SerializeWrite
IOException
public void writeString(byte[] v, int start, int length) throws IOException
writeString
in interface SerializeWrite
IOException
public void writeHiveChar(HiveChar hiveChar) throws IOException
writeHiveChar
in interface SerializeWrite
IOException
public void writeHiveVarchar(HiveVarchar hiveVarchar) throws IOException
writeHiveVarchar
in interface SerializeWrite
IOException
public void writeBinary(byte[] v) throws IOException
writeBinary
in interface SerializeWrite
IOException
public void writeBinary(byte[] v, int start, int length) throws IOException
writeBinary
in interface SerializeWrite
IOException
public void writeDate(Date date) throws IOException
writeDate
in interface SerializeWrite
IOException
public void writeDate(int dateAsDays) throws IOException
writeDate
in interface SerializeWrite
IOException
public void writeTimestamp(Timestamp v) throws IOException
writeTimestamp
in interface SerializeWrite
IOException
public void writeHiveIntervalYearMonth(HiveIntervalYearMonth viyt) throws IOException
writeHiveIntervalYearMonth
in interface SerializeWrite
IOException
public void writeHiveIntervalYearMonth(int totalMonths) throws IOException
writeHiveIntervalYearMonth
in interface SerializeWrite
IOException
public void writeHiveIntervalDayTime(HiveIntervalDayTime vidt) throws IOException
writeHiveIntervalDayTime
in interface SerializeWrite
IOException
public void writeHiveIntervalDayTime(long totalNanos) throws IOException
writeHiveIntervalDayTime
in interface SerializeWrite
IOException
public void writeHiveDecimal(HiveDecimal v) throws IOException
writeHiveDecimal
in interface SerializeWrite
IOException
Copyright © 2017 The Apache Software Foundation. All rights reserved.