Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractSinkRecord<T> - Class in org.apache.pulsar.functions.instance
- AbstractSinkRecord(Record<?>) - Constructor for class org.apache.pulsar.functions.instance.AbstractSinkRecord
- accept(Record, JavaExecutionResult) - Method in interface org.apache.pulsar.functions.instance.JavaInstanceRunnable.AsyncResultConsumer
- ack() - Method in class org.apache.pulsar.functions.instance.AbstractSinkRecord
- ack() - Method in class org.apache.pulsar.functions.source.PulsarFunctionRecord
- ack() - Method in class org.apache.pulsar.functions.source.PulsarRecord
- add(Event<T>) - Method in class org.apache.pulsar.functions.windowing.WindowManager
-
Tracks a window event.
- add(T, long, Record<?>) - Method in class org.apache.pulsar.functions.windowing.WindowManager
-
Add an event into the window, with the given ts as the tracking ts.
- addSystemException(Throwable) - Method in class org.apache.pulsar.functions.instance.stats.FunctionStatsManager
- addUserException(Throwable) - Method in class org.apache.pulsar.functions.instance.stats.FunctionStatsManager
- append(LogEvent) - Method in class org.apache.pulsar.functions.instance.LogAppender
- AsyncFuncRequest() - Constructor for class org.apache.pulsar.functions.instance.JavaInstance.AsyncFuncRequest
- AuthenticationConfig - Class in org.apache.pulsar.functions.instance
-
Configuration to aggregate various authentication params.
- AuthenticationConfig() - Constructor for class org.apache.pulsar.functions.instance.AuthenticationConfig
B
- bareWindowFunction - Variable in class org.apache.pulsar.functions.windowing.WindowFunctionExecutor
- BatchSourceExecutor<T> - Class in org.apache.pulsar.functions.source.batch
-
BatchSourceExecutor wraps BatchSource as Source.
- BatchSourceExecutor() - Constructor for class org.apache.pulsar.functions.source.batch.BatchSourceExecutor
- BKStateStoreImpl - Class in org.apache.pulsar.functions.instance.state
-
This class accumulates the state updates from one function.
- BKStateStoreImpl(String, String, String, Table<ByteBuf, ByteBuf>) - Constructor for class org.apache.pulsar.functions.instance.state.BKStateStoreImpl
- BKStateStoreProviderImpl - Class in org.apache.pulsar.functions.instance.state
-
The state store provider that provides bookkeeper table backed state stores.
- BKStateStoreProviderImpl() - Constructor for class org.apache.pulsar.functions.instance.state.BKStateStoreProviderImpl
- buildPulsarSourceConsumerConfig(String, ConsumerConfig, Class<?>) - Method in class org.apache.pulsar.functions.source.PulsarSource
- buildRecord(Consumer<T>, Message<T>) - Method in class org.apache.pulsar.functions.source.PulsarSource
C
- calculateSubjectType(Function.FunctionDetails) - Method in class org.apache.pulsar.functions.instance.InstanceUtils
- choosePartition(Message, TopicMetadata) - Method in class org.apache.pulsar.functions.instance.FunctionResultRouter
- cleanUp(String, String, String) - Method in class org.apache.pulsar.functions.instance.state.BKStateStoreProviderImpl
- cleanUp(String, String, String) - Method in class org.apache.pulsar.functions.instance.state.PulsarMetadataStateStoreProviderImpl
- cleanUp(String, String, String) - Method in interface org.apache.pulsar.functions.instance.state.StateStoreProvider
-
Clean up the state store with the provided store name.
- clone() - Method in class org.apache.pulsar.functions.source.SerDeSchema
- close() - Method in class org.apache.pulsar.functions.instance.JavaInstance
- close() - Method in class org.apache.pulsar.functions.instance.JavaInstanceRunnable
-
NOTE: this method is be synchronized because it is potentially called by two different places one inside the run/finally clause and one inside the ThreadRuntime::stop.
- close() - Method in class org.apache.pulsar.functions.instance.ProducerCache
- close() - Method in class org.apache.pulsar.functions.instance.state.BKStateStoreImpl
- close() - Method in class org.apache.pulsar.functions.instance.state.BKStateStoreProviderImpl
- close() - Method in class org.apache.pulsar.functions.instance.state.InstanceStateManager
- close() - Method in class org.apache.pulsar.functions.instance.state.PulsarMetadataStateStoreImpl
- close() - Method in class org.apache.pulsar.functions.instance.state.PulsarMetadataStateStoreProviderImpl
- close() - Method in interface org.apache.pulsar.functions.instance.state.StateManager
- close() - Method in interface org.apache.pulsar.functions.instance.state.StateStoreProvider
- close() - Method in class org.apache.pulsar.functions.instance.stats.ComponentStatsManager
- close() - Method in class org.apache.pulsar.functions.sink.PulsarSink
- close() - Method in class org.apache.pulsar.functions.sink.PulsarSinkDisable
- close() - Method in class org.apache.pulsar.functions.source.batch.BatchSourceExecutor
- close() - Method in class org.apache.pulsar.functions.source.MultiConsumerPulsarSource
- close() - Method in class org.apache.pulsar.functions.source.SingleConsumerPulsarSource
- collectorRegistry - Variable in class org.apache.pulsar.functions.instance.stats.ComponentStatsManager
- compactWindow() - Method in class org.apache.pulsar.functions.windowing.WindowManager
-
expires events that fall out of the window every EXPIRE_EVENTS_THRESHOLD so that the window does not grow too big.
- ComponentStatsManager - Class in org.apache.pulsar.functions.instance.stats
- ComponentStatsManager(FunctionCollectorRegistry, String[], ScheduledExecutorService) - Constructor for class org.apache.pulsar.functions.instance.stats.ComponentStatsManager
- consume(Record<T>) - Method in class org.apache.pulsar.functions.source.PushPulsarSource
-
Attach a consumer function to this Source.
- containsKey(ProducerCache.CacheArea, String) - Method in class org.apache.pulsar.functions.instance.ProducerCache
- containsKey(ProducerCache.CacheArea, String, Object) - Method in class org.apache.pulsar.functions.instance.ProducerCache
- CONTEXT_CACHE - Enum constant in enum class org.apache.pulsar.functions.instance.ProducerCache.CacheArea
- CountEvictionPolicy<T> - Class in org.apache.pulsar.functions.windowing.evictors
-
An eviction policy that tracks event counts and can evict based on a threshold count.
- CountEvictionPolicy(int) - Constructor for class org.apache.pulsar.functions.windowing.evictors.CountEvictionPolicy
- CountTriggerPolicy<T> - Class in org.apache.pulsar.functions.windowing.triggers
-
A trigger that tracks event counts and calls back
TriggerHandler.onTrigger()when the count threshold is hit. - CountTriggerPolicy(int, TriggerHandler, EvictionPolicy<T, ?>) - Constructor for class org.apache.pulsar.functions.windowing.triggers.CountTriggerPolicy
- createConsumeBuilder(String, PulsarSourceConsumerConfig) - Method in class org.apache.pulsar.functions.source.PulsarSource
- createProducerBuilder(String, Schema<T>, String) - Method in class org.apache.pulsar.functions.instance.ProducerBuilderFactory
- createPulsarAdminClient(String, AuthenticationConfig) - Static method in class org.apache.pulsar.functions.instance.InstanceUtils
- createPulsarClient(String, AuthenticationConfig) - Static method in class org.apache.pulsar.functions.instance.InstanceUtils
- createPulsarClient(String, AuthenticationConfig, Optional<Long>) - Static method in class org.apache.pulsar.functions.instance.InstanceUtils
- createPulsarClientBuilder(String, AuthenticationConfig, Optional<Long>) - Static method in class org.apache.pulsar.functions.instance.InstanceUtils
- cumulativeAck() - Method in class org.apache.pulsar.functions.instance.AbstractSinkRecord
-
Some sink sometimes wants to control the ack type.
- cumulativeAck() - Method in class org.apache.pulsar.functions.source.PulsarRecord
-
Some sink sometimes wants to control the ack type.
- currentCount - Variable in class org.apache.pulsar.functions.windowing.evictors.CountEvictionPolicy
- currentCount - Variable in class org.apache.pulsar.functions.windowing.evictors.WatermarkCountEvictionPolicy
D
- decode(byte[]) - Method in class org.apache.pulsar.functions.source.SerDeSchema
- DEFAULT_SERDE - Static variable in class org.apache.pulsar.functions.source.TopicSchema
- DefaultEvictionContext - Class in org.apache.pulsar.functions.windowing
- DefaultEvictionContext(Long) - Constructor for class org.apache.pulsar.functions.windowing.DefaultEvictionContext
- DefaultEvictionContext(Long, Long) - Constructor for class org.apache.pulsar.functions.windowing.DefaultEvictionContext
- DefaultEvictionContext(Long, Long, Long) - Constructor for class org.apache.pulsar.functions.windowing.DefaultEvictionContext
- DefaultEvictionContext(Long, Long, Long, Long) - Constructor for class org.apache.pulsar.functions.windowing.DefaultEvictionContext
- DefaultStateStore - Interface in org.apache.pulsar.functions.instance.state
-
The default state store interface.
- delete(String) - Method in class org.apache.pulsar.functions.instance.state.BKStateStoreImpl
- delete(String) - Method in class org.apache.pulsar.functions.instance.state.PulsarMetadataStateStoreImpl
- deleteAsync(String) - Method in class org.apache.pulsar.functions.instance.state.BKStateStoreImpl
- deleteAsync(String) - Method in class org.apache.pulsar.functions.instance.state.PulsarMetadataStateStoreImpl
- deleteState(String) - Method in class org.apache.pulsar.functions.windowing.WindowContextImpl
- deleteStateAsync(String) - Method in class org.apache.pulsar.functions.windowing.WindowContextImpl
E
- emptyQueue - Variable in class org.apache.pulsar.functions.instance.stats.ComponentStatsManager
- encode(T) - Method in class org.apache.pulsar.functions.source.SerDeSchema
- equals(Object) - Method in class org.apache.pulsar.functions.windowing.WindowImpl
- Event<T> - Interface in org.apache.pulsar.functions.windowing
-
An event is a wrapper object that gets stored in the window.
- EventImpl<T> - Class in org.apache.pulsar.functions.windowing
- evict(Event<T>) - Method in interface org.apache.pulsar.functions.windowing.EvictionPolicy
-
Decides if an event should be expired from the window, processed in the current window or kept for later processing.
- evict(Event<T>) - Method in class org.apache.pulsar.functions.windowing.evictors.CountEvictionPolicy
- evict(Event<T>) - Method in class org.apache.pulsar.functions.windowing.evictors.TimeEvictionPolicy
-
Decides if an event should be expired from the window, processed in the current window or kept for later processing.
- evict(Event<T>) - Method in class org.apache.pulsar.functions.windowing.evictors.WatermarkCountEvictionPolicy
- evict(Event<T>) - Method in class org.apache.pulsar.functions.windowing.evictors.WatermarkTimeEvictionPolicy
-
Decides if an event should be expired from the window, processed in the current window or kept for later processing.
- evictionContext - Variable in class org.apache.pulsar.functions.windowing.evictors.TimeEvictionPolicy
- EvictionContext - Interface in org.apache.pulsar.functions.windowing
-
Context information that can be used by the eviction policy.
- evictionPolicy - Variable in class org.apache.pulsar.functions.windowing.WindowManager
- EvictionPolicy<T,
X> - Interface in org.apache.pulsar.functions.windowing -
Eviction policy tracks events and decides whether an event should be evicted from the window or not.
- EvictionPolicy.Action - Enum Class in org.apache.pulsar.functions.windowing
-
The action to be taken when
EvictionPolicy.evict(Event)is invoked. - EXCEPTION_METRICS_LABEL_NAMES - Static variable in class org.apache.pulsar.functions.instance.stats.ComponentStatsManager
- EXPIRE - Enum constant in enum class org.apache.pulsar.functions.windowing.EvictionPolicy.Action
-
expire the event and remove it from the queue.
- EXPIRE_EVENTS_THRESHOLD - Static variable in class org.apache.pulsar.functions.windowing.WindowManager
-
Expire old events every EXPIRE_EVENTS_THRESHOLD to keep the window size in check.
- extractTimestamp(T) - Method in interface org.apache.pulsar.functions.windowing.TimestampExtractor
-
Return the tuple timestamp indicating the time when the event happened.
F
- fail() - Method in class org.apache.pulsar.functions.instance.AbstractSinkRecord
- fail() - Method in class org.apache.pulsar.functions.source.PulsarFunctionRecord
- fail() - Method in class org.apache.pulsar.functions.source.PulsarRecord
- fatal(Throwable) - Method in class org.apache.pulsar.functions.windowing.WindowContextImpl
- fqsn() - Method in class org.apache.pulsar.functions.instance.state.BKStateStoreImpl
- fqsn() - Method in class org.apache.pulsar.functions.instance.state.PulsarMetadataStateStoreImpl
- functionClassLoader - Variable in class org.apache.pulsar.functions.source.PulsarSource
- FunctionCollectorRegistry - Class in org.apache.pulsar.functions.instance.stats
-
Internal representation of Prometheus Collector Registry.
- FunctionCollectorRegistry() - Constructor for class org.apache.pulsar.functions.instance.stats.FunctionCollectorRegistry
- FunctionCollectorRegistryImpl - Class in org.apache.pulsar.functions.instance.stats
- FunctionCollectorRegistryImpl() - Constructor for class org.apache.pulsar.functions.instance.stats.FunctionCollectorRegistryImpl
- FunctionResultRouter - Class in org.apache.pulsar.functions.instance
-
Router for routing function results.
- FunctionResultRouter() - Constructor for class org.apache.pulsar.functions.instance.FunctionResultRouter
- FunctionResultRouter(int, Clock) - Constructor for class org.apache.pulsar.functions.instance.FunctionResultRouter
- FunctionStatsManager - Class in org.apache.pulsar.functions.instance.stats
-
Function stats.
- FunctionStatsManager(FunctionCollectorRegistry, String[], ScheduledExecutorService) - Constructor for class org.apache.pulsar.functions.instance.stats.FunctionStatsManager
G
- get() - Method in interface org.apache.pulsar.functions.windowing.Event
-
Returns the wrapped object.
- get() - Method in class org.apache.pulsar.functions.windowing.EventImpl
- get() - Method in interface org.apache.pulsar.functions.windowing.Window
-
Gets the list of events in the window.
- get() - Method in class org.apache.pulsar.functions.windowing.WindowImpl
- get(String) - Method in class org.apache.pulsar.functions.instance.state.BKStateStoreImpl
- get(String) - Method in class org.apache.pulsar.functions.instance.state.PulsarMetadataStateStoreImpl
- getAndResetMetrics() - Method in class org.apache.pulsar.functions.instance.JavaInstance
- getAndResetMetrics() - Method in class org.apache.pulsar.functions.instance.JavaInstanceRunnable
- getAsync(String) - Method in class org.apache.pulsar.functions.instance.state.BKStateStoreImpl
- getAsync(String) - Method in class org.apache.pulsar.functions.instance.state.PulsarMetadataStateStoreImpl
- getAvgProcessLatency() - Method in class org.apache.pulsar.functions.instance.stats.ComponentStatsManager
- getAvgProcessLatency() - Method in class org.apache.pulsar.functions.instance.stats.FunctionStatsManager
- getAvgProcessLatency() - Method in class org.apache.pulsar.functions.instance.stats.SinkStatsManager
- getAvgProcessLatency() - Method in class org.apache.pulsar.functions.instance.stats.SourceStatsManager
- getAvgProcessLatency1min() - Method in class org.apache.pulsar.functions.instance.stats.ComponentStatsManager
- getAvgProcessLatency1min() - Method in class org.apache.pulsar.functions.instance.stats.FunctionStatsManager
- getAvgProcessLatency1min() - Method in class org.apache.pulsar.functions.instance.stats.SinkStatsManager
- getAvgProcessLatency1min() - Method in class org.apache.pulsar.functions.instance.stats.SourceStatsManager
- getContext() - Method in interface org.apache.pulsar.functions.windowing.EvictionPolicy
-
Returns the current context that is part of this eviction policy.
- getContext() - Method in class org.apache.pulsar.functions.windowing.evictors.CountEvictionPolicy
- getContext() - Method in class org.apache.pulsar.functions.windowing.evictors.TimeEvictionPolicy
- getContext() - Method in class org.apache.pulsar.functions.windowing.evictors.WatermarkCountEvictionPolicy
- getCounter(String) - Method in class org.apache.pulsar.functions.instance.state.BKStateStoreImpl
- getCounter(String) - Method in class org.apache.pulsar.functions.instance.state.PulsarMetadataStateStoreImpl
- getCounter(String) - Method in class org.apache.pulsar.functions.windowing.WindowContextImpl
- getCounterAsync(String) - Method in class org.apache.pulsar.functions.instance.state.BKStateStoreImpl
- getCounterAsync(String) - Method in class org.apache.pulsar.functions.instance.state.PulsarMetadataStateStoreImpl
- getCounterAsync(String) - Method in class org.apache.pulsar.functions.windowing.WindowContextImpl
- getCurrentCount() - Method in class org.apache.pulsar.functions.windowing.DefaultEvictionContext
- getCurrentCount() - Method in interface org.apache.pulsar.functions.windowing.EvictionContext
-
Returns the current count of events in the queue up to the reference time based on which count based evictions can be performed.
- getDefaultImplementation() - Static method in class org.apache.pulsar.functions.instance.stats.FunctionCollectorRegistry
- getDefaultSubscriptionName(String, String, String) - Static method in class org.apache.pulsar.functions.instance.InstanceUtils
- getDefaultSubscriptionName(Function.FunctionDetails) - Static method in class org.apache.pulsar.functions.instance.InstanceUtils
- getDestinationTopic() - Method in class org.apache.pulsar.functions.instance.OutputRecordSinkRecord
- getDestinationTopic() - Method in class org.apache.pulsar.functions.instance.SinkRecord
- getDestinationTopic() - Method in class org.apache.pulsar.functions.source.PulsarFunctionRecord
- getEarliestEventTs(long, long) - Method in class org.apache.pulsar.functions.windowing.WindowManager
-
Scans the event queue and returns the next earliest event ts between the startTs and endTs.
- getEncryptionCtx() - Method in class org.apache.pulsar.functions.source.PulsarRecord
- getEncryptionCtx() - Method in interface org.apache.pulsar.functions.source.RecordWithEncryptionContext
-
Retrieves encryption-context that is attached to record.
- getEndTimestamp() - Method in interface org.apache.pulsar.functions.windowing.Window
-
If processing based on event time, returns the window end time based on watermark otherwise returns the window end time based on processing time.
- getEndTimestamp() - Method in class org.apache.pulsar.functions.windowing.WindowImpl
- getEventCount(long) - Method in class org.apache.pulsar.functions.windowing.WindowManager
-
Scans the event queue and returns number of events having timestamp less than or equal to the reference time.
- getEventTime() - Method in class org.apache.pulsar.functions.instance.OutputRecordSinkRecord
- getEventTime() - Method in class org.apache.pulsar.functions.instance.SinkRecord
- getEventTime() - Method in class org.apache.pulsar.functions.source.PulsarFunctionRecord
- getEventTime() - Method in class org.apache.pulsar.functions.source.PulsarRecord
- getExceptionInfo(Throwable, long) - Method in class org.apache.pulsar.functions.instance.stats.ComponentStatsManager
- getExpired() - Method in interface org.apache.pulsar.functions.windowing.Window
-
Get the list of events expired from the window since the last time the window was generated.
- getExpired() - Method in class org.apache.pulsar.functions.windowing.WindowImpl
- getFullyQualifiedName(String, String, String) - Static method in class org.apache.pulsar.functions.windowing.WindowUtils
- getFunctionDetails() - Method in class org.apache.pulsar.functions.instance.InstanceConfig
- getFunctionId() - Method in class org.apache.pulsar.functions.windowing.WindowContextImpl
- getFunctionName() - Method in class org.apache.pulsar.functions.windowing.WindowContextImpl
- getFunctionStatus() - Method in class org.apache.pulsar.functions.instance.JavaInstanceRunnable
- getFunctionVersion() - Method in class org.apache.pulsar.functions.windowing.WindowContextImpl
- getHandler() - Method in class org.apache.pulsar.functions.instance.LogAppender
- getInputConsumers() - Method in class org.apache.pulsar.functions.source.MultiConsumerPulsarSource
- getInputConsumers() - Method in class org.apache.pulsar.functions.source.PulsarSource
- getInputConsumers() - Method in class org.apache.pulsar.functions.source.SingleConsumerPulsarSource
- getInputTopics() - Method in class org.apache.pulsar.functions.windowing.WindowContextImpl
- getInstanceCache() - Static method in class org.apache.pulsar.functions.instance.InstanceCache
- getInstanceId() - Method in class org.apache.pulsar.functions.windowing.WindowContextImpl
- getInstanceName() - Method in class org.apache.pulsar.functions.instance.InstanceConfig
-
Get the string representation of
#getInstanceId(). - getKey() - Method in class org.apache.pulsar.functions.instance.OutputRecordSinkRecord
- getKey() - Method in class org.apache.pulsar.functions.instance.SinkRecord
- getKey() - Method in class org.apache.pulsar.functions.source.PulsarFunctionRecord
- getKey() - Method in class org.apache.pulsar.functions.source.PulsarRecord
- getLastInvocation() - Method in class org.apache.pulsar.functions.instance.stats.ComponentStatsManager
- getLastInvocation() - Method in class org.apache.pulsar.functions.instance.stats.FunctionStatsManager
- getLastInvocation() - Method in class org.apache.pulsar.functions.instance.stats.SinkStatsManager
- getLastInvocation() - Method in class org.apache.pulsar.functions.instance.stats.SourceStatsManager
- getLatestSinkExceptions() - Method in class org.apache.pulsar.functions.instance.stats.ComponentStatsManager
- getLatestSinkExceptions() - Method in class org.apache.pulsar.functions.instance.stats.FunctionStatsManager
- getLatestSinkExceptions() - Method in class org.apache.pulsar.functions.instance.stats.SinkStatsManager
- getLatestSinkExceptions() - Method in class org.apache.pulsar.functions.instance.stats.SourceStatsManager
- getLatestSourceExceptions() - Method in class org.apache.pulsar.functions.instance.stats.ComponentStatsManager
- getLatestSourceExceptions() - Method in class org.apache.pulsar.functions.instance.stats.FunctionStatsManager
- getLatestSourceExceptions() - Method in class org.apache.pulsar.functions.instance.stats.SinkStatsManager
- getLatestSourceExceptions() - Method in class org.apache.pulsar.functions.instance.stats.SourceStatsManager
- getLatestSystemExceptions() - Method in class org.apache.pulsar.functions.instance.stats.ComponentStatsManager
- getLatestSystemExceptions() - Method in class org.apache.pulsar.functions.instance.stats.SinkStatsManager
- getLatestSystemExceptions() - Method in class org.apache.pulsar.functions.instance.stats.SourceStatsManager
- getLatestUserExceptions() - Method in class org.apache.pulsar.functions.instance.stats.ComponentStatsManager
- getLatestUserExceptions() - Method in class org.apache.pulsar.functions.instance.stats.SinkStatsManager
- getLatestUserExceptions() - Method in class org.apache.pulsar.functions.instance.stats.SourceStatsManager
- getLayout() - Method in class org.apache.pulsar.functions.instance.LogAppender
- getLogger() - Method in class org.apache.pulsar.functions.windowing.WindowContextImpl
- getMessage() - Method in class org.apache.pulsar.functions.instance.OutputRecordSinkRecord
- getMessage() - Method in class org.apache.pulsar.functions.instance.SinkRecord
- getMessage() - Method in class org.apache.pulsar.functions.source.PulsarFunctionRecord
- getMessage() - Method in class org.apache.pulsar.functions.source.PulsarRecord
- getMessageId() - Method in class org.apache.pulsar.functions.source.PulsarRecord
- getMetrics() - Method in class org.apache.pulsar.functions.instance.JavaInstance
- getMetrics() - Method in class org.apache.pulsar.functions.instance.JavaInstanceRunnable
- getName() - Method in class org.apache.pulsar.functions.instance.LogAppender
- getNamespace() - Method in class org.apache.pulsar.functions.windowing.WindowContextImpl
- getNew() - Method in interface org.apache.pulsar.functions.windowing.Window
-
Get the list of newly added events in the window since the last time the window was generated.
- getNew() - Method in class org.apache.pulsar.functions.windowing.WindowImpl
- getNumInstances() - Method in class org.apache.pulsar.functions.windowing.WindowContextImpl
- getOrCreateProducer(ProducerCache.CacheArea, String, Object, Callable<Producer<T>>) - Method in class org.apache.pulsar.functions.instance.ProducerCache
- getOutputSchemaType() - Method in class org.apache.pulsar.functions.windowing.WindowContextImpl
- getOutputTopic() - Method in class org.apache.pulsar.functions.windowing.WindowContextImpl
- getPartitionId() - Method in class org.apache.pulsar.functions.instance.OutputRecordSinkRecord
- getPartitionId() - Method in class org.apache.pulsar.functions.instance.SinkRecord
- getPartitionId() - Method in class org.apache.pulsar.functions.source.PulsarFunctionRecord
- getPartitionId() - Method in class org.apache.pulsar.functions.source.PulsarRecord
- getPartitionIndex() - Method in class org.apache.pulsar.functions.instance.OutputRecordSinkRecord
- getPartitionIndex() - Method in class org.apache.pulsar.functions.instance.SinkRecord
- getPartitionIndex() - Method in class org.apache.pulsar.functions.source.PulsarFunctionRecord
- getPartitionIndex() - Method in class org.apache.pulsar.functions.source.PulsarRecord
- getProcessLatency50P() - Method in class org.apache.pulsar.functions.instance.stats.FunctionStatsManager
- getProcessLatency50P1min() - Method in class org.apache.pulsar.functions.instance.stats.FunctionStatsManager
- getProcessLatency90P() - Method in class org.apache.pulsar.functions.instance.stats.FunctionStatsManager
- getProcessLatency90P1min() - Method in class org.apache.pulsar.functions.instance.stats.FunctionStatsManager
- getProcessLatency99_9P() - Method in class org.apache.pulsar.functions.instance.stats.FunctionStatsManager
- getProcessLatency99_9P1min() - Method in class org.apache.pulsar.functions.instance.stats.FunctionStatsManager
- getProcessLatency99P() - Method in class org.apache.pulsar.functions.instance.stats.FunctionStatsManager
- getProcessLatency99P1min() - Method in class org.apache.pulsar.functions.instance.stats.FunctionStatsManager
- getProperties() - Method in class org.apache.pulsar.functions.instance.OutputRecordSinkRecord
- getProperties() - Method in class org.apache.pulsar.functions.instance.SinkRecord
- getProperties() - Method in class org.apache.pulsar.functions.source.PulsarFunctionRecord
- getProperties() - Method in class org.apache.pulsar.functions.source.PulsarRecord
- getProperties(Function.FunctionDetails.ComponentType, String, int) - Static method in class org.apache.pulsar.functions.instance.InstanceUtils
- getQueueLength() - Method in class org.apache.pulsar.functions.source.PushPulsarSource
-
Get length of the queue that records are push onto Users can override this method to customize the queue length.
- getRecord() - Method in interface org.apache.pulsar.functions.windowing.Event
- getRecord() - Method in class org.apache.pulsar.functions.windowing.EventImpl
- getRecordSchema(Record<T>) - Static method in class org.apache.pulsar.functions.instance.AbstractSinkRecord
- getRecordSequence() - Method in class org.apache.pulsar.functions.instance.OutputRecordSinkRecord
- getRecordSequence() - Method in class org.apache.pulsar.functions.instance.SinkRecord
- getRecordSequence() - Method in class org.apache.pulsar.functions.source.PulsarFunctionRecord
- getRecordSequence() - Method in class org.apache.pulsar.functions.source.PulsarRecord
- getReferenceTime() - Method in class org.apache.pulsar.functions.windowing.DefaultEvictionContext
- getReferenceTime() - Method in interface org.apache.pulsar.functions.windowing.EvictionContext
-
Returns the reference time that the eviction policy could use to evict the events.
- getSchema() - Method in class org.apache.pulsar.functions.instance.OutputRecordSinkRecord
- getSchema() - Method in class org.apache.pulsar.functions.instance.SinkRecord
- getSchema() - Method in class org.apache.pulsar.functions.source.PulsarFunctionRecord
- getSchema() - Method in class org.apache.pulsar.functions.source.PulsarRecord
- getSchema(String, Class<?>, String, boolean) - Method in class org.apache.pulsar.functions.source.TopicSchema
- getSchema(String, Class<?>, String, boolean, ClassLoader) - Method in class org.apache.pulsar.functions.source.TopicSchema
- getSchema(String, Class<?>, Optional<SchemaType>) - Method in class org.apache.pulsar.functions.source.TopicSchema
- getSchema(String, Class<?>, ConsumerConfig, boolean) - Method in class org.apache.pulsar.functions.source.TopicSchema
- getSchema(String, Class<?>, ConsumerConfig, boolean, ClassLoader) - Method in class org.apache.pulsar.functions.source.TopicSchema
- getSchema(String, Class<?>, SchemaType) - Method in class org.apache.pulsar.functions.source.TopicSchema
- getSchema(String, Object, String, boolean) - Method in class org.apache.pulsar.functions.source.TopicSchema
- getSchemaInfo() - Method in class org.apache.pulsar.functions.source.SerDeSchema
- getSecret(String) - Method in class org.apache.pulsar.functions.windowing.WindowContextImpl
- getSlidingCount() - Method in class org.apache.pulsar.functions.windowing.DefaultEvictionContext
- getSlidingCount() - Method in interface org.apache.pulsar.functions.windowing.EvictionContext
-
Returns the sliding count for count based windows.
- getSlidingCountTimestamps(long, long, int) - Method in class org.apache.pulsar.functions.windowing.WindowManager
-
Scans the event queue and returns the list of event ts falling between startTs (exclusive) and endTs (inclusive) at each sliding interval counts.
- getSlidingInterval() - Method in class org.apache.pulsar.functions.windowing.DefaultEvictionContext
- getSlidingInterval() - Method in interface org.apache.pulsar.functions.windowing.EvictionContext
-
Returns the sliding interval for time based windows.
- getSourceRecord() - Method in class org.apache.pulsar.functions.instance.AbstractSinkRecord
- getStartTimestamp() - Method in interface org.apache.pulsar.functions.windowing.Window
-
Returns the window start timestamp.
- getStartTimestamp() - Method in class org.apache.pulsar.functions.windowing.WindowImpl
- getState() - Method in class org.apache.pulsar.functions.instance.LogAppender
- getState() - Method in interface org.apache.pulsar.functions.windowing.EvictionPolicy
-
Return runtime state to be checkpointed by the framework for restoring the eviction policy in case of failures.
- getState() - Method in class org.apache.pulsar.functions.windowing.evictors.CountEvictionPolicy
- getState() - Method in class org.apache.pulsar.functions.windowing.evictors.TimeEvictionPolicy
- getState() - Method in class org.apache.pulsar.functions.windowing.evictors.WatermarkCountEvictionPolicy
- getState() - Method in interface org.apache.pulsar.functions.windowing.TriggerPolicy
-
Return runtime state to be checkpointed by the framework for restoring the trigger policy in case of failures.
- getState() - Method in class org.apache.pulsar.functions.windowing.triggers.CountTriggerPolicy
- getState() - Method in class org.apache.pulsar.functions.windowing.triggers.TimeTriggerPolicy
- getState() - Method in class org.apache.pulsar.functions.windowing.triggers.WatermarkCountTriggerPolicy
- getState() - Method in class org.apache.pulsar.functions.windowing.triggers.WatermarkTimeTriggerPolicy
- getState(String) - Method in class org.apache.pulsar.functions.windowing.WindowContextImpl
- getStateAsync(String) - Method in class org.apache.pulsar.functions.windowing.WindowContextImpl
- getStateStore(String, String, String) - Method in class org.apache.pulsar.functions.instance.state.BKStateStoreProviderImpl
- getStateStore(String, String, String) - Method in class org.apache.pulsar.functions.instance.state.PulsarMetadataStateStoreProviderImpl
- getStateStore(String, String, String) - Method in interface org.apache.pulsar.functions.instance.state.StateStoreProvider
-
Get the state store with the provided store name.
- getStateValue(String) - Method in class org.apache.pulsar.functions.instance.state.BKStateStoreImpl
- getStateValue(String) - Method in class org.apache.pulsar.functions.instance.state.PulsarMetadataStateStoreImpl
- getStateValueAsync(String) - Method in class org.apache.pulsar.functions.instance.state.BKStateStoreImpl
- getStateValueAsync(String) - Method in class org.apache.pulsar.functions.instance.state.PulsarMetadataStateStoreImpl
- getStatsAsString() - Method in class org.apache.pulsar.functions.instance.JavaInstanceRunnable
- getStatsAsString() - Method in class org.apache.pulsar.functions.instance.stats.ComponentStatsManager
- getStatsManager(FunctionCollectorRegistry, String[], ScheduledExecutorService, Function.FunctionDetails.ComponentType) - Static method in class org.apache.pulsar.functions.instance.stats.ComponentStatsManager
- getStore(String, String, String) - Method in class org.apache.pulsar.functions.instance.state.InstanceStateManager
- getStore(String, String, String) - Method in interface org.apache.pulsar.functions.instance.state.StateManager
-
Get the state store with the given name.
- getTenant() - Method in class org.apache.pulsar.functions.windowing.WindowContextImpl
- getTimestamp() - Method in interface org.apache.pulsar.functions.windowing.Event
-
The event timestamp in millis.
- getTimestamp() - Method in class org.apache.pulsar.functions.windowing.EventImpl
- getTopicName() - Method in class org.apache.pulsar.functions.instance.AbstractSinkRecord
- getTopicName() - Method in class org.apache.pulsar.functions.source.PulsarFunctionRecord
- getTopicName() - Method in class org.apache.pulsar.functions.source.PulsarRecord
- getTotalProcessedSuccessfully() - Method in class org.apache.pulsar.functions.instance.stats.ComponentStatsManager
- getTotalProcessedSuccessfully() - Method in class org.apache.pulsar.functions.instance.stats.FunctionStatsManager
- getTotalProcessedSuccessfully() - Method in class org.apache.pulsar.functions.instance.stats.SinkStatsManager
- getTotalProcessedSuccessfully() - Method in class org.apache.pulsar.functions.instance.stats.SourceStatsManager
- getTotalProcessedSuccessfully1min() - Method in class org.apache.pulsar.functions.instance.stats.ComponentStatsManager
- getTotalProcessedSuccessfully1min() - Method in class org.apache.pulsar.functions.instance.stats.FunctionStatsManager
- getTotalProcessedSuccessfully1min() - Method in class org.apache.pulsar.functions.instance.stats.SinkStatsManager
- getTotalProcessedSuccessfully1min() - Method in class org.apache.pulsar.functions.instance.stats.SourceStatsManager
- getTotalRecordsReceived() - Method in class org.apache.pulsar.functions.instance.stats.ComponentStatsManager
- getTotalRecordsReceived() - Method in class org.apache.pulsar.functions.instance.stats.FunctionStatsManager
- getTotalRecordsReceived() - Method in class org.apache.pulsar.functions.instance.stats.SinkStatsManager
- getTotalRecordsReceived() - Method in class org.apache.pulsar.functions.instance.stats.SourceStatsManager
- getTotalRecordsReceived1min() - Method in class org.apache.pulsar.functions.instance.stats.ComponentStatsManager
- getTotalRecordsReceived1min() - Method in class org.apache.pulsar.functions.instance.stats.FunctionStatsManager
- getTotalRecordsReceived1min() - Method in class org.apache.pulsar.functions.instance.stats.SinkStatsManager
- getTotalRecordsReceived1min() - Method in class org.apache.pulsar.functions.instance.stats.SourceStatsManager
- getTotalSysExceptions() - Method in class org.apache.pulsar.functions.instance.stats.ComponentStatsManager
- getTotalSysExceptions() - Method in class org.apache.pulsar.functions.instance.stats.FunctionStatsManager
- getTotalSysExceptions() - Method in class org.apache.pulsar.functions.instance.stats.SinkStatsManager
- getTotalSysExceptions() - Method in class org.apache.pulsar.functions.instance.stats.SourceStatsManager
- getTotalSysExceptions1min() - Method in class org.apache.pulsar.functions.instance.stats.ComponentStatsManager
- getTotalSysExceptions1min() - Method in class org.apache.pulsar.functions.instance.stats.FunctionStatsManager
- getTotalSysExceptions1min() - Method in class org.apache.pulsar.functions.instance.stats.SinkStatsManager
- getTotalSysExceptions1min() - Method in class org.apache.pulsar.functions.instance.stats.SourceStatsManager
- getTotalUserExceptions() - Method in class org.apache.pulsar.functions.instance.stats.ComponentStatsManager
- getTotalUserExceptions() - Method in class org.apache.pulsar.functions.instance.stats.FunctionStatsManager
- getTotalUserExceptions() - Method in class org.apache.pulsar.functions.instance.stats.SinkStatsManager
- getTotalUserExceptions() - Method in class org.apache.pulsar.functions.instance.stats.SourceStatsManager
- getTotalUserExceptions1min() - Method in class org.apache.pulsar.functions.instance.stats.ComponentStatsManager
- getTotalUserExceptions1min() - Method in class org.apache.pulsar.functions.instance.stats.FunctionStatsManager
- getTotalUserExceptions1min() - Method in class org.apache.pulsar.functions.instance.stats.SinkStatsManager
- getTotalUserExceptions1min() - Method in class org.apache.pulsar.functions.instance.stats.SourceStatsManager
- getUserConfigMap() - Method in class org.apache.pulsar.functions.windowing.WindowContextImpl
- getUserConfigValue(String) - Method in class org.apache.pulsar.functions.windowing.WindowContextImpl
- getUserConfigValueOrDefault(String, Object) - Method in class org.apache.pulsar.functions.windowing.WindowContextImpl
- getValue() - Method in class org.apache.pulsar.functions.instance.OutputRecordSinkRecord
- getValue() - Method in class org.apache.pulsar.functions.instance.SinkRecord
- getValue() - Method in class org.apache.pulsar.functions.source.PulsarFunctionRecord
- getValue() - Method in class org.apache.pulsar.functions.source.PulsarRecord
- GoInstanceConfig - Class in org.apache.pulsar.functions.instance.go
- GoInstanceConfig() - Constructor for class org.apache.pulsar.functions.instance.go.GoInstanceConfig
H
- handleMessage(Record<?>, Object) - Method in class org.apache.pulsar.functions.instance.JavaInstance
- handleMessage(Record<?>, Object, JavaInstanceRunnable.AsyncResultConsumer, Consumer<Throwable>) - Method in class org.apache.pulsar.functions.instance.JavaInstance
- hashCode() - Method in class org.apache.pulsar.functions.windowing.WindowImpl
- hasValidMetricsPort() - Method in class org.apache.pulsar.functions.instance.InstanceConfig
I
- ignoreExceptions() - Method in class org.apache.pulsar.functions.instance.LogAppender
- incrCounter(String, long) - Method in class org.apache.pulsar.functions.instance.state.BKStateStoreImpl
- incrCounter(String, long) - Method in class org.apache.pulsar.functions.instance.state.PulsarMetadataStateStoreImpl
- incrCounter(String, long) - Method in class org.apache.pulsar.functions.windowing.WindowContextImpl
- incrCounterAsync(String, long) - Method in class org.apache.pulsar.functions.instance.state.BKStateStoreImpl
- incrCounterAsync(String, long) - Method in class org.apache.pulsar.functions.instance.state.PulsarMetadataStateStoreImpl
- incrCounterAsync(String, long) - Method in class org.apache.pulsar.functions.windowing.WindowContextImpl
- incrSinkExceptions(Throwable) - Method in class org.apache.pulsar.functions.instance.stats.ComponentStatsManager
- incrSinkExceptions(Throwable) - Method in class org.apache.pulsar.functions.instance.stats.FunctionStatsManager
- incrSinkExceptions(Throwable) - Method in class org.apache.pulsar.functions.instance.stats.SinkStatsManager
- incrSinkExceptions(Throwable) - Method in class org.apache.pulsar.functions.instance.stats.SourceStatsManager
- incrSourceExceptions(Throwable) - Method in class org.apache.pulsar.functions.instance.stats.ComponentStatsManager
- incrSourceExceptions(Throwable) - Method in class org.apache.pulsar.functions.instance.stats.FunctionStatsManager
- incrSourceExceptions(Throwable) - Method in class org.apache.pulsar.functions.instance.stats.SinkStatsManager
- incrSourceExceptions(Throwable) - Method in class org.apache.pulsar.functions.instance.stats.SourceStatsManager
- incrSysExceptions(Throwable) - Method in class org.apache.pulsar.functions.instance.stats.ComponentStatsManager
- incrSysExceptions(Throwable) - Method in class org.apache.pulsar.functions.instance.stats.FunctionStatsManager
- incrSysExceptions(Throwable) - Method in class org.apache.pulsar.functions.instance.stats.SinkStatsManager
- incrSysExceptions(Throwable) - Method in class org.apache.pulsar.functions.instance.stats.SourceStatsManager
- incrTotalProcessedSuccessfully() - Method in class org.apache.pulsar.functions.instance.stats.ComponentStatsManager
- incrTotalProcessedSuccessfully() - Method in class org.apache.pulsar.functions.instance.stats.FunctionStatsManager
- incrTotalProcessedSuccessfully() - Method in class org.apache.pulsar.functions.instance.stats.SinkStatsManager
- incrTotalProcessedSuccessfully() - Method in class org.apache.pulsar.functions.instance.stats.SourceStatsManager
- incrTotalReceived() - Method in class org.apache.pulsar.functions.instance.stats.ComponentStatsManager
- incrTotalReceived() - Method in class org.apache.pulsar.functions.instance.stats.FunctionStatsManager
- incrTotalReceived() - Method in class org.apache.pulsar.functions.instance.stats.SinkStatsManager
- incrTotalReceived() - Method in class org.apache.pulsar.functions.instance.stats.SourceStatsManager
- incrUserExceptions(Throwable) - Method in class org.apache.pulsar.functions.instance.stats.ComponentStatsManager
- incrUserExceptions(Throwable) - Method in class org.apache.pulsar.functions.instance.stats.FunctionStatsManager
- incrUserExceptions(Throwable) - Method in class org.apache.pulsar.functions.instance.stats.SinkStatsManager
- incrUserExceptions(Throwable) - Method in class org.apache.pulsar.functions.instance.stats.SourceStatsManager
- individualAck() - Method in class org.apache.pulsar.functions.instance.AbstractSinkRecord
-
Some sink sometimes wants to control the ack type.
- individualAck() - Method in class org.apache.pulsar.functions.source.PulsarRecord
-
Some sink sometimes wants to control the ack type.
- init(Map<String, Object>) - Method in class org.apache.pulsar.functions.instance.state.BKStateStoreProviderImpl
- init(Map<String, Object>) - Method in class org.apache.pulsar.functions.instance.state.PulsarMetadataStateStoreProviderImpl
- init(Map<String, Object>) - Method in interface org.apache.pulsar.functions.instance.state.StateStoreProvider
-
Initialize the state store provider.
- init(Map<String, Object>, Function.FunctionDetails) - Method in interface org.apache.pulsar.functions.instance.state.StateStoreProvider
-
Deprecated.
- init(StateStoreContext) - Method in class org.apache.pulsar.functions.instance.state.BKStateStoreImpl
- init(StateStoreContext) - Method in class org.apache.pulsar.functions.instance.state.PulsarMetadataStateStoreImpl
- initialize() - Method in class org.apache.pulsar.functions.instance.JavaInstance
- initialize() - Method in class org.apache.pulsar.functions.instance.LogAppender
- initialize(Context) - Method in class org.apache.pulsar.functions.windowing.WindowFunctionExecutor
- initializeCustomSchema(String, ClassLoader, Class<?>, boolean) - Static method in class org.apache.pulsar.functions.instance.InstanceUtils
- initializeSerDe(String, ClassLoader, Class<?>, boolean) - Static method in class org.apache.pulsar.functions.instance.InstanceUtils
- INSTANCE - Static variable in class org.apache.pulsar.functions.sink.PulsarSinkDisable
- InstanceCache - Class in org.apache.pulsar.functions.instance
- InstanceConfig - Class in org.apache.pulsar.functions.instance
-
This is the config passed to the Java Instance.
- InstanceConfig() - Constructor for class org.apache.pulsar.functions.instance.InstanceConfig
- InstanceStateManager - Class in org.apache.pulsar.functions.instance.state
-
The state manager for managing state stores for a running function instance.
- InstanceStateManager() - Constructor for class org.apache.pulsar.functions.instance.state.InstanceStateManager
- InstanceUtils - Class in org.apache.pulsar.functions.instance
- InstanceUtils() - Constructor for class org.apache.pulsar.functions.instance.InstanceUtils
- isStarted() - Method in class org.apache.pulsar.functions.instance.LogAppender
- isStopped() - Method in class org.apache.pulsar.functions.instance.LogAppender
- isWatermark() - Method in interface org.apache.pulsar.functions.windowing.Event
-
If this is a watermark event or not.
- isWatermark() - Method in class org.apache.pulsar.functions.windowing.EventImpl
- isWatermark() - Method in class org.apache.pulsar.functions.windowing.WaterMarkEvent
J
- JavaExecutionResult - Class in org.apache.pulsar.functions.instance
-
This is the Java Instance.
- JavaExecutionResult() - Constructor for class org.apache.pulsar.functions.instance.JavaExecutionResult
- JavaInstance - Class in org.apache.pulsar.functions.instance
-
This is the Java Instance.
- JavaInstance(ContextImpl, Object, InstanceConfig) - Constructor for class org.apache.pulsar.functions.instance.JavaInstance
- JavaInstance.AsyncFuncRequest - Class in org.apache.pulsar.functions.instance
- JavaInstanceRunnable - Class in org.apache.pulsar.functions.instance
-
A function container implemented using java thread.
- JavaInstanceRunnable(InstanceConfig, ClientBuilder, PulsarClient, PulsarAdmin, String, String, SecretsProvider, FunctionCollectorRegistry, ClassLoader, ClassLoader) - Constructor for class org.apache.pulsar.functions.instance.JavaInstanceRunnable
- JavaInstanceRunnable.AsyncResultConsumer - Interface in org.apache.pulsar.functions.instance
K
- KEEP - Enum constant in enum class org.apache.pulsar.functions.windowing.EvictionPolicy.Action
-
don't include in the current window but keep the event in the queue for evaluating as a part of future windows.
L
- LAST_INVOCATION - Static variable in class org.apache.pulsar.functions.instance.stats.FunctionStatsManager
- LAST_INVOCATION - Static variable in class org.apache.pulsar.functions.instance.stats.SinkStatsManager
- LAST_INVOCATION - Static variable in class org.apache.pulsar.functions.instance.stats.SourceStatsManager
- load(Map<String, Object>) - Static method in class org.apache.pulsar.functions.source.MultiConsumerPulsarSourceConfig
- load(Map<String, Object>) - Static method in class org.apache.pulsar.functions.source.SingleConsumerPulsarSourceConfig
- LogAppender - Class in org.apache.pulsar.functions.instance
-
LogAppender class that is used to send log statements from Pulsar Functions logger to a log topic.
- LogAppender(PulsarClient, String, String, String) - Constructor for class org.apache.pulsar.functions.instance.LogAppender
M
- METRICS_LABEL_NAMES - Static variable in class org.apache.pulsar.functions.instance.stats.ComponentStatsManager
- metricsLabels - Variable in class org.apache.pulsar.functions.instance.stats.ComponentStatsManager
- MultiConsumerPulsarSource<T> - Class in org.apache.pulsar.functions.source
- MultiConsumerPulsarSource(PulsarClient, MultiConsumerPulsarSourceConfig, Map<String, String>, ClassLoader) - Constructor for class org.apache.pulsar.functions.source.MultiConsumerPulsarSource
- MultiConsumerPulsarSourceConfig - Class in org.apache.pulsar.functions.source
- MultiConsumerPulsarSourceConfig() - Constructor for class org.apache.pulsar.functions.source.MultiConsumerPulsarSourceConfig
N
- name() - Method in class org.apache.pulsar.functions.instance.state.BKStateStoreImpl
- name() - Method in class org.apache.pulsar.functions.instance.state.PulsarMetadataStateStoreImpl
- namespace() - Method in class org.apache.pulsar.functions.instance.state.BKStateStoreImpl
- namespace() - Method in class org.apache.pulsar.functions.instance.state.PulsarMetadataStateStoreImpl
- newWindowLifecycleListener(Context) - Method in class org.apache.pulsar.functions.windowing.WindowFunctionExecutor
- NULL - Static variable in interface org.apache.pulsar.functions.instance.state.StateStoreProvider
-
The state store provider returns `null` state stores.
O
- of() - Static method in class org.apache.pulsar.functions.instance.FunctionResultRouter
- onActivation(List<T>, List<T>, List<T>, Long) - Method in interface org.apache.pulsar.functions.windowing.WindowLifecycleListener
-
Called on activation of the window due to the
TriggerPolicy. - onExpiry(List<T>) - Method in interface org.apache.pulsar.functions.windowing.WindowLifecycleListener
-
Called on expiry of events from the window due to
EvictionPolicy. - onTrigger() - Method in interface org.apache.pulsar.functions.windowing.TriggerHandler
-
The code to execute when the
TriggerPolicycondition is satisfied. - onTrigger() - Method in class org.apache.pulsar.functions.windowing.WindowManager
-
The callback invoked by the trigger policy.
- open(Map<String, Object>, SinkContext) - Method in class org.apache.pulsar.functions.sink.PulsarSink
- open(Map<String, Object>, SinkContext) - Method in class org.apache.pulsar.functions.sink.PulsarSinkDisable
- open(Map<String, Object>, SourceContext) - Method in class org.apache.pulsar.functions.source.batch.BatchSourceExecutor
- open(Map<String, Object>, SourceContext) - Method in class org.apache.pulsar.functions.source.MultiConsumerPulsarSource
- open(Map<String, Object>, SourceContext) - Method in class org.apache.pulsar.functions.source.PushPulsarSource
-
Open connector with configuration.
- open(Map<String, Object>, SourceContext) - Method in class org.apache.pulsar.functions.source.SingleConsumerPulsarSource
- org.apache.pulsar.functions - package org.apache.pulsar.functions
- org.apache.pulsar.functions.instance - package org.apache.pulsar.functions.instance
-
Provides the implementation of the Instance module for Pulsar Functions.
- org.apache.pulsar.functions.instance.go - package org.apache.pulsar.functions.instance.go
- org.apache.pulsar.functions.instance.state - package org.apache.pulsar.functions.instance.state
- org.apache.pulsar.functions.instance.stats - package org.apache.pulsar.functions.instance.stats
- org.apache.pulsar.functions.sink - package org.apache.pulsar.functions.sink
- org.apache.pulsar.functions.source - package org.apache.pulsar.functions.source
- org.apache.pulsar.functions.source.batch - package org.apache.pulsar.functions.source.batch
- org.apache.pulsar.functions.windowing - package org.apache.pulsar.functions.windowing
- org.apache.pulsar.functions.windowing.evictors - package org.apache.pulsar.functions.windowing.evictors
- org.apache.pulsar.functions.windowing.triggers - package org.apache.pulsar.functions.windowing.triggers
- OutputRecordSinkRecord<T> - Class in org.apache.pulsar.functions.instance
P
- process(Window<Record<T>>, WindowContext) - Method in class org.apache.pulsar.functions.windowing.WindowFunctionExecutor
- process(T, Context) - Method in class org.apache.pulsar.functions.windowing.WindowFunctionExecutor
- PROCESS - Enum constant in enum class org.apache.pulsar.functions.windowing.EvictionPolicy.Action
-
process the event in the current window of events.
- PROCESS_LATENCY_MS - Static variable in class org.apache.pulsar.functions.instance.stats.FunctionStatsManager
- PROCESS_LATENCY_MS_1min - Static variable in class org.apache.pulsar.functions.instance.stats.FunctionStatsManager
- PROCESSED_SUCCESSFULLY_TOTAL - Static variable in class org.apache.pulsar.functions.instance.stats.FunctionStatsManager
-
Declare metric names.
- PROCESSED_SUCCESSFULLY_TOTAL_1min - Static variable in class org.apache.pulsar.functions.instance.stats.FunctionStatsManager
- processTimeEnd(long) - Method in class org.apache.pulsar.functions.instance.stats.ComponentStatsManager
- processTimeEnd(long) - Method in class org.apache.pulsar.functions.instance.stats.FunctionStatsManager
- processTimeEnd(long) - Method in class org.apache.pulsar.functions.instance.stats.SinkStatsManager
- processTimeEnd(long) - Method in class org.apache.pulsar.functions.instance.stats.SourceStatsManager
- ProducerBuilderFactory - Class in org.apache.pulsar.functions.instance
-
This class is responsible for creating ProducerBuilders with the appropriate configurations to match the ProducerConfig provided.
- ProducerBuilderFactory(PulsarClient, ProducerConfig, ClassLoader, Consumer<ProducerBuilder<?>>) - Constructor for class org.apache.pulsar.functions.instance.ProducerBuilderFactory
- ProducerCache - Class in org.apache.pulsar.functions.instance
- ProducerCache() - Constructor for class org.apache.pulsar.functions.instance.ProducerCache
- ProducerCache.CacheArea - Enum Class in org.apache.pulsar.functions.instance
- PrometheusTextFormat - Class in org.apache.pulsar.functions.instance.stats
-
Provide Prometheus text format for a collection of metrics, without the HELP string.
- PrometheusTextFormat() - Constructor for class org.apache.pulsar.functions.instance.stats.PrometheusTextFormat
- properties - Variable in class org.apache.pulsar.functions.source.PulsarSource
- publish(String, Object, String) - Method in class org.apache.pulsar.functions.windowing.WindowContextImpl
- publish(String, T) - Method in class org.apache.pulsar.functions.windowing.WindowContextImpl
- PULSAR_FUNCTION_METRICS_PREFIX - Static variable in class org.apache.pulsar.functions.instance.stats.FunctionStatsManager
- PULSAR_SINK_METRICS_PREFIX - Static variable in class org.apache.pulsar.functions.instance.stats.SinkStatsManager
- PULSAR_SOURCE_METRICS_PREFIX - Static variable in class org.apache.pulsar.functions.instance.stats.SourceStatsManager
- pulsarClient - Variable in class org.apache.pulsar.functions.source.PulsarSource
- PulsarFunctionRecord<T> - Class in org.apache.pulsar.functions.source
-
The record returned by the proxy to the user.
- PulsarFunctionRecord(Record<T>, Function.FunctionDetails) - Constructor for class org.apache.pulsar.functions.source.PulsarFunctionRecord
- PulsarMetadataStateStoreImpl - Class in org.apache.pulsar.functions.instance.state
- PulsarMetadataStateStoreProviderImpl - Class in org.apache.pulsar.functions.instance.state
- PulsarMetadataStateStoreProviderImpl() - Constructor for class org.apache.pulsar.functions.instance.state.PulsarMetadataStateStoreProviderImpl
- PulsarRecord<T> - Class in org.apache.pulsar.functions.source
- PulsarRecord() - Constructor for class org.apache.pulsar.functions.source.PulsarRecord
- PulsarSink<T> - Class in org.apache.pulsar.functions.sink
- PulsarSink(PulsarClient, PulsarSinkConfig, Map<String, String>, ComponentStatsManager, ClassLoader, ProducerCache) - Constructor for class org.apache.pulsar.functions.sink.PulsarSink
- PulsarSinkConfig - Class in org.apache.pulsar.functions.sink
- PulsarSinkConfig() - Constructor for class org.apache.pulsar.functions.sink.PulsarSinkConfig
- PulsarSinkDisable<T> - Class in org.apache.pulsar.functions.sink
- PulsarSinkDisable() - Constructor for class org.apache.pulsar.functions.sink.PulsarSinkDisable
- PulsarSource<T> - Class in org.apache.pulsar.functions.source
- PulsarSource(PulsarClient, PulsarSourceConfig, Map<String, String>, ClassLoader) - Constructor for class org.apache.pulsar.functions.source.PulsarSource
- pulsarSourceConfig - Variable in class org.apache.pulsar.functions.source.PulsarSource
- PulsarSourceConfig - Class in org.apache.pulsar.functions.source
- PulsarSourceConfig() - Constructor for class org.apache.pulsar.functions.source.PulsarSourceConfig
- PushPulsarSource<T> - Class in org.apache.pulsar.functions.source
- PushPulsarSource(PulsarClient, PulsarSourceConfig, Map<String, String>, ClassLoader) - Constructor for class org.apache.pulsar.functions.source.PushPulsarSource
- put(String, ByteBuffer) - Method in class org.apache.pulsar.functions.instance.state.BKStateStoreImpl
- put(String, ByteBuffer) - Method in class org.apache.pulsar.functions.instance.state.PulsarMetadataStateStoreImpl
- putAsync(String, ByteBuffer) - Method in class org.apache.pulsar.functions.instance.state.BKStateStoreImpl
- putAsync(String, ByteBuffer) - Method in class org.apache.pulsar.functions.instance.state.PulsarMetadataStateStoreImpl
- putState(String, ByteBuffer) - Method in class org.apache.pulsar.functions.windowing.WindowContextImpl
- putStateAsync(String, ByteBuffer) - Method in class org.apache.pulsar.functions.windowing.WindowContextImpl
Q
- queue - Variable in class org.apache.pulsar.functions.windowing.WindowManager
R
- read() - Method in class org.apache.pulsar.functions.source.batch.BatchSourceExecutor
- read() - Method in class org.apache.pulsar.functions.source.PushPulsarSource
- read() - Method in class org.apache.pulsar.functions.source.SingleConsumerPulsarSource
- received(Consumer<T>, Message<T>) - Method in class org.apache.pulsar.functions.source.MultiConsumerPulsarSource
- RECEIVED_TOTAL - Static variable in class org.apache.pulsar.functions.instance.stats.FunctionStatsManager
- RECEIVED_TOTAL - Static variable in class org.apache.pulsar.functions.instance.stats.SinkStatsManager
- RECEIVED_TOTAL - Static variable in class org.apache.pulsar.functions.instance.stats.SourceStatsManager
- RECEIVED_TOTAL_1min - Static variable in class org.apache.pulsar.functions.instance.stats.FunctionStatsManager
- RECEIVED_TOTAL_1min - Static variable in class org.apache.pulsar.functions.instance.stats.SinkStatsManager
- RECEIVED_TOTAL_1min - Static variable in class org.apache.pulsar.functions.instance.stats.SourceStatsManager
- recordMetric(String, double) - Method in class org.apache.pulsar.functions.windowing.WindowContextImpl
- RecordWithEncryptionContext<T> - Interface in org.apache.pulsar.functions.source
- registerIfNotExist(String, Collector) - Method in class org.apache.pulsar.functions.instance.stats.FunctionCollectorRegistryImpl
- registerIfNotExist(String, T) - Method in class org.apache.pulsar.functions.instance.stats.FunctionCollectorRegistry
-
Register a metric if it does not yet exist.
- registerStore(StateStore) - Method in class org.apache.pulsar.functions.instance.state.InstanceStateManager
- registerStore(StateStore) - Method in interface org.apache.pulsar.functions.instance.state.StateManager
-
Register the state store.
- reset() - Method in class org.apache.pulsar.functions.instance.stats.ComponentStatsManager
- reset() - Method in class org.apache.pulsar.functions.instance.stats.FunctionStatsManager
- reset() - Method in class org.apache.pulsar.functions.instance.stats.SinkStatsManager
- reset() - Method in class org.apache.pulsar.functions.instance.stats.SourceStatsManager
- reset() - Method in interface org.apache.pulsar.functions.windowing.EvictionPolicy
-
Resets the eviction policy.
- reset() - Method in class org.apache.pulsar.functions.windowing.evictors.CountEvictionPolicy
- reset() - Method in class org.apache.pulsar.functions.windowing.evictors.TimeEvictionPolicy
- reset() - Method in class org.apache.pulsar.functions.windowing.evictors.WatermarkCountEvictionPolicy
- reset() - Method in interface org.apache.pulsar.functions.windowing.TriggerPolicy
-
resets the trigger policy.
- reset() - Method in class org.apache.pulsar.functions.windowing.triggers.CountTriggerPolicy
- reset() - Method in class org.apache.pulsar.functions.windowing.triggers.TimeTriggerPolicy
- reset() - Method in class org.apache.pulsar.functions.windowing.triggers.WatermarkCountTriggerPolicy
- reset() - Method in class org.apache.pulsar.functions.windowing.triggers.WatermarkTimeTriggerPolicy
- resetMetrics() - Method in class org.apache.pulsar.functions.instance.JavaInstance
- resetMetrics() - Method in class org.apache.pulsar.functions.instance.JavaInstanceRunnable
- restoreState(Integer) - Method in class org.apache.pulsar.functions.windowing.triggers.CountTriggerPolicy
- restoreState(Long) - Method in class org.apache.pulsar.functions.windowing.evictors.CountEvictionPolicy
- restoreState(Long) - Method in class org.apache.pulsar.functions.windowing.triggers.WatermarkCountTriggerPolicy
- restoreState(Long) - Method in class org.apache.pulsar.functions.windowing.triggers.WatermarkTimeTriggerPolicy
- restoreState(Void) - Method in class org.apache.pulsar.functions.windowing.triggers.TimeTriggerPolicy
- restoreState(Pair<Long, Long>) - Method in class org.apache.pulsar.functions.windowing.evictors.WatermarkCountEvictionPolicy
- restoreState(EvictionContext) - Method in class org.apache.pulsar.functions.windowing.evictors.TimeEvictionPolicy
- restoreState(X) - Method in interface org.apache.pulsar.functions.windowing.EvictionPolicy
-
Restore the eviction policy from the state that was earlier checkpointed by the framework.
- restoreState(X) - Method in interface org.apache.pulsar.functions.windowing.TriggerPolicy
-
Restore the trigger policy from the state that was earlier checkpointed by the framework.
- run() - Method in class org.apache.pulsar.functions.instance.JavaInstanceRunnable
-
The core logic that initialize the instance thread and executes the function.
- run() - Method in class org.apache.pulsar.functions.windowing.WaterMarkEventGenerator
S
- scheduledFuture - Variable in class org.apache.pulsar.functions.instance.stats.ComponentStatsManager
- SerDeSchema<T> - Class in org.apache.pulsar.functions.source
- SerDeSchema() - Constructor for class org.apache.pulsar.functions.source.SerDeSchema
- setContext(EvictionContext) - Method in interface org.apache.pulsar.functions.windowing.EvictionPolicy
-
Sets a context in the eviction policy that can be used while evicting the events.
- setContext(EvictionContext) - Method in class org.apache.pulsar.functions.windowing.evictors.CountEvictionPolicy
- setContext(EvictionContext) - Method in class org.apache.pulsar.functions.windowing.evictors.TimeEvictionPolicy
- setContext(EvictionContext) - Method in class org.apache.pulsar.functions.windowing.evictors.WatermarkCountEvictionPolicy
- setEvictionPolicy(EvictionPolicy<T, ?>) - Method in class org.apache.pulsar.functions.windowing.WindowManager
- setHandler(ErrorHandler) - Method in class org.apache.pulsar.functions.instance.LogAppender
- setLastInvocation(long) - Method in class org.apache.pulsar.functions.instance.stats.ComponentStatsManager
- setLastInvocation(long) - Method in class org.apache.pulsar.functions.instance.stats.FunctionStatsManager
- setLastInvocation(long) - Method in class org.apache.pulsar.functions.instance.stats.SinkStatsManager
- setLastInvocation(long) - Method in class org.apache.pulsar.functions.instance.stats.SourceStatsManager
- setTriggerPolicy(TriggerPolicy<T, ?>) - Method in class org.apache.pulsar.functions.windowing.WindowManager
- shouldAlwaysSetMessageProperties() - Method in class org.apache.pulsar.functions.instance.AbstractSinkRecord
- shouldAlwaysSetMessageProperties() - Method in class org.apache.pulsar.functions.instance.OutputRecordSinkRecord
- shouldAlwaysSetMessageProperties() - Method in class org.apache.pulsar.functions.instance.SinkRecord
- shouldSetSchema() - Method in class org.apache.pulsar.functions.instance.AbstractSinkRecord
- shouldSetSchema() - Method in class org.apache.pulsar.functions.instance.OutputRecordSinkRecord
- shouldSetSchema() - Method in class org.apache.pulsar.functions.instance.SinkRecord
- shutdown() - Static method in class org.apache.pulsar.functions.instance.InstanceCache
- shutdown() - Method in interface org.apache.pulsar.functions.windowing.TriggerPolicy
-
Any clean up could be handled here.
- shutdown() - Method in class org.apache.pulsar.functions.windowing.triggers.CountTriggerPolicy
- shutdown() - Method in class org.apache.pulsar.functions.windowing.triggers.TimeTriggerPolicy
- shutdown() - Method in class org.apache.pulsar.functions.windowing.triggers.WatermarkCountTriggerPolicy
- shutdown() - Method in class org.apache.pulsar.functions.windowing.triggers.WatermarkTimeTriggerPolicy
- shutdown() - Method in class org.apache.pulsar.functions.windowing.WaterMarkEventGenerator
- shutdown() - Method in class org.apache.pulsar.functions.windowing.WindowFunctionExecutor
- shutdown() - Method in class org.apache.pulsar.functions.windowing.WindowManager
- SingleConsumerPulsarSource<T> - Class in org.apache.pulsar.functions.source
- SingleConsumerPulsarSource(PulsarClient, SingleConsumerPulsarSourceConfig, Map<String, String>, ClassLoader) - Constructor for class org.apache.pulsar.functions.source.SingleConsumerPulsarSource
- SingleConsumerPulsarSourceConfig - Class in org.apache.pulsar.functions.source
- SingleConsumerPulsarSourceConfig() - Constructor for class org.apache.pulsar.functions.source.SingleConsumerPulsarSourceConfig
- SINK_EXCEPTIONS_TOTAL - Static variable in class org.apache.pulsar.functions.instance.stats.FunctionStatsManager
- SINK_EXCEPTIONS_TOTAL - Static variable in class org.apache.pulsar.functions.instance.stats.SinkStatsManager
- SINK_EXCEPTIONS_TOTAL_1min - Static variable in class org.apache.pulsar.functions.instance.stats.FunctionStatsManager
- SINK_EXCEPTIONS_TOTAL_1min - Static variable in class org.apache.pulsar.functions.instance.stats.SinkStatsManager
- SINK_RECORD_CACHE - Enum constant in enum class org.apache.pulsar.functions.instance.ProducerCache.CacheArea
- SinkRecord<T> - Class in org.apache.pulsar.functions.instance
- SinkRecord(Record<T>, T) - Constructor for class org.apache.pulsar.functions.instance.SinkRecord
- SinkStatsManager - Class in org.apache.pulsar.functions.instance.stats
- SinkStatsManager(FunctionCollectorRegistry, String[], ScheduledExecutorService) - Constructor for class org.apache.pulsar.functions.instance.stats.SinkStatsManager
- SOURCE_EXCEPTIONS_TOTAL - Static variable in class org.apache.pulsar.functions.instance.stats.FunctionStatsManager
- SOURCE_EXCEPTIONS_TOTAL - Static variable in class org.apache.pulsar.functions.instance.stats.SourceStatsManager
- SOURCE_EXCEPTIONS_TOTAL_1min - Static variable in class org.apache.pulsar.functions.instance.stats.FunctionStatsManager
- SOURCE_EXCEPTIONS_TOTAL_1min - Static variable in class org.apache.pulsar.functions.instance.stats.SourceStatsManager
- sourceExceptionRateLimiter - Variable in class org.apache.pulsar.functions.instance.stats.SourceStatsManager
- SourceStatsManager - Class in org.apache.pulsar.functions.instance.stats
- SourceStatsManager(FunctionCollectorRegistry, String[], ScheduledExecutorService) - Constructor for class org.apache.pulsar.functions.instance.stats.SourceStatsManager
- start() - Method in class org.apache.pulsar.functions.instance.LogAppender
- start() - Method in interface org.apache.pulsar.functions.windowing.TriggerPolicy
-
Starts the trigger policy.
- start() - Method in class org.apache.pulsar.functions.windowing.triggers.CountTriggerPolicy
- start() - Method in class org.apache.pulsar.functions.windowing.triggers.TimeTriggerPolicy
- start() - Method in class org.apache.pulsar.functions.windowing.triggers.WatermarkCountTriggerPolicy
- start() - Method in class org.apache.pulsar.functions.windowing.triggers.WatermarkTimeTriggerPolicy
- start() - Method in class org.apache.pulsar.functions.windowing.WaterMarkEventGenerator
- STATE_STORAGE_SERVICE_URL - Static variable in interface org.apache.pulsar.functions.instance.state.StateStoreProvider
- StateManager - Interface in org.apache.pulsar.functions.instance.state
-
A state manager that manages multiple state stores.
- StateStoreContextImpl - Class in org.apache.pulsar.functions.instance.state
-
Default implementation of
StateStoreContext. - StateStoreContextImpl() - Constructor for class org.apache.pulsar.functions.instance.state.StateStoreContextImpl
- StateStoreProvider - Interface in org.apache.pulsar.functions.instance.state
-
The State Store Provider provides the state stores for a function.
- stop() - Method in class org.apache.pulsar.functions.instance.LogAppender
- STOP - Enum constant in enum class org.apache.pulsar.functions.windowing.EvictionPolicy.Action
-
stop processing the queue, there cannot be anymore events satisfying the eviction policy.
- sysExceptionRateLimiter - Variable in class org.apache.pulsar.functions.instance.stats.SourceStatsManager
- SYSTEM_EXCEPTIONS_TOTAL - Static variable in class org.apache.pulsar.functions.instance.stats.FunctionStatsManager
- SYSTEM_EXCEPTIONS_TOTAL - Static variable in class org.apache.pulsar.functions.instance.stats.SinkStatsManager
-
Declare metric names.
- SYSTEM_EXCEPTIONS_TOTAL - Static variable in class org.apache.pulsar.functions.instance.stats.SourceStatsManager
-
Declare metric names.
- SYSTEM_EXCEPTIONS_TOTAL_1min - Static variable in class org.apache.pulsar.functions.instance.stats.FunctionStatsManager
- SYSTEM_EXCEPTIONS_TOTAL_1min - Static variable in class org.apache.pulsar.functions.instance.stats.SinkStatsManager
- SYSTEM_EXCEPTIONS_TOTAL_1min - Static variable in class org.apache.pulsar.functions.instance.stats.SourceStatsManager
T
- tenant() - Method in class org.apache.pulsar.functions.instance.state.BKStateStoreImpl
- tenant() - Method in class org.apache.pulsar.functions.instance.state.PulsarMetadataStateStoreImpl
- threshold - Variable in class org.apache.pulsar.functions.windowing.evictors.CountEvictionPolicy
- threshold - Variable in class org.apache.pulsar.functions.windowing.evictors.WatermarkCountEvictionPolicy
- TimeEvictionPolicy<T> - Class in org.apache.pulsar.functions.windowing.evictors
-
Eviction policy that evicts events based on time duration.
- TimeEvictionPolicy(long) - Constructor for class org.apache.pulsar.functions.windowing.evictors.TimeEvictionPolicy
-
Constructs a TimeEvictionPolicy that evicts events older than the given window length in millis.
- TimestampExtractor<T> - Interface in org.apache.pulsar.functions.windowing
-
Interface to be implemented for extracting timestamp from a tuple.
- TimeTriggerPolicy<T> - Class in org.apache.pulsar.functions.windowing.triggers
-
Invokes
TriggerHandler.onTrigger()after the duration. - TimeTriggerPolicy(long, TriggerHandler, EvictionPolicy<T, ?>, Context) - Constructor for class org.apache.pulsar.functions.windowing.triggers.TimeTriggerPolicy
- topicSchema - Variable in class org.apache.pulsar.functions.source.PulsarSource
- TopicSchema - Class in org.apache.pulsar.functions.source
- TopicSchema(PulsarClient, ClassLoader) - Constructor for class org.apache.pulsar.functions.source.TopicSchema
- toString() - Method in class org.apache.pulsar.functions.windowing.evictors.CountEvictionPolicy
- toString() - Method in class org.apache.pulsar.functions.windowing.evictors.TimeEvictionPolicy
- toString() - Method in class org.apache.pulsar.functions.windowing.evictors.WatermarkCountEvictionPolicy
- toString() - Method in class org.apache.pulsar.functions.windowing.evictors.WatermarkTimeEvictionPolicy
- toString() - Method in class org.apache.pulsar.functions.windowing.triggers.CountTriggerPolicy
- toString() - Method in class org.apache.pulsar.functions.windowing.triggers.TimeTriggerPolicy
- toString() - Method in class org.apache.pulsar.functions.windowing.triggers.WatermarkCountTriggerPolicy
- toString() - Method in class org.apache.pulsar.functions.windowing.triggers.WatermarkTimeTriggerPolicy
- toString() - Method in class org.apache.pulsar.functions.windowing.WaterMarkEvent
- toString() - Method in class org.apache.pulsar.functions.windowing.WindowImpl
- toString() - Method in class org.apache.pulsar.functions.windowing.WindowManager
- track(String, long) - Method in class org.apache.pulsar.functions.windowing.WaterMarkEventGenerator
-
Tracks the timestamp of the event from a topic, returns true if the event can be considered for processing or false if its a late event.
- track(Event<T>) - Method in interface org.apache.pulsar.functions.windowing.EvictionPolicy
-
Tracks the event to later decide whether
EvictionPolicy.evict(Event)should evict it or not. - track(Event<T>) - Method in class org.apache.pulsar.functions.windowing.evictors.CountEvictionPolicy
- track(Event<T>) - Method in class org.apache.pulsar.functions.windowing.evictors.TimeEvictionPolicy
- track(Event<T>) - Method in class org.apache.pulsar.functions.windowing.evictors.WatermarkCountEvictionPolicy
- track(Event<T>) - Method in interface org.apache.pulsar.functions.windowing.TriggerPolicy
-
Tracks the event and could use this to invoke the trigger.
- track(Event<T>) - Method in class org.apache.pulsar.functions.windowing.triggers.CountTriggerPolicy
- track(Event<T>) - Method in class org.apache.pulsar.functions.windowing.triggers.TimeTriggerPolicy
- track(Event<T>) - Method in class org.apache.pulsar.functions.windowing.triggers.WatermarkCountTriggerPolicy
- track(Event<T>) - Method in class org.apache.pulsar.functions.windowing.triggers.WatermarkTimeTriggerPolicy
- TriggerHandler - Interface in org.apache.pulsar.functions.windowing
-
The callback fired by
TriggerPolicywhen the trigger condition is satisfied. - triggerPolicy - Variable in class org.apache.pulsar.functions.windowing.WindowManager
- TriggerPolicy<T,
X> - Interface in org.apache.pulsar.functions.windowing -
Triggers the window calculations based on the policy.
U
- USER_EXCEPTIONS_TOTAL - Static variable in class org.apache.pulsar.functions.instance.stats.FunctionStatsManager
- USER_EXCEPTIONS_TOTAL_1min - Static variable in class org.apache.pulsar.functions.instance.stats.FunctionStatsManager
- USER_METRIC_PREFIX - Static variable in class org.apache.pulsar.functions.instance.stats.ComponentStatsManager
V
- valueOf(String) - Static method in enum class org.apache.pulsar.functions.instance.ProducerCache.CacheArea
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.apache.pulsar.functions.windowing.EvictionPolicy.Action
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.apache.pulsar.functions.instance.ProducerCache.CacheArea
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.apache.pulsar.functions.windowing.EvictionPolicy.Action
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- WatermarkCountEvictionPolicy<T> - Class in org.apache.pulsar.functions.windowing.evictors
-
An eviction policy that tracks count based on watermark ts and evicts events up to the watermark based on a threshold count.
- WatermarkCountEvictionPolicy(int) - Constructor for class org.apache.pulsar.functions.windowing.evictors.WatermarkCountEvictionPolicy
- WatermarkCountTriggerPolicy<T> - Class in org.apache.pulsar.functions.windowing.triggers
-
A trigger policy that tracks event counts and sets the context for eviction policy to evict based on latest watermark time.
- WatermarkCountTriggerPolicy(int, TriggerHandler, EvictionPolicy<T, ?>, WindowManager<T>) - Constructor for class org.apache.pulsar.functions.windowing.triggers.WatermarkCountTriggerPolicy
- WaterMarkEvent<T> - Class in org.apache.pulsar.functions.windowing
-
Watermark event used for tracking progress of time when processing event based ts.
- WaterMarkEvent(long) - Constructor for class org.apache.pulsar.functions.windowing.WaterMarkEvent
- waterMarkEventGenerator - Variable in class org.apache.pulsar.functions.windowing.WindowFunctionExecutor
- WaterMarkEventGenerator<T> - Class in org.apache.pulsar.functions.windowing
-
Tracks tuples across input topics and periodically emits watermark events.
- WaterMarkEventGenerator(WindowManager<T>, long, long, Set<String>, Context) - Constructor for class org.apache.pulsar.functions.windowing.WaterMarkEventGenerator
-
Creates a new WatermarkEventGenerator.
- WatermarkTimeEvictionPolicy<T> - Class in org.apache.pulsar.functions.windowing.evictors
-
An eviction policy that evicts events based on time duration taking watermark time and event lag into account.
- WatermarkTimeEvictionPolicy(long) - Constructor for class org.apache.pulsar.functions.windowing.evictors.WatermarkTimeEvictionPolicy
-
Constructs a WatermarkTimeEvictionPolicy that evicts events older than the given window length in millis.
- WatermarkTimeEvictionPolicy(long, long) - Constructor for class org.apache.pulsar.functions.windowing.evictors.WatermarkTimeEvictionPolicy
-
Constructs a WatermarkTimeEvictionPolicy that evicts events older than the given window length in millis.
- WatermarkTimeTriggerPolicy<T> - Class in org.apache.pulsar.functions.windowing.triggers
-
Handles watermark events and triggers
TriggerHandler.onTrigger()for each window interval that has events to be processed up to the watermark ts. - WatermarkTimeTriggerPolicy(long, TriggerHandler, EvictionPolicy<T, ?>, WindowManager<T>) - Constructor for class org.apache.pulsar.functions.windowing.triggers.WatermarkTimeTriggerPolicy
- Window<T> - Interface in org.apache.pulsar.functions.windowing
-
A view of events in a sliding window.
- windowConfig - Variable in class org.apache.pulsar.functions.windowing.WindowFunctionExecutor
- WindowContextImpl - Class in org.apache.pulsar.functions.windowing
- WindowContextImpl(Context) - Constructor for class org.apache.pulsar.functions.windowing.WindowContextImpl
- windowFunction - Variable in class org.apache.pulsar.functions.windowing.WindowFunctionExecutor
- WindowFunctionExecutor<T,
X> - Class in org.apache.pulsar.functions.windowing - WindowFunctionExecutor() - Constructor for class org.apache.pulsar.functions.windowing.WindowFunctionExecutor
- WindowImpl<T> - Class in org.apache.pulsar.functions.windowing
-
Holds the expired, new and current events in a window.
- WindowImpl(List<T>, List<T>, List<T>, Long, Long) - Constructor for class org.apache.pulsar.functions.windowing.WindowImpl
- windowLifecycleListener - Variable in class org.apache.pulsar.functions.windowing.WindowManager
- WindowLifecycleListener<T> - Interface in org.apache.pulsar.functions.windowing
-
A callback for expiry, activation of events tracked by the
WindowManager. - WindowManager<T> - Class in org.apache.pulsar.functions.windowing
-
Tracks a window of events and fires
WindowLifecycleListenercallbacks on expiry of events or activation of the window due toTriggerPolicy. - WindowManager(WindowLifecycleListener<Event<T>>, Collection<Event<T>>) - Constructor for class org.apache.pulsar.functions.windowing.WindowManager
-
Constructs a
WindowManager. - WindowUtils - Class in org.apache.pulsar.functions.windowing
- WindowUtils() - Constructor for class org.apache.pulsar.functions.windowing.WindowUtils
- write(Record<T>) - Method in class org.apache.pulsar.functions.sink.PulsarSink
- write(Record<T>) - Method in class org.apache.pulsar.functions.sink.PulsarSinkDisable
- write004(Writer, Enumeration<Collector.MetricFamilySamples>) - Static method in class org.apache.pulsar.functions.instance.stats.PrometheusTextFormat
-
Write out the text version 0.0.4 of the given MetricFamilySamples.
- WRITTEN_TOTAL - Static variable in class org.apache.pulsar.functions.instance.stats.SinkStatsManager
- WRITTEN_TOTAL - Static variable in class org.apache.pulsar.functions.instance.stats.SourceStatsManager
- WRITTEN_TOTAL_1min - Static variable in class org.apache.pulsar.functions.instance.stats.SinkStatsManager
- WRITTEN_TOTAL_1min - Static variable in class org.apache.pulsar.functions.instance.stats.SourceStatsManager
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form