Package org.apache.druid.frame.write
Class RowBasedFrameWriterFactory
java.lang.Object
org.apache.druid.frame.write.RowBasedFrameWriterFactory
- All Implemented Interfaces:
FrameWriterFactory
-
Constructor Summary
ConstructorsConstructorDescriptionRowBasedFrameWriterFactory(MemoryAllocatorFactory allocatorFactory, FrameType frameType, RowSignature signature, List<KeyColumn> sortColumns, boolean removeNullBytes) -
Method Summary
Modifier and TypeMethodDescriptionlongnewFrameWriter(ColumnSelectorFactory columnSelectorFactory) Create a writer whereFrameWriter.addSelection()adds the current row from aColumnSelectorFactory.
-
Constructor Details
-
RowBasedFrameWriterFactory
public RowBasedFrameWriterFactory(MemoryAllocatorFactory allocatorFactory, FrameType frameType, RowSignature signature, List<KeyColumn> sortColumns, boolean removeNullBytes)
-
-
Method Details
-
newFrameWriter
Description copied from interface:FrameWriterFactoryCreate a writer whereFrameWriter.addSelection()adds the current row from aColumnSelectorFactory.- Specified by:
newFrameWriterin interfaceFrameWriterFactory
-
allocatorCapacity
public long allocatorCapacity()- Specified by:
allocatorCapacityin interfaceFrameWriterFactory
-
signature
- Specified by:
signaturein interfaceFrameWriterFactory
-
frameType
- Specified by:
frameTypein interfaceFrameWriterFactory
-