Uses of Interface
org.apache.pinot.spi.stream.StreamPartitionMsgOffset
-
Packages that use StreamPartitionMsgOffset Package Description org.apache.pinot.spi.stream -
-
Uses of StreamPartitionMsgOffset in org.apache.pinot.spi.stream
Classes in org.apache.pinot.spi.stream that implement StreamPartitionMsgOffset Modifier and Type Class Description classLongMsgOffsetMethods in org.apache.pinot.spi.stream that return StreamPartitionMsgOffset Modifier and Type Method Description default StreamPartitionMsgOffsetPartitionGroupConsumer. checkpoint(StreamPartitionMsgOffset lastOffset)Checkpoints the consumption state of the stream partition group in the source This is useful in streaming systems that require preserving consumption state on the source in order to resume or replay consumption of data.StreamPartitionMsgOffsetLongMsgOffsetFactory. create(String offsetStr)StreamPartitionMsgOffsetLongMsgOffsetFactory. create(StreamPartitionMsgOffset other)StreamPartitionMsgOffsetStreamPartitionMsgOffsetFactory. create(String offsetStr)Construct an offset from the string provided.StreamPartitionMsgOffsetStreamPartitionMsgOffsetFactory. create(StreamPartitionMsgOffset other)Construct an offset from another one provided, of the same type.StreamPartitionMsgOffsetStreamMetadataProvider. fetchStreamPartitionOffset(OffsetCriteria offsetCriteria, long timeoutMillis)Fetches the offset for a given partition and offset criteriaStreamPartitionMsgOffsetLongMsgOffset. fromString(String longOffset)StreamPartitionMsgOffsetStreamPartitionMsgOffset. fromString(String streamPartitionMsgOffsetStr)Converts the string to aStreamPartitionMsgOffsetStreamPartitionMsgOffsetConsumerPartitionState. getCurrentOffset()StreamPartitionMsgOffsetPartitionGroupConsumptionStatus. getEndOffset()default StreamPartitionMsgOffsetMessageBatch. getNextStreamPartitionMsgOffsetAtIndex(int index)Returns the offset of the next message.default StreamPartitionMsgOffsetMessageBatch. getOffsetOfNextBatch()StreamPartitionMsgOffsetPartitionGroupConsumptionStatus. getStartOffset()StreamPartitionMsgOffsetPartitionGroupMetadata. getStartOffset()StreamPartitionMsgOffsetConsumerPartitionState. getUpstreamLatestOffset()Methods in org.apache.pinot.spi.stream with parameters of type StreamPartitionMsgOffset Modifier and Type Method Description default StreamPartitionMsgOffsetPartitionGroupConsumer. checkpoint(StreamPartitionMsgOffset lastOffset)Checkpoints the consumption state of the stream partition group in the source This is useful in streaming systems that require preserving consumption state on the source in order to resume or replay consumption of data.intLongMsgOffset. compareTo(StreamPartitionMsgOffset other)StreamPartitionMsgOffsetLongMsgOffsetFactory. create(StreamPartitionMsgOffset other)StreamPartitionMsgOffsetStreamPartitionMsgOffsetFactory. create(StreamPartitionMsgOffset other)Construct an offset from another one provided, of the same type.MessageBatchPartitionGroupConsumer. fetchMessages(StreamPartitionMsgOffset startOffset, StreamPartitionMsgOffset endOffset, int timeoutMs)Return messages from the stream partition group within the specified timeout The message may be fetched by actively polling the source or by retrieving from a pre-fetched buffer.default MessageBatchPartitionLevelConsumer. fetchMessages(StreamPartitionMsgOffset startOffset, StreamPartitionMsgOffset endOffset, int timeoutMillis)Fetch messages and the per-partition high watermark from Kafka between the specified offsets.voidPartitionGroupConsumptionStatus. setEndOffset(StreamPartitionMsgOffset endOffset)voidPartitionGroupConsumptionStatus. setStartOffset(StreamPartitionMsgOffset startOffset)default voidPartitionGroupConsumer. start(StreamPartitionMsgOffset startOffset)Starts a stream consumer This is useful in cases where starting the consumer involves preparing / initializing the source.Constructors in org.apache.pinot.spi.stream with parameters of type StreamPartitionMsgOffset Constructor Description ConsumerPartitionState(String partitionId, StreamPartitionMsgOffset currentOffset, long lastProcessedTimeMs, StreamPartitionMsgOffset upstreamLatestOffset, RowMetadata lastProcessedRowMetadata)LongMsgOffset(StreamPartitionMsgOffset other)PartitionGroupConsumptionStatus(int partitionGroupId, int sequenceNumber, StreamPartitionMsgOffset startOffset, StreamPartitionMsgOffset endOffset, String status)PartitionGroupMetadata(int partitionGroupId, StreamPartitionMsgOffset startOffset)
-