public interface Clob
Modifier and Type | Method and Description |
---|---|
Publisher<Void> |
discard()
Release any resources held by the
Clob when not subscribing to the stream content . |
static Clob |
from(Publisher<? extends CharSequence> p)
|
Publisher<CharSequence> |
stream()
Returns the content stream as a
Publisher emitting CharSequence chunks. |
static Clob from(Publisher<? extends CharSequence> p)
Clob
wrapper that is backed by a Publisher
of CharSequence
or its subtypes.
The wrapper subscribes and cancels the subscription immediately on discard()
.p
- the backing Publisher
of CharSequence
.Clob
wrapperPublisher<CharSequence> stream()
Publisher
emitting CharSequence
chunks.
The content stream can be consumed ("subscribed to") only once. Subsequent consumptions result in a IllegalStateException
.
Once subscribed
, canceling
the subscription releases resources associated with this Clob
.
Publisher
emitting CharSequence
chunks.Publisher<Void> discard()
Clob
when not subscribing to the stream content
.Publisher
that termination is completeCopyright © 2021. All rights reserved.