public abstract class BlockAwareSegmentInputStream extends InputStream
| Constructor and Description |
|---|
BlockAwareSegmentInputStream() |
| Modifier and Type | Method and Description |
|---|---|
abstract int |
getBlockEntryBytesCount()
Get sum of entries data size read from the this InputStream.
|
abstract int |
getBlockEntryCount()
Get entry count that read out from this InputStream.
|
abstract int |
getBlockSize()
Get block size that could read out from this InputStream.
|
abstract long |
getEndEntryId()
Get end entry id contained in this InputStream.
|
abstract org.apache.bookkeeper.client.api.ReadHandle |
getLedger()
Get the ledger, from which this InputStream read data.
|
abstract long |
getStartEntryId()
Get start entry id contained in this InputStream.
|
available, close, mark, markSupported, read, read, read, reset, skippublic abstract org.apache.bookkeeper.client.api.ReadHandle getLedger()
public abstract long getStartEntryId()
public abstract int getBlockSize()
public abstract int getBlockEntryCount()
public abstract long getEndEntryId()
public abstract int getBlockEntryBytesCount()
Copyright © 2017–2022 Apache Software Foundation. All rights reserved.