Uses of Interface
org.pipecraft.pipes.BasePipe
-
-
Uses of BasePipe in org.pipecraft.pipes.async
Classes in org.pipecraft.pipes.async that implement BasePipe Modifier and Type Class Description classAsyncPipe<T>A pipe that produces items asynchronously. -
Uses of BasePipe in org.pipecraft.pipes.async.inter
Classes in org.pipecraft.pipes.async.inter that implement BasePipe Modifier and Type Class Description classAsyncCallbackPipe<T>A no-op async pipe that "spies" on data passing through it.classAsyncCompoundPipe<T>A pipe encapsulating a pipeline.classAsyncFilterPipe<T>An async version of the filter pipe (SeeFilterPipe.classAsyncFlexibleMapPipe<S,T>An async version of the flexible mapper pipe (SeeFlexibleMapPipe.classAsyncHeadPipe<T>An async version of the head pipe (SeeHeadPipe.classAsyncMapPipe<S,T>An async version of the mapper pipe (SeeMapPipe.classAsyncProgressPipe<T>A no-op async pipe that reports progress.classAsyncTimeoutPipe<T>An async pipe enforcing a timeout on completion of its async input pipe.classAsyncUnionPipe<T>An intermediate async pipe fed by a set of other async pipes.classSyncToAsyncPipe<T>A pipe converting multiple sync pipes into a single async one. -
Uses of BasePipe in org.pipecraft.pipes.async.inter.distributed
Classes in org.pipecraft.pipes.async.inter.distributed that implement BasePipe Modifier and Type Class Description classDistributedShufflerPipe<T>An async pipe that takes input and shuffle it across multiple workers. -
Uses of BasePipe in org.pipecraft.pipes.async.source
Classes in org.pipecraft.pipes.async.source that implement BasePipe Modifier and Type Class Description classAsyncEmptyPipe<T>An async source pipe returning no data.classAsyncMultiFileReaderPipe<T>An async source pipe reading multiple local binary files.classAsyncSeqGenPipe<T>An async source pipe, producing a fixed number of items using a fixed number of threads.classAsyncStorageMultiFileReaderPipe<T,B>An async source pipe reading multiple remote binary files from the cloud. -
Uses of BasePipe in org.pipecraft.pipes.sync
Subinterfaces of BasePipe in org.pipecraft.pipes.sync Modifier and Type Interface Description interfacePipe<T>The interface to be implemented by synchronous pipes, which are passive and items are "pulled" from them. -
Uses of BasePipe in org.pipecraft.pipes.sync.inter
Classes in org.pipecraft.pipes.sync.inter that implement BasePipe Modifier and Type Class Description classAsyncToSyncPipe<T>A pipe which acts as a converter from async pipe/s to a sync pipe.classCallbackPipe<T>A pipe invoking a callback method per item passed through it.classCompoundPipe<T>A pipe encapsulating a pipeline.classConcatPipe<T>An intermediate pipe consisting of concatenating the contents of a series of pipesclassCountPipeA pipe counting the items in the input pipe, and returning the count as a single output item.classCSVMapperPipe<T>An intermediate pipe that parses strings in CSV format, and binds each line to an objectclassDedupPipe<T>Uses item equality (equals() method) in input pipe items for performing a dedup operation.classDelegatePipe<T>A pipe delegating all work to another pipe given in the constructor.classFilterBasePipe<T>A base-class pipe implementation for pipes that filter an input pipe using some criteria.classFilterPipe<T>A pipe filtering an input pipe by some predicate on the pipe items.classFlexibleMapPipe<S,T>An intermediate pipe that maps an input item into zero or more items of another type.classGrouperPipe<T>Splits the input items into different families, and emits items from the same family sequentially.classHeadPipe<T>A pipe returning the first K items of its input pipe.classIntermediateBinFileWriterPipe<T>The intermediate version ofBinFileWriterPipe.classIntermediateSharderBySeqPipe<T>An intermediate version ofSharderBySeqPipeclassIntermediateTxtFileWriterPipe<T>A pipe write to a text file any item passed through it.classMapPipe<S,T>A pipe transforming each item in the input pipe into another, possibly with a different type.classMultiSortedBasePipe<T>A base class for pipes performing some set operation on a collection of sorted input pipes.classOrderValidationPipe<T>An intermediate pipe that validates the order of the consumed elements by a comparatorclassProgressPipe<T>A no-op pipe with only one side effect - progress tracking.classSkipPipe<T>A pipe skipping the first K items of its input pipe.classSortedIntersectionPipe<T>An intermediate pipe performing set intersection operation on a collection of sorted input pipes.classSortedMergePipe<T>An intermediate pipe sort-merging the contents of a collection of sorted input pipes.classSortedSubtractionPipe<T>An intermediate pipe performing a set subtraction operation on two given pipes (i.e.classSortedUnionPipe<T>An intermediate pipe performing set union operation on a collection of sorted input pipes.classSortPipe<T>An intermediate pipe performing a sort on an input pipe, without deduping.classTopKPipe<T>A pipe returning the top K items of the input pipe, according to some predefined order relation. -
Uses of BasePipe in org.pipecraft.pipes.sync.inter.join
Classes in org.pipecraft.pipes.sync.inter.join that implement BasePipe Modifier and Type Class Description classHashJoinPipe<K,L,R>A pipe performing a join operation between a 'left' pipe of type L, and a list of 'right' pipes of type R.classLookupJoinPipe<K,L,R>A pipe performing a join operation between a 'left' pipe of type L, and a list of 'right' pipes of type R.classSortedJoinPipe<K,L,R>A pipe performing a join operation between a 'left' pipe of type L, and a list of 'right' pipes of type R. -
Uses of BasePipe in org.pipecraft.pipes.sync.inter.reduct
Classes in org.pipecraft.pipes.sync.inter.reduct that implement BasePipe Modifier and Type Class Description classHashReductorPipe<I,O>Scans the input pipe and performs a reduction operation on families of items based on some discriminating property.classListReductorPipe<S,T>Scans the input pipe and groups sequential items based on some discriminating property.classSequenceReductorPipe<I,O>Scans the input pipe and performs a reduction operation on a sequence of items with some discriminating property. -
Uses of BasePipe in org.pipecraft.pipes.sync.inter.sample
Classes in org.pipecraft.pipes.sync.inter.sample that implement BasePipe Modifier and Type Class Description classExactSamplerPipe<T>A pipe sampling exactly m items of an input pipe containing n items, where n is known in advance.classPortionSamplerPipe<T>A pipe sampling about x% of the incoming items. -
Uses of BasePipe in org.pipecraft.pipes.sync.source
Classes in org.pipecraft.pipes.sync.source that implement BasePipe Modifier and Type Class Description classBinInputReaderPipe<T>A source pipe reading items from a given binary input (file or input stream).classCollectionReaderPipe<T>A pipe based on a given collection of items.classEmptyPipe<T>A source pipe with no data in it.classErrorPipe<T>A source pipe with no data in it, which only produces a predefinedPipeException.classInputStreamPipe<T>A base class for source pipes based on some input stream.classIteratorReaderPipe<T>A pipe based on an iterator.classJdbcQueryResultsPipe<T>A source pipe reading rows from a DB query result set, and converting them to some entity typeclassMultiFileReaderPipe<T>A source pipe reading multiple local binary files.classMultiTxtFileReaderPipeReads data from multiple files in local disk under some folder, as if they were concatenated using some predefined order.classQueueReaderPipe<T>A source pipe reading the contents of aBlockingQueue.classReaderPipeA source pipe that reads lines from a given reader.classSeqGenPipe<T>A pipe based on a given sequence generator function.classStorageMultiFileReaderPipe<T,B>A source pipe reading multiple remote binary files from the cloud.classStorageMultiTxtFileReaderPipe<B>Reads data from multiple files in cloud storage under some folder, as if they were concatenated using some predefined order.classStorageTxtFileFetcherReaderPipeA source pipe providing the lines of a text file from cloud storage.classStorageTxtFileReaderPipeA source pipe providing the lines of a text file in someStorage, in a streaming manner.classTxtFileReaderPipeA source pipe reading lines from a given local text file or input stream containing text content.classURLTxtReaderPipeA source pipe providing the lines of a text resource defined by a URL. -
Uses of BasePipe in org.pipecraft.pipes.terminal
Classes in org.pipecraft.pipes.terminal that implement BasePipe Modifier and Type Class Description classAsyncCollectionWriterPipe<T>A terminal async pipe writing all contents from an input pipe into a given collection.classAsyncConsumerPipe<T>Consumes the contents of anAsyncPipe, blocking in the start() method until all data is read.classAsyncEnqueuingSharderPipe<T>A terminal pipe that receives an async pipe as input, and shards the contents of the input pipe into multiple queues according to some sharding criteria based on item values.classAsyncSharderByHashPipe<T>An async sharder pipe, writing items to files based on the hash value of individual items.classAsyncSharderPipe<T>A terminal pipe that receives an async pipe as input, and splits the contents of the input pipe into multiple files according to some sharding criteria based on individual items.classBinFileWriterPipe<T>A terminal pipe writing items to a local file in a binary format.classCollectionWriterPipe<T>A terminal pipe writing all contents from an input pipe into a given collection.classCompoundTerminalPipeA terminal pipe encapsulating a pipeline.classConsumerPipe<T>A terminal pipe that consumes all contents of the input pipe in a synchronous manner.classParallelConsumerPipeA terminal pipe that consumes multiple input pipes in a parallel manner, with a configurable number of threads.classPercentilePipe<T,C extends Comparable<C>>A terminal pipe that finds a given percentile p in the input pipe.classQueueWriterPipe<T>A terminal pipe writing items to aBlockingQueue.classSharderByHashPipe<T>A terminal pipe that splits the contents of the input pipe into multiple files, according to a hash on a some feature of the item.classSharderByItemPipe<T>A terminal pipe that splits the contents of the input pipe into multiple files, according to some sharding criteria based on each item.classSharderBySeqPipe<T>A terminal pipe that splits the contents of the input pipe according to some criteria which breaks the input pipe into disjoint contiguous sequences.classStorageTxtFileWriterPipeA terminal pipe writing text lines from the input pipe into a remote cloud storage file.classTerminalPipeBase class for terminal pipes, i.e.classTxtFileWriterPipeA terminal pipe writing text lines from the input pipe into a file.classWriterPipeA terminal pipe writing textual items to a givenWriter, one item per line.Constructors in org.pipecraft.pipes.terminal with parameters of type BasePipe Constructor Description ParallelConsumerPipe(int parallelism, BasePipe... inputs)ConstructorConstructor parameters in org.pipecraft.pipes.terminal with type arguments of type BasePipe Constructor Description ParallelConsumerPipe(int parallelism, Collection<? extends BasePipe> inputs)ConstructorParallelConsumerPipe(int parallelism, Collection<? extends BasePipe> inputs, Runnable terminationAction)Constructor -
Uses of BasePipe in org.pipecraft.pipes.utils
Methods in org.pipecraft.pipes.utils with parameters of type BasePipe Modifier and Type Method Description static voidPipeUtils. close(BasePipe... pipes)Closes the given pipes, ignoring errors.Method parameters in org.pipecraft.pipes.utils with type arguments of type BasePipe Modifier and Type Method Description static voidPipeUtils. close(Collection<? extends BasePipe> pipes)Closes the given pipes, ignoring errors.static floatPipeUtils. getAverageProgress(Collection<? extends BasePipe> pipes)static floatPipeUtils. getMaxProgress(Collection<? extends BasePipe> pipes)static floatPipeUtils. getMinProgress(Collection<? extends BasePipe> pipes)
-