public abstract class IngestClientBase extends Object implements IngestClient
| Constructor and Description |
|---|
IngestClientBase() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract String |
getClientType() |
protected Map<String,String> |
getIngestionTraceAttributes(TraceableAttributes sourceInfo,
TraceableAttributes ingestionProperties) |
IngestionResult |
ingestFromBlob(BlobSourceInfo blobSourceInfo,
IngestionProperties ingestionProperties)
Ingest data from a blob storage into Kusto database.
|
protected abstract IngestionResult |
ingestFromBlobImpl(BlobSourceInfo blobSourceInfo,
IngestionProperties ingestionProperties)
Ingest data from a blob storage into Kusto database.
|
IngestionResult |
ingestFromFile(FileSourceInfo fileSourceInfo,
IngestionProperties ingestionProperties)
Ingest data from a file into Kusto database.
|
protected abstract IngestionResult |
ingestFromFileImpl(FileSourceInfo fileSourceInfo,
IngestionProperties ingestionProperties) |
IngestionResult |
ingestFromResultSet(ResultSetSourceInfo resultSetSourceInfo,
IngestionProperties ingestionProperties)
Ingest data from a Result Set into Kusto database.
|
protected abstract IngestionResult |
ingestFromResultSetImpl(ResultSetSourceInfo resultSetSourceInfo,
IngestionProperties ingestionProperties)
Ingest data from a Result Set into Kusto database.
|
IngestionResult |
ingestFromStream(StreamSourceInfo streamSourceInfo,
IngestionProperties ingestionProperties)
Ingest data from an input stream, into Kusto database.
|
protected abstract IngestionResult |
ingestFromStreamImpl(StreamSourceInfo streamSourceInfo,
IngestionProperties ingestionProperties)
Ingest data from an input stream, into Kusto database.
|
protected abstract IngestionResult ingestFromFileImpl(FileSourceInfo fileSourceInfo, IngestionProperties ingestionProperties) throws IngestionClientException, IngestionServiceException
public IngestionResult ingestFromFile(FileSourceInfo fileSourceInfo, IngestionProperties ingestionProperties) throws IngestionClientException, IngestionServiceException
IngestClientIngest data from a file into Kusto database.
This method ingests the data from a given file, described infileSourceInfo, into Kusto database,
according to the properties mentioned in ingestionPropertiesingestFromFile in interface IngestClientfileSourceInfo - 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 serviceFileSourceInfo,
IngestionPropertiesprotected abstract IngestionResult ingestFromBlobImpl(BlobSourceInfo blobSourceInfo, IngestionProperties ingestionProperties) throws IngestionClientException, IngestionServiceException
Ingest 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 ingestionPropertiesblobSourceInfo - 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,
IngestionPropertiespublic IngestionResult ingestFromBlob(BlobSourceInfo blobSourceInfo, IngestionProperties ingestionProperties) throws IngestionClientException, IngestionServiceException
IngestClientIngest 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 ingestionPropertiesingestFromBlob in interface IngestClientblobSourceInfo - 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 abstract IngestionResult ingestFromResultSetImpl(ResultSetSourceInfo resultSetSourceInfo, IngestionProperties ingestionProperties) throws IngestionClientException, IngestionServiceException
Ingest 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.
resultSetSourceInfo - 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,
IngestionPropertiespublic IngestionResult ingestFromResultSet(ResultSetSourceInfo resultSetSourceInfo, IngestionProperties ingestionProperties) throws IngestionClientException, IngestionServiceException
IngestClientIngest 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.
ingestFromResultSet in interface IngestClientresultSetSourceInfo - 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 abstract IngestionResult ingestFromStreamImpl(StreamSourceInfo streamSourceInfo, IngestionProperties ingestionProperties) throws IngestionClientException, IngestionServiceException
Ingest 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 ingestionPropertiesstreamSourceInfo - 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,
IngestionPropertiespublic IngestionResult ingestFromStream(StreamSourceInfo streamSourceInfo, IngestionProperties ingestionProperties) throws IngestionClientException, IngestionServiceException
IngestClientIngest 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 ingestionPropertiesingestFromStream in interface IngestClientstreamSourceInfo - 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 Map<String,String> getIngestionTraceAttributes(TraceableAttributes sourceInfo, TraceableAttributes ingestionProperties)
protected abstract String getClientType()
Copyright © 2024. All rights reserved.