Uses of Class
org.apache.druid.segment.column.RowSignature
Packages that use RowSignature
Package
Description
-
Uses of RowSignature in org.apache.druid.data.input
Methods in org.apache.druid.data.input that return RowSignatureModifier and TypeMethodDescriptionstatic RowSignatureTextReader.findOrCreateInputRowSignature(List<String> parsedLine) Methods in org.apache.druid.data.input with parameters of type RowSignatureModifier and TypeMethodDescriptionstatic InputRowListBasedInputRow.parse(RowSignature signature, TimestampSpec timestampSpec, List<String> dimensions, List<Object> data) Create a row and parse a timestamp.Constructors in org.apache.druid.data.input with parameters of type RowSignatureModifierConstructorDescriptionListBasedInputRow(RowSignature signature, org.joda.time.DateTime timestamp, List<String> dimensions, List<Object> data) Create a row.ListBasedInputRowAdapter(RowSignature fields) -
Uses of RowSignature in org.apache.druid.frame.field
Methods in org.apache.druid.frame.field with parameters of type RowSignatureModifier and TypeMethodDescriptionComplexFieldReader.makeRACColumn(Frame frame, RowSignature signature, String columnName) DoubleArrayFieldReader.makeRACColumn(Frame frame, RowSignature signature, String columnName) DoubleFieldReader.makeRACColumn(Frame frame, RowSignature signature, String columnName) FieldReader.makeRACColumn(Frame frame, RowSignature signature, String columnName) Create aColumnwhich provides accses to the rows in the frame, via theColumn.toAccessor().FloatArrayFieldReader.makeRACColumn(Frame frame, RowSignature signature, String columnName) FloatFieldReader.makeRACColumn(Frame frame, RowSignature signature, String columnName) LongArrayFieldReader.makeRACColumn(Frame frame, RowSignature signature, String columnName) LongFieldReader.makeRACColumn(Frame frame, RowSignature signature, String columnName) StringFieldReader.makeRACColumn(Frame frame, RowSignature signature, String columnName) -
Uses of RowSignature in org.apache.druid.frame.key
Methods in org.apache.druid.frame.key with parameters of type RowSignatureModifier and TypeMethodDescriptionClusterBy.bucketComparator(RowSignature rowSignature) Comparator that compares bucket keys for this instance.Comparator<byte[]>ClusterBy.byteKeyComparator(RowSignature rowSignature) Comparator that compares byte arrays of keys for this instance using the given signature directly.static ByteRowKeyComparatorByteRowKeyComparator.create(List<KeyColumn> keyColumns, RowSignature rowSignature) static FrameComparisonWidgetImplFrameComparisonWidgetImpl.create(Frame frame, RowSignature signature, List<KeyColumn> keyColumns, List<FieldReader> keyColumnReaders) Create aFrameComparisonWidgetfor the given frame.static RowKeyComparatorRowKeyComparator.create(List<KeyColumn> keyColumns, RowSignature rowSignature) static RowKeyComparisonRunLengthsRowKeyComparisonRunLengths.create(List<KeyColumn> keyColumns, RowSignature rowSignature) static RowKeyReaderRowKeyReader.create(RowSignature signature, FrameType frameType) Creates a newRowKeyReader.ClusterBy.keyComparator(RowSignature rowSignature) Comparator that compares keys for this instance using the given signature. -
Uses of RowSignature in org.apache.druid.frame.processor
Constructors in org.apache.druid.frame.processor with parameters of type RowSignatureModifierConstructorDescriptionMultiColumnSelectorFactory(List<Supplier<ColumnSelectorFactory>> factorySuppliers, RowSignature signature) -
Uses of RowSignature in org.apache.druid.frame.read
Methods in org.apache.druid.frame.read that return RowSignatureMethods in org.apache.druid.frame.read with parameters of type RowSignatureModifier and TypeMethodDescriptionstatic FrameReaderFrameReader.create(RowSignature signature) Create a reader for frames with a givenRowSignature.static Supplier<MemoryRange<org.apache.datasketches.memory.Memory>>FrameReaderUtils.makeRowMemorySupplier(ColumnSelectorFactory columnSelectorFactory, FrameType expectedFrameType, RowSignature expectedSignature) Returns a direct row memory supplier ifFrameReaderUtils.mayBeAbleToSelectRowMemory(org.apache.druid.segment.ColumnSelectorFactory), otherwise returns null. -
Uses of RowSignature in org.apache.druid.frame.segment
Methods in org.apache.druid.frame.segment with parameters of type RowSignatureModifier and TypeMethodDescriptionstatic voidFrameCursorUtils.throwIfColumnsHaveUnknownType(RowSignature rowSignature) ThrowsUnsupportedColumnTypeExceptionif the row signature has columns with unknown types. -
Uses of RowSignature in org.apache.druid.frame.segment.columnar
Methods in org.apache.druid.frame.segment.columnar that return RowSignatureConstructors in org.apache.druid.frame.segment.columnar with parameters of type RowSignatureModifierConstructorDescriptionColumnarFrameCursorFactory(Frame frame, RowSignature signature, List<FrameColumnReader> columnReaders) FrameQueryableIndex(Frame frame, RowSignature signature, List<FrameColumnReader> columnReaders) -
Uses of RowSignature in org.apache.druid.frame.segment.row
Methods in org.apache.druid.frame.segment.row that return RowSignatureConstructors in org.apache.druid.frame.segment.row with parameters of type RowSignatureModifierConstructorDescriptionFrameColumnSelectorFactory(Frame frame, RowSignature frameSignature, List<FieldReader> fieldReaders, ReadableFrameRowPointer rowPointer) -
Uses of RowSignature in org.apache.druid.frame.wire
Constructors in org.apache.druid.frame.wire with parameters of type RowSignature -
Uses of RowSignature in org.apache.druid.frame.write
Methods in org.apache.druid.frame.write that return RowSignatureModifier and TypeMethodDescriptionstatic RowSignatureFrameWriterUtils.replaceUnknownTypesWithNestedColumns(RowSignature rowSignature) FrameWriterFactory.signature()RowBasedFrameWriterFactory.signature()static RowSignatureFrameWriters.sortableSignature(RowSignature signature, List<KeyColumn> keyColumns) Returns a copy of "signature" with columns rearranged so the provided sortColumns appear as a prefix.Methods in org.apache.druid.frame.write with parameters of type RowSignatureModifier and TypeMethodDescriptionFrameWriterUtils.findDisallowedFieldNames(RowSignature signature) Checks the provided signature for any disallowed field names.static FrameWriterFactoryFrameWriters.makeColumnBasedFrameWriterFactory(MemoryAllocatorFactory allocatorFactory, RowSignature signature, List<KeyColumn> sortColumns) static FrameWriterFactoryFrameWriters.makeFrameWriterFactory(FrameType frameType, MemoryAllocatorFactory allocatorFactory, RowSignature signature, List<KeyColumn> sortColumns, boolean removeNullBytes) Creates aFrameWriterFactory.static RowSignatureFrameWriterUtils.replaceUnknownTypesWithNestedColumns(RowSignature rowSignature) static RowSignatureFrameWriters.sortableSignature(RowSignature signature, List<KeyColumn> keyColumns) Returns a copy of "signature" with columns rearranged so the provided sortColumns appear as a prefix.static voidFrameWriterUtils.verifySortColumns(List<KeyColumn> keyColumns, RowSignature signature) Verifies whether the provided sortColumns are all sortable, and are a prefix of the signature.Constructors in org.apache.druid.frame.write with parameters of type RowSignatureModifierConstructorDescriptionRowBasedFrameWriter(FrameType frameType, RowSignature signature, List<KeyColumn> sortColumns, List<FieldWriter> fieldWriters, Supplier<MemoryRange<org.apache.datasketches.memory.Memory>> rowMemorySupplier, AppendableMemory rowOrderMemory, AppendableMemory rowOffsetMemory, AppendableMemory dataMemory) RowBasedFrameWriterFactory(MemoryAllocatorFactory allocatorFactory, FrameType frameType, RowSignature signature, List<KeyColumn> sortColumns, boolean removeNullBytes) -
Uses of RowSignature in org.apache.druid.frame.write.columnar
Methods in org.apache.druid.frame.write.columnar that return RowSignatureConstructors in org.apache.druid.frame.write.columnar with parameters of type RowSignatureModifierConstructorDescriptionColumnarFrameWriter(RowSignature signature, List<KeyColumn> keyColumns, AppendableMemory rowOrderMemory, List<FrameColumnWriter> columnWriters) ColumnarFrameWriterFactory(MemoryAllocatorFactory allocatorFactory, RowSignature signature, List<KeyColumn> keyColumns) Create a ColumnarFrameWriterFactory. -
Uses of RowSignature in org.apache.druid.query
Methods in org.apache.druid.query that return RowSignatureModifier and TypeMethodDescriptiondefault RowSignatureQuery.getResultRowSignature()default RowSignatureQuery.getResultRowSignature(RowSignature.Finalization finalization) FrameBasedInlineDataSource.getRowSignature()FrameSignaturePair.getRowSignature()InlineDataSource.getRowSignature()Returns the row signature (map of column name to type) for this inline datasource.QueryLogicCompatToolChest.resultArraySignature(Query<Object> query) QueryToolChest.resultArraySignature(QueryType query) Returns aRowSignaturefor the arrays returned byQueryToolChest.resultsAsArrays(QueryType, org.apache.druid.java.util.common.guava.Sequence<ResultType>).Methods in org.apache.druid.query with parameters of type RowSignatureModifier and TypeMethodDescriptionDruids.ScanQueryBuilder.columns(RowSignature sig) static InlineDataSourceInlineDataSource.fromIterable(Iterable<Object[]> rows, RowSignature signature) Creates an inline datasource from an Iterable.IterableRowsCursorHelper.getCursorFromIterable(Iterable<Object[]> rows, RowSignature rowSignature) Creates a cursor that iterates over all the rows generated by the iterable.IterableRowsCursorHelper.getCursorFromSequence(Sequence<Object[]> rows, RowSignature rowSignature) Creates a cursor that iterates over all the rows generated by the sequence.IterableRowsCursorHelper.getCursorFromYielder(Yielder<Object[]> yielderParam, RowSignature rowSignature) Constructors in org.apache.druid.query with parameters of type RowSignatureModifierConstructorDescriptionFrameBasedInlineDataSource(List<FrameSignaturePair> frames, RowSignature rowSignature) FrameSignaturePair(Frame frame, RowSignature rowSignature) QueryLogicCompatToolChest(RowSignature resultRowSignature, GenericQueryMetricsFactory queryMetricsFactory) -
Uses of RowSignature in org.apache.druid.query.groupby
Methods in org.apache.druid.query.groupby that return RowSignatureModifier and TypeMethodDescriptionGroupByQuery.getResultRowSignature()GroupByQuery.getResultRowSignature(RowSignature.Finalization finalization) Returns a result row signature, of the same size asGroupByQuery.getResultRowSizeWithPostAggregators(), in the order that they will appear in ResultRows for this query.GroupByQueryQueryToolChest.resultArraySignature(GroupByQuery query) -
Uses of RowSignature in org.apache.druid.query.operator
Methods in org.apache.druid.query.operator that return RowSignatureModifier and TypeMethodDescriptionWindowOperatorQuery.getResultRowSignature(RowSignature.Finalization finalization) WindowOperatorQuery.getRowSignature()WindowOperatorQueryQueryToolChest.resultArraySignature(WindowOperatorQuery query) Constructors in org.apache.druid.query.operator with parameters of type RowSignatureModifierConstructorDescriptionWindowOperatorQuery(DataSource dataSource, QuerySegmentSpec intervals, Map<String, Object> context, RowSignature rowSignature, List<OperatorFactory> operators, List<OperatorFactory> leafOperators) -
Uses of RowSignature in org.apache.druid.query.rowsandcols
Methods in org.apache.druid.query.rowsandcols with parameters of type RowSignatureModifier and TypeMethodDescriptionstatic MapOfColumnsRowsAndColumnsMapOfColumnsRowsAndColumns.fromResultRow(ArrayList<ResultRow> objs, RowSignature signature) static MapOfColumnsRowsAndColumnsMapOfColumnsRowsAndColumns.fromResultRowTillIndex(ArrayList<ResultRow> objs, RowSignature signature, int index) static MapOfColumnsRowsAndColumnsMapOfColumnsRowsAndColumns.fromRowObjects(Object[][] objs, RowSignature signature) Constructors in org.apache.druid.query.rowsandcols with parameters of type RowSignatureModifierConstructorDescriptionArrayListRowsAndColumns(ArrayList<RowType> rows, RowAdapter<RowType> rowAdapter, RowSignature rowSignature) -
Uses of RowSignature in org.apache.druid.query.rowsandcols.concrete
Methods in org.apache.druid.query.rowsandcols.concrete that return RowSignatureModifier and TypeMethodDescriptionAbstractFrameRowsAndColumns.getSignature()FrameRowsAndColumns.getSignature()Returns a signature, which may or may not be available.Constructors in org.apache.druid.query.rowsandcols.concrete with parameters of type RowSignatureModifierConstructorDescriptionAbstractFrameRowsAndColumns(Frame frame, RowSignature signature) ColumnBasedFrameRowsAndColumns(Frame frame, RowSignature signature) RowBasedFrameRowsAndColumns(Frame frame, RowSignature signature) -
Uses of RowSignature in org.apache.druid.query.rowsandcols.semantic
Methods in org.apache.druid.query.rowsandcols.semantic that return RowSignatureModifier and TypeMethodDescriptionDefaultFrameMaker.computeSignature()FrameMaker.computeSignature() -
Uses of RowSignature in org.apache.druid.query.scan
Methods in org.apache.druid.query.scan that return RowSignatureModifier and TypeMethodDescriptionScanQuery.getResultRowSignature(RowSignature.Finalization finalization) ScanQuery.getRowSignature()Returns the RowSignature.ScanResultValue.getRowSignature()ScanQueryQueryToolChest.resultArraySignature(ScanQuery query) Constructors in org.apache.druid.query.scan with parameters of type RowSignatureModifierConstructorDescriptionScanResultValue(String segmentId, List<String> columns, Object events, RowSignature rowSignature) ScanResultValueFramesIterable(Sequence<ScanResultValue> resultSequence, MemoryAllocatorFactory memoryAllocatorFactory, boolean useNestedForUnknownTypes, RowSignature defaultRowSignature, com.google.common.base.Function<RowSignature, com.google.common.base.Function<?, Object[]>> resultFormatMapper) SettableCursorColumnSelectorFactory(Supplier<Cursor> cursorSupplier, RowSignature rowSignature) Constructor parameters in org.apache.druid.query.scan with type arguments of type RowSignatureModifierConstructorDescriptionScanResultValueFramesIterable(Sequence<ScanResultValue> resultSequence, MemoryAllocatorFactory memoryAllocatorFactory, boolean useNestedForUnknownTypes, RowSignature defaultRowSignature, com.google.common.base.Function<RowSignature, com.google.common.base.Function<?, Object[]>> resultFormatMapper) -
Uses of RowSignature in org.apache.druid.query.timeboundary
Methods in org.apache.druid.query.timeboundary that return RowSignatureModifier and TypeMethodDescriptionTimeBoundaryQueryQueryToolChest.resultArraySignature(TimeBoundaryQuery query) -
Uses of RowSignature in org.apache.druid.query.timeseries
Methods in org.apache.druid.query.timeseries that return RowSignatureModifier and TypeMethodDescriptionTimeseriesQuery.getResultRowSignature(RowSignature.Finalization finalization) TimeseriesQueryQueryToolChest.resultArraySignature(TimeseriesQuery query) -
Uses of RowSignature in org.apache.druid.query.topn
Methods in org.apache.druid.query.topn that return RowSignatureModifier and TypeMethodDescriptionTopNQuery.getResultRowSignature(RowSignature.Finalization finalization) TopNQueryQueryToolChest.resultArraySignature(TopNQuery query) -
Uses of RowSignature in org.apache.druid.query.union
Methods in org.apache.druid.query.union that return RowSignatureModifier and TypeMethodDescriptionUnionQuery.getResultRowSignature(RowSignature.Finalization finalization) -
Uses of RowSignature in org.apache.druid.segment
Methods in org.apache.druid.segment that return RowSignatureModifier and TypeMethodDescriptionCursorFactory.getRowSignature()Returns theRowSignatureof the data available from this cursor factory.FilteredCursorFactory.getRowSignature()QueryableIndexCursorFactory.getRowSignature()RestrictedCursorFactory.getRowSignature()RowBasedCursorFactory.getRowSignature()SchemaPayload.getRowSignature()UnnestCursorFactory.getRowSignature()Constructors in org.apache.druid.segment with parameters of type RowSignatureModifierConstructorDescriptionArrayListSegment(ArrayList<RowType> rows, RowAdapter<RowType> rowAdapter, RowSignature rowSignature) Create a list-based segment.RowBasedCursor(RowWalker<RowType> rowWalker, RowAdapter<RowType> rowAdapter, Filter filter, org.joda.time.Interval interval, VirtualColumns virtualColumns, boolean descending, RowSignature rowSignature) RowBasedCursorFactory(Sequence<RowType> rowSequence, RowAdapter<RowType> rowAdapter, RowSignature rowSignature) RowBasedSegment(Sequence<RowType> rowSequence, RowAdapter<RowType> rowAdapter, RowSignature rowSignature) Create a row-based segment.SchemaPayload(RowSignature rowSignature) SchemaPayload(RowSignature rowSignature, Map<String, AggregatorFactory> aggregatorFactories) -
Uses of RowSignature in org.apache.druid.segment.column
Methods in org.apache.druid.segment.column that return RowSignatureModifier and TypeMethodDescriptionRowSignature.Builder.build()RowSignature.buildSafeSignature(List<String> requestedColumnNames) Builds a safeRowSignature.static RowSignatureRowSignature.empty()RowSignature.withPrefix(String prefix) Methods in org.apache.druid.segment.column with parameters of type RowSignature -
Uses of RowSignature in org.apache.druid.segment.incremental
Methods in org.apache.druid.segment.incremental that return RowSignature -
Uses of RowSignature in org.apache.druid.segment.join
Methods in org.apache.druid.segment.join that return RowSignature -
Uses of RowSignature in org.apache.druid.segment.join.table
Methods in org.apache.druid.segment.join.table that return RowSignatureModifier and TypeMethodDescriptionBroadcastSegmentIndexedTable.rowSignature()FrameBasedIndexedTable.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).ReferenceCountedIndexedTableProvider.rowSignature()RowBasedIndexedTable.rowSignature()Constructors in org.apache.druid.segment.join.table with parameters of type RowSignatureModifierConstructorDescriptionRowBasedIndexedTable(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)