索引
All Classes and Interfaces|所有程序包
A
- ack() - 接口中的方法 org.apache.pulsar.functions.api.Record
-
Acknowledge that this record is fully processed.
- apply(Object) - 类中的方法 org.apache.pulsar.functions.api.utils.IdentityFunction
B
- BaseContext - org.apache.pulsar.functions.api中的接口
-
BaseContext provides base contextual information to the executing function/source/sink.
- ByteBufferStateStore - org.apache.pulsar.functions.api.state中的接口
-
A key-value state store that stores values in
ByteBuffer
.
C
- close() - 接口中的方法 org.apache.pulsar.functions.api.Function
-
Called once to properly close resources when function instance is stopped.
- close() - 接口中的方法 org.apache.pulsar.functions.api.StateStore
- Context - org.apache.pulsar.functions.api中的接口
-
Context provides contextual information to the executing function.
- CounterStateStore - org.apache.pulsar.functions.api.state中的接口
-
The state store supports counters.
D
- delete(String) - 接口中的方法 org.apache.pulsar.functions.api.state.ByteBufferStateStore
-
Delete the state value for the key.
- deleteAsync(String) - 接口中的方法 org.apache.pulsar.functions.api.state.ByteBufferStateStore
-
Delete the state value for the key, but don't wait for the operation to be completed
- deleteState(String) - 接口中的方法 org.apache.pulsar.functions.api.BaseContext
-
Delete the state value for the key.
- deleteStateAsync(String) - 接口中的方法 org.apache.pulsar.functions.api.BaseContext
-
Delete the state value for the key, but don't wait for the operation to be completed
- deserialize(byte[]) - 接口中的方法 org.apache.pulsar.functions.api.SerDe
- deserialize(byte[]) - 类中的方法 org.apache.pulsar.functions.api.utils.JavaSerDe
F
- fail() - 接口中的方法 org.apache.pulsar.functions.api.Record
-
To indicate that this record has failed to be processed.
- fqsn() - 接口中的方法 org.apache.pulsar.functions.api.StateStore
-
The fully qualified state store name.
- Function<I,
O> - org.apache.pulsar.functions.api中的接口 -
This is the core interface of the function api.
G
- get(String) - 接口中的方法 org.apache.pulsar.functions.api.state.ByteBufferStateStore
-
Retrieve the state value for the key.
- getAsync(String) - 接口中的方法 org.apache.pulsar.functions.api.state.ByteBufferStateStore
-
Retrieve the state value for the key, but don't wait for the operation to be completed
- getCounter(String) - 接口中的方法 org.apache.pulsar.functions.api.BaseContext
-
Retrieve the counter value for the key.
- getCounter(String) - 接口中的方法 org.apache.pulsar.functions.api.state.CounterStateStore
-
Retrieve the counter value for the key.
- getCounter(String) - 接口中的方法 org.apache.pulsar.functions.api.WindowContext
-
Retrieve the counter value for the key.
- getCounterAsync(String) - 接口中的方法 org.apache.pulsar.functions.api.BaseContext
-
Retrieve the counter value for the key, but don't wait for the operation to be completed
- getCounterAsync(String) - 接口中的方法 org.apache.pulsar.functions.api.state.CounterStateStore
-
Retrieve the counter value for the key, but don't wait for the operation to be completed
- getCurrentRecord() - 接口中的方法 org.apache.pulsar.functions.api.Context
-
Access the record associated with the current input value.
- getDestinationTopic() - 接口中的方法 org.apache.pulsar.functions.api.Record
-
To support message routing on a per message basis.
- getEventTime() - 接口中的方法 org.apache.pulsar.functions.api.Record
-
Retrieves the event time of the record from the source.
- getFunctionId() - 接口中的方法 org.apache.pulsar.functions.api.Context
-
The id of the function that we are executing
- getFunctionId() - 接口中的方法 org.apache.pulsar.functions.api.WindowContext
-
The id of the function that we are executing.
- getFunctionName() - 接口中的方法 org.apache.pulsar.functions.api.Context
-
The name of the function that we are executing.
- getFunctionName() - 接口中的方法 org.apache.pulsar.functions.api.WindowContext
-
The name of the function that we are executing.
- getFunctionVersion() - 接口中的方法 org.apache.pulsar.functions.api.Context
-
The version of the function that we are executing.
- getFunctionVersion() - 接口中的方法 org.apache.pulsar.functions.api.WindowContext
-
The version of the function that we are executing.
- getInputTopics() - 接口中的方法 org.apache.pulsar.functions.api.Context
-
Get a list of all input topics.
- getInputTopics() - 接口中的方法 org.apache.pulsar.functions.api.WindowContext
-
Get a list of all input topics.
- getInstanceId() - 接口中的方法 org.apache.pulsar.functions.api.BaseContext
-
The id of the instance that invokes this component.
- getInstanceId() - 接口中的方法 org.apache.pulsar.functions.api.WindowContext
-
The id of the instance that invokes this function.
- getKey() - 接口中的方法 org.apache.pulsar.functions.api.Record
-
Return a key if the key has one associated.
- getKeySchema() - 接口中的方法 org.apache.pulsar.functions.api.KVRecord
- getKeyValueEncodingType() - 接口中的方法 org.apache.pulsar.functions.api.KVRecord
- getLogger() - 接口中的方法 org.apache.pulsar.functions.api.BaseContext
-
The logger object that can be used to log in a component.
- getLogger() - 接口中的方法 org.apache.pulsar.functions.api.WindowContext
-
The logger object that can be used to log in a function.
- getMessage() - 接口中的方法 org.apache.pulsar.functions.api.Record
- getNamespace() - 接口中的方法 org.apache.pulsar.functions.api.BaseContext
-
The namespace this component belongs to.
- getNamespace() - 接口中的方法 org.apache.pulsar.functions.api.WindowContext
-
The namespace this function belongs to.
- getNumInstances() - 接口中的方法 org.apache.pulsar.functions.api.BaseContext
-
Get the number of instances that invoke this component.
- getNumInstances() - 接口中的方法 org.apache.pulsar.functions.api.WindowContext
-
Get the number of instances that invoke this function.
- getOutputSchemaType() - 接口中的方法 org.apache.pulsar.functions.api.Context
-
Get output schema builtin type or custom class name.
- getOutputSchemaType() - 接口中的方法 org.apache.pulsar.functions.api.WindowContext
-
Get output schema builtin type or custom class name.
- getOutputTopic() - 接口中的方法 org.apache.pulsar.functions.api.Context
-
Get the output topic of the source.
- getOutputTopic() - 接口中的方法 org.apache.pulsar.functions.api.WindowContext
-
Get the output topic of the function.
- getPartitionId() - 接口中的方法 org.apache.pulsar.functions.api.Record
-
Retrieves the partition information if any of the record.
- getPartitionIndex() - 接口中的方法 org.apache.pulsar.functions.api.Record
-
Retrieves the partition index if any of the record.
- getProperties() - 接口中的方法 org.apache.pulsar.functions.api.Record
-
Retrieves user-defined properties attached to record.
- getPulsarAdmin() - 接口中的方法 org.apache.pulsar.functions.api.Context
-
Get the pulsar admin client.
- getPulsarClient() - 接口中的方法 org.apache.pulsar.functions.api.BaseContext
-
Get the pre-configured pulsar client.
- getPulsarClientBuilder() - 接口中的方法 org.apache.pulsar.functions.api.BaseContext
-
Get the pre-configured pulsar client builder.
- getRecordSequence() - 接口中的方法 org.apache.pulsar.functions.api.Record
-
Retrieves the sequence of the record from a source partition.
- getSchema() - 接口中的方法 org.apache.pulsar.functions.api.Record
- getSecret(String) - 接口中的方法 org.apache.pulsar.functions.api.BaseContext
-
Get the secret associated with this key.
- getState(String) - 接口中的方法 org.apache.pulsar.functions.api.BaseContext
-
Retrieve the state value for the key.
- getState(String) - 接口中的方法 org.apache.pulsar.functions.api.WindowContext
-
Retrieve the state value for the key.
- getStateAsync(String) - 接口中的方法 org.apache.pulsar.functions.api.BaseContext
-
Retrieve the state value for the key, but don't wait for the operation to be completed
- getStateStore(String) - 接口中的方法 org.apache.pulsar.functions.api.BaseContext
-
Get the state store with the provided store name in the tenant & namespace.
- getStateStore(String, String, String) - 接口中的方法 org.apache.pulsar.functions.api.BaseContext
-
Get the state store with the provided store name.
- getTenant() - 接口中的方法 org.apache.pulsar.functions.api.BaseContext
-
The tenant this component belongs to.
- getTenant() - 接口中的方法 org.apache.pulsar.functions.api.WindowContext
-
The tenant this function belongs to.
- getTopicName() - 接口中的方法 org.apache.pulsar.functions.api.Record
-
If the record originated from a topic, report the topic name.
- getUserConfigMap() - 接口中的方法 org.apache.pulsar.functions.api.Context
-
Get a map of all user-defined key/value configs for the function.
- getUserConfigMap() - 接口中的方法 org.apache.pulsar.functions.api.WindowContext
-
Get a map of all user-defined key/value configs for the function.
- getUserConfigValue(String) - 接口中的方法 org.apache.pulsar.functions.api.Context
-
Get any user-defined key/value.
- getUserConfigValue(String) - 接口中的方法 org.apache.pulsar.functions.api.WindowContext
-
Get any user-defined key/value.
- getUserConfigValueOrDefault(String, Object) - 接口中的方法 org.apache.pulsar.functions.api.Context
-
Get any user-defined key/value or a default value if none is present.
- getUserConfigValueOrDefault(String, Object) - 接口中的方法 org.apache.pulsar.functions.api.WindowContext
-
Get any user-defined key/value or a default value if none is present.
- getValue() - 接口中的方法 org.apache.pulsar.functions.api.Record
-
Retrieves the actual data of the record.
- getValueSchema() - 接口中的方法 org.apache.pulsar.functions.api.KVRecord
I
- IdentityFunction - org.apache.pulsar.functions.api.utils中的类
- IdentityFunction() - 类的构造器 org.apache.pulsar.functions.api.utils.IdentityFunction
- incrCounter(String, long) - 接口中的方法 org.apache.pulsar.functions.api.BaseContext
-
Increment the builtin distributed counter referred by key.
- incrCounter(String, long) - 接口中的方法 org.apache.pulsar.functions.api.state.CounterStateStore
-
Increment the builtin distributed counter referred by key.
- incrCounter(String, long) - 接口中的方法 org.apache.pulsar.functions.api.WindowContext
-
Increment the builtin distributed counter referred by key.
- incrCounterAsync(String, long) - 接口中的方法 org.apache.pulsar.functions.api.BaseContext
-
Increment the builtin distributed counter referred by key but dont wait for the completion of the increment operation
- incrCounterAsync(String, long) - 接口中的方法 org.apache.pulsar.functions.api.state.CounterStateStore
-
Increment the builtin distributed counter referred by key but dont wait for the completion of the increment operation
- init(StateStoreContext) - 接口中的方法 org.apache.pulsar.functions.api.StateStore
-
Initialize the state store.
- initialize(Context) - 接口中的方法 org.apache.pulsar.functions.api.Function
-
Called once to initialize resources when function instance is started.
J
- JavaSerDe - org.apache.pulsar.functions.api.utils中的类
-
Java Serialization based SerDe
- JavaSerDe() - 类的构造器 org.apache.pulsar.functions.api.utils.JavaSerDe
K
- KVRecord<K,
V> - org.apache.pulsar.functions.api中的接口 -
key value schema record.
N
- name() - 接口中的方法 org.apache.pulsar.functions.api.StateStore
-
The name of this store.
- namespace() - 接口中的方法 org.apache.pulsar.functions.api.StateStore
-
The namespace of this store.
- newConsumerBuilder(Schema<O>) - 接口中的方法 org.apache.pulsar.functions.api.Context
-
Create a ConsumerBuilder with the schema.
- newOutputMessage(String, Schema<O>) - 接口中的方法 org.apache.pulsar.functions.api.Context
-
New output message using schema for serializing to the topic
O
- of() - 类中的静态方法 org.apache.pulsar.functions.api.utils.JavaSerDe
- org.apache.pulsar.functions.api - 程序包 org.apache.pulsar.functions.api
-
Provides a simple model for enabling lightweight computation on Apache Pulsar.
- org.apache.pulsar.functions.api.state - 程序包 org.apache.pulsar.functions.api.state
-
State Store API.
- org.apache.pulsar.functions.api.utils - 程序包 org.apache.pulsar.functions.api.utils
P
- process(I, Context) - 接口中的方法 org.apache.pulsar.functions.api.Function
-
Process the input.
- process(Collection<Record<I>>, WindowContext) - 接口中的方法 org.apache.pulsar.functions.api.WindowFunction
-
Process the input.
- publish(String, O) - 接口中的方法 org.apache.pulsar.functions.api.Context
-
已过时。
- publish(String, O) - 接口中的方法 org.apache.pulsar.functions.api.WindowContext
-
Publish an object to the topic using default schemas.
- publish(String, O, String) - 接口中的方法 org.apache.pulsar.functions.api.Context
-
已过时。in favor of using
Context.newOutputMessage(String, Schema)
- publish(String, O, String) - 接口中的方法 org.apache.pulsar.functions.api.WindowContext
-
Publish an object using serDe for serializing to the topic.
- put(String, ByteBuffer) - 接口中的方法 org.apache.pulsar.functions.api.state.ByteBufferStateStore
-
Update the state value for the key.
- putAsync(String, ByteBuffer) - 接口中的方法 org.apache.pulsar.functions.api.state.ByteBufferStateStore
-
Update the state value for the key, but don't wait for the operation to be completed
- putState(String, ByteBuffer) - 接口中的方法 org.apache.pulsar.functions.api.BaseContext
-
Update the state value for the key.
- putState(String, ByteBuffer) - 接口中的方法 org.apache.pulsar.functions.api.WindowContext
-
Update the state value for the key.
- putStateAsync(String, ByteBuffer) - 接口中的方法 org.apache.pulsar.functions.api.BaseContext
-
Update the state value for the key, but don't wait for the operation to be completed
R
- Record<T> - org.apache.pulsar.functions.api中的接口
-
Pulsar Connect's Record interface.
- recordMetric(String, double) - 接口中的方法 org.apache.pulsar.functions.api.BaseContext
-
Record a user defined metric
- recordMetric(String, double) - 接口中的方法 org.apache.pulsar.functions.api.WindowContext
-
Record a user defined metric.
S
- SerDe<T> - org.apache.pulsar.functions.api中的接口
-
An interface for serializer/deserializer.
- serialize(Object) - 类中的方法 org.apache.pulsar.functions.api.utils.JavaSerDe
- serialize(T) - 接口中的方法 org.apache.pulsar.functions.api.SerDe
- StateStore - org.apache.pulsar.functions.api中的接口
- StateStoreContext - org.apache.pulsar.functions.api中的接口
-
State Store Context Interface.
T
- tenant() - 接口中的方法 org.apache.pulsar.functions.api.StateStore
-
The tenant of this store.
W
- WindowContext - org.apache.pulsar.functions.api中的接口
- WindowFunction<I,
O> - org.apache.pulsar.functions.api中的接口 -
This is the interface of the windowed function api.
All Classes and Interfaces|所有程序包
Context.newOutputMessage(String, Schema)