C# Client Library
A C# Client Library for the AnalyzeRe REST API
Loading...
Searching...
No Matches
AnalyzeRe.LargeDataUpload Namespace Reference

Classes

class  AdaptiveBufferedBytesProducer
 Produces BufferedByte objects of a variable size depending on whether the consumer of this buffer is blocked waiting on it for more data. More...
 
class  AsyncParameters
 Parameters to be used in a Large Upload operation. More...
 
class  BinaryYELTConverter
 Converts a YELT CSV data into a specified format. More...
 
struct  BufferedBytes
 The structure containing an array of bytes and integer indicating the number of bytes in the array that were read from the stream. More...
 
class  BufferedBytesFromStreamProducer
 Produces a BlockingCollection of buffered bytes asynchronously which can be consumed on some other thread. More...
 
class  BufferedBytesResizer
 Produces a BlockingCollection of buffered bytes asynchronously which can be consumed on some other thread. More...
 
class  BufferedBytesToStringProducer
 Converts buffered bytes to strings. More...
 
class  BufferProducerException
 Indicates that an exception occurred inside of a buffered producer thread. More...
 
class  CommitFailedException
 Exception raised when the commit process fails. More...
 
class  GZipBufferedBytesProducer
 Converts buffered bytes to strings. More...
 
interface  IProducerConsumerBuffer
 Interface for a class that consumes from a source asynchronously and produces a queue of some other resource to be consumed. More...
 
class  Parameters
 Parameters to be used in a Large Data Upload operation. More...
 
class  ProducerConsumerBuffer
 Base class that consumes from a source asynchronously and produces a queue of some other resource to be consumed. More...
 
class  StatusResponse
 Indicates the status of a data endpoint. More...
 
class  UploadInProgressException
 Indicates that a large upload could not take place because an existing large upload session is already in progress. More...
 
class  Utilities
 Large Data Upload Utilities. More...
 

Enumerations

enum  HandleUploadInSessionStrategy { RaiseError , AttemptResume , CancelPriorUpload }
 Behaviour to use if an existing upload is already in progress for an endpoint. More...
 

Class Documentation

◆ AnalyzeRe::LargeDataUpload::BufferedBytes

struct AnalyzeRe::LargeDataUpload::BufferedBytes

The structure containing an array of bytes and integer indicating the number of bytes in the array that were read from the stream.

Definition at line 5 of file BufferedBytes.cs.

Class Members
byte[] Bytes The buffer of bytes filled.
int LengthFilled The actual length of bytes, which may be shorter.
long TotalBytesRead The total number of bytes read by the source producer as of this buffer i.e. The change in the source stream position since instantiation.

Enumeration Type Documentation

◆ HandleUploadInSessionStrategy

Behaviour to use if an existing upload is already in progress for an endpoint.

Enumerator
RaiseError 

If any prior upload in progress is encountered, do not interfere and raise an UploadInProgress exception.

AttemptResume 

If any prior upload in progress is encountered, attempt to resume the upload starting at the offset where the previous session left off.

CancelPriorUpload 

If any prior upload in progress is encountered, it will be deleted before beginning anew with the current data.

Definition at line 5 of file HandleUploadInSessionStrategy.cs.