|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| 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
|
Streams.convert(E... elements)
Converts one or more elements into a Stream. |
|
static
|
Streams.convert(Iterable<E> iterable)
Converts an Iterable to a Stream. |
|
static
|
Streams.convert(Iterator<E> itarator)
Converts an Iterator to a Stream. |
|
static
|
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
|
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
|
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
|
Streams.consume(Stream<E> stream)
Starts a sentence to consume a Stream |
|
static
|
Streams.fold(Stream<E> stream)
Starts a sentence to produce a Stream that groups of elements of another Stream. |
|
static
|
Streams.guard(Stream<E> stream)
Starts a sentence to produce a Stream that controls the error raised by another Stream. |
|
static
|
Streams.log(Stream<E> stream)
Returns a Stream that logs the throughput of an input Stream. |
|
static
|
Streams.monitor(Stream<E> stream)
Starts a sentence to produce a Stream that notifies key events in the iteration of another Stream. |
|
static
|
Streams.no_op(Stream<E> stream)
Returns a NoOpGenerator. |
|
static
|
Streams.pipe(Stream<E> stream)
Starts a sentence to produce a Stream generated from another Stream. |
|
static
|
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
|
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 | ||
|---|---|---|
|
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. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||