| Modifier and Type | Method and Description |
|---|---|
static RowKeyReader |
RowKeyReader.create(RowSignature signature)
Creates a new
RowKeyReader. |
| Modifier and Type | Method and Description |
|---|---|
RowSignature |
FrameReader.signature() |
| Modifier and Type | Method and Description |
|---|---|
static FrameReader |
FrameReader.create(RowSignature signature)
Create a reader for frames with a given
RowSignature. |
static Supplier<MemoryRange<org.apache.datasketches.memory.Memory>> |
FrameReaderUtils.makeRowMemorySupplier(ColumnSelectorFactory columnSelectorFactory,
RowSignature expectedSignature)
Returns a direct row memory supplier if
FrameReaderUtils.mayBeAbleToSelectRowMemory(org.apache.druid.segment.ColumnSelectorFactory), otherwise returns null. |
| Modifier and Type | Method and Description |
|---|---|
RowSignature |
FrameStorageAdapter.getRowSignature() |
| Constructor and Description |
|---|
FrameCursorFactory(Frame frame,
RowSignature signature,
List<FrameColumnReader> columnReaders) |
| Constructor and Description |
|---|
FrameColumnSelectorFactory(Frame frame,
RowSignature frameSignature,
List<FieldReader> fieldReaders,
ReadableFrameRowPointer rowPointer) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
static Set<String> |
FrameWriterUtils.findDisallowedFieldNames(RowSignature signature)
Checks the provided signature for any disallowed field names.
|
static FrameWriterFactory |
FrameWriters.makeFrameWriterFactory(FrameType frameType,
MemoryAllocator allocator,
RowSignature signature,
List<SortColumn> sortColumns)
Creates a
FrameWriterFactory that produces frames of the given FrameType. |
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.
|
| Modifier and Type | Method and Description |
|---|---|
RowSignature |
InlineDataSource.getRowSignature()
Returns the row signature (map of column name to type) for this inline datasource.
|
RowSignature |
QueryToolChest.resultArraySignature(QueryType query)
Returns a
RowSignature for the arrays returned by QueryToolChest.resultsAsArrays(QueryType, org.apache.druid.java.util.common.guava.Sequence<ResultType>). |
| Modifier and Type | Method and Description |
|---|---|
static InlineDataSource |
InlineDataSource.fromIterable(Iterable<Object[]> rows,
RowSignature signature)
Creates an inline datasource from an Iterable.
|
| Modifier and Type | Method and Description |
|---|---|
RowSignature |
GroupByQuery.getResultRowSignature()
Equivalent to
getResultRowSignature(Finalization.UNKNOWN). |
RowSignature |
GroupByQuery.getResultRowSignature(RowSignature.Finalization finalization)
Returns a result row signature, of the same size as
GroupByQuery.getResultRowSizeWithPostAggregators(), in the
order that they will appear in ResultRows for this query. |
RowSignature |
GroupByQueryQueryToolChest.resultArraySignature(GroupByQuery query) |
| Modifier and Type | Method and Description |
|---|---|
RowSignature |
ScanQueryQueryToolChest.resultArraySignature(ScanQuery query) |
| Modifier and Type | Method and Description |
|---|---|
RowSignature |
TimeBoundaryQueryQueryToolChest.resultArraySignature(TimeBoundaryQuery query) |
| Modifier and Type | Method and Description |
|---|---|
RowSignature |
TimeseriesQueryQueryToolChest.resultArraySignature(TimeseriesQuery query) |
| Modifier and Type | Method and Description |
|---|---|
RowSignature |
TopNQueryQueryToolChest.resultArraySignature(TopNQuery query) |
| Modifier and Type | Method and Description |
|---|---|
default RowSignature |
StorageAdapter.getRowSignature()
Returns the row signature of the data available from this adapter.
|
RowSignature |
RowBasedStorageAdapter.getRowSignature() |
| Constructor and Description |
|---|
RowBasedSegment(SegmentId segmentId,
Sequence<RowType> rowSequence,
RowAdapter<RowType> rowAdapter,
RowSignature rowSignature)
Create a row-based segment.
|
| Modifier and Type | Method and Description |
|---|---|
RowSignature |
RowSignature.Builder.build() |
static RowSignature |
RowSignature.empty() |
| Modifier and Type | Method and Description |
|---|---|
RowSignature.Builder |
RowSignature.Builder.addAll(RowSignature other) |
| Modifier and Type | Method and Description |
|---|---|
RowSignature |
ReferenceCountingIndexedTable.rowSignature() |
RowSignature |
BroadcastSegmentIndexedTable.rowSignature() |
RowSignature |
IndexedTable.rowSignature()
Returns the signature of this table, which includes all key columns (as well as other columns that can be
selected, but are not keys).
|
RowSignature |
RowBasedIndexedTable.rowSignature() |
| Constructor and Description |
|---|
RowBasedIndexedTable(List<RowType> table,
RowAdapter<RowType> rowAdapter,
RowSignature rowSignature,
Set<String> keyColumns,
String version) |
RowBasedIndexedTable(List<RowType> table,
RowAdapter<RowType> rowAdapter,
RowSignature rowSignature,
Set<String> keyColumns,
String version,
byte[] cacheKey) |
Copyright © 2011–2022 The Apache Software Foundation. All rights reserved.