public class QueuedIngestClientImpl extends IngestClientBase implements QueuedIngestClient
| Modifier and Type | Field and Description |
|---|---|
static String |
CLASS_NAME |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected String |
getClientType() |
IngestionResourceManager |
getResourceManager() |
protected IngestionResult |
ingestFromBlobImpl(BlobSourceInfo blobSourceInfo,
IngestionProperties ingestionProperties)
Ingest data from a blob storage into Kusto database.
|
protected IngestionResult |
ingestFromFileImpl(FileSourceInfo fileSourceInfo,
IngestionProperties ingestionProperties) |
protected IngestionResult |
ingestFromResultSetImpl(ResultSetSourceInfo resultSetSourceInfo,
IngestionProperties ingestionProperties)
Ingest data from a Result Set into Kusto database.
|
protected IngestionResult |
ingestFromStreamImpl(StreamSourceInfo streamSourceInfo,
IngestionProperties ingestionProperties)
Ingest data from an input stream, into Kusto database.
|
protected void |
setConnectionDataSource(String connectionDataSource) |
void |
setQueueRequestOptions(com.azure.storage.common.policy.RequestRetryOptions queueRequestOptions)
Setter for QueueRequestOptions used by the client on adding ingest message to the Azure queue, read here
https://docs.microsoft.com/azure/data-explorer/kusto/api/netfx/about-kusto-ingest#ingest-client-flavors
about Kusto queued ingestion
|
getIngestionTraceAttributes, ingestFromBlob, ingestFromFile, ingestFromResultSet, ingestFromStreamclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitingestFromBlob, ingestFromFile, ingestFromResultSet, ingestFromStreampublic static final String CLASS_NAME
public void setQueueRequestOptions(com.azure.storage.common.policy.RequestRetryOptions queueRequestOptions)
QueuedIngestClientsetQueueRequestOptions in interface QueuedIngestClientqueueRequestOptions - - Options to use when creating QueueClientpublic IngestionResourceManager getResourceManager()
getResourceManager in interface QueuedIngestClientprotected IngestionResult ingestFromBlobImpl(BlobSourceInfo blobSourceInfo, IngestionProperties ingestionProperties) throws IngestionClientException, IngestionServiceException
IngestClientBaseIngest data from a blob storage into Kusto database.
This method ingests the data from a given blob, described inblobSourceInfo, into Kusto database,
according to the properties mentioned in ingestionPropertiesingestFromBlobImpl in class IngestClientBaseblobSourceInfo - The specific SourceInfo to be ingestedingestionProperties - Settings used to customize the ingestion operationIngestionResult object including the ingestion resultIngestionClientException - An exception originating from a client activityIngestionServiceException - An exception returned from the serviceBlobSourceInfo,
IngestionPropertiesprotected IngestionResult ingestFromFileImpl(FileSourceInfo fileSourceInfo, IngestionProperties ingestionProperties) throws IngestionClientException, IngestionServiceException
ingestFromFileImpl in class IngestClientBaseIngestionClientExceptionIngestionServiceExceptionprotected IngestionResult ingestFromStreamImpl(StreamSourceInfo streamSourceInfo, IngestionProperties ingestionProperties) throws IngestionClientException, IngestionServiceException
IngestClientBaseIngest data from an input stream, into Kusto database.
This method ingests the data from a given input stream, described instreamSourceInfo, into Kusto database,
according to the properties mentioned in ingestionPropertiesingestFromStreamImpl in class IngestClientBasestreamSourceInfo - The specific SourceInfo to be ingestedingestionProperties - Settings used to customize the ingestion operationIngestionResult object including the ingestion resultIngestionClientException - An exception originating from a client activityIngestionServiceException - An exception returned from the serviceStreamSourceInfo,
IngestionPropertiesprotected String getClientType()
getClientType in class IngestClientBaseprotected IngestionResult ingestFromResultSetImpl(ResultSetSourceInfo resultSetSourceInfo, IngestionProperties ingestionProperties) throws IngestionClientException, IngestionServiceException
IngestClientBaseIngest data from a Result Set into Kusto database.
This method ingests the data from a given Result Set, described inresultSetSourceInfo, into Kusto database,
according to the properties mentioned in ingestionProperties
Ingesting from ResultSet is equivalent to ingesting from a csv stream. The DataFormat should be empty or set to "csv", and the mapping, should it be provided, should be csv mapping.
ingestFromResultSetImpl in class IngestClientBaseresultSetSourceInfo - The specific SourceInfo to be ingestedingestionProperties - Settings used to customize the ingestion operationIngestionResult object including the ingestion resultIngestionClientException - An exception originating from a client activityIngestionServiceException - An exception returned from the serviceResultSetSourceInfo,
IngestionPropertiesprotected void setConnectionDataSource(String connectionDataSource)
public void close()
close in interface Closeableclose in interface AutoCloseableCopyright © 2024. All rights reserved.