Uses of Class
org.apache.druid.java.util.common.io.Closer
Packages that use Closer
Package
Description
-
Uses of Closer in org.apache.druid.java.util.common.io
Methods in org.apache.druid.java.util.common.io that return Closer -
Uses of Closer in org.apache.druid.query.aggregation
Constructors in org.apache.druid.query.aggregation with parameters of type CloserModifierConstructorDescriptionSerializablePairLongDoubleComplexColumn(CellReader cellReader, AbstractSerializablePairLongObjectDeltaEncodedStagedSerde<?> serde, Closer closer, int serializedSize) SerializablePairLongFloatComplexColumn(CellReader cellReader, AbstractSerializablePairLongObjectDeltaEncodedStagedSerde<?> serde, Closer closer, int serializedSize) SerializablePairLongLongComplexColumn(CellReader cellReader, AbstractSerializablePairLongObjectDeltaEncodedStagedSerde<?> serde, Closer closer, int serializedSize) SerializablePairLongStringComplexColumn(CellReader cellReader, SerializablePairLongStringDeltaEncodedStagedSerde serde, Closer closer, int serializedSize) -
Uses of Closer in org.apache.druid.segment
Fields in org.apache.druid.segment declared as CloserMethods in org.apache.druid.segment with parameters of type CloserModifier and TypeMethodDescriptiondefault DimensionMergerV9DimensionHandler.makeMerger(String outputName, IndexSpec indexSpec, SegmentWriteOutMedium segmentWriteOutMedium, ColumnCapabilities capabilities, ProgressIndicator progress, File segmentBaseDir, Closer closer) Creates a new DimensionMergerV9, a per-dimension object responsible for merging indexes/row data across segments and building the on-disk representation of a dimension.default DimensionMergerV9DimensionHandler.makeMerger(String outputName, IndexSpec indexSpec, SegmentWriteOutMedium segmentWriteOutMedium, ColumnCapabilities capabilities, ProgressIndicator progress, Closer closer) Deprecated.DoubleDimensionHandler.makeMerger(String outputName, IndexSpec indexSpec, SegmentWriteOutMedium segmentWriteOutMedium, ColumnCapabilities capabilities, ProgressIndicator progress, File segmentBaseDir, Closer closer) FloatDimensionHandler.makeMerger(String outputName, IndexSpec indexSpec, SegmentWriteOutMedium segmentWriteOutMedium, ColumnCapabilities capabilities, ProgressIndicator progress, File segmentBaseDir, Closer closer) LongDimensionHandler.makeMerger(String outputName, IndexSpec indexSpec, SegmentWriteOutMedium segmentWriteOutMedium, ColumnCapabilities capabilities, ProgressIndicator progress, File segmentBaseDir, Closer closer) NestedCommonFormatColumnHandler.makeMerger(String outputName, IndexSpec indexSpec, SegmentWriteOutMedium segmentWriteOutMedium, ColumnCapabilities capabilities, ProgressIndicator progress, File segmentBaseDir, Closer closer) StringDimensionHandler.makeMerger(String outputName, IndexSpec indexSpec, SegmentWriteOutMedium segmentWriteOutMedium, ColumnCapabilities capabilities, ProgressIndicator progress, File segmentBaseDir, Closer closer) protected MetadataIndexMergerBase.makeProjections(SegmentFileBuilder segmentFileBuilder, List<AggregateProjectionMetadata> projections, List<IndexableAdapter> adapters, IndexSpec indexSpec, SegmentWriteOutMedium segmentWriteOutMedium, ProgressIndicator progress, File segmentBaseDir, Closer closer, Map<String, DimensionMergerV9> parentMergers, Metadata segmentMetadata) Constructors in org.apache.druid.segment with parameters of type CloserModifierConstructorDescriptionAutoTypeColumnMerger(String name, String outputName, ColumnType castToType, NestedCommonFormatColumnFormatSpec columnFormatSpec, SegmentWriteOutMedium segmentWriteOutMedium, File segmentBaseDir, Closer closer) ColumnCache(QueryableIndex index, VirtualColumns virtualColumns, Closer closer) DictionaryEncodedColumnMerger(String dimensionName, String outputName, IndexSpec indexSpec, SegmentWriteOutMedium segmentWriteOutMedium, ColumnCapabilities capabilities, ProgressIndicator progress, File segmentBaseDir, Closer closer) StringDimensionMergerV9(String dimensionName, String outputName, IndexSpec indexSpec, SegmentWriteOutMedium segmentWriteOutMedium, ColumnCapabilities capabilities, ProgressIndicator progress, File segmentBaseDir, Closer closer) -
Uses of Closer in org.apache.druid.segment.data
Methods in org.apache.druid.segment.data with parameters of type CloserModifier and TypeMethodDescriptionCompressionStrategy.Compressor.allocateInBuffer(int inputSize, Closer closer) Allocates a buffer that should be passed toCompressionStrategy.Compressor.compress(java.nio.ByteBuffer, java.nio.ByteBuffer)method as input buffer.CompressionStrategy.LZ4Compressor.allocateInBuffer(int inputSize, Closer closer) CompressionStrategy.ZstdCompressor.allocateInBuffer(int inputSize, Closer closer) abstract ByteBufferCompressionStrategy.Compressor.allocateOutBuffer(int inputSize, Closer closer) Allocates a buffer that should be passed toCompressionStrategy.Compressor.compress(java.nio.ByteBuffer, java.nio.ByteBuffer)method as output buffer.CompressionStrategy.LZ4Compressor.allocateOutBuffer(int inputSize, Closer closer) CompressionStrategy.LZFCompressor.allocateOutBuffer(int inputSize, Closer closer) CompressionStrategy.UncompressedCompressor.allocateOutBuffer(int inputSize, Closer closer) CompressionStrategy.ZstdCompressor.allocateOutBuffer(int inputSize, Closer closer) static ObjectStrategy<ByteBuffer>GenericIndexedWriter.compressedByteBuffersWriteObjectStrategy(CompressionStrategy compressionStrategy, int bufferSize, Closer closer) CompressedVSizeColumnarIntsSerializer.create(String columnName, SegmentWriteOutMedium segmentWriteOutMedium, String filenameBase, int maxValue, CompressionStrategy compression, Closer closer) CompressedVSizeColumnarMultiIntsSupplier.fromIterable(Iterable<IndexedInts> objectsIterable, int maxValue, ByteOrder byteOrder, CompressionStrategy compression, Closer closer) V3CompressedVSizeColumnarMultiIntsSupplier.fromIterable(Iterable<IndexedInts> objectsIterable, int offsetChunkFactor, int maxValue, ByteOrder byteOrder, CompressionStrategy compression, Closer closer) CompressedColumnarIntsSupplier.fromList(it.unimi.dsi.fastutil.ints.IntArrayList list, int chunkFactor, ByteOrder byteOrder, CompressionStrategy compression, Closer closer) CompressedVSizeColumnarIntsSupplier.fromList(it.unimi.dsi.fastutil.ints.IntList list, int maxValue, int chunkFactor, ByteOrder byteOrder, CompressionStrategy compression, Closer closer) static ColumnarDoublesSerializerCompressionFactory.getDoubleSerializer(String columnName, SegmentWriteOutMedium segmentWriteOutMedium, String filenameBase, ByteOrder byteOrder, CompressionStrategy compression, Closer closer) static ColumnarFloatsSerializerCompressionFactory.getFloatSerializer(String columnName, SegmentWriteOutMedium segmentWriteOutMedium, String filenameBase, ByteOrder order, CompressionStrategy compressionStrategy, Closer closer) static ColumnarLongsSerializerCompressionFactory.getLongSerializer(String columnName, SegmentWriteOutMedium segmentWriteOutMedium, String filenameBase, ByteOrder order, CompressionFactory.LongEncodingStrategy encodingStrategy, CompressionStrategy compressionStrategy, Closer closer) static GenericIndexed<ResourceHolder<ByteBuffer>>GenericIndexed.ofCompressedByteBuffers(Iterable<ByteBuffer> buffers, CompressionStrategy compression, int bufferSize, ByteOrder order, Closer closer) static GenericIndexedWriter<ByteBuffer>GenericIndexedWriter.ofCompressedByteBuffers(SegmentWriteOutMedium segmentWriteOutMedium, String filenameBase, CompressionStrategy compressionStrategy, int bufferSize, int fileSizeLimit, Closer closer) Creates a new writer that accepts byte buffers and compresses them.Constructors in org.apache.druid.segment.data with parameters of type CloserModifierConstructorDescriptionCompressedBlockSerializer(SegmentWriteOutMedium segmentWriteOutMedium, CompressionStrategy compression, int blockSize, Closer closer) CompressedLongsSerializer(SegmentWriteOutMedium segmentWriteOutMedium, CompressionStrategy compression, Closer closer) -
Uses of Closer in org.apache.druid.segment.join
Methods in org.apache.druid.segment.join with parameters of type CloserModifier and TypeMethodDescriptionstatic CursorHashJoinEngine.makeJoinCursor(Cursor leftCursor, JoinableClause joinableClause, Closer closer) Creates a cursor that represents the join of with .Joinable.makeJoinMatcher(ColumnSelectorFactory leftColumnSelectorFactory, JoinConditionAnalysis condition, boolean remainderNeeded, Closer closer) Creates a JoinMatcher that can be used to implement a join onto this Joinable. -
Uses of Closer in org.apache.druid.segment.join.lookup
Methods in org.apache.druid.segment.join.lookup with parameters of type CloserModifier and TypeMethodDescriptionLookupJoinable.makeJoinMatcher(ColumnSelectorFactory leftSelectorFactory, JoinConditionAnalysis condition, boolean remainderNeeded, Closer closer) -
Uses of Closer in org.apache.druid.segment.join.table
Methods in org.apache.druid.segment.join.table with parameters of type CloserModifier and TypeMethodDescriptionBroadcastSegmentIndexedTable.makeColumnSelectorFactory(ReadableOffset offset, Closer closer) default ColumnSelectorFactoryIndexedTable.makeColumnSelectorFactory(ReadableOffset offset, Closer closer) This method allows a table to directly provide an optimizedColumnSelectorFactoryforIndexedTableJoinMatcherto create selectors.IndexedTableJoinable.makeJoinMatcher(ColumnSelectorFactory leftColumnSelectorFactory, JoinConditionAnalysis condition, boolean remainderNeeded, Closer closer) -
Uses of Closer in org.apache.druid.segment.nested
Fields in org.apache.druid.segment.nested declared as CloserModifier and TypeFieldDescriptionprotected final CloserScalarNestedCommonFormatColumnSerializer.closerprotected final CloserGlobalDictionaryEncodedFieldColumnWriter.fieldResourceCloserConstructors in org.apache.druid.segment.nested with parameters of type CloserModifierConstructorDescriptionNestedDataColumnSerializer(String name, NestedCommonFormatColumnFormatSpec columnFormatSpec, SegmentWriteOutMedium segmentWriteOutMedium, Closer closer) ScalarDoubleColumnSerializer(String name, NestedCommonFormatColumnFormatSpec columnFormatSpec, SegmentWriteOutMedium segmentWriteOutMedium, Closer closer) ScalarLongColumnSerializer(String name, NestedCommonFormatColumnFormatSpec columnFormatSpec, SegmentWriteOutMedium segmentWriteOutMedium, Closer closer) ScalarNestedCommonFormatColumnSerializer(String name, NestedCommonFormatColumnFormatSpec columnFormatSpec, SegmentWriteOutMedium segmentWriteOutMedium, Closer closer) ScalarStringColumnSerializer(String name, NestedCommonFormatColumnFormatSpec columnFormatSpec, SegmentWriteOutMedium segmentWriteOutMedium, Closer closer) VariantColumnSerializer(String name, ColumnType logicalType, Byte variantTypeSetByte, NestedCommonFormatColumnFormatSpec columnFormatSpec, SegmentWriteOutMedium segmentWriteOutMedium, Closer closer) -
Uses of Closer in org.apache.druid.segment.serde.cell
Constructors in org.apache.druid.segment.serde.cell with parameters of type CloserModifierConstructorDescriptionBlockCompressedPayloadBuffer(ByteBuffer currentBlock, ByteBuffer compressedByteBuffer, BlockIndexWriter blockIndexWriter, WriteOutBytes dataOutBytes, Closer closer, CompressionStrategy.Compressor compressor) -
Uses of Closer in org.apache.druid.segment.writeout
Methods in org.apache.druid.segment.writeout that return CloserModifier and TypeMethodDescriptionLegacyTmpFileSegmentWriteOutMedium.getCloser()OffHeapMemorySegmentWriteOutMedium.getCloser()OnHeapMemorySegmentWriteOutMedium.getCloser()SegmentWriteOutMedium.getCloser()Returns a closer of this SegmentWriteOutMedium, which is closed in this SegmentWriteOutMedium's close() method.TmpFileSegmentWriteOutMedium.getCloser()Constructors in org.apache.druid.segment.writeout with parameters of type CloserModifierConstructorDescriptionLazilyAllocatingHeapWriteOutBytes(Supplier<WriteOutBytes> delegateSupplier, Closer closer) -
Uses of Closer in org.apache.druid.utils
Methods in org.apache.druid.utils that return CloserModifier and TypeMethodDescriptionstatic CloserCloseableUtils.forIterable(Iterable<? extends Closeable> closeables)
DimensionHandler.makeMerger(String, IndexSpec, SegmentWriteOutMedium, ColumnCapabilities, ProgressIndicator, File, Closer)This method exists for backwards compatiblity with older versions of Druid since this is an unofficial extension point that must be implemented to create custom dimension types, and will be removed in a future release.