Uses of Enum
org.apache.druid.frame.FrameType
Packages that use FrameType
Package
Description
-
Uses of FrameType in org.apache.druid.frame
Methods in org.apache.druid.frame that return FrameTypeModifier and TypeMethodDescriptionstatic FrameTypeFrameType.forVersion(byte versionByte) Returns the frame type for a particular version byte, or null if the version byte is unrecognized.static FrameTypeFrameType.latestColumnar()Returns the latest columnar frame type.static FrameTypeFrameType.latestRowBased()Returns the latest row-based frame type.Frame.type()static FrameTypeReturns the enum constant of this type with the specified name.static FrameType[]FrameType.values()Returns an array containing the constants of this enum type, in the order they are declared. -
Uses of FrameType in org.apache.druid.frame.field
Methods in org.apache.druid.frame.field with parameters of type FrameTypeModifier and TypeMethodDescriptionstatic FieldReaderFieldReaders.create(String columnName, ColumnType columnType, FrameType frameType) Helper used byFrameReader.static FieldWriterFieldWriters.create(FrameType frameType, ColumnSelectorFactory columnSelectorFactory, String columnName, ColumnType columnType, boolean removeNullBytes) Helper used byRowBasedFrameWriterFactory.static doubleTransformUtils.detransformToDouble(long transformedBits, FrameType frameType) static floatTransformUtils.detransformToFloat(int transformedBits, FrameType frameType) static DoubleFieldReaderstatic DoubleFieldWriterDoubleFieldWriter.forArray(BaseDoubleColumnValueSelector selector, FrameType frameType) static FloatFieldReaderstatic FloatFieldWriterFloatFieldWriter.forArray(BaseFloatColumnValueSelector selector, FrameType frameType) static DoubleFieldReaderDoubleFieldReader.forPrimitive(FrameType frameType) static DoubleFieldWriterDoubleFieldWriter.forPrimitive(BaseDoubleColumnValueSelector selector, FrameType frameType) static FloatFieldReaderFloatFieldReader.forPrimitive(FrameType frameType) static FloatFieldWriterFloatFieldWriter.forPrimitive(BaseFloatColumnValueSelector selector, FrameType frameType) static NumericArrayFieldWriterNumericArrayFieldWriter.getDoubleArrayFieldWriter(ColumnValueSelector selector, FrameType frameType) Returns the writer for ARRAYstatic NumericArrayFieldWriterNumericArrayFieldWriter.getFloatArrayFieldWriter(ColumnValueSelector selector, FrameType frameType) Returns the writer for ARRAYstatic longTransformUtils.transformFromDouble(double n, FrameType frameType) Transforms a double into a form where it can be compared as unsigned bytes without decoding.static intTransformUtils.transformFromFloat(float n, FrameType frameType) Transforms a float into a form where it can be compared as unsigned bytes without decoding.Constructors in org.apache.druid.frame.field with parameters of type FrameTypeModifierConstructorDescriptionDoubleArrayFieldReader(FrameType frameType) FloatArrayFieldReader(FrameType frameType) -
Uses of FrameType in org.apache.druid.frame.key
Methods in org.apache.druid.frame.key with parameters of type FrameTypeModifier and TypeMethodDescriptionstatic RowKeyReaderRowKeyReader.create(RowSignature signature, FrameType frameType) Creates a newRowKeyReader.ClusterBy.keyReader(ColumnInspector inspector, FrameType frameType) Create a reader for keys for this instance. -
Uses of FrameType in org.apache.druid.frame.processor
Constructors in org.apache.druid.frame.processor with parameters of type FrameTypeModifierConstructorDescriptionSuperSorter(List<ReadableFrameChannel> inputChannels, FrameReader frameReader, List<KeyColumn> sortKey, com.google.common.util.concurrent.ListenableFuture<ClusterByPartitions> outputPartitionsFuture, FrameProcessorExecutor exec, FrameProcessorDecorator processorDecorator, OutputChannelFactory outputChannelFactory, OutputChannelFactory intermediateOutputChannelFactory, FrameType outputFrameType, int maxActiveProcessors, int maxChannelsPerMerger, long rowLimit, String cancellationId, SuperSorterProgressTracker superSorterProgressTracker, boolean removeNullBytes) Initializes a SuperSorter. -
Uses of FrameType in org.apache.druid.frame.read
Methods in org.apache.druid.frame.read with parameters of type FrameTypeModifier and TypeMethodDescriptionstatic 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 FrameType in org.apache.druid.frame.write
Methods in org.apache.druid.frame.write that return FrameTypeModifier and TypeMethodDescriptionFrameWriterFactory.frameType()RowBasedFrameWriterFactory.frameType()Methods in org.apache.druid.frame.write with parameters of type FrameTypeModifier and TypeMethodDescriptionstatic FrameWriterFactoryFrameWriters.makeFrameWriterFactory(FrameType frameType, MemoryAllocatorFactory allocatorFactory, RowSignature signature, List<KeyColumn> sortColumns, boolean removeNullBytes) Creates aFrameWriterFactory.static longFrameWriterUtils.writeFrameHeader(org.apache.datasketches.memory.WritableMemory memory, long startPosition, FrameType frameType, long totalSize, int numRows, int numRegions, boolean permuted) Writes a frame header to a memory locations.Constructors in org.apache.druid.frame.write with parameters of type FrameTypeModifierConstructorDescriptionRowBasedFrameWriter(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 FrameType in org.apache.druid.frame.write.columnar
Methods in org.apache.druid.frame.write.columnar that return FrameType