- get() - Method in class org.apache.beam.fn.harness.state.BagUserState
-
- get(PCollectionView<T>, BoundedWindow) - Method in class org.apache.beam.fn.harness.state.FnApiStateAccessor
-
- get() - Method in class org.apache.beam.fn.harness.state.IterableSideInput
-
- get() - Method in class org.apache.beam.fn.harness.state.MultimapSideInput
-
- get(K) - Method in class org.apache.beam.fn.harness.state.MultimapSideInput
-
- get(K) - Method in class org.apache.beam.fn.harness.state.MultimapUserState
-
- getActiveBundleProcessors() - Method in class org.apache.beam.fn.harness.control.ProcessBundleHandler.BundleProcessorCache
-
- getBeamFnDataClient() - Method in interface org.apache.beam.fn.harness.PTransformRunnerFactory.Context
-
A client for handling inbound and outbound data streams.
- getBeamFnStateClient() - Method in interface org.apache.beam.fn.harness.PTransformRunnerFactory.Context
-
A client for handling state requests.
- getBundleCacheSupplier() - Method in interface org.apache.beam.fn.harness.PTransformRunnerFactory.Context
-
A cache that is used for each bundle and cleared when the bundle completes.
- getBundleFinalizer() - Method in interface org.apache.beam.fn.harness.PTransformRunnerFactory.Context
-
Register callbacks that will be invoked when the runner completes the bundle.
- getBundleModifications() - Method in class org.apache.beam.fn.harness.state.FnApiTimerBundleTracker
-
- getBundleProcessorCache() - Method in class org.apache.beam.fn.harness.control.ProcessBundleHandler
-
- getCache() - Method in interface org.apache.beam.fn.harness.state.StateBackedIterable.StateBackedIterableTranslationContext
-
- getCacheTokensSupplier() - Method in interface org.apache.beam.fn.harness.PTransformRunnerFactory.Context
-
A supplier containing the active cache tokens for this bundle.
- getCoders() - Method in interface org.apache.beam.fn.harness.PTransformRunnerFactory.Context
-
An immutable mapping from coder id to coder definition.
- getCoderTranslators() - Method in class org.apache.beam.fn.harness.state.StateBackedIterable.Registrar
-
- getCoderURNs() - Method in class org.apache.beam.fn.harness.state.StateBackedIterable.Registrar
-
- getCurrentInstructionId() - Method in interface org.apache.beam.fn.harness.state.StateBackedIterable.StateBackedIterableTranslationContext
-
- getCurrentThreadsPTransformId() - Method in class org.apache.beam.fn.harness.control.ExecutionStateSampler.ExecutionStateTracker
-
Returns the ptransform id of the currently executing thread.
- getFunctions() - Method in class org.apache.beam.fn.harness.data.PTransformFunctionRegistry
-
- getInstructionId() - Static method in class org.apache.beam.fn.harness.logging.BeamFnLoggingMDC
-
Gets the Instruction ID of the current thread.
- getLastTransitionTimeMillis() - Method in class org.apache.beam.fn.harness.control.ExecutionStateSampler.ExecutionStateTrackerStatus
-
- getMetricsContainer() - Method in class org.apache.beam.fn.harness.control.ExecutionStateSampler.ExecutionStateTracker
-
Returns a
MetricsContainer that delegates based upon the current execution state to
the appropriate metrics container that is bound to the current
ExecutionStateSampler.ExecutionState or to
the unbound
MetricsContainer if no execution state is currently running.
- getMetricsContainerRegistry() - Method in class org.apache.beam.fn.harness.control.ExecutionStateSampler.ExecutionStateTracker
-
- getModifiedEventTimersOrdered() - Method in class org.apache.beam.fn.harness.state.FnApiTimerBundleTracker.Modifications
-
- getModifiedProcessingTimersOrdered() - Method in class org.apache.beam.fn.harness.state.FnApiTimerBundleTracker.Modifications
-
- getModifiedSynchronizedProcessingTimersOrdered() - Method in class org.apache.beam.fn.harness.state.FnApiTimerBundleTracker.Modifications
-
- getModifiedTimerIds() - Method in class org.apache.beam.fn.harness.state.FnApiTimerBundleTracker.Modifications
-
- getModifiedTimersOrdered(TimeDomain) - Method in class org.apache.beam.fn.harness.state.FnApiTimerBundleTracker.Modifications
-
- getMultiplexingConsumer(String) - Method in class org.apache.beam.fn.harness.data.PCollectionConsumerRegistry
-
New consumers should not be register()-ed after calling this method.
- getPCollectionConsumer(String) - Method in interface org.apache.beam.fn.harness.PTransformRunnerFactory.Context
-
Returns a FnDataReceiver to send output to for the specified PCollection id.
- getPCollections() - Method in interface org.apache.beam.fn.harness.PTransformRunnerFactory.Context
-
An immutable mapping from PCollection id to PCollection definition.
- getPipelineOptions() - Method in interface org.apache.beam.fn.harness.PTransformRunnerFactory.Context
-
Pipeline options.
- getPrimaryRoots() - Method in class org.apache.beam.fn.harness.control.BundleSplitListener.InMemory
-
- getPrimaryRoots() - Method in class org.apache.beam.fn.harness.HandlesSplits.SplitResult
-
- getProcessBundleId() - Method in class org.apache.beam.fn.harness.control.ExecutionStateSampler.ExecutionStateTrackerStatus
-
- getProcessBundleInstructionIdSupplier() - Method in interface org.apache.beam.fn.harness.PTransformRunnerFactory.Context
-
A supplier containing the active process bundle instruction id.
- getProcessWideCache() - Method in interface org.apache.beam.fn.harness.PTransformRunnerFactory.Context
-
A cache that is process wide and persists across bundle boundaries.
- getProgress() - Method in interface org.apache.beam.fn.harness.HandlesSplits
-
Returns the current progress of the active element as a fraction between 0.0 and 1.0.
- getPTransform() - Method in interface org.apache.beam.fn.harness.PTransformRunnerFactory.Context
-
The PTransform definition.
- getPTransformId() - Method in class org.apache.beam.fn.harness.control.ExecutionStateSampler.ExecutionStateTrackerStatus
-
- getPTransformId() - Method in interface org.apache.beam.fn.harness.PTransformRunnerFactory.Context
-
The id of the PTransform.
- getPTransformRunnerFactories() - Method in class org.apache.beam.fn.harness.BeamFnDataReadRunner.Registrar
-
- getPTransformRunnerFactories() - Method in class org.apache.beam.fn.harness.BeamFnDataWriteRunner.Registrar
-
- getPTransformRunnerFactories() - Method in class org.apache.beam.fn.harness.CombineRunners.Registrar
-
- getPTransformRunnerFactories() - Method in class org.apache.beam.fn.harness.FlattenRunner.Registrar
-
- getPTransformRunnerFactories() - Method in class org.apache.beam.fn.harness.FnApiDoFnRunner.Registrar
-
- getPTransformRunnerFactories() - Method in interface org.apache.beam.fn.harness.PTransformRunnerFactory.Registrar
-
Returns a mapping from RunnerApi.FunctionSpec#getUrn() to a factory capable of
instantiating an appropriate handler.
- getPTransformRunnerFactories() - Method in class org.apache.beam.fn.harness.ToStringFnRunner.Registrar
-
- getPTransformRunnerFactories() - Method in class org.apache.beam.fn.harness.WindowMappingFnRunner.Registrar
-
- getPTransformRunnerFactories() - Method in class org.apache.beam.fn.harness.WindowMergingFnRunner.Registrar
-
- getPTransformUniqueName() - Method in class org.apache.beam.fn.harness.control.ExecutionStateSampler.ExecutionStateTrackerStatus
-
- getResidualRoots() - Method in class org.apache.beam.fn.harness.control.BundleSplitListener.InMemory
-
- getResidualRoots() - Method in class org.apache.beam.fn.harness.HandlesSplits.SplitResult
-
- getRunnerCapabilities() - Method in interface org.apache.beam.fn.harness.PTransformRunnerFactory.Context
-
An immutable set of runner capability urns.
- getShortIdMap() - Method in interface org.apache.beam.fn.harness.PTransformRunnerFactory.Context
-
A way to get or create monitoring short ids.
- getSplitListener() - Method in interface org.apache.beam.fn.harness.PTransformRunnerFactory.Context
-
A listener to be invoked when the PTransform splits itself.
- getStateClient() - Method in interface org.apache.beam.fn.harness.state.StateBackedIterable.StateBackedIterableTranslationContext
-
- getStateTracker() - Method in class org.apache.beam.fn.harness.control.ProcessBundleHandler.BundleProcessor
-
- getStateTracker() - Static method in class org.apache.beam.fn.harness.logging.BeamFnLoggingMDC
-
Gets the State Tracker of the current thread.
- getStatus() - Method in class org.apache.beam.fn.harness.control.ExecutionStateSampler.ExecutionStateTracker
-
Returns status information related to this tracker or null if not tracking a bundle.
- getTimeDomain() - Method in class org.apache.beam.fn.harness.state.FnApiTimerBundleTracker.TimerInfo
-
- getTimer() - Method in class org.apache.beam.fn.harness.state.FnApiTimerBundleTracker.TimerInfo
-
- getTimerFamilyOrId() - Method in class org.apache.beam.fn.harness.state.FnApiTimerBundleTracker.TimerInfo
-
- getTrackedThread() - Method in class org.apache.beam.fn.harness.control.ExecutionStateSampler.ExecutionStateTrackerStatus
-
- getWeight() - Method in class org.apache.beam.fn.harness.PrecombineGroupingTable
-
- getWindowingStrategies() - Method in interface org.apache.beam.fn.harness.PTransformRunnerFactory.Context
-
An immutable mapping from windowing strategy id to windowing strategy definition.
- PCollectionConsumerRegistry - Class in org.apache.beam.fn.harness.data
-
The PCollectionConsumerRegistry is used to maintain a collection of consuming
FnDataReceiver for each pCollectionId.
- PCollectionConsumerRegistry(ExecutionStateSampler.ExecutionStateTracker, ShortIdMap, BundleProgressReporter.Registrar, BeamFnApi.ProcessBundleDescriptor) - Constructor for class org.apache.beam.fn.harness.data.PCollectionConsumerRegistry
-
- PCollectionConsumerRegistry(ExecutionStateSampler.ExecutionStateTracker, ShortIdMap, BundleProgressReporter.Registrar, BeamFnApi.ProcessBundleDescriptor, DataSampler) - Constructor for class org.apache.beam.fn.harness.data.PCollectionConsumerRegistry
-
- peek(K) - Method in interface org.apache.beam.fn.harness.Cache
-
Looks up the specified key returning null if the value is not within the cache.
- PrecombineFactory() - Constructor for class org.apache.beam.fn.harness.CombineRunners.PrecombineFactory
-
- PrecombineGroupingTable<K,InputT,AccumT> - Class in org.apache.beam.fn.harness
-
Static utility methods that provide a grouping table implementation.
- PrecombineGroupingTable.SizeEstimator - Interface in org.apache.beam.fn.harness
-
Provides client-specific operations for size estimates.
- processBundle(BeamFnApi.InstructionRequest) - Method in class org.apache.beam.fn.harness.control.ProcessBundleHandler
-
Processes a bundle, running the start(), process(), and finish() functions.
- ProcessBundleHandler - Class in org.apache.beam.fn.harness.control
-
Processes BeamFnApi.ProcessBundleRequests and BeamFnApi.ProcessBundleSplitRequests.
- ProcessBundleHandler(PipelineOptions, Set<String>, Function<String, BeamFnApi.ProcessBundleDescriptor>, BeamFnDataClient, BeamFnStateGrpcClientCache, FinalizeBundleHandler, ShortIdMap, ExecutionStateSampler, Cache<Object, Object>, DataSampler) - Constructor for class org.apache.beam.fn.harness.control.ProcessBundleHandler
-
- ProcessBundleHandler.BundleProcessor - Class in org.apache.beam.fn.harness.control
-
A container for the reusable information used to process a bundle.
- ProcessBundleHandler.BundleProcessorCache - Class in org.apache.beam.fn.harness.control
-
- progress(BeamFnApi.InstructionRequest) - Method in class org.apache.beam.fn.harness.control.ProcessBundleHandler
-
- PTransformFunctionRegistry - Class in org.apache.beam.fn.harness.data
-
A class to register and retrieve functions for bundle processing (i.e.
- PTransformFunctionRegistry(ShortIdMap, ExecutionStateSampler.ExecutionStateTracker, String) - Constructor for class org.apache.beam.fn.harness.data.PTransformFunctionRegistry
-
Construct the registry to run for either start or finish bundle functions.
- ptransformId - Variable in class org.apache.beam.fn.harness.debug.ElementSample.ExceptionMetadata
-
- PTransformRunnerFactory<T> - Interface in org.apache.beam.fn.harness
-
A factory able to instantiate an appropriate handler for a given PTransform.
- PTransformRunnerFactory.Context - Interface in org.apache.beam.fn.harness
-
A context used to instantiate and support the handler necessary to execute the PTransform.
- PTransformRunnerFactory.Registrar - Interface in org.apache.beam.fn.harness
-
A registrar which can return a mapping from RunnerApi.FunctionSpec#getUrn() to a
factory capable of instantiating an appropriate handler.
- put(K, V) - Method in interface org.apache.beam.fn.harness.Cache
-
Inserts a new value associated with the given key or updates an existing association of the
same key with the new value.
- put(K, V) - Method in class org.apache.beam.fn.harness.Caches.ClearableCache
-
- put(WindowedValue<KV<K, InputT>>, FnDataReceiver<WindowedValue<KV<K, AccumT>>>) - Method in class org.apache.beam.fn.harness.PrecombineGroupingTable
-
Adds the key and value to this table, possibly flushing some entries to output if the table is
full.
- put(K, V) - Method in class org.apache.beam.fn.harness.state.MultimapUserState
-
- sample - Variable in class org.apache.beam.fn.harness.debug.ElementSample
-
- sample(WindowedValue<T>) - Method in class org.apache.beam.fn.harness.debug.OutputSampler
-
Samples every sampleEveryNth element or if it is part of the first 10 in the (local)
PCollection.
- sampleOutput(String, Coder<T>) - Method in class org.apache.beam.fn.harness.debug.DataSampler
-
Creates and returns a class to sample the given PCollection in the given
ProcessBundleDescriptor.
- samples() - Method in class org.apache.beam.fn.harness.debug.OutputSampler
-
Clears samples at end of call.
- sendInstructionResponse(BeamFnApi.InstructionResponse) - Method in class org.apache.beam.fn.harness.control.BeamFnControlClient
-
- setEnabled(boolean) - Static method in class org.apache.beam.fn.harness.logging.QuotaEvent
-
Set whether this feature is enabled.
- setInstructionId(String) - Static method in class org.apache.beam.fn.harness.logging.BeamFnLoggingMDC
-
Sets the Instruction ID of the current thread, which will be inherited by child threads.
- setStateTracker(ExecutionStateSampler.ExecutionStateTracker) - Static method in class org.apache.beam.fn.harness.logging.BeamFnLoggingMDC
-
Sets the State Tracker of the current thread, which will be inherited by child threads.
- shouldUpdateOnSizeChange(long, long) - Static method in class org.apache.beam.fn.harness.Caches
-
Returns whether the cache should be updated in the case where the objects size has changed.
- shrink() - Method in interface org.apache.beam.fn.harness.Cache.Shrinkable
-
Returns a new object that is smaller than the object being evicted.
- shrink() - Method in class org.apache.beam.fn.harness.PrecombineGroupingTable
-
- shutdown() - Method in class org.apache.beam.fn.harness.control.ProcessBundleHandler
-
Shutdown the bundles, running the tearDown() functions.
- SideInputSpec<W extends org.apache.beam.sdk.transforms.windowing.BoundedWindow> - Class in org.apache.beam.fn.harness.state
-
A specification for side inputs containing the access pattern, a value Coder, the window
Coder, the ViewFn, and the WindowMappingFn.
- SideInputSpec() - Constructor for class org.apache.beam.fn.harness.state.SideInputSpec
-
- split(List<BeamFnApi.BundleApplication>, List<BeamFnApi.DelayedBundleApplication>) - Method in class org.apache.beam.fn.harness.control.BundleSplitListener.InMemory
-
- split(List<BeamFnApi.BundleApplication>, List<BeamFnApi.DelayedBundleApplication>) - Method in interface org.apache.beam.fn.harness.control.BundleSplitListener
-
Signals that the current application should be split into the given primary and residual roots.
- SplitResult() - Constructor for class org.apache.beam.fn.harness.HandlesSplits.SplitResult
-
- start(String) - Method in class org.apache.beam.fn.harness.control.ExecutionStateSampler.ExecutionStateTracker
-
Starts tracking execution states for specified processBundleId.
- start() - Method in class org.apache.beam.fn.harness.ExternalWorkerService
-
- startWorker(BeamFnApi.StartWorkerRequest, StreamObserver<BeamFnApi.StartWorkerResponse>) - Method in class org.apache.beam.fn.harness.ExternalWorkerService
-
- StateBackedIterable<T> - Class in org.apache.beam.fn.harness.state
-
A
state backed iterable which allows for fetching elements over the
portability state API.
- StateBackedIterable(Cache<?, ?>, BeamFnStateClient, String, BeamFnApi.StateKey, Coder<T>, List<T>) - Constructor for class org.apache.beam.fn.harness.state.StateBackedIterable
-
- StateBackedIterable.Coder<T> - Class in org.apache.beam.fn.harness.state
-
Decodes an Iterable that might be backed by state.
- StateBackedIterable.Registrar - Class in org.apache.beam.fn.harness.state
-
A CoderTranslatorRegistrar for beam:coder:state_backed_iterable:v1.
- StateBackedIterable.StateBackedIterableTranslationContext - Interface in org.apache.beam.fn.harness.state
-
- StateFetchingIterators - Class in org.apache.beam.fn.harness.state
-
Adapters which convert a logical series of chunks using continuation tokens over the Beam Fn
State API into an Iterator of ByteStrings.
- stop() - Method in class org.apache.beam.fn.harness.control.ExecutionStateSampler
-
Stops the execution of the state sampler.
- stop() - Method in class org.apache.beam.fn.harness.status.MemoryMonitor
-
Request the memory monitor stops.
- stopWorker(BeamFnApi.StopWorkerRequest, StreamObserver<BeamFnApi.StopWorkerResponse>) - Method in class org.apache.beam.fn.harness.ExternalWorkerService
-
- subCache(Cache<?, ?>, Object, Object...) - Static method in class org.apache.beam.fn.harness.Caches
-
Returns a view of a cache that operates on keys with a specified key prefix.