class GrpcDoFn[RequestT, ResponseT, ClientT <: AbstractStub[ClientT]] extends GuavaAsyncLookupDoFn[RequestT, ResponseT, ClientT]
Ordering
- Alphabetic
- By Inheritance
Inherited
- GrpcDoFn
- GuavaAsyncLookupDoFn
- Guava
- BaseAsyncLookupDoFn
- Base
- DoFnWithResource
- DoFn
- HasDisplayData
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- abstract class FinishBundleContext extends AnyRef
- Definition Classes
- DoFn
- abstract class OnTimerContext extends WindowedContext
- Definition Classes
- DoFn
- abstract class OnWindowExpirationContext extends WindowedContext
- Definition Classes
- DoFn
- abstract class ProcessContext extends WindowedContext
- Definition Classes
- DoFn
- abstract class StartBundleContext extends AnyRef
- Definition Classes
- DoFn
- abstract class WindowedContext extends AnyRef
- Definition Classes
- DoFn
Abstract Value Members
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def addCallback(future: ListenableFuture[ResponseT], onSuccess: Function[ResponseT, Void], onFailure: Function[Throwable, Void]): ListenableFuture[ResponseT]
- Definition Classes
- Guava → Base
- Annotations
- @Override()
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def asyncLookup(client: ClientT, request: RequestT): ListenableFuture[ResponseT]
Perform asynchronous lookup.
Perform asynchronous lookup.
- Definition Classes
- GrpcDoFn → BaseAsyncLookupDoFn
- Annotations
- @Override()
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def closeResource(resource: Pair[ClientT, Cache[RequestT, ResponseT]]): Unit
Close resource.
Close resource.
Default implementation closes
AutoCloseable
resource.- Definition Classes
- BaseAsyncLookupDoFn → DoFnWithResource
- Annotations
- @Override()
- def createResource(): Pair[ClientT, Cache[RequestT, ResponseT]]
Create resource.
Create resource.
DoFnWithResource#getResourceType()
determines how many times this is called.- Definition Classes
- BaseAsyncLookupDoFn → DoFnWithResource
- Annotations
- @Override()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def failure(throwable: Throwable): Try[ResponseT]
Wrap output in a failed Try.
Wrap output in a failed Try.
- Definition Classes
- GrpcDoFn → GuavaAsyncLookupDoFn → BaseAsyncLookupDoFn
- Annotations
- @Override()
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def finishBundle(context: FinishBundleContext): Unit
- Definition Classes
- BaseAsyncLookupDoFn
- Annotations
- @FinishBundle()
- def getCallbackExecutor(): Executor
Executor used for callbacks.
Executor used for callbacks. Default is
ForkJoinPool#commonPool()
. Consider overriding this method if callbacks are blocking.- returns
Executor for callbacks.
- Definition Classes
- Guava
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getInputTypeDescriptor(): TypeDescriptor[RequestT]
- Definition Classes
- DoFn
- def getOutputTypeDescriptor(): TypeDescriptor[KV[RequestT, Try[ResponseT]]]
- Definition Classes
- DoFn
- def getResource(): Pair[ClientT, Cache[RequestT, ResponseT]]
Get managed resource.
Get managed resource.
- Definition Classes
- DoFnWithResource
- Annotations
- @SuppressWarnings()
- def getResourceCache(): Cache[RequestT, ResponseT]
- Definition Classes
- BaseAsyncLookupDoFn
- def getResourceClient(): ClientT
- Definition Classes
- BaseAsyncLookupDoFn
- def getResourceType(): ResourceType
Get resource type.
Get resource type.
- Definition Classes
- GrpcDoFn → DoFnWithResource
- Annotations
- @Override()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def newClient(): ClientT
Creates the client.
Creates the client.
- Attributes
- protected[grpc]
- Definition Classes
- GrpcDoFn → BaseAsyncLookupDoFn
- Annotations
- @Override()
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def populateDisplayData(builder: Builder): Unit
- Definition Classes
- DoFnWithResource → DoFn → HasDisplayData
- Annotations
- @Override()
- def processElement(input: RequestT, timestamp: Instant, window: BoundedWindow, pane: PaneInfo, out: OutputReceiver[KV[RequestT, Try[ResponseT]]]): Unit
- Definition Classes
- BaseAsyncLookupDoFn
- Annotations
- @SuppressWarnings() @ProcessElement()
- def setup(): Unit
- Definition Classes
- DoFnWithResource
- Annotations
- @Setup()
- def startBundle(context: StartBundleContext): Unit
- Definition Classes
- BaseAsyncLookupDoFn
- Annotations
- @StartBundle()
- def success(output: ResponseT): Try[ResponseT]
Wrap output in a successful Try.
Wrap output in a successful Try.
- Definition Classes
- GuavaAsyncLookupDoFn → BaseAsyncLookupDoFn
- Annotations
- @Override()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def teardown(): Unit
- Definition Classes
- DoFnWithResource
- Annotations
- @Teardown()
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def waitForFutures(futures: Iterable[ListenableFuture[ResponseT]]): Unit
- Definition Classes
- Guava → Base
- Annotations
- @Override()
Deprecated Value Members
- def getAllowedTimestampSkew(): Duration
- Definition Classes
- DoFn
- Annotations
- @Deprecated
- Deprecated
- final def prepareForProcessing(): Unit
- Definition Classes
- DoFn
- Annotations
- @Deprecated
- Deprecated
- def processElement(input: RequestT, timestamp: Instant, out: OutputReceiver[KV[RequestT, Try[ResponseT]]], window: BoundedWindow): Unit
- Definition Classes
- BaseAsyncLookupDoFn
- Annotations
- @Deprecated
- Deprecated