Uses of Interface
org.gcube.data.streams.Stream

Packages that use Stream
org.gcube.data.streams   
org.gcube.data.streams.adapters   
org.gcube.data.streams.delegates   
org.gcube.data.streams.dsl   
org.gcube.data.streams.dsl.consume   
org.gcube.data.streams.dsl.fold   
org.gcube.data.streams.dsl.from   
org.gcube.data.streams.dsl.guard   
org.gcube.data.streams.dsl.listen   
org.gcube.data.streams.dsl.pipe   
org.gcube.data.streams.dsl.publish   
org.gcube.data.streams.dsl.unfold   
org.gcube.data.streams.publishers   
org.gcube.data.streams.test   
 

Uses of Stream in org.gcube.data.streams
 

Classes in org.gcube.data.streams that implement Stream
 class LookAheadStream<E>
          Partial Stream implementation based on look-ahead operations over an underlying stream.
 

Constructors in org.gcube.data.streams with parameters of type Stream
StreamConsumer(Stream<T> stream, Callback<T> callback)
          Creates an instance with a Stream and a Callback
 

Uses of Stream in org.gcube.data.streams.adapters
 

Classes in org.gcube.data.streams.adapters that implement Stream
 class IteratorStream<E>
          A Stream adapter for Iterators.
 class ResultsetStream<E extends Record>
          A Stream adapter for gRS2 resultsets.
 

Uses of Stream in org.gcube.data.streams.delegates
 

Classes in org.gcube.data.streams.delegates that implement Stream
 class FoldedStream<E>
          A Stream that folds into lists the elements of another Stream.
 class GuardedStream<E>
          A Stream that guards failures with a FaultHandler
 class MonitoredStream<E>
          A Stream that notifies an StreamListener of key iteration events.
 class PipedStream<E1,E2>
          A Stream of elements generated by the elements of an input Stream
 class UnfoldedStream<E1,E2>
          A Stream of elements generated by unfolding the elements of an input Stream into multiple elements.
 

Constructors in org.gcube.data.streams.delegates with parameters of type Stream
FoldedStream(Stream<E> stream, int foldSize)
          Creates an instance with a Stream and a fold size.
GuardedStream(Stream<E> stream, FaultHandler handler)
          Creates an instance with a Stream and a FaultHandler
MonitoredStream(Stream<E> stream, StreamListener listener)
          Creates an instance with a Stream and a StreamListener.
PipedStream(Stream<E1> stream, Generator<E1,E2> generator)
          Creates an instance with a Stream and an element Generator.
UnfoldedStream(Stream<E1> stream, Generator<E1,Stream<E2>> generator)
          Creates an instance with a Stream and an element Generator.
 

Constructor parameters in org.gcube.data.streams.delegates with type arguments of type Stream
UnfoldedStream(Stream<E1> stream, Generator<E1,Stream<E2>> generator)
          Creates an instance with a Stream and an element Generator.
 

Uses of Stream in org.gcube.data.streams.dsl
 

Methods in org.gcube.data.streams.dsl that return Stream
static
<E> Stream<E>
Streams.convert(E... elements)
          Converts one or more elements into a Stream.
static
<E> Stream<E>
Streams.convert(Iterable<E> iterable)
          Converts an Iterable to a Stream.
static
<E> Stream<E>
Streams.convert(Iterator<E> itarator)
          Converts an Iterator to a Stream.
static
<E> Stream<E>
Streams.convertWithFaults(Class<E> clazz, List<? extends Object> elements)
          Converts a mixture of exceptions and elements of a given type to a Stream of a that type.
static
<E> Stream<E>
Streams.convertWithFaults(Class<E> clazz, Object... elements)
          Converts a mixture of exceptions and elements of a given type to a Stream of a that type.
static
<E> Stream<E>
Streams.log(Stream<E> stream)
          Returns a Stream that logs the throughput of an input Stream.
 Stream<E> StreamClauseEnv.stream()
           
static Stream<String> Streams.stringsIn(URI locator)
          Returns a Stream of strings extracted from a resultset of RsStringRecordFactory.STRING_RECORDs.
 

Methods in org.gcube.data.streams.dsl with parameters of type Stream
static
<E> ConsumeWithClause<E>
Streams.consume(Stream<E> stream)
          Starts a sentence to consume a Stream
static
<E> InClause<E>
Streams.fold(Stream<E> stream)
          Starts a sentence to produce a Stream that groups of elements of another Stream.
static
<E> GuardWithClause<E>
Streams.guard(Stream<E> stream)
          Starts a sentence to produce a Stream that controls the error raised by another Stream.
static
<E> Stream<E>
Streams.log(Stream<E> stream)
          Returns a Stream that logs the throughput of an input Stream.
static
<E> MonitorWithClause<E>
Streams.monitor(Stream<E> stream)
          Starts a sentence to produce a Stream that notifies key events in the iteration of another Stream.
static
<E> NoOpGenerator<E>
Streams.no_op(Stream<E> stream)
          Returns a NoOpGenerator.
static
<E> PipeThroughClause<E>
Streams.pipe(Stream<E> stream)
          Starts a sentence to produce a Stream generated from another Stream.
static
<E> PublishRsUsingClause<E>
Streams.publish(Stream<E> stream)
          Starts a sentence to publish a Stream as a resultset.
static PublishRsWithClause<String> Streams.publishStringsIn(Stream<String> stream)
          Starts a sentence to publish a Stream as a resultset.
static
<E> UnfoldThroughClause<E>
Streams.unfold(Stream<E> stream)
          Starts a sentence to produce a Stream that unfolds the elements of another Stream.
 

Constructors in org.gcube.data.streams.dsl with parameters of type Stream
StreamClauseEnv(Stream<E> stream)
           
 

Uses of Stream in org.gcube.data.streams.dsl.consume
 

Constructors in org.gcube.data.streams.dsl.consume with parameters of type Stream
ConsumeWithClause(Stream<E> stream)
          Creates an instance from an input Stream
 

Uses of Stream in org.gcube.data.streams.dsl.fold
 

Constructors in org.gcube.data.streams.dsl.fold with parameters of type Stream
InClause(Stream<E> stream)
          Creates an instance with an input Stream.
 

Uses of Stream in org.gcube.data.streams.dsl.from
 

Methods in org.gcube.data.streams.dsl.from that return Stream
 Stream<String> RsStringWithClause.withDefaults()
          Returns a Stream with a ResultsetStream.default_timeout in a ResultsetStream.default_timeout_unit on the input resultset.
 Stream<R> RsWithClause.withDefaults()
          Returns a Stream with a ResultsetStream.default_timeout in a ResultsetStream.default_timeout_unit on the input resultset.
 Stream<String> RsStringWithClause.withTimeout(int timeout, TimeUnit unit)
          Returns a Stream with a given read timeout on the input resultset
 Stream<R> RsWithClause.withTimeout(int timeout, TimeUnit unit)
          Returns a Stream with a given read timeout on the input resultset.
 

Uses of Stream in org.gcube.data.streams.dsl.guard
 

Constructors in org.gcube.data.streams.dsl.guard with parameters of type Stream
GuardWithClause(Stream<E> stream)
          Creates an instance with an input Stream.
 

Uses of Stream in org.gcube.data.streams.dsl.listen
 

Constructors in org.gcube.data.streams.dsl.listen with parameters of type Stream
MonitorWithClause(Stream<E> stream)
          Creates an instance from an input Stream
 

Uses of Stream in org.gcube.data.streams.dsl.pipe
 

Constructors in org.gcube.data.streams.dsl.pipe with parameters of type Stream
PipeThroughClause(Stream<E> stream)
          Creates an instance from an input Stream
 

Uses of Stream in org.gcube.data.streams.dsl.publish
 

Constructors in org.gcube.data.streams.dsl.publish with parameters of type Stream
PublishRsEnv(Stream<E> stream)
          Creates an instance with a Stream
PublishRsEnv(Stream<E> stream, RecordFactory<E> factory)
          Creates an instance with a Stream and a RecordFactory
PublishRsUsingClause(Stream<E> stream)
          Creates an instance with an input Stream.
 

Uses of Stream in org.gcube.data.streams.dsl.unfold
 

Method parameters in org.gcube.data.streams.dsl.unfold with type arguments of type Stream
<E2> UnfoldedStream<E,E2>
UnfoldThroughClause.through(Generator<E,Stream<E2>> generator)
          Return a Stream configured with a given Generator.
 

Constructors in org.gcube.data.streams.dsl.unfold with parameters of type Stream
UnfoldThroughClause(Stream<E> stream)
          Creates an instance from an input Stream
 

Uses of Stream in org.gcube.data.streams.publishers
 

Constructors in org.gcube.data.streams.publishers with parameters of type Stream
RsPublisher(Stream<E> stream, Generator<E,String> serialiser)
          Creates an instance for a given Stream and with a given element serialiser.
RsPublisher(Stream<E> stream, RecordFactory<E> factory)
          Creates an instance for a given Stream and with a given RecordFactory.
 

Uses of Stream in org.gcube.data.streams.test
 

Methods in org.gcube.data.streams.test that return Stream
 Stream<?> StreamProvider.get()
          Generates a Stream
 

Methods in org.gcube.data.streams.test with parameters of type Stream
static List<Object> Utils.elementsOf(Stream<?> stream)
          Returns the elements of a Stream as a List, including failures.
 



Copyright © 2012. All Rights Reserved.