Class DenseUnionWriter
java.lang.Object
org.apache.arrow.vector.complex.impl.DenseUnionWriter
- All Implemented Interfaces:
AutoCloseable
,Positionable
,BaseWriter
,BaseWriter.ListWriter
,BaseWriter.MapWriter
,BaseWriter.ScalarWriter
,BaseWriter.StructWriter
,BigIntWriter
,BitWriter
,DateDayWriter
,DateMilliWriter
,Decimal256Writer
,DecimalWriter
,DurationWriter
,FieldWriter
,FixedSizeBinaryWriter
,Float2Writer
,Float4Writer
,Float8Writer
,IntervalDayWriter
,IntervalMonthDayNanoWriter
,IntervalYearWriter
,IntWriter
,LargeVarBinaryWriter
,LargeVarCharWriter
,SmallIntWriter
,TimeMicroWriter
,TimeMilliWriter
,TimeNanoWriter
,TimeSecWriter
,TimeStampMicroTZWriter
,TimeStampMicroWriter
,TimeStampMilliTZWriter
,TimeStampMilliWriter
,TimeStampNanoTZWriter
,TimeStampNanoWriter
,TimeStampSecTZWriter
,TimeStampSecWriter
,TinyIntWriter
,UInt1Writer
,UInt2Writer
,UInt4Writer
,UInt8Writer
,VarBinaryWriter
,VarCharWriter
,ViewVarBinaryWriter
,ViewVarCharWriter
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.arrow.vector.complex.writer.BaseWriter
BaseWriter.ComplexWriter, BaseWriter.ListWriter, BaseWriter.MapWriter, BaseWriter.ScalarWriter, BaseWriter.StructOrListWriter, BaseWriter.StructWriter
-
Field Summary
-
Constructor Summary
ConstructorDescriptionDenseUnionWriter
(DenseUnionVector vector) DenseUnionWriter
(DenseUnionVector vector, NullableStructWriterFactory nullableStructWriterFactory) -
Method Summary
Modifier and TypeMethodDescriptionvoid
allocate()
asBigInt
(byte typeId) asBit
(byte typeId) asDateDay
(byte typeId) asDateMilli
(byte typeId) asDecimal
(byte typeId) asDecimal256
(byte typeId) asFloat2
(byte typeId) asFloat4
(byte typeId) asFloat8
(byte typeId) asInt
(byte typeId) asIntervalDay
(byte typeId) asIntervalMonthDayNano
(byte typeId) asIntervalYear
(byte typeId) asLargeVarBinary
(byte typeId) asLargeVarChar
(byte typeId) asList
(byte typeId) asMap
(byte typeId) asSmallInt
(byte typeId) asStruct
(byte typeId) asTimeMicro
(byte typeId) asTimeMilli
(byte typeId) asTimeNano
(byte typeId) asTimeSec
(byte typeId) asTimeStampMicro
(byte typeId) asTimeStampMilli
(byte typeId) asTimeStampNano
(byte typeId) asTimeStampSec
(byte typeId) asTinyInt
(byte typeId) asUInt1
(byte typeId) asUInt2
(byte typeId) asUInt4
(byte typeId) asUInt8
(byte typeId) asVarBinary
(byte typeId) asVarChar
(byte typeId) asViewVarBinary
(byte typeId) asViewVarChar
(byte typeId) bigInt()
bit()
void
clear()
void
close()
void
copyReader
(FieldReader reader) void
copyReaderToField
(String name, FieldReader reader) dateDay()
decimal()
decimal256
(String name) decimal256
(String name, int scale, int precision) duration()
void
end()
void
endEntry()
void
endList()
void
endMap()
fixedSizeBinary
(String name) fixedSizeBinary
(String name, int byteWidth) float2()
float4()
float8()
getField()
int
int
integer()
intervalDay
(String name) intervalMonthDayNano
(String name) intervalYear
(String name) boolean
This implementation returnsfalse
.key()
largeVarBinary
(String name) largeVarChar
(String name) list()
map()
map
(boolean keysSorted) void
setAddVectorAsNullable
(boolean nullable) Set flag to control the FieldType.nullable property when a writer creates a new vector.void
setPosition
(int index) smallInt()
void
start()
void
void
void
startMap()
struct()
timeNano()
timeSec()
timeStampMicro
(String name) timeStampMicroTZ
(String name) timeStampMicroTZ
(String name, String timezone) timeStampMilli
(String name) timeStampMilliTZ
(String name) timeStampMilliTZ
(String name, String timezone) timeStampNano
(String name) timeStampNanoTZ
(String name) timeStampNanoTZ
(String name, String timezone) timeStampSec
(String name) timeStampSecTZ
(String name) timeStampSecTZ
(String name, String timezone) tinyInt()
toString()
uInt1()
uInt2()
uInt4()
uInt8()
value()
varChar()
viewVarBinary
(String name) viewVarChar
(String name) void
write
(BigIntHolder holder) void
void
write
(DateDayHolder holder) void
write
(DateMilliHolder holder) void
write
(Decimal256Holder holder) void
write
(DecimalHolder holder) void
write
(DurationHolder holder) void
write
(FixedSizeBinaryHolder holder) void
write
(Float2Holder holder) void
write
(Float4Holder holder) void
write
(Float8Holder holder) void
write
(IntervalDayHolder holder) void
write
(IntervalMonthDayNanoHolder holder) void
write
(IntervalYearHolder holder) void
void
write
(LargeVarBinaryHolder holder) void
write
(LargeVarCharHolder holder) void
write
(SmallIntHolder holder) void
write
(TimeMicroHolder holder) void
write
(TimeMilliHolder holder) void
write
(TimeNanoHolder holder) void
write
(TimeSecHolder holder) void
write
(TimeStampMicroHolder holder) void
write
(TimeStampMicroTZHolder holder) void
write
(TimeStampMilliHolder holder) void
write
(TimeStampMilliTZHolder holder) void
write
(TimeStampNanoHolder holder) void
write
(TimeStampNanoTZHolder holder) void
write
(TimeStampSecHolder holder) void
write
(TimeStampSecTZHolder holder) void
write
(TinyIntHolder holder) void
write
(UInt1Holder holder) void
write
(UInt2Holder holder) void
write
(UInt4Holder holder) void
write
(UInt8Holder holder) void
write
(VarBinaryHolder holder) void
write
(VarCharHolder holder) void
write
(ViewVarBinaryHolder holder) void
write
(ViewVarCharHolder holder) void
writeBigEndianBytesToDecimal
(byte[] value) void
writeBigEndianBytesToDecimal
(byte[] value, ArrowType arrowType) void
writeBigEndianBytesToDecimal256
(byte[] value) void
writeBigEndianBytesToDecimal256
(byte[] value, ArrowType arrowType) void
writeBigInt
(long value) void
writeBigInt
(long value, byte typeId) void
writeBit
(int value) void
writeBit
(int value, byte typeId) void
writeDateDay
(int value) void
writeDateDay
(int value, byte typeId) void
writeDateMilli
(long value) void
writeDateMilli
(long value, byte typeId) void
writeDecimal
(long start, ArrowBuf buffer) void
writeDecimal
(long start, ArrowBuf buffer, byte typeId, ArrowType arrowType) void
writeDecimal
(long start, ArrowBuf buffer, ArrowType arrowType) void
writeDecimal
(BigDecimal value) void
writeDecimal256
(long start, ArrowBuf buffer) void
writeDecimal256
(long start, ArrowBuf buffer, byte typeId, ArrowType arrowType) void
writeDecimal256
(long start, ArrowBuf buffer, ArrowType arrowType) void
writeDecimal256
(BigDecimal value) void
writeDuration
(long value) void
writeFixedSizeBinary
(ArrowBuf buffer) void
writeFloat2
(short value) void
writeFloat2
(short value, byte typeId) void
writeFloat4
(float value) void
writeFloat4
(float value, byte typeId) void
writeFloat8
(double value) void
writeFloat8
(double value, byte typeId) void
writeInt
(int value) void
writeInt
(int value, byte typeId) void
writeIntervalDay
(int days, int milliseconds) void
writeIntervalDay
(int days, int milliseconds, byte typeId) void
writeIntervalMonthDayNano
(int months, int days, long nanoseconds) void
writeIntervalMonthDayNano
(int months, int days, long nanoseconds, byte typeId) void
writeIntervalYear
(int value) void
writeIntervalYear
(int value, byte typeId) void
writeLargeVarBinary
(byte[] value) void
writeLargeVarBinary
(byte[] value, int offset, int length) void
writeLargeVarBinary
(long start, long end, ArrowBuf buffer) void
writeLargeVarBinary
(long start, long end, ArrowBuf buffer, byte typeId) void
writeLargeVarBinary
(ByteBuffer value) void
writeLargeVarBinary
(ByteBuffer value, int offset, int length) void
writeLargeVarChar
(long start, long end, ArrowBuf buffer) void
writeLargeVarChar
(long start, long end, ArrowBuf buffer, byte typeId) void
writeLargeVarChar
(String value) void
writeLargeVarChar
(Text value) void
void
writeSmallInt
(short value) void
writeSmallInt
(short value, byte typeId) void
writeTimeMicro
(long value) void
writeTimeMicro
(long value, byte typeId) void
writeTimeMilli
(int value) void
writeTimeMilli
(int value, byte typeId) void
writeTimeNano
(long value) void
writeTimeNano
(long value, byte typeId) void
writeTimeSec
(int value) void
writeTimeSec
(int value, byte typeId) void
writeTimeStampMicro
(long value) void
writeTimeStampMicro
(long value, byte typeId) void
writeTimeStampMicroTZ
(long value) void
writeTimeStampMilli
(long value) void
writeTimeStampMilli
(long value, byte typeId) void
writeTimeStampMilliTZ
(long value) void
writeTimeStampNano
(long value) void
writeTimeStampNano
(long value, byte typeId) void
writeTimeStampNanoTZ
(long value) void
writeTimeStampSec
(long value) void
writeTimeStampSec
(long value, byte typeId) void
writeTimeStampSecTZ
(long value) void
writeTinyInt
(byte value) void
writeTinyInt
(byte value, byte typeId) void
writeUInt1
(byte value) void
writeUInt1
(byte value, byte typeId) void
writeUInt2
(char value) void
writeUInt2
(char value, byte typeId) void
writeUInt4
(int value) void
writeUInt4
(int value, byte typeId) void
writeUInt8
(long value) void
writeUInt8
(long value, byte typeId) void
writeVarBinary
(byte[] value) void
writeVarBinary
(byte[] value, int offset, int length) void
writeVarBinary
(int start, int end, ArrowBuf buffer) void
writeVarBinary
(int start, int end, ArrowBuf buffer, byte typeId) void
writeVarBinary
(ByteBuffer value) void
writeVarBinary
(ByteBuffer value, int offset, int length) void
writeVarChar
(int start, int end, ArrowBuf buffer) void
writeVarChar
(int start, int end, ArrowBuf buffer, byte typeId) void
writeVarChar
(String value) void
writeVarChar
(Text value) void
writeViewVarBinary
(byte[] value) void
writeViewVarBinary
(byte[] value, int offset, int length) void
writeViewVarBinary
(int start, int end, ArrowBuf buffer) void
writeViewVarBinary
(int start, int end, ArrowBuf buffer, byte typeId) void
writeViewVarBinary
(ByteBuffer value) void
writeViewVarBinary
(ByteBuffer value, int offset, int length) void
writeViewVarChar
(int start, int end, ArrowBuf buffer) void
writeViewVarChar
(int start, int end, ArrowBuf buffer, byte typeId) void
writeViewVarChar
(String value) void
writeViewVarChar
(Text value) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.apache.arrow.vector.complex.writer.BaseWriter.ListWriter
copyReader, duration, fixedSizeBinary, map, timeStampMicroTZ, timeStampMilliTZ, timeStampNanoTZ, timeStampSecTZ
Methods inherited from interface org.apache.arrow.vector.complex.writer.BaseWriter.MapWriter
endEntry, endMap, key, startEntry, startMap, value
Methods inherited from interface org.apache.arrow.vector.complex.writer.BaseWriter.StructWriter
copyReaderToField, duration, duration, fixedSizeBinary, fixedSizeBinary, isEmptyStruct, timeStampMicroTZ, timeStampMicroTZ, timeStampMilliTZ, timeStampMilliTZ, timeStampNanoTZ, timeStampNanoTZ, timeStampSecTZ, timeStampSecTZ
Methods inherited from interface org.apache.arrow.vector.complex.writer.BigIntWriter
writeBigInt
Methods inherited from interface org.apache.arrow.vector.complex.writer.DateDayWriter
writeDateDay
Methods inherited from interface org.apache.arrow.vector.complex.writer.DateMilliWriter
writeDateMilli
Methods inherited from interface org.apache.arrow.vector.complex.writer.Decimal256Writer
writeBigEndianBytesToDecimal256, writeBigEndianBytesToDecimal256, writeDecimal256, writeDecimal256, writeDecimal256
Methods inherited from interface org.apache.arrow.vector.complex.writer.DecimalWriter
writeBigEndianBytesToDecimal, writeBigEndianBytesToDecimal, writeDecimal, writeDecimal, writeDecimal
Methods inherited from interface org.apache.arrow.vector.complex.writer.DurationWriter
write, writeDuration
Methods inherited from interface org.apache.arrow.vector.complex.writer.FixedSizeBinaryWriter
write, writeFixedSizeBinary
Methods inherited from interface org.apache.arrow.vector.complex.writer.Float2Writer
writeFloat2
Methods inherited from interface org.apache.arrow.vector.complex.writer.Float4Writer
writeFloat4
Methods inherited from interface org.apache.arrow.vector.complex.writer.Float8Writer
writeFloat8
Methods inherited from interface org.apache.arrow.vector.complex.writer.IntervalDayWriter
writeIntervalDay
Methods inherited from interface org.apache.arrow.vector.complex.writer.IntervalMonthDayNanoWriter
writeIntervalMonthDayNano
Methods inherited from interface org.apache.arrow.vector.complex.writer.IntervalYearWriter
writeIntervalYear
Methods inherited from interface org.apache.arrow.vector.complex.writer.LargeVarBinaryWriter
writeLargeVarBinary, writeLargeVarBinary, writeLargeVarBinary, writeLargeVarBinary, writeLargeVarBinary
Methods inherited from interface org.apache.arrow.vector.complex.writer.LargeVarCharWriter
writeLargeVarChar, writeLargeVarChar, writeLargeVarChar
Methods inherited from interface org.apache.arrow.vector.complex.Positionable
getPosition
Methods inherited from interface org.apache.arrow.vector.complex.writer.SmallIntWriter
writeSmallInt
Methods inherited from interface org.apache.arrow.vector.complex.writer.TimeMicroWriter
writeTimeMicro
Methods inherited from interface org.apache.arrow.vector.complex.writer.TimeMilliWriter
writeTimeMilli
Methods inherited from interface org.apache.arrow.vector.complex.writer.TimeNanoWriter
writeTimeNano
Methods inherited from interface org.apache.arrow.vector.complex.writer.TimeSecWriter
writeTimeSec
Methods inherited from interface org.apache.arrow.vector.complex.writer.TimeStampMicroTZWriter
write, writeTimeStampMicroTZ
Methods inherited from interface org.apache.arrow.vector.complex.writer.TimeStampMicroWriter
writeTimeStampMicro
Methods inherited from interface org.apache.arrow.vector.complex.writer.TimeStampMilliTZWriter
write, writeTimeStampMilliTZ
Methods inherited from interface org.apache.arrow.vector.complex.writer.TimeStampMilliWriter
writeTimeStampMilli
Methods inherited from interface org.apache.arrow.vector.complex.writer.TimeStampNanoTZWriter
write, writeTimeStampNanoTZ
Methods inherited from interface org.apache.arrow.vector.complex.writer.TimeStampNanoWriter
writeTimeStampNano
Methods inherited from interface org.apache.arrow.vector.complex.writer.TimeStampSecTZWriter
write, writeTimeStampSecTZ
Methods inherited from interface org.apache.arrow.vector.complex.writer.TimeStampSecWriter
writeTimeStampSec
Methods inherited from interface org.apache.arrow.vector.complex.writer.TinyIntWriter
writeTinyInt
Methods inherited from interface org.apache.arrow.vector.complex.writer.UInt1Writer
writeUInt1
Methods inherited from interface org.apache.arrow.vector.complex.writer.UInt2Writer
writeUInt2
Methods inherited from interface org.apache.arrow.vector.complex.writer.UInt4Writer
writeUInt4
Methods inherited from interface org.apache.arrow.vector.complex.writer.UInt8Writer
writeUInt8
Methods inherited from interface org.apache.arrow.vector.complex.writer.VarBinaryWriter
writeVarBinary, writeVarBinary, writeVarBinary, writeVarBinary, writeVarBinary
Methods inherited from interface org.apache.arrow.vector.complex.writer.VarCharWriter
writeVarChar, writeVarChar, writeVarChar
Methods inherited from interface org.apache.arrow.vector.complex.writer.ViewVarBinaryWriter
writeViewVarBinary, writeViewVarBinary, writeViewVarBinary, writeViewVarBinary, writeViewVarBinary
Methods inherited from interface org.apache.arrow.vector.complex.writer.ViewVarCharWriter
writeViewVarChar, writeViewVarChar, writeViewVarChar
-
Field Details
-
addVectorAsNullable
protected boolean addVectorAsNullable
-
-
Constructor Details
-
DenseUnionWriter
-
DenseUnionWriter
public DenseUnionWriter(DenseUnionVector vector, NullableStructWriterFactory nullableStructWriterFactory)
-
-
Method Details
-
setPosition
public void setPosition(int index) - Specified by:
setPosition
in interfacePositionable
-
start
public void start()- Specified by:
start
in interfaceBaseWriter.StructWriter
-
end
public void end()- Specified by:
end
in interfaceBaseWriter.StructWriter
-
startList
public void startList()- Specified by:
startList
in interfaceBaseWriter.ListWriter
-
endList
public void endList()- Specified by:
endList
in interfaceBaseWriter.ListWriter
-
asStruct
-
asList
-
asMap
-
asTinyInt
-
write
- Specified by:
write
in interfaceTinyIntWriter
-
writeTinyInt
public void writeTinyInt(byte value, byte typeId) -
asUInt1
-
write
- Specified by:
write
in interfaceUInt1Writer
-
writeUInt1
public void writeUInt1(byte value, byte typeId) -
asUInt2
-
write
- Specified by:
write
in interfaceUInt2Writer
-
writeUInt2
public void writeUInt2(char value, byte typeId) -
asSmallInt
-
write
- Specified by:
write
in interfaceSmallIntWriter
-
writeSmallInt
public void writeSmallInt(short value, byte typeId) -
asFloat2
-
write
- Specified by:
write
in interfaceFloat2Writer
-
writeFloat2
public void writeFloat2(short value, byte typeId) -
asInt
-
write
-
writeInt
public void writeInt(int value, byte typeId) -
asUInt4
-
write
- Specified by:
write
in interfaceUInt4Writer
-
writeUInt4
public void writeUInt4(int value, byte typeId) -
asFloat4
-
write
- Specified by:
write
in interfaceFloat4Writer
-
writeFloat4
public void writeFloat4(float value, byte typeId) -
asDateDay
-
write
- Specified by:
write
in interfaceDateDayWriter
-
writeDateDay
public void writeDateDay(int value, byte typeId) -
asIntervalYear
-
write
- Specified by:
write
in interfaceIntervalYearWriter
-
writeIntervalYear
public void writeIntervalYear(int value, byte typeId) -
asTimeSec
-
write
- Specified by:
write
in interfaceTimeSecWriter
-
writeTimeSec
public void writeTimeSec(int value, byte typeId) -
asTimeMilli
-
write
- Specified by:
write
in interfaceTimeMilliWriter
-
writeTimeMilli
public void writeTimeMilli(int value, byte typeId) -
asBigInt
-
write
- Specified by:
write
in interfaceBigIntWriter
-
writeBigInt
public void writeBigInt(long value, byte typeId) -
asUInt8
-
write
- Specified by:
write
in interfaceUInt8Writer
-
writeUInt8
public void writeUInt8(long value, byte typeId) -
asFloat8
-
write
- Specified by:
write
in interfaceFloat8Writer
-
writeFloat8
public void writeFloat8(double value, byte typeId) -
asDateMilli
-
write
- Specified by:
write
in interfaceDateMilliWriter
-
writeDateMilli
public void writeDateMilli(long value, byte typeId) -
asTimeStampSec
-
write
- Specified by:
write
in interfaceTimeStampSecWriter
-
writeTimeStampSec
public void writeTimeStampSec(long value, byte typeId) -
asTimeStampMilli
-
write
- Specified by:
write
in interfaceTimeStampMilliWriter
-
writeTimeStampMilli
public void writeTimeStampMilli(long value, byte typeId) -
asTimeStampMicro
-
write
- Specified by:
write
in interfaceTimeStampMicroWriter
-
writeTimeStampMicro
public void writeTimeStampMicro(long value, byte typeId) -
asTimeStampNano
-
write
- Specified by:
write
in interfaceTimeStampNanoWriter
-
writeTimeStampNano
public void writeTimeStampNano(long value, byte typeId) -
asTimeMicro
-
write
- Specified by:
write
in interfaceTimeMicroWriter
-
writeTimeMicro
public void writeTimeMicro(long value, byte typeId) -
asTimeNano
-
write
- Specified by:
write
in interfaceTimeNanoWriter
-
writeTimeNano
public void writeTimeNano(long value, byte typeId) -
asIntervalDay
-
write
- Specified by:
write
in interfaceIntervalDayWriter
-
writeIntervalDay
public void writeIntervalDay(int days, int milliseconds, byte typeId) -
asIntervalMonthDayNano
-
write
- Specified by:
write
in interfaceIntervalMonthDayNanoWriter
-
writeIntervalMonthDayNano
public void writeIntervalMonthDayNano(int months, int days, long nanoseconds, byte typeId) -
asDecimal256
-
write
- Specified by:
write
in interfaceDecimal256Writer
-
writeDecimal256
-
asDecimal
-
write
- Specified by:
write
in interfaceDecimalWriter
-
writeDecimal
-
asVarBinary
-
write
- Specified by:
write
in interfaceVarBinaryWriter
-
writeVarBinary
-
asVarChar
-
write
- Specified by:
write
in interfaceVarCharWriter
-
writeVarChar
-
asViewVarBinary
-
write
- Specified by:
write
in interfaceViewVarBinaryWriter
-
writeViewVarBinary
-
asViewVarChar
-
write
- Specified by:
write
in interfaceViewVarCharWriter
-
writeViewVarChar
-
asLargeVarChar
-
write
- Specified by:
write
in interfaceLargeVarCharWriter
-
writeLargeVarChar
-
asLargeVarBinary
-
write
- Specified by:
write
in interfaceLargeVarBinaryWriter
-
writeLargeVarBinary
-
asBit
-
write
-
writeBit
public void writeBit(int value, byte typeId) -
writeNull
public void writeNull()- Specified by:
writeNull
in interfaceBaseWriter
-
struct
- Specified by:
struct
in interfaceBaseWriter.ListWriter
-
list
- Specified by:
list
in interfaceBaseWriter.ListWriter
-
list
- Specified by:
list
in interfaceBaseWriter.StructWriter
-
map
- Specified by:
map
in interfaceBaseWriter.ListWriter
-
map
- Specified by:
map
in interfaceBaseWriter.StructWriter
-
map
- Specified by:
map
in interfaceBaseWriter.StructWriter
-
struct
- Specified by:
struct
in interfaceBaseWriter.StructWriter
-
tinyInt
- Specified by:
tinyInt
in interfaceBaseWriter.StructWriter
-
tinyInt
- Specified by:
tinyInt
in interfaceBaseWriter.ListWriter
-
uInt1
- Specified by:
uInt1
in interfaceBaseWriter.StructWriter
-
uInt1
- Specified by:
uInt1
in interfaceBaseWriter.ListWriter
-
uInt2
- Specified by:
uInt2
in interfaceBaseWriter.StructWriter
-
uInt2
- Specified by:
uInt2
in interfaceBaseWriter.ListWriter
-
smallInt
- Specified by:
smallInt
in interfaceBaseWriter.StructWriter
-
smallInt
- Specified by:
smallInt
in interfaceBaseWriter.ListWriter
-
float2
- Specified by:
float2
in interfaceBaseWriter.StructWriter
-
float2
- Specified by:
float2
in interfaceBaseWriter.ListWriter
-
integer
- Specified by:
integer
in interfaceBaseWriter.StructWriter
-
integer
- Specified by:
integer
in interfaceBaseWriter.ListWriter
-
uInt4
- Specified by:
uInt4
in interfaceBaseWriter.StructWriter
-
uInt4
- Specified by:
uInt4
in interfaceBaseWriter.ListWriter
-
float4
- Specified by:
float4
in interfaceBaseWriter.StructWriter
-
float4
- Specified by:
float4
in interfaceBaseWriter.ListWriter
-
dateDay
- Specified by:
dateDay
in interfaceBaseWriter.StructWriter
-
dateDay
- Specified by:
dateDay
in interfaceBaseWriter.ListWriter
-
intervalYear
- Specified by:
intervalYear
in interfaceBaseWriter.StructWriter
-
intervalYear
- Specified by:
intervalYear
in interfaceBaseWriter.ListWriter
-
timeSec
- Specified by:
timeSec
in interfaceBaseWriter.StructWriter
-
timeSec
- Specified by:
timeSec
in interfaceBaseWriter.ListWriter
-
timeMilli
- Specified by:
timeMilli
in interfaceBaseWriter.StructWriter
-
timeMilli
- Specified by:
timeMilli
in interfaceBaseWriter.ListWriter
-
bigInt
- Specified by:
bigInt
in interfaceBaseWriter.StructWriter
-
bigInt
- Specified by:
bigInt
in interfaceBaseWriter.ListWriter
-
uInt8
- Specified by:
uInt8
in interfaceBaseWriter.StructWriter
-
uInt8
- Specified by:
uInt8
in interfaceBaseWriter.ListWriter
-
float8
- Specified by:
float8
in interfaceBaseWriter.StructWriter
-
float8
- Specified by:
float8
in interfaceBaseWriter.ListWriter
-
dateMilli
- Specified by:
dateMilli
in interfaceBaseWriter.StructWriter
-
dateMilli
- Specified by:
dateMilli
in interfaceBaseWriter.ListWriter
-
timeStampSec
- Specified by:
timeStampSec
in interfaceBaseWriter.StructWriter
-
timeStampSec
- Specified by:
timeStampSec
in interfaceBaseWriter.ListWriter
-
timeStampMilli
- Specified by:
timeStampMilli
in interfaceBaseWriter.StructWriter
-
timeStampMilli
- Specified by:
timeStampMilli
in interfaceBaseWriter.ListWriter
-
timeStampMicro
- Specified by:
timeStampMicro
in interfaceBaseWriter.StructWriter
-
timeStampMicro
- Specified by:
timeStampMicro
in interfaceBaseWriter.ListWriter
-
timeStampNano
- Specified by:
timeStampNano
in interfaceBaseWriter.StructWriter
-
timeStampNano
- Specified by:
timeStampNano
in interfaceBaseWriter.ListWriter
-
timeMicro
- Specified by:
timeMicro
in interfaceBaseWriter.StructWriter
-
timeMicro
- Specified by:
timeMicro
in interfaceBaseWriter.ListWriter
-
timeNano
- Specified by:
timeNano
in interfaceBaseWriter.StructWriter
-
timeNano
- Specified by:
timeNano
in interfaceBaseWriter.ListWriter
-
intervalDay
- Specified by:
intervalDay
in interfaceBaseWriter.StructWriter
-
intervalDay
- Specified by:
intervalDay
in interfaceBaseWriter.ListWriter
-
intervalMonthDayNano
- Specified by:
intervalMonthDayNano
in interfaceBaseWriter.StructWriter
-
intervalMonthDayNano
- Specified by:
intervalMonthDayNano
in interfaceBaseWriter.ListWriter
-
decimal256
- Specified by:
decimal256
in interfaceBaseWriter.StructWriter
-
decimal256
- Specified by:
decimal256
in interfaceBaseWriter.ListWriter
-
decimal256
- Specified by:
decimal256
in interfaceBaseWriter.StructWriter
-
decimal
- Specified by:
decimal
in interfaceBaseWriter.StructWriter
-
decimal
- Specified by:
decimal
in interfaceBaseWriter.ListWriter
-
decimal
- Specified by:
decimal
in interfaceBaseWriter.StructWriter
-
varBinary
- Specified by:
varBinary
in interfaceBaseWriter.StructWriter
-
varBinary
- Specified by:
varBinary
in interfaceBaseWriter.ListWriter
-
varChar
- Specified by:
varChar
in interfaceBaseWriter.StructWriter
-
varChar
- Specified by:
varChar
in interfaceBaseWriter.ListWriter
-
viewVarBinary
- Specified by:
viewVarBinary
in interfaceBaseWriter.StructWriter
-
viewVarBinary
- Specified by:
viewVarBinary
in interfaceBaseWriter.ListWriter
-
viewVarChar
- Specified by:
viewVarChar
in interfaceBaseWriter.StructWriter
-
viewVarChar
- Specified by:
viewVarChar
in interfaceBaseWriter.ListWriter
-
largeVarChar
- Specified by:
largeVarChar
in interfaceBaseWriter.StructWriter
-
largeVarChar
- Specified by:
largeVarChar
in interfaceBaseWriter.ListWriter
-
largeVarBinary
- Specified by:
largeVarBinary
in interfaceBaseWriter.StructWriter
-
largeVarBinary
- Specified by:
largeVarBinary
in interfaceBaseWriter.ListWriter
-
bit
- Specified by:
bit
in interfaceBaseWriter.StructWriter
-
bit
- Specified by:
bit
in interfaceBaseWriter.ListWriter
-
allocate
public void allocate()- Specified by:
allocate
in interfaceFieldWriter
-
clear
public void clear()- Specified by:
clear
in interfaceFieldWriter
-
close
- Specified by:
close
in interfaceAutoCloseable
- Throws:
Exception
-
getField
- Specified by:
getField
in interfaceBaseWriter.StructWriter
-
getValueCapacity
public int getValueCapacity()- Specified by:
getValueCapacity
in interfaceBaseWriter
-
setAddVectorAsNullable
public void setAddVectorAsNullable(boolean nullable) Set flag to control the FieldType.nullable property when a writer creates a new vector. If true then vectors created will be nullable, this is the default behavior. If false then vectors created will be non-nullable.- Parameters:
nullable
- Whether or not to create nullable vectors (default behavior is true)
-
startMap
public void startMap()- Specified by:
startMap
in interfaceBaseWriter.MapWriter
-
endMap
public void endMap()- Specified by:
endMap
in interfaceBaseWriter.MapWriter
-
startEntry
public void startEntry()- Specified by:
startEntry
in interfaceBaseWriter.MapWriter
-
key
- Specified by:
key
in interfaceBaseWriter.MapWriter
-
value
- Specified by:
value
in interfaceBaseWriter.MapWriter
-
endEntry
public void endEntry()- Specified by:
endEntry
in interfaceBaseWriter.MapWriter
-
writeTinyInt
public void writeTinyInt(byte value) - Specified by:
writeTinyInt
in interfaceTinyIntWriter
-
writeUInt1
public void writeUInt1(byte value) - Specified by:
writeUInt1
in interfaceUInt1Writer
-
writeUInt2
public void writeUInt2(char value) - Specified by:
writeUInt2
in interfaceUInt2Writer
-
writeSmallInt
public void writeSmallInt(short value) - Specified by:
writeSmallInt
in interfaceSmallIntWriter
-
writeFloat2
public void writeFloat2(short value) - Specified by:
writeFloat2
in interfaceFloat2Writer
-
writeInt
public void writeInt(int value) -
writeUInt4
public void writeUInt4(int value) - Specified by:
writeUInt4
in interfaceUInt4Writer
-
writeFloat4
public void writeFloat4(float value) - Specified by:
writeFloat4
in interfaceFloat4Writer
-
writeDateDay
public void writeDateDay(int value) - Specified by:
writeDateDay
in interfaceDateDayWriter
-
writeIntervalYear
public void writeIntervalYear(int value) - Specified by:
writeIntervalYear
in interfaceIntervalYearWriter
-
writeTimeSec
public void writeTimeSec(int value) - Specified by:
writeTimeSec
in interfaceTimeSecWriter
-
writeTimeMilli
public void writeTimeMilli(int value) - Specified by:
writeTimeMilli
in interfaceTimeMilliWriter
-
writeBigInt
public void writeBigInt(long value) - Specified by:
writeBigInt
in interfaceBigIntWriter
-
writeUInt8
public void writeUInt8(long value) - Specified by:
writeUInt8
in interfaceUInt8Writer
-
writeFloat8
public void writeFloat8(double value) - Specified by:
writeFloat8
in interfaceFloat8Writer
-
writeDateMilli
public void writeDateMilli(long value) - Specified by:
writeDateMilli
in interfaceDateMilliWriter
-
write
- Specified by:
write
in interfaceDurationWriter
-
writeDuration
public void writeDuration(long value) - Specified by:
writeDuration
in interfaceDurationWriter
- See Also:
-
writeTimeStampSec
public void writeTimeStampSec(long value) - Specified by:
writeTimeStampSec
in interfaceTimeStampSecWriter
-
writeTimeStampMilli
public void writeTimeStampMilli(long value) - Specified by:
writeTimeStampMilli
in interfaceTimeStampMilliWriter
-
writeTimeStampMicro
public void writeTimeStampMicro(long value) - Specified by:
writeTimeStampMicro
in interfaceTimeStampMicroWriter
-
writeTimeStampNano
public void writeTimeStampNano(long value) - Specified by:
writeTimeStampNano
in interfaceTimeStampNanoWriter
-
write
- Specified by:
write
in interfaceTimeStampSecTZWriter
-
writeTimeStampSecTZ
public void writeTimeStampSecTZ(long value) - Specified by:
writeTimeStampSecTZ
in interfaceTimeStampSecTZWriter
- See Also:
-
write
- Specified by:
write
in interfaceTimeStampMilliTZWriter
-
writeTimeStampMilliTZ
public void writeTimeStampMilliTZ(long value) - Specified by:
writeTimeStampMilliTZ
in interfaceTimeStampMilliTZWriter
- See Also:
-
write
- Specified by:
write
in interfaceTimeStampMicroTZWriter
-
writeTimeStampMicroTZ
public void writeTimeStampMicroTZ(long value) - Specified by:
writeTimeStampMicroTZ
in interfaceTimeStampMicroTZWriter
- See Also:
-
write
- Specified by:
write
in interfaceTimeStampNanoTZWriter
-
writeTimeStampNanoTZ
public void writeTimeStampNanoTZ(long value) - Specified by:
writeTimeStampNanoTZ
in interfaceTimeStampNanoTZWriter
- See Also:
-
writeTimeMicro
public void writeTimeMicro(long value) - Specified by:
writeTimeMicro
in interfaceTimeMicroWriter
-
writeTimeNano
public void writeTimeNano(long value) - Specified by:
writeTimeNano
in interfaceTimeNanoWriter
-
writeIntervalDay
public void writeIntervalDay(int days, int milliseconds) - Specified by:
writeIntervalDay
in interfaceIntervalDayWriter
-
writeIntervalMonthDayNano
public void writeIntervalMonthDayNano(int months, int days, long nanoseconds) - Specified by:
writeIntervalMonthDayNano
in interfaceIntervalMonthDayNanoWriter
-
writeDecimal256
- Specified by:
writeDecimal256
in interfaceDecimal256Writer
- See Also:
-
writeDecimal256
- Specified by:
writeDecimal256
in interfaceDecimal256Writer
-
writeDecimal256
- Specified by:
writeDecimal256
in interfaceDecimal256Writer
-
writeBigEndianBytesToDecimal256
public void writeBigEndianBytesToDecimal256(byte[] value) - Specified by:
writeBigEndianBytesToDecimal256
in interfaceDecimal256Writer
- See Also:
-
writeBigEndianBytesToDecimal256
- Specified by:
writeBigEndianBytesToDecimal256
in interfaceDecimal256Writer
-
writeDecimal
- Specified by:
writeDecimal
in interfaceDecimalWriter
- See Also:
-
writeDecimal
- Specified by:
writeDecimal
in interfaceDecimalWriter
-
writeDecimal
- Specified by:
writeDecimal
in interfaceDecimalWriter
-
writeBigEndianBytesToDecimal
public void writeBigEndianBytesToDecimal(byte[] value) - Specified by:
writeBigEndianBytesToDecimal
in interfaceDecimalWriter
- See Also:
-
writeBigEndianBytesToDecimal
- Specified by:
writeBigEndianBytesToDecimal
in interfaceDecimalWriter
-
write
- Specified by:
write
in interfaceFixedSizeBinaryWriter
-
writeFixedSizeBinary
- Specified by:
writeFixedSizeBinary
in interfaceFixedSizeBinaryWriter
- See Also:
-
writeVarBinary
- Specified by:
writeVarBinary
in interfaceVarBinaryWriter
-
writeVarBinary
public void writeVarBinary(byte[] value) - Specified by:
writeVarBinary
in interfaceVarBinaryWriter
-
writeVarBinary
public void writeVarBinary(byte[] value, int offset, int length) - Specified by:
writeVarBinary
in interfaceVarBinaryWriter
-
writeVarBinary
- Specified by:
writeVarBinary
in interfaceVarBinaryWriter
-
writeVarBinary
- Specified by:
writeVarBinary
in interfaceVarBinaryWriter
-
writeVarChar
- Specified by:
writeVarChar
in interfaceVarCharWriter
-
writeVarChar
- Specified by:
writeVarChar
in interfaceVarCharWriter
-
writeVarChar
- Specified by:
writeVarChar
in interfaceVarCharWriter
-
writeViewVarBinary
- Specified by:
writeViewVarBinary
in interfaceViewVarBinaryWriter
-
writeViewVarBinary
public void writeViewVarBinary(byte[] value) - Specified by:
writeViewVarBinary
in interfaceViewVarBinaryWriter
-
writeViewVarBinary
public void writeViewVarBinary(byte[] value, int offset, int length) - Specified by:
writeViewVarBinary
in interfaceViewVarBinaryWriter
-
writeViewVarBinary
- Specified by:
writeViewVarBinary
in interfaceViewVarBinaryWriter
-
writeViewVarBinary
- Specified by:
writeViewVarBinary
in interfaceViewVarBinaryWriter
-
writeViewVarChar
- Specified by:
writeViewVarChar
in interfaceViewVarCharWriter
-
writeViewVarChar
- Specified by:
writeViewVarChar
in interfaceViewVarCharWriter
-
writeViewVarChar
- Specified by:
writeViewVarChar
in interfaceViewVarCharWriter
-
writeLargeVarChar
- Specified by:
writeLargeVarChar
in interfaceLargeVarCharWriter
-
writeLargeVarChar
- Specified by:
writeLargeVarChar
in interfaceLargeVarCharWriter
-
writeLargeVarChar
- Specified by:
writeLargeVarChar
in interfaceLargeVarCharWriter
-
writeLargeVarBinary
- Specified by:
writeLargeVarBinary
in interfaceLargeVarBinaryWriter
-
writeLargeVarBinary
public void writeLargeVarBinary(byte[] value) - Specified by:
writeLargeVarBinary
in interfaceLargeVarBinaryWriter
-
writeLargeVarBinary
public void writeLargeVarBinary(byte[] value, int offset, int length) - Specified by:
writeLargeVarBinary
in interfaceLargeVarBinaryWriter
-
writeLargeVarBinary
- Specified by:
writeLargeVarBinary
in interfaceLargeVarBinaryWriter
-
writeLargeVarBinary
- Specified by:
writeLargeVarBinary
in interfaceLargeVarBinaryWriter
-
writeBit
public void writeBit(int value) -
isEmptyStruct
public boolean isEmptyStruct()This implementation returnsfalse
.Must be overridden by struct writers.
- Specified by:
isEmptyStruct
in interfaceBaseWriter.StructWriter
- Returns:
- whether the struct is empty
-
map
- Specified by:
map
in interfaceBaseWriter.ListWriter
-
duration
- Specified by:
duration
in interfaceBaseWriter.StructWriter
-
duration
- Specified by:
duration
in interfaceBaseWriter.StructWriter
-
duration
- Specified by:
duration
in interfaceBaseWriter.ListWriter
-
timeStampSecTZ
- Specified by:
timeStampSecTZ
in interfaceBaseWriter.StructWriter
-
timeStampSecTZ
- Specified by:
timeStampSecTZ
in interfaceBaseWriter.StructWriter
-
timeStampSecTZ
- Specified by:
timeStampSecTZ
in interfaceBaseWriter.ListWriter
-
timeStampMilliTZ
- Specified by:
timeStampMilliTZ
in interfaceBaseWriter.StructWriter
-
timeStampMilliTZ
- Specified by:
timeStampMilliTZ
in interfaceBaseWriter.StructWriter
-
timeStampMilliTZ
- Specified by:
timeStampMilliTZ
in interfaceBaseWriter.ListWriter
-
timeStampMicroTZ
- Specified by:
timeStampMicroTZ
in interfaceBaseWriter.StructWriter
-
timeStampMicroTZ
- Specified by:
timeStampMicroTZ
in interfaceBaseWriter.StructWriter
-
timeStampMicroTZ
- Specified by:
timeStampMicroTZ
in interfaceBaseWriter.ListWriter
-
timeStampNanoTZ
- Specified by:
timeStampNanoTZ
in interfaceBaseWriter.StructWriter
-
timeStampNanoTZ
- Specified by:
timeStampNanoTZ
in interfaceBaseWriter.StructWriter
-
timeStampNanoTZ
- Specified by:
timeStampNanoTZ
in interfaceBaseWriter.ListWriter
-
fixedSizeBinary
- Specified by:
fixedSizeBinary
in interfaceBaseWriter.StructWriter
-
fixedSizeBinary
- Specified by:
fixedSizeBinary
in interfaceBaseWriter.StructWriter
-
fixedSizeBinary
- Specified by:
fixedSizeBinary
in interfaceBaseWriter.ListWriter
-
copyReader
- Specified by:
copyReader
in interfaceBaseWriter.ListWriter
-
copyReaderToField
- Specified by:
copyReaderToField
in interfaceBaseWriter.StructWriter
-
toString
-
getPosition
public int getPosition()- Specified by:
getPosition
in interfacePositionable
-