Package io.deephaven.util
Interface SafeCloseable
- All Superinterfaces:
AutoCloseable
- All Known Subinterfaces:
AbstractScriptSession.Snapshot,AsOfJoinHelper.SsaFactory,BarrageMessageWriter,BasePushdownFilterContext.UnifiedChunkFilter,BothIncrementalNaturalJoinStateManager.InitialBuildContext,ByteColumnIterator,ByteSortKernel<SORT_VALUES_ATTR,,PERMUTE_VALUES_ATTR> CharacterColumnIterator,ChunkBoxer.BoxerKernel,ChunkSink.FillFromContext,ChunkSource.FillContext,ChunkSource.GetContext,ChunkUnboxer.UnboxerKernel,ColumnIterator<DATA_TYPE>,ColumnWriter,CompressorAdapter,Context,DoubleColumnIterator,FloatColumnIterator,Formula.FillContext,Formula.GetContext,IntegerColumnIterator,IntSortKernel<SORT_VALUES_ATTR,,PERMUTE_VALUES_ATTR> IterativeChunkedAggregationOperator.BucketedContext,IterativeChunkedAggregationOperator.SingletonContext,JobScheduler.JobThreadContext,KeyOrValueSerializer.Context,LongColumnIterator,LongSortKernel<SORT_VALUES_ATTR,,PERMUTE_VALUES_ATTR> ObjectColumnIterator<DATA_TYPE>,PoolableChunk<ATTR>,PushdownFilterContext,ResettableContext,ResettableReadOnlyChunk<ATTR_BASE>,ResettableWritableChunk<ATTR_BASE>,RightIncrementalNaturalJoinStateManager.InitialBuildContext,RowSequence,RowSequence.Iterator,RowSet,RowSet.Iterator,RowSet.RangeIterator,RowSet.SearchIterator,SeekableChannelContext,SeekableChannelsProvider,SeekableChannelsProvider.WriteContext,ShortColumnIterator,SingleRangeMixin,StampKernel,ToBigDecimalCast,ToDoubleCast,ToIntegerCast<T>,ToIntFunctor<T>,ToLongCast<T>,ToLongFunctor<T>,TrackingRowSet,TrackingWritableRowSet,TransferObject<BUFFER_TYPE>,WritableChunk<ATTR>,WritableRowSet
- All Known Implementing Classes:
ArrayAndVectorTransfer,ArrowWrapperTools.FillContext,ArrowWrapperTools.Shareable,BarrageMessage,BarrageMessageWriterImpl,BarrageMessageWriterImpl.ModColumnWriter,BarrageMessageWriterImpl.RowSetWriter,BaseAggregateSlicedColumnSource.AggregateSlicedFillContext,BaseBigNumberEMOperator.Context,BaseBigNumberEmStdOperator.Context,BaseByteUpdateByOperator.Context,BaseCharUpdateByOperator.Context,BaseChunkWriter.SerContext,BaseDoubleUpdateByOperator.Context,BaseFloatUpdateByOperator.Context,BaseIntUpdateByOperator.Context,BaseLongUpdateByOperator.Context,BaseObjectBinaryOperator.Context,BaseObjectUpdateByOperator.Context,BasePrimitiveEMOperator.Context,BasePrimitiveEmStdOperator.Context,BasePushdownFilterContext,BaseSeekableChannelContext,BaseShortUpdateByOperator.Context,BigDecimalCumProdOperator.Context,BigDecimalCumSumOperator.Context,BigDecimalDeltaOperator.Context,BigDecimalEMOperator.Context,BigDecimalEmStdOperator.Context,BigDecimalRollingAvgOperator.Context,BigDecimalRollingProductOperator.Context,BigDecimalRollingStdOperator.Context,BigDecimalRollingSumOperator.Context,BigDecimalRollingWAvgOperator.Context,BigIntegerCumProdOperator.Context,BigIntegerCumSumOperator.Context,BigIntegerDeltaOperator.Context,BigIntegerEMOperator.Context,BigIntegerEmStdOperator.Context,BigIntegerRollingAvgOperator.Context,BigIntegerRollingProductOperator.Context,BigIntegerRollingStdOperator.Context,BigIntegerRollingSumOperator.Context,BigNumberToBigDecimalCast,BooleanFillByOperator.Context,BooleanRollingFormulaOperator.Context,BucketSsmDistinctContext,BucketSsmDistinctRollupContext,ByteByteTimsortDescendingKernel.ByteByteSortKernelContext,ByteByteTimsortKernel.ByteByteSortKernelContext,ByteCumMinMaxOperator.Context,ByteCumProdOperator.Context,ByteCumSumOperator.Context,ByteDeltaOperator.Context,ByteEMOperator.Context,ByteEmStdOperator.Context,ByteFillByOperator.Context,ByteIntTimsortDescendingKernel.ByteIntSortKernelContext,ByteIntTimsortKernel.ByteIntSortKernelContext,ByteLongTimsortDescendingKernel.ByteLongSortKernelContext,ByteLongTimsortKernel.ByteLongSortKernelContext,ByteNoExactReverseStampKernel,ByteNoExactStampKernel,ByteReverseStampKernel,ByteRollingAvgOperator.Context,ByteRollingCountOperator.Context,ByteRollingFormulaOperator.Context,ByteRollingMinMaxOperator.Context,ByteRollingProductOperator.Context,ByteRollingStdOperator.Context,ByteRollingSumOperator.Context,ByteRollingWAvgOperator.Context,ByteStampKernel,ByteTimsortDescendingKernel.ByteSortKernelContext,ByteTimsortKernel.ByteSortKernelContext,ByteToBigDecimalCast,ByteToDoubleCast,ByteToIntegerCast,ByteToIntegerCastWithOffset,ByteToLongCast,ByteToLongCastWithOffset,CachedChannelProvider,CharByteTimsortKernel.CharByteSortKernelContext,CharCumMinMaxOperator.Context,CharCumSumOperator.Context,CharDeltaOperator.Context,CharEMOperator.Context,CharEmStdOperator.Context,CharFillByOperator.Context,CharIntTimsortKernel.CharIntSortKernelContext,CharLongTimsortKernel.CharLongSortKernelContext,CharNoExactReverseStampKernel,CharNoExactStampKernel,CharReverseStampKernel,CharRollingAvgOperator.Context,CharRollingCountOperator.Context,CharRollingFormulaOperator.Context,CharRollingMinMaxOperator.Context,CharRollingProductOperator.Context,CharRollingStdOperator.Context,CharRollingSumOperator.Context,CharRollingWAvgOperator.Context,CharStampKernel,CharTimsortDescendingKernel.CharSortKernelContext,CharTimsortKernel.CharSortKernelContext,CharToBigDecimalCast,CharToDoubleCast,CharToIntegerCast,CharToIntegerCastWithOffset,CharToLongCast,CharToLongCastWithOffset,ChunkAdapter,ChunkedByteColumnIterator,ChunkedCharacterColumnIterator,ChunkedColumnIterator,ChunkedDoubleColumnIterator,ChunkedFloatColumnIterator,ChunkedIntegerColumnIterator,ChunkedLongColumnIterator,ChunkedObjectColumnIterator,ChunkedShortColumnIterator,ChunkWriter.Context,ColumnChunkPageStore,ColumnChunksWriter,ComparableRollingMinMaxOperator.Context,ComparatorLongTimsortKernel.ObjectLongSortKernelContext,ComplementRangeIterator,ConditionFilter.FilterKernel.Context,ContextWithChunk,DataIndexPushdownManager.DataIndexPushdownContext,DecompressorHolder,DefaultGetContext,DictEncodedStringArrayAndVectorTransfer,DoubleByteTimsortDescendingKernel.DoubleByteSortKernelContext,DoubleByteTimsortKernel.DoubleByteSortKernelContext,DoubleCumMinMaxOperator.Context,DoubleCumProdOperator.Context,DoubleCumSumOperator.Context,DoubleDeltaOperator.Context,DoubleEMOperator.Context,DoubleEmStdOperator.Context,DoubleFillByOperator.Context,DoubleIntTimsortDescendingKernel.DoubleIntSortKernelContext,DoubleIntTimsortKernel.DoubleIntSortKernelContext,DoubleLongTimsortDescendingKernel.DoubleLongSortKernelContext,DoubleLongTimsortKernel.DoubleLongSortKernelContext,DoubleNoExactReverseStampKernel,DoubleNoExactStampKernel,DoubleReverseStampKernel,DoubleRollingAvgOperator.Context,DoubleRollingCountOperator.Context,DoubleRollingFormulaOperator.Context,DoubleRollingMinMaxOperator.Context,DoubleRollingProductOperator.Context,DoubleRollingStdOperator.Context,DoubleRollingSumOperator.Context,DoubleRollingWAvgOperator.Context,DoubleStampKernel,DoubleTimsortDescendingKernel.DoubleSortKernelContext,DoubleTimsortKernel.DoubleSortKernelContext,DoubleToBigDecimalCast,DoubleToDoubleCast,FillContextPython,FloatByteTimsortDescendingKernel.FloatByteSortKernelContext,FloatByteTimsortKernel.FloatByteSortKernelContext,FloatCumMinMaxOperator.Context,FloatCumProdOperator.Context,FloatCumSumOperator.Context,FloatDeltaOperator.Context,FloatEMOperator.Context,FloatEmStdOperator.Context,FloatFillByOperator.Context,FloatIntTimsortDescendingKernel.FloatIntSortKernelContext,FloatIntTimsortKernel.FloatIntSortKernelContext,FloatLongTimsortDescendingKernel.FloatLongSortKernelContext,FloatLongTimsortKernel.FloatLongSortKernelContext,FloatNoExactReverseStampKernel,FloatNoExactStampKernel,FloatReverseStampKernel,FloatRollingAvgOperator.Context,FloatRollingCountOperator.Context,FloatRollingFormulaOperator.Context,FloatRollingMinMaxOperator.Context,FloatRollingProductOperator.Context,FloatRollingStdOperator.Context,FloatRollingSumOperator.Context,FloatRollingWAvgOperator.Context,FloatStampKernel,FloatTimsortDescendingKernel.FloatSortKernelContext,FloatTimsortKernel.FloatSortKernelContext,FloatToBigDecimalCast,FloatToDoubleCast,GroovyDeephavenSession.GroovySnapshot,HashedRunFinder.HashedRunContext,IncrementalChunkedOperatorAggregationStateManagerOpenAddressedBase.BuildContext,IncrementalMultiJoinStateManagerTypedBase.BuildContext,IncrementalMultiJoinStateManagerTypedBase.ProbeContext,IncrementalNaturalJoinStateManagerTypedBase.BuildContext,IncrementalNaturalJoinStateManagerTypedBase.ProbeContext,IntByteTimsortDescendingKernel.IntByteSortKernelContext,IntByteTimsortKernel.IntByteSortKernelContext,IntCumMinMaxOperator.Context,IntCumProdOperator.Context,IntCumSumOperator.Context,IntDeltaOperator.Context,IntEMOperator.Context,IntEmStdOperator.Context,IntFillByOperator.Context,IntIntTimsortDescendingKernel.IntIntSortKernelContext,IntIntTimsortKernel.IntIntSortKernelContext,IntLongTimsortDescendingKernel.IntLongSortKernelContext,IntLongTimsortKernel.IntLongSortKernelContext,IntNoExactReverseStampKernel,IntNoExactStampKernel,IntReverseStampKernel,IntRollingAvgOperator.Context,IntRollingCountOperator.Context,IntRollingFormulaOperator.Context,IntRollingMinMaxOperator.Context,IntRollingProductOperator.Context,IntRollingStdOperator.Context,IntRollingSumOperator.Context,IntRollingWAvgOperator.Context,IntStampKernel,IntTimsortDescendingKernel.IntSortKernelContext,IntTimsortKernel.IntSortKernelContext,IntToBigDecimalCast,IntToDoubleCast,IntToIntegerCast,IntToIntegerCastWithOffset,IntToLongCast,IntToLongCastWithOffset,ListChunkWriter.Context,LongByteTimsortDescendingKernel.LongByteSortKernelContext,LongByteTimsortKernel.LongByteSortKernelContext,LongCumMinMaxOperator.Context,LongCumProdOperator.Context,LongCumSumOperator.Context,LongDeltaOperator.Context,LongEMOperator.Context,LongEmStdOperator.Context,LongFillByOperator.Context,LongIntTimsortDescendingKernel.LongIntSortKernelContext,LongIntTimsortKernel.LongIntSortKernelContext,LongLongTimsortDescendingKernel.LongLongSortKernelContext,LongLongTimsortKernel.LongLongSortKernelContext,LongNoExactReverseStampKernel,LongNoExactStampKernel,LongReverseStampKernel,LongRollingAvgOperator.Context,LongRollingCountOperator.Context,LongRollingFormulaOperator.Context,LongRollingMinMaxOperator.Context,LongRollingProductOperator.Context,LongRollingStdOperator.Context,LongRollingSumOperator.Context,LongRollingWAvgOperator.Context,LongStampKernel,LongTimsortDescendingKernel.LongSortKernelContext,LongTimsortKernel.LongSortKernelContext,LongToBigDecimalCast,LongToDoubleCast,LongToIntegerCast,LongToIntegerCastWithOffset,LongToLongCast,LongToLongCastWithOffset,MapChunkWriter.Context,NullAwareCharByteTimsortDescendingKernel.CharByteSortKernelContext,NullAwareCharByteTimsortKernel.CharByteSortKernelContext,NullAwareCharIntTimsortDescendingKernel.CharIntSortKernelContext,NullAwareCharIntTimsortKernel.CharIntSortKernelContext,NullAwareCharLongTimsortDescendingKernel.CharLongSortKernelContext,NullAwareCharLongTimsortKernel.CharLongSortKernelContext,NullAwareCharNoExactReverseStampKernel,NullAwareCharNoExactStampKernel,NullAwareCharReverseStampKernel,NullAwareCharStampKernel,NullAwareCharTimsortDescendingKernel.CharSortKernelContext,NullAwareCharTimsortKernel.CharSortKernelContext,ObjectByteTimsortDescendingKernel.ObjectByteSortKernelContext,ObjectByteTimsortKernel.ObjectByteSortKernelContext,ObjectFillByOperator.Context,ObjectIntTimsortDescendingKernel.ObjectIntSortKernelContext,ObjectIntTimsortKernel.ObjectIntSortKernelContext,ObjectLongTimsortDescendingKernel.ObjectLongSortKernelContext,ObjectLongTimsortKernel.ObjectLongSortKernelContext,ObjectNoExactReverseStampKernel,ObjectNoExactStampKernel,ObjectReverseStampKernel,ObjectRollingCountOperator.Context,ObjectRollingFormulaOperator.Context,ObjectStampKernel,ObjectTimsortDescendingKernel.ObjectSortKernelContext,ObjectTimsortKernel.ObjectSortKernelContext,PagingContextHolder,PushdownResult,PythonDeephavenSession.PythonSnapshot,QueryPerformanceNugget,RangeAggregateColumnSource.RangeAggregateFillContext,RegionedColumnSourceManager.RegionedColumnSourcePushdownFilterContext,ResettableBooleanChunk,ResettableByteChunk,ResettableCharChunk,ResettableDoubleChunk,ResettableFloatChunk,ResettableIntChunk,ResettableLongChunk,ResettableObjectChunk,ResettableShortChunk,ResettableWritableBooleanChunk,ResettableWritableByteChunk,ResettableWritableCharChunk,ResettableWritableDoubleChunk,ResettableWritableFloatChunk,ResettableWritableIntChunk,ResettableWritableLongChunk,ResettableWritableObjectChunk,ResettableWritableShortChunk,RightIncrementalAsOfJoinStateManagerTypedBase.BuildContext,RightIncrementalNaturalJoinStateManagerTypedBase.ProbeContext,RollingGroupOperator.Context,RowSequenceAsChunkImpl,RowSequenceKeyRangesChunkImpl,RowSequenceRowKeysChunkImpl,RowSetShiftData.SmartCoalescingBuilder,RowSetShiftDataExpander,RowSetUtils.CombinedRangeIterator,RspIterator,RspRangeBatchIterator,RspRangeIterator,RspReverseIterator,RspRowSequence,SafeCloseableArray,SafeCloseableList,SafeCloseablePair,SeekableChannelsProviderDelegate,SelectAndViewAnalyzer.UpdateHelper,SerialByteColumnIterator,SerialCharacterColumnIterator,SerialColumnIterator,SerialDoubleColumnIterator,SerialFloatColumnIterator,SerialIntegerColumnIterator,SerialLongColumnIterator,SerialObjectColumnIterator,SerialShortColumnIterator,SharedContext,ShiftedRowSequence,ShortByteTimsortDescendingKernel.ShortByteSortKernelContext,ShortByteTimsortKernel.ShortByteSortKernelContext,ShortCumMinMaxOperator.Context,ShortCumProdOperator.Context,ShortCumSumOperator.Context,ShortDeltaOperator.Context,ShortEMOperator.Context,ShortEmStdOperator.Context,ShortFillByOperator.Context,ShortIntTimsortDescendingKernel.ShortIntSortKernelContext,ShortIntTimsortKernel.ShortIntSortKernelContext,ShortLongTimsortDescendingKernel.ShortLongSortKernelContext,ShortLongTimsortKernel.ShortLongSortKernelContext,ShortNoExactReverseStampKernel,ShortNoExactStampKernel,ShortReverseStampKernel,ShortRollingAvgOperator.Context,ShortRollingCountOperator.Context,ShortRollingFormulaOperator.Context,ShortRollingMinMaxOperator.Context,ShortRollingProductOperator.Context,ShortRollingStdOperator.Context,ShortRollingSumOperator.Context,ShortRollingWAvgOperator.Context,ShortStampKernel,ShortTimsortDescendingKernel.ShortSortKernelContext,ShortTimsortKernel.ShortSortKernelContext,ShortToBigDecimalCast,ShortToDoubleCast,ShortToIntegerCast,ShortToIntegerCastWithOffset,ShortToLongCast,ShortToLongCastWithOffset,SingleRangeRowSequence,SizedBooleanChunk,SizedByteChunk,SizedCharChunk,SizedChunk,SizedDoubleChunk,SizedFloatChunk,SizedIntChunk,SizedLongChunk,SizedObjectChunk,SizedSafeCloseable,SizedShortChunk,SortedRanges.RangeIterator,SortedRangesRowSequence,SsmDistinctContext,SsmDistinctRollupContext,StreamToBlinkTableAdapter,TableLocationSubscriptionBuffer.LocationUpdate,ToBigDecimalCast.Identity,ToDoubleCast.Identity,ToIntFunctor.Identity,ToLongFunctor.Identity,TrackingWritableRowSetImpl,TypedHasherUtil.BuildOrProbeContext,TypedHasherUtil.BuildOrProbeContext.BuildContext,TypedHasherUtil.BuildOrProbeContext.ProbeContext,UnionChunkWriter.Context,UnionSourceManager.UnionSourcePushdownFilterContext,UpdateByOperator.Context,UpdateByStateManagerTypedBase.BuildContext,UpdateByStateManagerTypedBase.ProbeContext,VarBinaryChunkWriter.ByteStorage,VarBinaryChunkWriter.Context,ViewColumnSource.VCSFillContext,ViewColumnSource.VCSGetContext,WritableBooleanChunk,WritableByteChunk,WritableCharChunk,WritableColumnSource.ByteFiller,WritableColumnSource.CharFiller,WritableColumnSource.DoubleFiller,WritableColumnSource.FloatFiller,WritableColumnSource.IntFiller,WritableColumnSource.LongFiller,WritableColumnSource.ObjectFiller,WritableColumnSource.ShortFiller,WritableColumnSource.SinkFiller,WritableDoubleChunk,WritableFloatChunk,WritableIntChunk,WritableLongChunk,WritableObjectChunk,WritableRowSetImpl,WritableShortChunk
AutoCloseable sub-interface that does not throw a checked exception.-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()static voidcloseAll(@NotNull AutoCloseable... autoCloseables) static <ACT extends AutoCloseable>
voidstatic <ACT extends AutoCloseable>
voidstatic voidcloseIfNonNull(@Nullable AutoCloseable autoCloseable)
-
Method Details
-
close
void close()- Specified by:
closein interfaceAutoCloseable
-
closeAll
- Parameters:
autoCloseables-AutoCloseablestoclose
-
closeAll
- Type Parameters:
ACT- the auto closable type- Parameters:
stream- The stream ofAutoCloseablestoclose
-
closeAll
- Type Parameters:
ACT- the auto closable type- Parameters:
iterator- The iterator ofAutoCloseablestoclose
-
closeIfNonNull
- Parameters:
autoCloseable- TheAutoCloseabletoclose
-