Package org.apache.druid.frame.field
Class FieldWriters
java.lang.Object
org.apache.druid.frame.field.FieldWriters
Helper used to write field values to row-based frames or
RowKey.
Most callers should use FrameWriters to build frames from
ColumnSelectorFactory, rather than using this class directly.-
Method Summary
Modifier and TypeMethodDescriptionstatic FieldWritercreate(FrameType frameType, ColumnSelectorFactory columnSelectorFactory, String columnName, ColumnType columnType, boolean removeNullBytes) Helper used byRowBasedFrameWriterFactory.
-
Method Details
-
create
public static FieldWriter create(FrameType frameType, ColumnSelectorFactory columnSelectorFactory, String columnName, ColumnType columnType, boolean removeNullBytes) Helper used byRowBasedFrameWriterFactory. The returnedFieldWriterobjects are not thread-safe.- Throws:
UnsupportedColumnTypeException- if "type" cannot be handled
-