public class ColumnarFrameWriterFactory extends Object implements FrameWriterFactory
| Constructor and Description |
|---|
ColumnarFrameWriterFactory(MemoryAllocator allocator,
RowSignature signature,
List<SortColumn> sortColumns)
Create a ColumnarFrameWriterFactory.
|
| Modifier and Type | Method and Description |
|---|---|
long |
allocatorCapacity() |
FrameWriter |
newFrameWriter(ColumnSelectorFactory columnSelectorFactory)
Create a writer where
FrameWriter.addSelection() adds the current row from a ColumnSelectorFactory. |
public ColumnarFrameWriterFactory(MemoryAllocator allocator, RowSignature signature, List<SortColumn> sortColumns)
allocator - memory allocator; will use as much as possiblesignature - output signature for this frame writersortColumns - columns to sort by, if any. May be empty.UnsupportedColumnTypeException - if "signature" contains any type that we cannot handlepublic FrameWriter newFrameWriter(ColumnSelectorFactory columnSelectorFactory)
FrameWriterFactoryFrameWriter.addSelection() adds the current row from a ColumnSelectorFactory.newFrameWriter in interface FrameWriterFactorypublic long allocatorCapacity()
allocatorCapacity in interface FrameWriterFactoryCopyright © 2011–2022 The Apache Software Foundation. All rights reserved.