Documentation ¶
Overview ¶
Copyright (c) 2023 Cisco and/or its affiliates. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at https://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
- func PartitionSnapshotHighestSupportedFlexVersion() int16
- func PartitionSnapshotHighestSupportedVersion() int16
- func PartitionSnapshotLowestSupportedFlexVersion() int16
- func PartitionSnapshotLowestSupportedVersion() int16
- type PartitionSnapshot
- func (o *PartitionSnapshot) Clear()
- func (o *PartitionSnapshot) CurrentLeader() partitionsnapshot.LeaderIdAndEpoch
- func (o *PartitionSnapshot) Equal(that *PartitionSnapshot) bool
- func (o *PartitionSnapshot) ErrorCode() int16
- func (o *PartitionSnapshot) Index() int32
- func (o *PartitionSnapshot) IsNil() bool
- func (o *PartitionSnapshot) MarshalJSON() ([]byte, error)
- func (o *PartitionSnapshot) Position() int64
- func (o *PartitionSnapshot) Read(buf *bytes.Reader, version int16) error
- func (o *PartitionSnapshot) Release()
- func (o *PartitionSnapshot) SetCurrentLeader(val partitionsnapshot.LeaderIdAndEpoch)
- func (o *PartitionSnapshot) SetDefault()
- func (o *PartitionSnapshot) SetErrorCode(val int16)
- func (o *PartitionSnapshot) SetIndex(val int32)
- func (o *PartitionSnapshot) SetPosition(val int64)
- func (o *PartitionSnapshot) SetSize(val int64)
- func (o *PartitionSnapshot) SetSnapshotId(val partitionsnapshot.SnapshotId)
- func (o *PartitionSnapshot) SetUnalignedRecords(val fields.RecordBatches)
- func (o *PartitionSnapshot) SetUnknownTaggedFields(val []fields.RawTaggedField)
- func (o *PartitionSnapshot) Size() int64
- func (o *PartitionSnapshot) SizeInBytes(version int16) (int, error)
- func (o *PartitionSnapshot) SnapshotId() partitionsnapshot.SnapshotId
- func (o *PartitionSnapshot) String() string
- func (o *PartitionSnapshot) UnalignedRecords() fields.RecordBatches
- func (o *PartitionSnapshot) UnknownTaggedFields() []fields.RawTaggedField
- func (o *PartitionSnapshot) Write(buf *typesbytes.SliceWriter, version int16) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PartitionSnapshotHighestSupportedFlexVersion ¶
func PartitionSnapshotHighestSupportedFlexVersion() int16
func PartitionSnapshotHighestSupportedVersion ¶
func PartitionSnapshotHighestSupportedVersion() int16
func PartitionSnapshotLowestSupportedFlexVersion ¶
func PartitionSnapshotLowestSupportedFlexVersion() int16
func PartitionSnapshotLowestSupportedVersion ¶
func PartitionSnapshotLowestSupportedVersion() int16
Types ¶
type PartitionSnapshot ¶
type PartitionSnapshot struct {
// contains filtered or unexported fields
}
func PartitionSnapshotDefault ¶
func PartitionSnapshotDefault() PartitionSnapshot
func (*PartitionSnapshot) Clear ¶
func (o *PartitionSnapshot) Clear()
func (*PartitionSnapshot) CurrentLeader ¶
func (o *PartitionSnapshot) CurrentLeader() partitionsnapshot.LeaderIdAndEpoch
func (*PartitionSnapshot) Equal ¶
func (o *PartitionSnapshot) Equal(that *PartitionSnapshot) bool
func (*PartitionSnapshot) ErrorCode ¶
func (o *PartitionSnapshot) ErrorCode() int16
func (*PartitionSnapshot) Index ¶
func (o *PartitionSnapshot) Index() int32
func (*PartitionSnapshot) IsNil ¶
func (o *PartitionSnapshot) IsNil() bool
func (*PartitionSnapshot) MarshalJSON ¶
func (o *PartitionSnapshot) MarshalJSON() ([]byte, error)
func (*PartitionSnapshot) Position ¶
func (o *PartitionSnapshot) Position() int64
func (*PartitionSnapshot) Read ¶
func (o *PartitionSnapshot) Read(buf *bytes.Reader, version int16) error
func (*PartitionSnapshot) Release ¶
func (o *PartitionSnapshot) Release()
Release releases the dynamically allocated fields of this object by returning then to object pools
func (*PartitionSnapshot) SetCurrentLeader ¶
func (o *PartitionSnapshot) SetCurrentLeader(val partitionsnapshot.LeaderIdAndEpoch)
func (*PartitionSnapshot) SetDefault ¶
func (o *PartitionSnapshot) SetDefault()
func (*PartitionSnapshot) SetErrorCode ¶
func (o *PartitionSnapshot) SetErrorCode(val int16)
func (*PartitionSnapshot) SetIndex ¶
func (o *PartitionSnapshot) SetIndex(val int32)
func (*PartitionSnapshot) SetPosition ¶
func (o *PartitionSnapshot) SetPosition(val int64)
func (*PartitionSnapshot) SetSize ¶
func (o *PartitionSnapshot) SetSize(val int64)
func (*PartitionSnapshot) SetSnapshotId ¶
func (o *PartitionSnapshot) SetSnapshotId(val partitionsnapshot.SnapshotId)
func (*PartitionSnapshot) SetUnalignedRecords ¶
func (o *PartitionSnapshot) SetUnalignedRecords(val fields.RecordBatches)
func (*PartitionSnapshot) SetUnknownTaggedFields ¶
func (o *PartitionSnapshot) SetUnknownTaggedFields(val []fields.RawTaggedField)
func (*PartitionSnapshot) Size ¶
func (o *PartitionSnapshot) Size() int64
func (*PartitionSnapshot) SizeInBytes ¶
func (o *PartitionSnapshot) SizeInBytes(version int16) (int, error)
SizeInBytes returns the size of this data structure in bytes when it's serialized
func (*PartitionSnapshot) SnapshotId ¶
func (o *PartitionSnapshot) SnapshotId() partitionsnapshot.SnapshotId
func (*PartitionSnapshot) String ¶
func (o *PartitionSnapshot) String() string
func (*PartitionSnapshot) UnalignedRecords ¶
func (o *PartitionSnapshot) UnalignedRecords() fields.RecordBatches
func (*PartitionSnapshot) UnknownTaggedFields ¶
func (o *PartitionSnapshot) UnknownTaggedFields() []fields.RawTaggedField
func (*PartitionSnapshot) Write ¶
func (o *PartitionSnapshot) Write(buf *typesbytes.SliceWriter, version int16) error
Click to show internal directories.
Click to hide internal directories.