Package io.hstream.internal
Interface RecordIdOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RecordId
,RecordId.Builder
public interface RecordIdOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getBatchId()
LSN of the total batch recordsint
getBatchIndex()
Offset of each record in the batchlong
getShardId()
uint64 shardId = 1;
-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getShardId
long getShardId()
uint64 shardId = 1;
- Returns:
- The shardId.
-
getBatchId
long getBatchId()
LSN of the total batch records
uint64 batchId = 2;
- Returns:
- The batchId.
-
getBatchIndex
int getBatchIndex()
Offset of each record in the batch
uint32 batchIndex = 3;
- Returns:
- The batchIndex.
-
-