MCPcopy Create free account

hub / github.com/apache/flink-statefun-playground / functions

Functions333 in github.com/apache/flink-statefun-playground

Methodapply
(Context context, Message message)
java/showcase/src/main/java/org/apache/flink/statefun/playground/java/showcase/part2/messaging/MessagingPrimitivesShowcaseFn.java:51
Methodapply
(Context context, Message message)
java/showcase/src/main/java/org/apache/flink/statefun/playground/java/showcase/part3/egresses/EgressShowcaseFn.java:66
Methodapply
(Context context, Message message)
java/showcase/src/main/java/org/apache/flink/statefun/playground/java/showcase/part4/storage/StateStorageShowcaseFn.java:56
Methodapply
(Context context, Message message)
java/showcase/src/main/java/org/apache/flink/statefun/playground/java/showcase/part5/asyncops/AsyncOpsShowcaseFn.java:54
Methodapply
(Context context, Message message)
java/showcase/src/main/java/org/apache/flink/statefun/playground/java/showcase/part6/serving/UserFn.java:63
Methodapply
(Context context, Message message)
java/showcase/src/main/java/org/apache/flink/statefun/playground/java/showcase/part6/serving/GreetingsFn.java:51
Methodapply
(Context context, Message message)
java/showcase/src/main/java/org/apache/flink/statefun/playground/java/showcase/part1/types/TypeSystemShowcaseFn.java:82
Methodapply
(Context context, Message message)
java/connected-components/src/main/java/org/apache/flink/statefun/playground/java/connectedcomponents/ConnectedComponentsFn.java:61
Methodapply
(Context context, Message message)
java/shopping-cart/src/main/java/org/apache/flink/statefun/playground/java/shoppingcart/StockFn.java:43
Methodapply
(Context context, Message message)
java/shopping-cart/src/main/java/org/apache/flink/statefun/playground/java/shoppingcart/UserShoppingCartFn.java:52
Methodapply
(Context context, Message message)
deployments/aws-lambda/src/main/java/org/apache/flink/statefun/playground/aws/GreeterFn.java:33
Functionasync_ops
(context, message)
python/showcase/showcase/__main__.py:202
Methodbind
( ComponentJsonObject component, StatefulFunctionModule.Binder remoteModuleBinder)
playground-internal/statefun-playground-entrypoint/src/main/java/org/apache/flink/statefun/playground/internal/io/binders/ingress/v1/PlaygroundIngressBinder.java:16
Methodbuild
()
playground-internal/statefun-playground-entrypoint/src/main/java/org/apache/flink/statefun/playground/internal/io/spec/PlaygroundIngressSpec.java:45
Methodcancel
()
playground-internal/statefun-playground-entrypoint/src/main/java/org/apache/flink/statefun/playground/internal/io/flink/PlaygroundIngress.java:46
Methodclear
()
java/showcase/src/main/java/org/apache/flink/statefun/playground/java/showcase/part1/types/generated/UserProfile.java:530
MethodclearAge
<code>int32 age = 5;</code> @return This builder for chaining.
java/showcase/src/main/java/org/apache/flink/statefun/playground/java/showcase/part1/types/generated/UserProfile.java:951
MethodclearField
(com.google.protobuf.Descriptors.FieldDescriptor field)
java/showcase/src/main/java/org/apache/flink/statefun/playground/java/showcase/part1/types/generated/UserProfile.java:604
MethodclearFriend
<code>repeated string friend = 6;</code> @return This builder for chaining.
java/showcase/src/main/java/org/apache/flink/statefun/playground/java/showcase/part1/types/generated/UserProfile.java:1049
MethodclearLastSeenDeltaMs
<code>int64 last_seen_delta_ms = 2;</code> @return This builder for chaining.
java/showcase/src/main/java/org/apache/flink/statefun/playground/java/showcase/part1/types/generated/UserProfile.java:809
MethodclearLoginLocation
<code>string login_location = 3;</code> @return This builder for chaining.
java/showcase/src/main/java/org/apache/flink/statefun/playground/java/showcase/part1/types/generated/UserProfile.java:869
MethodclearName
<code>string name = 1;</code> @return This builder for chaining.
java/showcase/src/main/java/org/apache/flink/statefun/playground/java/showcase/part1/types/generated/UserProfile.java:760
MethodclearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof)
java/showcase/src/main/java/org/apache/flink/statefun/playground/java/showcase/part1/types/generated/UserProfile.java:609
MethodclearSeenCount
<code>int32 seen_count = 4;</code> @return This builder for chaining.
java/showcase/src/main/java/org/apache/flink/statefun/playground/java/showcase/part1/types/generated/UserProfile.java:918
Methodclone
()
java/showcase/src/main/java/org/apache/flink/statefun/playground/java/showcase/part1/types/generated/UserProfile.java:593
Methodclose
()
playground-internal/statefun-playground-entrypoint/src/main/java/org/apache/flink/statefun/playground/internal/io/flink/RefCountedContainer.java:44
Methodconfigure
(Map<String, String> globalConfigurations, Binder binder)
playground-internal/statefun-playground-entrypoint/src/main/java/org/apache/flink/statefun/playground/internal/io/binders/ingress/v1/Module.java:9
Methodconfigure
(Map<String, String> globalConfigurations, Binder binder)
playground-internal/statefun-playground-entrypoint/src/main/java/org/apache/flink/statefun/playground/internal/io/binders/egress/v1/Module.java:9
Methodconfigure
(Map<String, String> globalConfiguration, Binder binder)
playground-internal/statefun-playground-entrypoint/src/main/java/org/apache/flink/statefun/playground/internal/io/flink/PlaygroundFlinkIoModule.java:10
Functionegress
(context: Context, message: Message)
python/showcase/showcase/__main__.py:141
Methodfinish
()
playground-internal/statefun-playground-entrypoint/src/main/java/org/apache/flink/statefun/playground/internal/io/flink/PlaygroundEgress.java:59
Functionfn
(context, message)
javascript/showcase/showcase/showcase.js:62
MethodforSpec
(EgressSpec<T> spec)
playground-internal/statefun-playground-entrypoint/src/main/java/org/apache/flink/statefun/playground/internal/io/flink/PlaygroundSinkProvider.java:9
MethodforSpec
(IngressSpec<T> spec)
playground-internal/statefun-playground-entrypoint/src/main/java/org/apache/flink/statefun/playground/internal/io/flink/PlaygroundSourceProvider.java:9
MethodgetAge
<code>int32 age = 5;</code> @return The age.
java/showcase/src/main/java/org/apache/flink/statefun/playground/java/showcase/part1/types/generated/UserProfile.java:931
MethodgetBasketContent
()
java/shopping-cart/src/main/java/org/apache/flink/statefun/playground/java/shoppingcart/UserShoppingCartFn.java:201
MethodgetDefaultInstanceForType
()
java/showcase/src/main/java/org/apache/flink/statefun/playground/java/showcase/part1/types/generated/UserProfile.java:554
MethodgetDefaultInstanceForType
()
java/showcase/src/main/java/org/apache/flink/statefun/playground/java/showcase/part1/types/generated/UserProfile.java:1121
MethodgetDescriptor
()
java/showcase/src/main/java/org/apache/flink/statefun/playground/java/showcase/part1/types/generated/UserProfile.java:498
MethodgetDescriptorForType
()
java/showcase/src/main/java/org/apache/flink/statefun/playground/java/showcase/part1/types/generated/UserProfile.java:548
MethodgetDetails
()
java/shopping-cart/src/main/java/org/apache/flink/statefun/playground/java/shoppingcart/Messages.java:125
MethodgetFriend
<code>repeated string friend = 6;</code> @param index The index of the element to return. @return The friend at the given index.
java/showcase/src/main/java/org/apache/flink/statefun/playground/java/showcase/part1/types/generated/UserProfileOrBuilder.java:76
MethodgetFriend
<code>repeated string friend = 6;</code> @param index The index of the element to return. @return The friend at the given index.
java/showcase/src/main/java/org/apache/flink/statefun/playground/java/showcase/part1/types/generated/UserProfile.java:258
MethodgetFriend
<code>repeated string friend = 6;</code> @param index The index of the element to return. @return The friend at the given index.
java/showcase/src/main/java/org/apache/flink/statefun/playground/java/showcase/part1/types/generated/UserProfile.java:989
MethodgetFriendBytes
<code>repeated string friend = 6;</code> @param index The index of the value to return. @return The bytes of the friend at the given index.
java/showcase/src/main/java/org/apache/flink/statefun/playground/java/showcase/part1/types/generated/UserProfileOrBuilder.java:83
MethodgetFriendBytes
<code>repeated string friend = 6;</code> @param index The index of the value to return. @return The bytes of the friend at the given index.
java/showcase/src/main/java/org/apache/flink/statefun/playground/java/showcase/part1/types/generated/UserProfile.java:267
MethodgetFriendBytes
<code>repeated string friend = 6;</code> @param index The index of the value to return. @return The bytes of the friend at the given index.
java/showcase/src/main/java/org/apache/flink/statefun/playground/java/showcase/part1/types/generated/UserProfile.java:998
MethodgetFriendCount
<code>repeated string friend = 6;</code> @return The count of friend.
java/showcase/src/main/java/org/apache/flink/statefun/playground/java/showcase/part1/types/generated/UserProfileOrBuilder.java:69
MethodgetFriendCount
<code>repeated string friend = 6;</code> @return The count of friend.
java/showcase/src/main/java/org/apache/flink/statefun/playground/java/showcase/part1/types/generated/UserProfile.java:980
MethodgetFriendList
<code>repeated string friend = 6;</code> @return A list containing the friend.
java/showcase/src/main/java/org/apache/flink/statefun/playground/java/showcase/part1/types/generated/UserProfile.java:972
MethodgetItemId
()
java/shopping-cart/src/main/java/org/apache/flink/statefun/playground/java/shoppingcart/Messages.java:146
MethodgetLastSeenDeltaMs
<code>int64 last_seen_delta_ms = 2;</code> @return The lastSeenDeltaMs.
java/showcase/src/main/java/org/apache/flink/statefun/playground/java/showcase/part1/types/generated/UserProfile.java:789
MethodgetLoginLocation
<code>string login_location = 3;</code> @return The loginLocation.
java/showcase/src/main/java/org/apache/flink/statefun/playground/java/showcase/part1/types/generated/UserProfile.java:822
MethodgetLoginLocationBytes
<code>string login_location = 3;</code> @return The bytes for loginLocation.
java/showcase/src/main/java/org/apache/flink/statefun/playground/java/showcase/part1/types/generated/UserProfileOrBuilder.java:42
MethodgetLoginLocationBytes
<code>string login_location = 3;</code> @return The bytes for loginLocation.
java/showcase/src/main/java/org/apache/flink/statefun/playground/java/showcase/part1/types/generated/UserProfile.java:838
MethodgetName
<code>string name = 1;</code> @return The name.
java/showcase/src/main/java/org/apache/flink/statefun/playground/java/showcase/part1/types/generated/UserProfile.java:713
MethodgetNameBytes
<code>string name = 1;</code> @return The bytes for name.
java/showcase/src/main/java/org/apache/flink/statefun/playground/java/showcase/part1/types/generated/UserProfileOrBuilder.java:22
MethodgetNameBytes
<code>string name = 1;</code> @return The bytes for name.
java/showcase/src/main/java/org/apache/flink/statefun/playground/java/showcase/part1/types/generated/UserProfile.java:729
MethodgetParserForType
()
java/showcase/src/main/java/org/apache/flink/statefun/playground/java/showcase/part1/types/generated/UserProfile.java:1116
MethodgetPayload
()
java/greeter/src/main/java/org/apache/flink/statefun/playground/java/greeter/types/EgressRecord.java:25
MethodgetPayload
()
java/connected-components/src/main/java/org/apache/flink/statefun/playground/java/connectedcomponents/types/EgressRecord.java:25
MethodgetPayload
()
java/shopping-cart/src/main/java/org/apache/flink/statefun/playground/java/shoppingcart/Messages.java:295
MethodgetQuantity
()
java/shopping-cart/src/main/java/org/apache/flink/statefun/playground/java/shoppingcart/Messages.java:265
MethodgetSeenCount
<code>int32 seen_count = 4;</code> @return The seenCount.
java/showcase/src/main/java/org/apache/flink/statefun/playground/java/showcase/part1/types/generated/UserProfile.java:898
MethodgetSerializedSize
()
java/showcase/src/main/java/org/apache/flink/statefun/playground/java/showcase/part1/types/generated/UserProfile.java:306
MethodgetTopic
()
java/greeter/src/main/java/org/apache/flink/statefun/playground/java/greeter/types/EgressRecord.java:21
MethodgetTopic
()
java/connected-components/src/main/java/org/apache/flink/statefun/playground/java/connectedcomponents/types/EgressRecord.java:21
MethodgetTopic
()
java/shopping-cart/src/main/java/org/apache/flink/statefun/playground/java/shoppingcart/Messages.java:291
MethodgetUnknownFields
()
java/showcase/src/main/java/org/apache/flink/statefun/playground/java/showcase/part1/types/generated/UserProfile.java:29
MethodgetUserId
()
java/shopping-cart/src/main/java/org/apache/flink/statefun/playground/java/shoppingcart/Messages.java:83
MethodgetUserId
()
java/shopping-cart/src/main/java/org/apache/flink/statefun/playground/java/shoppingcart/Messages.java:101
MethodgetUserId
()
java/shopping-cart/src/main/java/org/apache/flink/statefun/playground/java/shoppingcart/Messages.java:121
MethodgetUserId
()
java/shopping-cart/src/main/java/org/apache/flink/statefun/playground/java/shoppingcart/Messages.java:175
Functiongreeter
(context, message)
python/greeter/functions.py:51
Functiongreeter
(context, message)
javascript/greeter/functions.js:60
Functiongreetings
greetings is a simple function that computes personalized greeting messages based on a give UserProfile. Then, it sends the greeting back to the user
go/showcase/pkg/showcase/part6/greetings_fn.go:37
Functionhandle
(request)
python/greeter/functions.py:90
Functionhandle
(request)
python/showcase/showcase/__main__.py:279
Functionhandle
(request)
deployments/k8s/03-functions/functions.py:36
MethodhandleRequest
(HttpServerExchange exchange)
playground-internal/statefun-playground-entrypoint/src/main/java/org/apache/flink/statefun/playground/internal/io/flink/EgressWebServer.java:63
MethodhandleRequest
(HttpServerExchange httpServerExchange)
playground-internal/statefun-playground-entrypoint/src/main/java/org/apache/flink/statefun/playground/internal/io/flink/IngressWebServer.java:42
MethodhandleRequest
(HttpServerExchange exchange)
java/greeter/src/main/java/org/apache/flink/statefun/playground/java/greeter/undertow/UndertowHttpHandler.java:41
MethodhandleRequest
(HttpServerExchange exchange)
java/showcase/src/main/java/org/apache/flink/statefun/playground/java/showcase/part6/serving/UndertowHttpHandler.java:41
MethodhandleRequest
(HttpServerExchange exchange)
java/connected-components/src/main/java/org/apache/flink/statefun/playground/java/connectedcomponents/undertow/UndertowHttpHandler.java:41
MethodhandleRequest
(HttpServerExchange exchange)
java/shopping-cart/src/main/java/org/apache/flink/statefun/playground/java/shoppingcart/Expose.java:72
MethodhandleRequest
( APIGatewayV2ProxyRequestEvent event, Context context)
deployments/aws-lambda/src/main/java/org/apache/flink/statefun/playground/aws/GreeterAwsLambdaHandler.java:50
Functionhandler
(number, frame)
playground-internal/statefun-playground-producer/main.py:84
MethodhashCode
()
java/showcase/src/main/java/org/apache/flink/statefun/playground/java/showcase/part1/types/generated/UserProfile.java:363
Functionhello
(context: Context, message: Message)
deployments/k8s/03-functions/functions.py:28
MethodinternalGetFieldAccessorTable
()
java/showcase/src/main/java/org/apache/flink/statefun/playground/java/showcase/part1/types/generated/UserProfile.java:119
MethodinternalGetFieldAccessorTable
()
java/showcase/src/main/java/org/apache/flink/statefun/playground/java/showcase/part1/types/generated/UserProfile.java:503
Methodinvoke
(T value, Context context)
playground-internal/statefun-playground-entrypoint/src/main/java/org/apache/flink/statefun/playground/internal/io/flink/PlaygroundEgress.java:34
MethodisInitialized
()
java/showcase/src/main/java/org/apache/flink/statefun/playground/java/showcase/part1/types/generated/UserProfile.java:678
Functionmain
()
go/greeter/greeter.go:110
Functionmain
This is where everything comes together. In this section, we'd like to guide you through how to expose the functions you implemented via any HTTP webs
go/showcase/pkg/showcase/part6/serving.go:49
Methodmain
(String[] args)
java/greeter/src/main/java/org/apache/flink/statefun/playground/java/greeter/GreeterAppServer.java:36
Methodmain
(String[] args)
java/showcase/src/main/java/org/apache/flink/statefun/playground/java/showcase/part6/serving/StatefulFunctionsRuntimeProcesses.java:64
Methodmain
Run this program to start a web server that handles invocations for two very simple functions that build up an User Greeter application, {@link UserFn
java/showcase/src/main/java/org/apache/flink/statefun/playground/java/showcase/part6/serving/GreeterAppServer.java:72
Methodmain
(String[] args)
java/connected-components/src/main/java/org/apache/flink/statefun/playground/java/connectedcomponents/ConnectedComponentsAppServer.java:36
Methodmain
(String... args)
java/shopping-cart/src/main/java/org/apache/flink/statefun/playground/java/shoppingcart/Expose.java:37
← previousnext →201–300 of 333, ranked by callers