public class IngestClientFactory extends Object
| Modifier and Type | Method and Description |
|---|---|
static QueuedIngestClient |
createClient(ConnectionStringBuilder csb)
Creates a new queued ingest client, with default http client properties.
|
static QueuedIngestClient |
createClient(ConnectionStringBuilder csb,
@Nullable HttpClientProperties properties)
Creates a new queued ingest client.
|
static QueuedIngestClient |
createClient(ConnectionStringBuilder csb,
@Nullable HttpClientProperties properties,
boolean autoCorrectEndpoint)
Creates a new queued ingest client.
|
static ManagedStreamingIngestClient |
createManagedStreamingIngestClient(ConnectionStringBuilder connectionStringBuilder)
Creates a new managed streaming ingest client, with default http client properties.
|
static ManagedStreamingIngestClient |
createManagedStreamingIngestClient(ConnectionStringBuilder ingestionEndpointConnectionStringBuilder,
ConnectionStringBuilder queryEndpointConnectionStringBuilder)
Creates a new managed streaming ingest client, with default http client properties.
|
static ManagedStreamingIngestClient |
createManagedStreamingIngestClient(ConnectionStringBuilder ingestionEndpointConnectionStringBuilder,
ConnectionStringBuilder queryEndpointConnectionStringBuilder,
@Nullable HttpClientProperties properties)
Creates a new managed streaming ingest client.
|
static ManagedStreamingIngestClient |
createManagedStreamingIngestClient(ConnectionStringBuilder ingestionEndpointConnectionStringBuilder,
ConnectionStringBuilder queryEndpointConnectionStringBuilder,
@Nullable HttpClientProperties properties,
boolean autoCorrectEndpoint)
Creates a new managed streaming ingest client.
|
static ManagedStreamingIngestClient |
createManagedStreamingIngestClient(ConnectionStringBuilder connectionStringBuilder,
@Nullable HttpClientProperties properties,
boolean autoCorrectEndpoint)
Creates a new managed streaming ingest client.
|
static ManagedStreamingIngestClient |
createManagedStreamingIngestClientFromDmCsb(ConnectionStringBuilder dmConnectionStringBuilder)
Deprecated.
- Ingest clients now automatically deduce the endpoint, use
createManagedStreamingIngestClient(ConnectionStringBuilder) instead.
Creates a new ManagedStreamingIngestClient from a DM connection string, with default http client properties.
This method infers the engine connection string from the DM connection string.
For advanced usage, use ManagedStreamingIngestClient(ConnectionStringBuilder, ConnectionStringBuilder, boolean) |
static ManagedStreamingIngestClient |
createManagedStreamingIngestClientFromDmCsb(ConnectionStringBuilder connectionStringBuilder,
@Nullable org.apache.http.impl.client.CloseableHttpClient httpClient)
Creates a new ManagedStreamingIngestClient from a DM connection string.
|
static ManagedStreamingIngestClient |
createManagedStreamingIngestClientFromDmCsb(ConnectionStringBuilder connectionStringBuilder,
@Nullable org.apache.http.impl.client.CloseableHttpClient httpClient,
boolean autoCorrectEndpoint)
Creates a new ManagedStreamingIngestClient from a DM connection string.
|
static ManagedStreamingIngestClient |
createManagedStreamingIngestClientFromDmCsb(ConnectionStringBuilder dmConnectionStringBuilder,
@Nullable HttpClientProperties properties)
Deprecated.
- Ingest clients now automatically deduce the endpoint, use
createManagedStreamingIngestClient(ConnectionStringBuilder, HttpClientProperties, boolean) instead.
Creates a new ManagedStreamingIngestClient from a DM connection string.
This method infers the engine connection string from the DM connection string.
For advanced usage, use ManagedStreamingIngestClient(ConnectionStringBuilder, ConnectionStringBuilder, boolean) |
static ManagedStreamingIngestClient |
createManagedStreamingIngestClientFromEngineCsb(ConnectionStringBuilder engineConnectionStringBuilder)
Deprecated.
- Ingest clients now automatically deduce the endpoint, use
createManagedStreamingIngestClient(ConnectionStringBuilder) instead.
Creates a new ManagedStreamingIngestClient from an engine connection string, with default http client properties.
This method infers the DM connection string from the engine connection string.
For advanced usage, use ManagedStreamingIngestClient(ConnectionStringBuilder, ConnectionStringBuilder, boolean) |
static ManagedStreamingIngestClient |
createManagedStreamingIngestClientFromEngineCsb(ConnectionStringBuilder engineConnectionStringBuilder,
@Nullable HttpClientProperties properties)
Deprecated.
- Ingest clients now automatically deduce the endpoint, use
createManagedStreamingIngestClient(ConnectionStringBuilder, HttpClientProperties, boolean) instead.
Creates a new ManagedStreamingIngestClient from an engine connection string.
This method infers the DM connection string from the engine connection string.
For advanced usage, use ManagedStreamingIngestClient(ConnectionStringBuilder, ConnectionStringBuilder, boolean) |
static StreamingIngestClient |
createStreamingIngestClient(ConnectionStringBuilder csb)
Creates a new streaming ingest client, with default http client properties.
|
static StreamingIngestClient |
createStreamingIngestClient(ConnectionStringBuilder csb,
@Nullable HttpClientProperties properties)
Creates a new streaming ingest client.
|
static StreamingIngestClient |
createStreamingIngestClient(ConnectionStringBuilder csb,
@Nullable HttpClientProperties properties,
boolean autoCorrectEndpoint)
Creates a new streaming ingest client.
|
public static QueuedIngestClient createClient(ConnectionStringBuilder csb) throws URISyntaxException
csb - connection string builder for the data management endpointURISyntaxException - if the connection string is invalidpublic static QueuedIngestClient createClient(ConnectionStringBuilder csb, @Nullable @Nullable HttpClientProperties properties) throws URISyntaxException
csb - connection string builder for the data management endpointproperties - additional properties to configure the http clientURISyntaxException - if the connection string is invalidpublic static QueuedIngestClient createClient(ConnectionStringBuilder csb, @Nullable @Nullable HttpClientProperties properties, boolean autoCorrectEndpoint) throws URISyntaxException
csb - connection string builder for the data management endpointproperties - additional properties to configure the http clientURISyntaxException - if the connection string is invalidpublic static StreamingIngestClient createStreamingIngestClient(ConnectionStringBuilder csb) throws URISyntaxException
csb - connection string builder for the engine endpointURISyntaxException - if the connection string is invalidpublic static StreamingIngestClient createStreamingIngestClient(ConnectionStringBuilder csb, @Nullable @Nullable HttpClientProperties properties) throws URISyntaxException
csb - connection string builder for the engine endpointproperties - additional properties to configure the http clientURISyntaxException - if the connection string is invalidpublic static StreamingIngestClient createStreamingIngestClient(ConnectionStringBuilder csb, @Nullable @Nullable HttpClientProperties properties, boolean autoCorrectEndpoint) throws URISyntaxException
csb - connection string builder for the engine endpointproperties - additional properties to configure the http clientURISyntaxException - if the connection string is invalidpublic static ManagedStreamingIngestClient createManagedStreamingIngestClient(ConnectionStringBuilder ingestionEndpointConnectionStringBuilder, ConnectionStringBuilder queryEndpointConnectionStringBuilder) throws URISyntaxException
createManagedStreamingIngestClient(ConnectionStringBuilder) instead.ingestionEndpointConnectionStringBuilder - connection string builder for the data management endpointqueryEndpointConnectionStringBuilder - connection string builder for the engine endpointURISyntaxException - if the connection string is invalidpublic static ManagedStreamingIngestClient createManagedStreamingIngestClient(ConnectionStringBuilder ingestionEndpointConnectionStringBuilder, ConnectionStringBuilder queryEndpointConnectionStringBuilder, @Nullable @Nullable HttpClientProperties properties, boolean autoCorrectEndpoint) throws URISyntaxException
createManagedStreamingIngestClient(ConnectionStringBuilder, HttpClientProperties, boolean) instead.ingestionEndpointConnectionStringBuilder - connection string builder for the data management endpointqueryEndpointConnectionStringBuilder - connection string builder for the engine endpointproperties - additional properties to configure the http clientURISyntaxException - if the connection string is invalidpublic static ManagedStreamingIngestClient createManagedStreamingIngestClient(ConnectionStringBuilder ingestionEndpointConnectionStringBuilder, ConnectionStringBuilder queryEndpointConnectionStringBuilder, @Nullable @Nullable HttpClientProperties properties) throws URISyntaxException
createManagedStreamingIngestClient(ConnectionStringBuilder, HttpClientProperties, boolean) instead.ingestionEndpointConnectionStringBuilder - connection string builder for the data management endpointqueryEndpointConnectionStringBuilder - connection string builder for the engine endpointproperties - additional properties to configure the http clientURISyntaxException - if the connection string is invalidpublic static ManagedStreamingIngestClient createManagedStreamingIngestClient(ConnectionStringBuilder connectionStringBuilder) throws URISyntaxException
connectionStringBuilder - connection string builder for the clientURISyntaxException - if the connection string is invalidpublic static ManagedStreamingIngestClient createManagedStreamingIngestClient(ConnectionStringBuilder connectionStringBuilder, @Nullable @Nullable HttpClientProperties properties, boolean autoCorrectEndpoint) throws URISyntaxException
connectionStringBuilder - connection string builder for the clientproperties - additional properties to configure the http clientURISyntaxException - if the connection string is invalidpublic static ManagedStreamingIngestClient createManagedStreamingIngestClientFromEngineCsb(ConnectionStringBuilder engineConnectionStringBuilder) throws URISyntaxException
createManagedStreamingIngestClient(ConnectionStringBuilder) instead.
Creates a new ManagedStreamingIngestClient from an engine connection string, with default http client properties.
This method infers the DM connection string from the engine connection string.
For advanced usage, use ManagedStreamingIngestClient(ConnectionStringBuilder, ConnectionStringBuilder, boolean)engineConnectionStringBuilder - engine connection stringURISyntaxException - if the connection string is invalidpublic static ManagedStreamingIngestClient createManagedStreamingIngestClientFromEngineCsb(ConnectionStringBuilder engineConnectionStringBuilder, @Nullable @Nullable HttpClientProperties properties) throws URISyntaxException
createManagedStreamingIngestClient(ConnectionStringBuilder, HttpClientProperties, boolean) instead.
Creates a new ManagedStreamingIngestClient from an engine connection string.
This method infers the DM connection string from the engine connection string.
For advanced usage, use ManagedStreamingIngestClient(ConnectionStringBuilder, ConnectionStringBuilder, boolean)engineConnectionStringBuilder - engine connection stringproperties - additional properties to configure the http clientURISyntaxException - if the connection string is invalidpublic static ManagedStreamingIngestClient createManagedStreamingIngestClientFromDmCsb(ConnectionStringBuilder dmConnectionStringBuilder) throws URISyntaxException
createManagedStreamingIngestClient(ConnectionStringBuilder) instead.
Creates a new ManagedStreamingIngestClient from a DM connection string, with default http client properties.
This method infers the engine connection string from the DM connection string.
For advanced usage, use ManagedStreamingIngestClient(ConnectionStringBuilder, ConnectionStringBuilder, boolean)dmConnectionStringBuilder - dm connection stringbuilderURISyntaxException - if the connection string is invalidpublic static ManagedStreamingIngestClient createManagedStreamingIngestClientFromDmCsb(ConnectionStringBuilder dmConnectionStringBuilder, @Nullable @Nullable HttpClientProperties properties) throws URISyntaxException
createManagedStreamingIngestClient(ConnectionStringBuilder, HttpClientProperties, boolean) instead.
Creates a new ManagedStreamingIngestClient from a DM connection string.
This method infers the engine connection string from the DM connection string.
For advanced usage, use ManagedStreamingIngestClient(ConnectionStringBuilder, ConnectionStringBuilder, boolean)dmConnectionStringBuilder - dm connection stringbuilderproperties - additional properties to configure the http clientURISyntaxException - if the connection string is invalidpublic static ManagedStreamingIngestClient createManagedStreamingIngestClientFromDmCsb(ConnectionStringBuilder connectionStringBuilder, @Nullable @Nullable org.apache.http.impl.client.CloseableHttpClient httpClient, boolean autoCorrectEndpoint) throws URISyntaxException
ManagedStreamingIngestClient(ConnectionStringBuilder, ConnectionStringBuilder, boolean)connectionStringBuilder - dm connection string builderhttpClient - HTTP Client to use for service and storage callsURISyntaxException - if the connection string is invalidpublic static ManagedStreamingIngestClient createManagedStreamingIngestClientFromDmCsb(ConnectionStringBuilder connectionStringBuilder, @Nullable @Nullable org.apache.http.impl.client.CloseableHttpClient httpClient) throws URISyntaxException
ManagedStreamingIngestClient(ConnectionStringBuilder, ConnectionStringBuilder, boolean)connectionStringBuilder - dm connection string builderhttpClient - HTTP Client to use for service and storage callsURISyntaxException - if the connection string is invalidCopyright © 2024. All rights reserved.