FetchPartition class
Fetch position and byte limit for one manually selected partition.
Constructors
- FetchPartition(int partition, int fetchOffset, int partitionMaxBytes)
- Creates a selection; rejects negative indices/offsets or nonpositive limits.
Properties
- fetchOffset → int
-
Absolute log offset at which to begin reading, inclusive.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- partition → int
-
Zero-based partition index.
final
- partitionMaxBytes → int
-
Requested per-partition byte limit; an oversized first batch may exceed it.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toBytes(
) → List< int> - Encodes this structure without a request header or network size prefix.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited