Package org.apache.druid.frame.field
Class FieldWriters
- java.lang.Object
-
- org.apache.druid.frame.field.FieldWriters
-
public class FieldWriters extends Object
Helper used to write field values to row-based frames orRowKey. Most callers should useFrameWritersto build frames fromColumnSelectorFactory, rather than using this class directly.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FieldWritercreate(ColumnSelectorFactory columnSelectorFactory, String columnName, ColumnType columnType)Helper used byRowBasedFrameWriterFactory.
-
-
-
Method Detail
-
create
public static FieldWriter create(ColumnSelectorFactory columnSelectorFactory, String columnName, ColumnType columnType)
Helper used byRowBasedFrameWriterFactory. The returnedFieldWriterobjects are not thread-safe.- Throws:
UnsupportedColumnTypeException- if "type" cannot be handled
-
-