Package | Description |
---|---|
org.apache.flink.statefun.e2e.smoke.java | |
org.apache.flink.statefun.sdk.java | |
org.apache.flink.statefun.sdk.java.storage |
Modifier and Type | Field and Description |
---|---|
static ValueSpec<java.lang.Long> |
CommandInterpreterFn.STATE |
Modifier and Type | Method and Description |
---|---|
void |
CommandInterpreter.interpret(ValueSpec<java.lang.Long> state,
Context context,
Message message) |
Modifier and Type | Method and Description |
---|---|
ValueSpec<java.lang.Boolean> |
ValueSpec.Untyped.withBooleanType() |
<T> ValueSpec<T> |
ValueSpec.Untyped.withCustomType(Type<T> type) |
ValueSpec<java.lang.Double> |
ValueSpec.Untyped.withDoubleType() |
ValueSpec<java.lang.Float> |
ValueSpec.Untyped.withFloatType() |
ValueSpec<java.lang.Integer> |
ValueSpec.Untyped.withIntType() |
ValueSpec<java.lang.Long> |
ValueSpec.Untyped.withLongType() |
ValueSpec<java.lang.String> |
ValueSpec.Untyped.withUtf8StringType() |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,ValueSpec<?>> |
StatefulFunctionSpec.knownValues() |
Modifier and Type | Method and Description |
---|---|
<T> java.util.Optional<T> |
AddressScopedStorage.get(ValueSpec<T> spec)
|
<T> void |
AddressScopedStorage.remove(ValueSpec<T> spec)
|
<T> void |
AddressScopedStorage.set(ValueSpec<T> spec,
T value)
|
static ByteString |
ApiExtension.stateNameByteString(ValueSpec<?> spec) |
StatefulFunctionSpec.Builder |
StatefulFunctionSpec.Builder.withValueSpec(ValueSpec<?> valueSpec)
Registers a
ValueSpec that will be used by this function. |
StatefulFunctionSpec.Builder |
StatefulFunctionSpec.Builder.withValueSpecs(ValueSpec<?>... valueSpecs)
Registers multiple
ValueSpec s that will be used by this function. |
Modifier and Type | Method and Description |
---|---|
ValueSpec<T> |
StateValueContexts.StateValueContext.spec() |
Modifier and Type | Method and Description |
---|---|
java.util.List<ValueSpec<?>> |
StateValueContexts.ResolutionResult.missingValues() |
Modifier and Type | Method and Description |
---|---|
<T> java.util.Optional<T> |
ConcurrentAddressScopedStorage.get(ValueSpec<T> valueSpec) |
<T> void |
ConcurrentAddressScopedStorage.remove(ValueSpec<T> valueSpec) |
<T> void |
ConcurrentAddressScopedStorage.set(ValueSpec<T> valueSpec,
T value) |
Modifier and Type | Method and Description |
---|---|
static StateValueContexts.ResolutionResult |
StateValueContexts.resolve(java.util.Map<java.lang.String,ValueSpec<?>> registeredSpecs,
java.util.List<ToFunction.PersistedValue> protocolProvidedValues)
Tries to resolve any registered states that are known to us by the
ValueSpec with the
states provided to us by the runtime. |
Copyright © 2014–2025 The Apache Software Foundation. All rights reserved.