public class

LazyQueryResultInputStream

extends LazyInputStream
java.lang.Object
   ↳ java.io.InputStream
     ↳ org.mule.modules.salesforce.lazystream.LazyInputStream
       ↳ org.mule.modules.salesforce.lazystream.impl.LazyQueryResultInputStream

Summary

[Expand]
Inherited Constants
From class java.io.InputStream
Fields
private String batchId
private String jobId
private String jobResultId
private static final Log logger
[Expand]
Inherited Fields
From class org.mule.modules.salesforce.lazystream.LazyInputStream
Public Constructors
LazyQueryResultInputStream(BulkConnection connection, String jobId, String batchId, String jobResultId)
Protected Methods
InputStream openLazyInputStream()
This operation is the one that must be override in order to being able to open the InputStream.
[Expand]
Inherited Methods
From class org.mule.modules.salesforce.lazystream.LazyInputStream
From class java.io.InputStream
From class java.lang.Object
From interface java.io.Closeable

Fields

private String batchId

private String jobId

private String jobResultId

private static final Log logger

Public Constructors

public LazyQueryResultInputStream (BulkConnection connection, String jobId, String batchId, String jobResultId)

Parameters
connection
jobId
batchId
jobResultId

Protected Methods

protected InputStream openLazyInputStream ()

This operation is the one that must be override in order to being able to open the InputStream. This operation will be called on demand, when some of the operations of the InputStream are maded

Returns
  • Returns the lazy InputStream.
Throws
IOException