| Interface | Description | 
|---|---|
| AcceptsLatestSeenOffset | Indicates that the source accepts the latest seen offset, which requires streaming execution
 to provide the latest seen offset when restarting the streaming query from checkpoint. | 
| ContinuousPartitionReader<T> | A variation on  PartitionReaderfor use with continuous streaming processing. | 
| ContinuousPartitionReaderFactory | A variation on  PartitionReaderFactorythat returnsContinuousPartitionReaderinstead ofPartitionReader. | 
| ContinuousStream | A  SparkDataStreamfor streaming queries with continuous mode. | 
| MicroBatchStream | A  SparkDataStreamfor streaming queries with micro-batch mode. | 
| PartitionOffset | Used for per-partition offsets in continuous processing. | 
| ReadLimit | Interface representing limits on how much to read from a  MicroBatchStreamwhen it
 implementsSupportsAdmissionControl. | 
| ReportsSinkMetrics | A mix-in interface for streaming sinks to signal that they can report
 metrics. | 
| ReportsSourceMetrics | A mix-in interface for  SparkDataStreamstreaming sources to signal that they can report
 metrics. | 
| SparkDataStream | The base interface representing a readable data stream in a Spark streaming query. | 
| SupportsAdmissionControl | A mix-in interface for  SparkDataStreamstreaming sources to signal that they can control
 the rate of data ingested into the system. | 
| SupportsTriggerAvailableNow | An interface for streaming sources that supports running in Trigger.AvailableNow mode, which
 will process all the available data at the beginning of the query in (possibly) multiple batches. | 
| Class | Description | 
|---|---|
| CompositeReadLimit | /**
 Represents a  ReadLimitwhere theMicroBatchStreamshould scan approximately
 given maximum number of rows with at least the given minimum number of rows. | 
| Offset | An abstract representation of progress through a  MicroBatchStreamorContinuousStream. | 
| ReadAllAvailable | Represents a  ReadLimitwhere theMicroBatchStreammust scan all the data
 available at the streaming source. | 
| ReadMaxFiles | Represents a  ReadLimitwhere theMicroBatchStreamshould scan approximately the
 given maximum number of files. | 
| ReadMaxRows | Represents a  ReadLimitwhere theMicroBatchStreamshould scan approximately the
 given maximum number of rows. | 
| ReadMinRows | Represents a  ReadLimitwhere theMicroBatchStreamshould scan approximately
 at least the given minimum number of rows. |