A C D E F G H I L M N O P R S T U V W Y

A

as(Class<T1>) - Method in class org.gcube.data.streams.dsl.Faults.OngoingRethrowClause
Rethrows the fault with a narrower type, or wraps it in a RuntimeException if its type cannot be narrowed.
as(Class<T1>, Class<T2>) - Method in class org.gcube.data.streams.dsl.Faults.OngoingRethrowClause
Rethrows the fault with a narrower type, or wraps it in RuntimeException if its type cannot be narrowed.
as(Class<T1>, Class<T2>, Class<T3>) - Method in class org.gcube.data.streams.dsl.Faults.OngoingRethrowClause
Rethrows the fault with a narrower type, or wraps it in RuntimeException if its type cannot be narrowed.
as(Class<T1>, Class<T2>, Class<T3>, Class<T4>) - Method in class org.gcube.data.streams.dsl.Faults.OngoingRethrowClause
Rethrows the fault with a narrower type, or wraps it in RuntimeException if its type cannot be narrowed.

C

Callback<T> - Interface in org.gcube.data.streams
A callback for a StreamConsumer.
causeOf(RuntimeException) - Static method in class org.gcube.data.streams.dsl.Faults
Indicates a fault to be rethrown with a narrower type.
close() - Method in class org.gcube.data.streams.adapters.IteratorAdapter
Closes the underlying iterator.
close() - Method in class org.gcube.data.streams.adapters.IteratorStream
 
close() - Method in class org.gcube.data.streams.adapters.ResultsetStream
 
close() - Method in class org.gcube.data.streams.delegates.MonitoredStream
 
close() - Method in class org.gcube.data.streams.delegates.UnfoldedStream
 
close() - Method in interface org.gcube.data.streams.Stream
Closes the stream unconditionally, releasing any resources that it may be using.
consume(T) - Method in interface org.gcube.data.streams.Callback
Implement to consume an element of the stream.
consume(Stream<E>) - Static method in class org.gcube.data.streams.dsl.Streams
Starts a sentence to consume a Stream
ConsumeWithClause<E> - Class in org.gcube.data.streams.dsl.consume
The clause of consume sentences in which a Callback is configured on the input stream.
ConsumeWithClause(Stream<E>) - Constructor for class org.gcube.data.streams.dsl.consume.ConsumeWithClause
Creates an instance from an input Stream
convert(Iterator<E>) - Static method in class org.gcube.data.streams.dsl.Streams
Converts an Iterator to a Stream.
convert(IteratorAdapter<E>) - Static method in class org.gcube.data.streams.dsl.Streams
Converts a custom IteratorAdapter to a Stream.
convert(Iterable<E>) - Static method in class org.gcube.data.streams.dsl.Streams
Converts an Iterable to a Stream.
convert(E...) - Static method in class org.gcube.data.streams.dsl.Streams
Converts one or more elements into a Stream.
convert(URI) - Static method in class org.gcube.data.streams.dsl.Streams
Starts a sentence to convert a resultset into a Stream.
convertWithFaults(Class<E>, Object...) - Static method in class org.gcube.data.streams.dsl.Streams
Converts a mixture of exceptions and elements of a given type to a Stream of a that type.
convertWithFaults(Class<E>, List<? extends Object>) - Static method in class org.gcube.data.streams.dsl.Streams
Converts a mixture of exceptions and elements of a given type to a Stream of a that type.
CountingHandler - Class in org.gcube.data.streams.handlers
A partial implementation for FaultHandler that count failures and keep track of the last observed failure.
CountingHandler() - Constructor for class org.gcube.data.streams.handlers.CountingHandler
 

D

default_timeout - Static variable in class org.gcube.data.streams.adapters.ResultsetStream
 
default_timeout_unit - Static variable in class org.gcube.data.streams.adapters.ResultsetStream
 
definitions() - Method in interface org.gcube.data.streams.publishers.RecordFactory
Returns the definitions of the records.
definitions() - Method in class org.gcube.data.streams.publishers.RsStringRecordFactory
 
delegateHasNext() - Method in class org.gcube.data.streams.adapters.ResultsetStream
 
delegateHasNext() - Method in class org.gcube.data.streams.delegates.FoldedStream
 
delegateHasNext() - Method in class org.gcube.data.streams.delegates.GuardedStream
 
delegateHasNext() - Method in class org.gcube.data.streams.delegates.MonitoredStream
 
delegateHasNext() - Method in class org.gcube.data.streams.delegates.PipedStream
 
delegateHasNext() - Method in class org.gcube.data.streams.delegates.UnfoldedStream
 
delegateHasNext() - Method in class org.gcube.data.streams.LookAheadStream
Returns true if the underlying stream has more elements.
delegateNext() - Method in class org.gcube.data.streams.adapters.ResultsetStream
 
delegateNext() - Method in class org.gcube.data.streams.delegates.FoldedStream
 
delegateNext() - Method in class org.gcube.data.streams.delegates.GuardedStream
 
delegateNext() - Method in class org.gcube.data.streams.delegates.MonitoredStream
 
delegateNext() - Method in class org.gcube.data.streams.delegates.PipedStream
 
delegateNext() - Method in class org.gcube.data.streams.delegates.UnfoldedStream
 
delegateNext() - Method in class org.gcube.data.streams.LookAheadStream
Returns an element of the underlying stream

E

element - Variable in class org.gcube.data.streams.LookAheadStream
 
elementsOf(Stream<?>) - Static method in class org.gcube.data.streams.test.Utils
Returns the elements of a Stream as a List, including failures.
env - Variable in class org.gcube.data.streams.dsl.StreamClause
 

F

FallibleIterator<E> - Class in org.gcube.data.streams.test
An Iterator that can be staged to throw faults as well as elements.
FallibleIterator(Class<E>, List<? extends Object>) - Constructor for class org.gcube.data.streams.test.FallibleIterator
Creates an instance with a given type of the elements and given actual elements.
FaultHandler - Interface in org.gcube.data.streams.handlers
Handlers of Stream iteration failures.
Faults - Class in org.gcube.data.streams.dsl
A simple DSL for fault conversion.
Faults() - Constructor for class org.gcube.data.streams.dsl.Faults
 
Faults.OngoingRethrowClause - Class in org.gcube.data.streams.dsl
Fault narrowing clause;
Filter<E1,E2> - Class in org.gcube.data.streams.generators
A partial implementation of Filter that provides support for skipping elements
Filter() - Constructor for class org.gcube.data.streams.generators.Filter
 
fold(Stream<E>) - Static method in class org.gcube.data.streams.dsl.Streams
Starts a sentence to produce a Stream that groups of elements of another Stream.
FoldedStream<E> - Class in org.gcube.data.streams.delegates
A Stream that folds into lists the elements of another Stream.
FoldedStream(Stream<E>, int) - Constructor for class org.gcube.data.streams.delegates.FoldedStream
Creates an instance with a Stream and a fold size.

G

Generator<E1,E2> - Interface in org.gcube.data.streams.generators
Yields elements of a Stream from elements of another Stream.
get() - Method in interface org.gcube.data.streams.test.StreamProvider
Generates a Stream
guard(Stream<E>) - Static method in class org.gcube.data.streams.dsl.Streams
Starts a sentence to produce a Stream that controls the error raised by another Stream.
GuardedStream<E> - Class in org.gcube.data.streams.delegates
A Stream that guards failures with a FaultHandler
GuardedStream(Stream<E>, FaultHandler) - Constructor for class org.gcube.data.streams.delegates.GuardedStream
Creates an instance with a Stream and a FaultHandler
GuardWithClause<E> - Class in org.gcube.data.streams.dsl.guard
The clause of fold sentences of the Stream DSL in which a FaultHandler is configured on the output stream.
GuardWithClause(Stream<E>) - Constructor for class org.gcube.data.streams.dsl.guard.GuardWithClause
Creates an instance with an input Stream.

H

handle(RuntimeException) - Method in class org.gcube.data.streams.handlers.CountingHandler
 
handle(Exception, Exception, int) - Method in class org.gcube.data.streams.handlers.CountingHandler
Indicates whether iteration should continue or stop the iteration on the occurrence of an iteration failure.
handle(RuntimeException) - Method in interface org.gcube.data.streams.handlers.FaultHandler
Indicates whether iteration should continue or stop the iteration on the occurrence of an iteration failure.
handle(RuntimeException) - Method in class org.gcube.data.streams.handlers.IgnoreHandler
 
handle(RuntimeException) - Method in class org.gcube.data.streams.handlers.RethrowHandler
 
handle(RuntimeException) - Method in class org.gcube.data.streams.handlers.RethrowUnrecoverableHandler
 
handle(RuntimeException) - Method in class org.gcube.data.streams.handlers.StopFastHandler
 
handle(RuntimeException) - Method in class org.gcube.data.streams.handlers.StopUnrecoverableHandler
 
hasNext() - Method in class org.gcube.data.streams.adapters.IteratorStream
 
hasNext - Variable in class org.gcube.data.streams.LookAheadStream
 
hasNext() - Method in class org.gcube.data.streams.LookAheadStream
 
hasNext() - Method in interface org.gcube.data.streams.Stream
 
hasNext() - Method in class org.gcube.data.streams.test.FallibleIterator
 

I

IGNORE_POLICY - Static variable in class org.gcube.data.streams.dsl.Streams
A IgnoreHandler for failure handling.
IgnoreHandler - Class in org.gcube.data.streams.handlers
A FaultHandler that silently absorbs all failures.
IgnoreHandler() - Constructor for class org.gcube.data.streams.handlers.IgnoreHandler
 
in(int) - Method in class org.gcube.data.streams.dsl.fold.InClause
Returns a Stream that folds the element of the input Stream in lists of a given size.
InClause<E> - Class in org.gcube.data.streams.dsl.fold
The clause of fold sentences in which a fold size is configured for the output stream.
InClause(Stream<E>) - Constructor for class org.gcube.data.streams.dsl.fold.InClause
Creates an instance with an input Stream.
initialiseRS() - Static method in class org.gcube.data.streams.Utils
Initialises gRS2 library.
isClosed() - Method in class org.gcube.data.streams.adapters.IteratorStream
 
isClosed() - Method in class org.gcube.data.streams.adapters.ResultsetStream
 
isClosed() - Method in interface org.gcube.data.streams.Stream
Returns true if the stream has been closed.
isContingency(Throwable) - Static method in class org.gcube.data.streams.Utils
Indicates whether a failure or its indirect causes are annotated with StreamContingency.
iteration - Static variable in interface org.gcube.data.streams.Callback
The ongoing iteration.
iteration - Static variable in interface org.gcube.data.streams.generators.Generator
The ongoing iteration.
iteration - Static variable in interface org.gcube.data.streams.handlers.FaultHandler
The ongoing iteration.
Iteration - Class in org.gcube.data.streams
A model of a Stream iteration, with facilities to control it from within Callbacks and FaultHandlers.
Iteration() - Constructor for class org.gcube.data.streams.Iteration
 
iteration - Static variable in interface org.gcube.data.streams.publishers.RecordFactory
The ongoing iteration.
IteratorAdapter<E> - Class in org.gcube.data.streams.adapters
An adaptation strategy for IteratorStream.
IteratorAdapter(Iterator<E>) - Constructor for class org.gcube.data.streams.adapters.IteratorAdapter
Creates an instance from a given Iterator.
IteratorStream<E> - Class in org.gcube.data.streams.adapters
A Stream adapter for Iterators.
IteratorStream(IteratorAdapter<E>) - Constructor for class org.gcube.data.streams.adapters.IteratorStream
Creates an instance that adapts a given IteratorAdapter.
IteratorStream(Iterator<E>) - Constructor for class org.gcube.data.streams.adapters.IteratorStream
Creates an instance that adapts a given Iterator with a default IteratorAdapter.

L

locator() - Method in class org.gcube.data.streams.adapters.IteratorAdapter
Returns a locator for the underlying iterator.
locator() - Method in class org.gcube.data.streams.adapters.IteratorStream
 
locator() - Method in class org.gcube.data.streams.adapters.ResultsetStream
 
locator() - Method in interface org.gcube.data.streams.Stream
Returns the stream locator.
log(Stream<E>) - Static method in class org.gcube.data.streams.dsl.Streams
Returns a Stream that logs the throughput of an input Stream.
LoggingListener<E> - Class in org.gcube.data.streams.generators
A pass-through Generator that acts as a StreamListener for throughput logging purposes.
LoggingListener() - Constructor for class org.gcube.data.streams.generators.LoggingListener
 
LookAheadStream<E> - Class in org.gcube.data.streams
Partial Stream implementation based on look-ahead operations over an underlying stream.
LookAheadStream() - Constructor for class org.gcube.data.streams.LookAheadStream
 

M

monitor(Stream<E>) - Static method in class org.gcube.data.streams.dsl.Streams
Starts a sentence to produce a Stream that notifies key events in the iteration of another Stream.
MonitoredStream<E> - Class in org.gcube.data.streams.delegates
A Stream that notifies an StreamListener of key iteration events.
MonitoredStream(Stream<E>, StreamListener) - Constructor for class org.gcube.data.streams.delegates.MonitoredStream
Creates an instance with a Stream and a StreamListener.
MonitorWithClause<E> - Class in org.gcube.data.streams.dsl.listen
The clause of guard sentences in which a StreamListener is configured on the stream.
MonitorWithClause(Stream<E>) - Constructor for class org.gcube.data.streams.dsl.listen.MonitorWithClause
Creates an instance from an input Stream

N

newRecord(E) - Method in interface org.gcube.data.streams.publishers.RecordFactory
Generates a Record from a Stream element.
newRecord(E) - Method in class org.gcube.data.streams.publishers.RsStringRecordFactory
 
newThread(Runnable) - Method in interface org.gcube.data.streams.publishers.ThreadProvider
Provides a new Thread in which to execute the publication task.
next() - Method in class org.gcube.data.streams.adapters.IteratorStream
 
next() - Method in class org.gcube.data.streams.LookAheadStream
 
next() - Method in interface org.gcube.data.streams.Stream
 
next() - Method in class org.gcube.data.streams.test.FallibleIterator
 
no_op(Stream<E>) - Static method in class org.gcube.data.streams.dsl.Streams
Returns a NoOpGenerator.
no_serialiser - Static variable in class org.gcube.data.streams.dsl.Streams
A NoOpGenerator.
nonstop() - Method in class org.gcube.data.streams.dsl.publish.PublishRsWithClause
Configures publication to continue consuming the input Stream after the expiry of the publishing timeout.
NoOpGenerator<E> - Class in org.gcube.data.streams.generators
A pass-through Generator.
NoOpGenerator() - Constructor for class org.gcube.data.streams.generators.NoOpGenerator
 

O

of(Class<R2>) - Method in class org.gcube.data.streams.dsl.from.RsOfClause
Configures the type of records in the input resultset
ofStrings() - Method in class org.gcube.data.streams.dsl.from.RsOfClause
Configures the type of records in the input result set to RsStringRecordFactory.STRING_RECORD.
onClose() - Method in interface org.gcube.data.streams.delegates.StreamListener
Invoked then stream is closed.
onClose() - Method in class org.gcube.data.streams.delegates.StreamListenerAdapter
 
onClose() - Method in class org.gcube.data.streams.generators.LoggingListener
Invoked then stream is closed.
onEnd() - Method in interface org.gcube.data.streams.delegates.StreamListener
Invoked after the last element of the target Stream has been iterated over.
onEnd() - Method in class org.gcube.data.streams.delegates.StreamListenerAdapter
 
onStart() - Method in interface org.gcube.data.streams.delegates.StreamListener
Invoked after the first element of the target Stream has been iterated over.
onStart() - Method in class org.gcube.data.streams.delegates.StreamListenerAdapter
 
onStart() - Method in class org.gcube.data.streams.generators.LoggingListener
Invoked after the first element of the target Stream has been iterated over.
org.gcube.data.streams - package org.gcube.data.streams
 
org.gcube.data.streams.adapters - package org.gcube.data.streams.adapters
 
org.gcube.data.streams.delegates - package org.gcube.data.streams.delegates
 
org.gcube.data.streams.dsl - package org.gcube.data.streams.dsl
 
org.gcube.data.streams.dsl.consume - package org.gcube.data.streams.dsl.consume
 
org.gcube.data.streams.dsl.fold - package org.gcube.data.streams.dsl.fold
 
org.gcube.data.streams.dsl.from - package org.gcube.data.streams.dsl.from
 
org.gcube.data.streams.dsl.guard - package org.gcube.data.streams.dsl.guard
 
org.gcube.data.streams.dsl.listen - package org.gcube.data.streams.dsl.listen
 
org.gcube.data.streams.dsl.pipe - package org.gcube.data.streams.dsl.pipe
 
org.gcube.data.streams.dsl.publish - package org.gcube.data.streams.dsl.publish
 
org.gcube.data.streams.dsl.unfold - package org.gcube.data.streams.dsl.unfold
 
org.gcube.data.streams.exceptions - package org.gcube.data.streams.exceptions
 
org.gcube.data.streams.generators - package org.gcube.data.streams.generators
 
org.gcube.data.streams.handlers - package org.gcube.data.streams.handlers
 
org.gcube.data.streams.publishers - package org.gcube.data.streams.publishers
 
org.gcube.data.streams.test - package org.gcube.data.streams.test
 

P

pipe(Stream<E>) - Static method in class org.gcube.data.streams.dsl.Streams
Starts a sentence to produce a Stream generated from another Stream.
PipedStream<E1,E2> - Class in org.gcube.data.streams.delegates
A Stream of elements generated by the elements of an input Stream
PipedStream(Stream<E1>, Generator<E1, E2>) - Constructor for class org.gcube.data.streams.delegates.PipedStream
Creates an instance with a Stream and an element Generator.
PipeThroughClause<E> - Class in org.gcube.data.streams.dsl.pipe
The clause of pipe sentences in which a Generator is configured on the output stream.
PipeThroughClause(Stream<E>) - Constructor for class org.gcube.data.streams.dsl.pipe.PipeThroughClause
Creates an instance from an input Stream
process(E) - Method in class org.gcube.data.streams.generators.Processor
Processes an element of a Stream.
Processor<E> - Class in org.gcube.data.streams.generators
A Filter that changes the elements of the input Stream.
Processor() - Constructor for class org.gcube.data.streams.generators.Processor
 
publish(Stream<E>) - Static method in class org.gcube.data.streams.dsl.Streams
Starts a sentence to publish a Stream as a resultset.
publish() - Method in class org.gcube.data.streams.publishers.RsPublisher
 
publish() - Method in interface org.gcube.data.streams.publishers.StreamPublisher
Publishes the stream and returns its address.
PublishRsEnv<E> - Class in org.gcube.data.streams.dsl.publish
The StreamClauseEnv in which publish sentences are evaluated.
PublishRsEnv(Stream<E>) - Constructor for class org.gcube.data.streams.dsl.publish.PublishRsEnv
Creates an instance with a Stream
PublishRsEnv(Stream<E>, RecordFactory<E>) - Constructor for class org.gcube.data.streams.dsl.publish.PublishRsEnv
Creates an instance with a Stream and a RecordFactory
PublishRsUsingClause<E> - Class in org.gcube.data.streams.dsl.publish
The clause of publish sentences in which the type of Records is configured on the output resultset.
PublishRsUsingClause(Stream<E>) - Constructor for class org.gcube.data.streams.dsl.publish.PublishRsUsingClause
Creates an instance with an input Stream.
PublishRsWithClause<E> - Class in org.gcube.data.streams.dsl.publish
The clause of publish sentences in which the output resultset is configured.
PublishRsWithClause(PublishRsEnv<E>) - Constructor for class org.gcube.data.streams.dsl.publish.PublishRsWithClause
Creates an instance with the PublishRsEnv of the ongoing sentence.
publishStringsIn(Stream<String>) - Static method in class org.gcube.data.streams.dsl.Streams
Starts a sentence to publish a Stream as a resultset.

R

RecordFactory<E> - Interface in org.gcube.data.streams.publishers
Generates Records from the elements of a Stream.
remove() - Method in class org.gcube.data.streams.adapters.IteratorStream
 
remove() - Method in class org.gcube.data.streams.adapters.ResultsetStream
 
remove() - Method in class org.gcube.data.streams.test.FallibleIterator
 
ResultsetStream<E extends gr.uoa.di.madgik.grs.record.Record> - Class in org.gcube.data.streams.adapters
A Stream adapter for gRS2 resultsets.
ResultsetStream(URI) - Constructor for class org.gcube.data.streams.adapters.ResultsetStream
Creates a new instance with a result set locator.
RETHROW_POLICY - Static variable in class org.gcube.data.streams.dsl.Streams
A RethrowHandler for failure handling.
RETHROW_UNRECOVERABLE_POLICY - Static variable in class org.gcube.data.streams.dsl.Streams
A RethrowUnrecoverableHandler for failure handling.
RethrowHandler - Class in org.gcube.data.streams.handlers
A FaultHandler that rethrows all failures (i.e.
RethrowHandler() - Constructor for class org.gcube.data.streams.handlers.RethrowHandler
 
RethrowUnrecoverableHandler - Class in org.gcube.data.streams.handlers
A FaultHandler that silently absorbs StreamContingencys but re-throws all other failures.
RethrowUnrecoverableHandler() - Constructor for class org.gcube.data.streams.handlers.RethrowUnrecoverableHandler
 
RsOfClause<R extends gr.uoa.di.madgik.grs.record.Record> - Class in org.gcube.data.streams.dsl.from
A RsClause in which the record type of the input resultset is configured.
RsOfClause(URI) - Constructor for class org.gcube.data.streams.dsl.from.RsOfClause
Creates an instance from a resultset.
RsPublisher<E> - Class in org.gcube.data.streams.publishers
Publishes Streams as resultsets.
RsPublisher(Stream<E>, Generator<E, String>) - Constructor for class org.gcube.data.streams.publishers.RsPublisher
Creates an instance for a given Stream and with a given element serialiser.
RsPublisher(Stream<E>, RecordFactory<E>) - Constructor for class org.gcube.data.streams.publishers.RsPublisher
Creates an instance for a given Stream and with a given RecordFactory.
RsStringRecordFactory<E> - Class in org.gcube.data.streams.publishers
A RecordFactory for RsStringRecordFactory.STRING_RECORDs with serialisations of Stream elements.
RsStringRecordFactory(Generator<E, String>) - Constructor for class org.gcube.data.streams.publishers.RsStringRecordFactory
Creates an instance with a Generator that returns serialisations of Stream elements.
RsStringWithClause - Class in org.gcube.data.streams.dsl.from
A RsClause in which the adapter of the input resultset is configured.
RsStringWithClause(RsEnv<GenericRecord>) - Constructor for class org.gcube.data.streams.dsl.from.RsStringWithClause
Creates an instance with a RsEnv.
RsTransport - Enum in org.gcube.data.streams.publishers
The transport used by a RsPublisher.
RsWithClause<R extends gr.uoa.di.madgik.grs.record.Record> - Class in org.gcube.data.streams.dsl.from
A RsClause in which the adapter of the input resultset is configured.
RsWithClause(RsEnv<R>) - Constructor for class org.gcube.data.streams.dsl.from.RsWithClause
Creates an instance with a RsEnv.

S

setBufferSize(int) - Method in class org.gcube.data.streams.publishers.RsPublisher
Sets the size of the write buffer.
setFaultHandler(FaultHandler) - Method in class org.gcube.data.streams.publishers.RsPublisher
Sets the FaultHandler for reading and writing failures.
setHandler(FaultHandler) - Method in class org.gcube.data.streams.LookAheadStream
Sets the FaultHandler for the iteration
setOnDemand(boolean) - Method in class org.gcube.data.streams.publishers.RsPublisher
Sets the production mode of the publiher
setThreadProvider(ThreadProvider) - Method in class org.gcube.data.streams.publishers.RsPublisher
Sets the ThreadProvider used to populate the resultset.
setTimeout(long, TimeUnit) - Method in class org.gcube.data.streams.adapters.ResultsetStream
 
setTimeout(long, TimeUnit) - Method in class org.gcube.data.streams.publishers.RsPublisher
Sets the time to wait on a full write buffer.
setTransport(RsTransport) - Method in class org.gcube.data.streams.publishers.RsPublisher
Sets the resultset transport.
skip() - Method in class org.gcube.data.streams.generators.Filter
Invoked to skip the current element.
skip() - Method in class org.gcube.data.streams.Iteration
Skip this element of the ongoing iteration.
start() - Method in class org.gcube.data.streams.StreamConsumer
Starts the iteration.
stop() - Method in class org.gcube.data.streams.Iteration
Stops the ongoing iteration.
STOPFAST_POLICY - Static variable in class org.gcube.data.streams.dsl.Streams
A StopFastHandler for failure handling.
StopFastHandler - Class in org.gcube.data.streams.handlers
A FaultHandler that silently stops iteration at the first occurrence of any failure.
StopFastHandler() - Constructor for class org.gcube.data.streams.handlers.StopFastHandler
 
StopUnrecoverableHandler - Class in org.gcube.data.streams.handlers
A FaultHandler that silently absorbs StreamContingencys and stops iteration at the first unrecoverable failure.
StopUnrecoverableHandler() - Constructor for class org.gcube.data.streams.handlers.StopUnrecoverableHandler
 
stream() - Method in class org.gcube.data.streams.dsl.StreamClauseEnv
 
Stream<E> - Interface in org.gcube.data.streams
An Iterator over the elements of a dataset of arbitrary origin, including memory, secondary storage, and network.
StreamClause<E,ENV extends StreamClauseEnv<E>> - Class in org.gcube.data.streams.dsl
Base implementation for clauses of Stream sentences.
StreamClause(ENV) - Constructor for class org.gcube.data.streams.dsl.StreamClause
Creates an instance with a given evaluation environment.
StreamClauseEnv<E> - Class in org.gcube.data.streams.dsl
The environment in which a Stream sentence is evaluated.
StreamClauseEnv(Stream<E>) - Constructor for class org.gcube.data.streams.dsl.StreamClauseEnv
 
StreamConsumer<T> - Class in org.gcube.data.streams
A generic Stream consumer that delegates element processing and failure handling to a Callback.
StreamConsumer(Stream<T>, Callback<T>) - Constructor for class org.gcube.data.streams.StreamConsumer
Creates an instance with a Stream and a Callback
StreamContingency - Annotation Type in org.gcube.data.streams.exceptions
Intended for Exception classes to mark them as unrecoverable for iteration purposes.
StreamException - Exception in org.gcube.data.streams.exceptions
A failure that occurs when first accessing a Stream.
StreamException() - Constructor for exception org.gcube.data.streams.exceptions.StreamException
Creates an instance.
StreamException(Throwable) - Constructor for exception org.gcube.data.streams.exceptions.StreamException
Creates an instance with a given cause.
StreamException(String, Throwable) - Constructor for exception org.gcube.data.streams.exceptions.StreamException
Creates an instance with a given message and a given cause.
StreamListener - Interface in org.gcube.data.streams.delegates
A listener of key events in the iteration of a target Stream.
StreamListenerAdapter - Class in org.gcube.data.streams.delegates
Adapter implementation for StreamListener.
StreamListenerAdapter() - Constructor for class org.gcube.data.streams.delegates.StreamListenerAdapter
 
StreamOpenException - Exception in org.gcube.data.streams.exceptions
A failure that occurs when a Stream cannot be opened.
StreamOpenException(Throwable) - Constructor for exception org.gcube.data.streams.exceptions.StreamOpenException
Creates an instance with a given cause.
StreamOpenException(String, Throwable) - Constructor for exception org.gcube.data.streams.exceptions.StreamOpenException
Creates an instance with a given message and a given cause.
StreamProvider - Interface in org.gcube.data.streams.test
Generates a Stream for testing purposes.
StreamPublisher - Interface in org.gcube.data.streams.publishers
Publishes a Stream at a given address.
StreamPublishException - Exception in org.gcube.data.streams.exceptions
A failure that occurs when a Stream cannot be published.
StreamPublishException(Throwable) - Constructor for exception org.gcube.data.streams.exceptions.StreamPublishException
Creates an instance with a given cause.
StreamPublishException(String, Throwable) - Constructor for exception org.gcube.data.streams.exceptions.StreamPublishException
Creates an instance with a given message and a given cause.
Streams - Class in org.gcube.data.streams.dsl
The definitions of an eDSL of stream and stream-related expressions.
Streams() - Constructor for class org.gcube.data.streams.dsl.Streams
 
StreamSkipSignal - Exception in org.gcube.data.streams.exceptions
Used in Generators or FaultHandlers to signals that the current element of a Stream should be skipped.
StreamSkipSignal() - Constructor for exception org.gcube.data.streams.exceptions.StreamSkipSignal
Creates an instance.
StreamStopSignal - Exception in org.gcube.data.streams.exceptions
Used internally by FaultHandlers and Callbacks to require the premature end of an iteration over a Stream
StreamStopSignal() - Constructor for exception org.gcube.data.streams.exceptions.StreamStopSignal
 
STRING_RECORD - Static variable in class org.gcube.data.streams.publishers.RsStringRecordFactory
The type definition of a record with a string-valued payload field.
stringsIn(URI) - Static method in class org.gcube.data.streams.dsl.Streams
Returns a Stream of strings extracted from a resultset of RsStringRecordFactory.STRING_RECORDs.

T

ThreadProvider - Interface in org.gcube.data.streams.publishers
Provides Threads for the asynchronous publicaton of Stream.
through(Generator<E, E2>) - Method in class org.gcube.data.streams.dsl.pipe.PipeThroughClause
Return a Stream configured with a given Generator.
through(Generator<E, Stream<E2>>) - Method in class org.gcube.data.streams.dsl.unfold.UnfoldThroughClause
Return a Stream configured with a given Generator.

U

unfold(Stream<E>) - Static method in class org.gcube.data.streams.dsl.Streams
Starts a sentence to produce a Stream that unfolds the elements of another Stream.
UnfoldedStream<E1,E2> - Class in org.gcube.data.streams.delegates
A Stream of elements generated by unfolding the elements of an input Stream into multiple elements.
UnfoldedStream(Stream<E1>, Generator<E1, Stream<E2>>) - Constructor for class org.gcube.data.streams.delegates.UnfoldedStream
Creates an instance with a Stream and an element Generator.
UnfoldThroughClause<E> - Class in org.gcube.data.streams.dsl.unfold
The clause of unfold sentences in which a Generator is configured on the output stream.
UnfoldThroughClause(Stream<E>) - Constructor for class org.gcube.data.streams.dsl.unfold.UnfoldThroughClause
Creates an instance from an input Stream
using(Generator<E, String>) - Method in class org.gcube.data.streams.dsl.publish.PublishRsUsingClause
Configures a serialiser for the elements of the input Stream.
using(RecordFactory<E>) - Method in class org.gcube.data.streams.dsl.publish.PublishRsUsingClause
Configures a RecordFactory for the elements of the input Stream.
Utils - Class in org.gcube.data.streams.test
Collection of test facilities to validate Stream implementation and their usage.
Utils() - Constructor for class org.gcube.data.streams.test.Utils
 
Utils - Class in org.gcube.data.streams
Library utils.
Utils() - Constructor for class org.gcube.data.streams.Utils
 

V

validateWith(StreamProvider) - Static method in class org.gcube.data.streams.test.Utils
Applies a set of sets to test a stream respects the constraints defined by the interface.
valueOf(String) - Static method in enum org.gcube.data.streams.publishers.RsTransport
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.gcube.data.streams.publishers.RsTransport
Returns an array containing the constants of this enum type, in the order they are declared.

W

with(Callback<E>) - Method in class org.gcube.data.streams.dsl.consume.ConsumeWithClause
Return a Stream configured with a given Callback.
with(FaultHandler) - Method in class org.gcube.data.streams.dsl.guard.GuardWithClause
Returns a Stream with configured with a given FaultHandler.
with(StreamListener) - Method in class org.gcube.data.streams.dsl.listen.MonitorWithClause
Return a Stream configured with a given StreamListener.
with(ThreadProvider) - Method in class org.gcube.data.streams.dsl.publish.PublishRsWithClause
Configures a ThreadProvider for the publishing thread.
with(FaultHandler) - Method in class org.gcube.data.streams.dsl.publish.PublishRsWithClause
Configures a FaultHandler for publication and returns the locator of the resultset.
withBufferOf(int) - Method in class org.gcube.data.streams.dsl.publish.PublishRsWithClause
Configures the element capacity of the resultset buffer.
withDefaults() - Method in class org.gcube.data.streams.dsl.from.RsStringWithClause
Returns a Stream with a default_timeout in a default_timeout_unit on the input resultset.
withDefaults() - Method in class org.gcube.data.streams.dsl.from.RsWithClause
Returns a Stream with a default_timeout in a default_timeout_unit on the input resultset.
withDefaults() - Method in class org.gcube.data.streams.dsl.publish.PublishRsWithClause
Returns the locator of the resultset.
withTimeout(int, TimeUnit) - Method in class org.gcube.data.streams.dsl.from.RsStringWithClause
Returns a Stream with a given read timeout on the input resultset
withTimeout(int, TimeUnit) - Method in class org.gcube.data.streams.dsl.from.RsWithClause
Returns a Stream with a given read timeout on the input resultset.
withTimeoutOf(int, TimeUnit) - Method in class org.gcube.data.streams.dsl.publish.PublishRsWithClause
Configures the publishing timeout of the resultset.

Y

yield(E1) - Method in interface org.gcube.data.streams.generators.Generator
Yields an element of a Stream from an element of another Stream.
yield(E) - Method in class org.gcube.data.streams.generators.LoggingListener
Yields an element of a Stream from an element of another Stream.
yield(E) - Method in class org.gcube.data.streams.generators.NoOpGenerator
 
yield(E) - Method in class org.gcube.data.streams.generators.Processor
 

A C D E F G H I L M N O P R S T U V W Y

Copyright © 2012. All Rights Reserved.