Class FloatWriter<T>
- java.lang.Object
-
- org.apache.flink.table.runtime.arrow.writers.ArrowFieldWriter<T>
-
- org.apache.flink.table.runtime.arrow.writers.FloatWriter<T>
-
- Direct Known Subclasses:
FloatWriter.FloatWriterForArray
,FloatWriter.FloatWriterForRow
@Internal public abstract class FloatWriter<T> extends ArrowFieldWriter<T>
ArrowFieldWriter
for Float.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FloatWriter.FloatWriterForArray
FloatWriter
forArrayData
input.static class
FloatWriter.FloatWriterForRow
FloatWriter
forRowData
input.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
doWrite(T in, int ordinal)
Sets the field value as the field at the specified ordinal of the specified row.static FloatWriter<ArrayData>
forArray(org.apache.arrow.vector.Float4Vector floatVector)
static FloatWriter<RowData>
forRow(org.apache.arrow.vector.Float4Vector floatVector)
-
Methods inherited from class org.apache.flink.table.runtime.arrow.writers.ArrowFieldWriter
finish, getCount, getValueVector, reset, write
-
-
-
-
Method Detail
-
forRow
public static FloatWriter<RowData> forRow(org.apache.arrow.vector.Float4Vector floatVector)
-
forArray
public static FloatWriter<ArrayData> forArray(org.apache.arrow.vector.Float4Vector floatVector)
-
doWrite
public void doWrite(T in, int ordinal)
Description copied from class:ArrowFieldWriter
Sets the field value as the field at the specified ordinal of the specified row.- Specified by:
doWrite
in classArrowFieldWriter<T>
-
-