| Package | Description |
|---|---|
| org.apache.druid.frame.key | |
| org.apache.druid.frame.read | |
| org.apache.druid.frame.write | |
| org.apache.druid.frame.write.columnar |
| Modifier and Type | Method and Description |
|---|---|
List<SortColumn> |
ClusterBy.getColumns()
The columns that comprise this key, in order.
|
| Modifier and Type | Method and Description |
|---|---|
static int[] |
ByteRowKeyComparator.computeAscDescRunLengths(List<SortColumn> sortColumns)
Given a list of sort columns, compute an array of the number of ascending fields in a run, followed by number of
descending fields in a run, followed by ascending, etc.
|
static FrameComparisonWidgetImpl |
FrameComparisonWidgetImpl.create(Frame frame,
FrameReader frameReader,
List<SortColumn> sortColumns)
Create a
FrameComparisonWidget for the given frame. |
static RowKeyComparator |
RowKeyComparator.create(List<SortColumn> keyColumns) |
static ByteRowKeyComparator |
ByteRowKeyComparator.create(List<SortColumn> keyColumns) |
| Constructor and Description |
|---|
ClusterBy(List<SortColumn> columns,
int bucketByCount) |
| Modifier and Type | Method and Description |
|---|---|
FrameComparisonWidget |
FrameReader.makeComparisonWidget(Frame frame,
List<SortColumn> sortColumns)
Create a
FrameComparisonWidget for the given frame. |
| Modifier and Type | Method and Description |
|---|---|
static FrameWriterFactory |
FrameWriters.makeFrameWriterFactory(FrameType frameType,
MemoryAllocator allocator,
RowSignature signature,
List<SortColumn> sortColumns)
Creates a
FrameWriterFactory that produces frames of the given FrameType. |
static void |
FrameSort.sort(Frame frame,
FrameReader frameReader,
List<SortColumn> sortColumns)
Sort the given frame in-place.
|
static RowSignature |
FrameWriters.sortableSignature(RowSignature signature,
List<SortColumn> sortColumns)
Returns a copy of "signature" with columns rearranged so the provided sortColumns appear as a prefix.
|
static void |
FrameWriterUtils.verifySortColumns(List<SortColumn> sortColumns,
RowSignature signature)
Verifies whether the provided sortColumns are all sortable, and are a prefix of the signature.
|
| Constructor and Description |
|---|
RowBasedFrameWriter(RowSignature signature,
List<SortColumn> sortColumns,
List<FieldWriter> fieldWriters,
Supplier<MemoryRange<org.apache.datasketches.memory.Memory>> rowMemorySupplier,
AppendableMemory rowOrderMemory,
AppendableMemory rowOffsetMemory,
AppendableMemory dataMemory) |
RowBasedFrameWriterFactory(MemoryAllocator allocator,
RowSignature signature,
List<SortColumn> sortColumns) |
| Constructor and Description |
|---|
ColumnarFrameWriter(RowSignature signature,
List<SortColumn> sortColumns,
AppendableMemory rowOrderMemory,
List<FrameColumnWriter> columnWriters) |
ColumnarFrameWriterFactory(MemoryAllocator allocator,
RowSignature signature,
List<SortColumn> sortColumns)
Create a ColumnarFrameWriterFactory.
|
Copyright © 2011–2022 The Apache Software Foundation. All rights reserved.