public interface StreamCut
extends java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
static StreamCut |
UNBOUNDED
This is used represents an unbounded StreamCut.
|
| Modifier and Type | Method and Description |
|---|---|
io.pravega.client.stream.impl.StreamCutInternal |
asImpl()
Used internally.
|
java.lang.String |
asText()
Obtains the compact base64 string representation of StreamCut.
|
static StreamCut |
from(java.lang.String base64String)
Obtains the a StreamCut object from its Base64 representation obtained via
asText(). |
static StreamCut |
fromBytes(java.nio.ByteBuffer cut)
Deserializes the cut from its serialized from obtained from calling
toBytes(). |
java.nio.ByteBuffer |
toBytes()
Serializes the cut to a compact byte array.
|
static final StreamCut UNBOUNDED
io.pravega.client.stream.impl.StreamCutInternal asImpl()
java.nio.ByteBuffer toBytes()
java.lang.String asText()
static StreamCut from(java.lang.String base64String)
asText().base64String - Base64 representation of StreamCut obtained using asText()