class FileDownloadDoFn[OutputT] extends DoFn[URI, OutputT]
A DoFn
that downloads URI
elements and processes them as local Path
s.
- Source
- FileDownloadDoFn.java
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- FileDownloadDoFn
- DoFn
- HasDisplayData
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new FileDownloadDoFn(remoteFileUtil: RemoteFileUtil, fn: SerializableFunction[Path, OutputT], batchSize: Int, keep: Boolean)
Create a new
FileDownloadDoFn
instance.Create a new
FileDownloadDoFn
instance.- remoteFileUtil
RemoteFileUtil
for downloading files.- fn
function to process downloaded files.
- batchSize
batch size when downloading files.
- keep
keep downloaded files after processing.
- new FileDownloadDoFn(remoteFileUtil: RemoteFileUtil, fn: SerializableFunction[Path, OutputT])
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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def finishBundle(context: FinishBundleContext): Unit
- Annotations
- @FinishBundle()
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getInputTypeDescriptor(): TypeDescriptor[URI]
- Definition Classes
- DoFn
- def getOutputTypeDescriptor(): TypeDescriptor[OutputT]
- Definition Classes
- DoFn
- 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
- 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
- FileDownloadDoFn → DoFn → HasDisplayData
- Annotations
- @Override()
- def processElement(element: URI, timestamp: Instant, window: BoundedWindow, pane: PaneInfo, out: OutputReceiver[OutputT]): Unit
- Annotations
- @ProcessElement()
- def startBundle(context: StartBundleContext): Unit
- Annotations
- @StartBundle()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- 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()
Deprecated Value Members
- def getAllowedTimestampSkew(): Duration
- Definition Classes
- DoFn
- Annotations
- @Deprecated
- Deprecated
- final def prepareForProcessing(): Unit
- Definition Classes
- DoFn
- Annotations
- @Deprecated
- Deprecated
- def processElement(element: URI, timestamp: Instant, out: OutputReceiver[OutputT], window: BoundedWindow): Unit
- Annotations
- @Deprecated
- Deprecated