package python
- Alphabetic
- Public
- Protected
Type Members
- class PythonBatch extends Batch
- class PythonBatchWrite extends BatchWrite
A BatchWrite for python data source writing.
A BatchWrite for python data source writing. Responsible for generating the writer factory.
- case class PythonBatchWriterFactory(source: UserDefinedPythonDataSource, pickledWriteFunc: Array[Byte], inputSchema: StructType, jobArtifactUUID: Option[String]) extends DataWriterFactory with Product with Serializable
- class PythonCustomMetric extends CustomMetric
- class PythonCustomTaskMetric extends CustomTaskMetric
- case class PythonDataSourceCreationResult(dataSource: Array[Byte], schema: StructType) extends Product with Serializable
Used to store the result of creating a Python data source in the Python process.
- case class PythonDataSourceReadInfo(func: Array[Byte], partitions: Seq[Array[Byte]]) extends Product with Serializable
- class PythonDataSourceV2 extends TableProvider
Data Source V2 wrapper for Python Data Source.
- case class PythonDataSourceWriteInfo(func: Array[Byte], writer: Array[Byte]) extends Product with Serializable
Hold the results of running UserDefinedPythonDataSourceWriteRunner.
- case class PythonInputPartition(index: Int, pickedPartition: Array[Byte]) extends InputPartition with Product with Serializable
- case class PythonLookupAllDataSourcesResult(names: Array[String], dataSources: Array[Array[Byte]]) extends Product with Serializable
All Data Sources in Python
- class PythonMicroBatchStream extends MicroBatchStream with Logging with AcceptsLatestSeenOffset
- class PythonPartitionReaderFactory extends PartitionReaderFactory
- class PythonScan extends Scan
- class PythonScanBuilder extends ScanBuilder
- case class PythonStreamingInputPartition(index: Int, pickedPartition: Array[Byte], blockId: Option[PythonStreamBlockId]) extends InputPartition with Product with Serializable
- class PythonStreamingPartitionReaderFactory extends PartitionReaderFactory with Logging
- class PythonStreamingSinkCommitRunner extends PythonPlannerRunner[Unit]
This class is a proxy to invoke commit or abort methods in Python DataSourceStreamWriter.
This class is a proxy to invoke commit or abort methods in Python DataSourceStreamWriter. A runner spawns a python worker process. In the main function, set up communication between JVM and python process through socket and create a DataSourceStreamWriter instance. In an infinite loop, the python worker process receive write commit messages from the socket, then commit or abort a microbatch.
- case class PythonStreamingSourceOffset(json: String) extends Offset with Product with Serializable
- class PythonStreamingWrite extends StreamingWrite
A streamingWrite for python data source writing.
A streamingWrite for python data source writing. Responsible for generating the writer factory, committing or aborting a microbatch.
- class PythonStreamingWriterFactory extends PythonBatchWriterFactory with StreamingDataWriterFactory
- class PythonTable extends Table with SupportsRead with SupportsWrite
- class PythonWrite extends Write
- class PythonWriteBuilder extends WriteBuilder with SupportsTruncate
- case class PythonWriterCommitMessage(pickledMessage: Array[Byte]) extends WriterCommitMessage with Product with Serializable
- case class UserDefinedPythonDataSource(dataSourceCls: PythonFunction) extends Product with Serializable
A user-defined Python data source.
A user-defined Python data source. This is used by the Python API. Defines the interation between Python and JVM.
- dataSourceCls
The Python data source class.
Value Members
- object PythonCustomMetric
- object PythonMicroBatchStream
- object UserDefinedPythonDataSource extends Serializable