Class StandardKustoQueryService
java.lang.Object
org.apache.nifi.components.AbstractConfigurableComponent
org.apache.nifi.controller.AbstractControllerService
org.apache.nifi.services.azure.data.explorer.StandardKustoQueryService
- All Implemented Interfaces:
org.apache.nifi.components.ConfigurableComponent,org.apache.nifi.controller.ControllerService,KustoQueryService
@Tags({"Azure","Data","Explorer","ADX","Kusto"})
@CapabilityDescription("Standard implementation of Kusto Query Service for Azure Data Explorer")
public class StandardKustoQueryService
extends org.apache.nifi.controller.AbstractControllerService
implements KustoQueryService
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.apache.nifi.components.PropertyDescriptorstatic final org.apache.nifi.components.PropertyDescriptorstatic final org.apache.nifi.components.PropertyDescriptorstatic final org.apache.nifi.components.PropertyDescriptorstatic final org.apache.nifi.components.PropertyDescriptorprivate com.microsoft.azure.kusto.data.StreamingClientprivate static final List<org.apache.nifi.components.PropertyDescriptor> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected com.microsoft.azure.kusto.data.StreamingClientcreateClient(org.apache.nifi.controller.ConfigurationContext context) executeQuery(String databaseName, String query) private com.microsoft.azure.kusto.data.auth.ConnectionStringBuildergetConnectionStringBuilder(org.apache.nifi.controller.ConfigurationContext context) List<org.apache.nifi.components.PropertyDescriptor> voidonEnabled(org.apache.nifi.controller.ConfigurationContext context) final voidMethods inherited from class org.apache.nifi.controller.AbstractControllerService
abstractClearConfigContext, abstractStoreConfigContext, disabled, enabled, getConfigurationContext, getControllerServiceLookup, getIdentifier, getLogger, getNodeTypeProvider, getProperty, getStateManager, init, initialize, isEnabledMethods inherited from class org.apache.nifi.components.AbstractConfigurableComponent
customValidate, equals, getPropertyDescriptor, getPropertyDescriptors, getSupportedDynamicPropertyDescriptor, hashCode, onPropertyModified, toString, validateMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.nifi.components.ConfigurableComponent
getIdentifier, getPropertyDescriptor, getPropertyDescriptors, onPropertyModified, validateMethods inherited from interface org.apache.nifi.controller.ControllerService
initialize, isStateful, migrateProperties
-
Field Details
-
CLUSTER_URI
public static final org.apache.nifi.components.PropertyDescriptor CLUSTER_URI -
AUTHENTICATION_STRATEGY
public static final org.apache.nifi.components.PropertyDescriptor AUTHENTICATION_STRATEGY -
APPLICATION_CLIENT_ID
public static final org.apache.nifi.components.PropertyDescriptor APPLICATION_CLIENT_ID -
APPLICATION_TENANT_ID
public static final org.apache.nifi.components.PropertyDescriptor APPLICATION_TENANT_ID -
APPLICATION_KEY
public static final org.apache.nifi.components.PropertyDescriptor APPLICATION_KEY -
PROPERTY_DESCRIPTORS
-
kustoClient
private volatile com.microsoft.azure.kusto.data.StreamingClient kustoClient -
NIFI_SOURCE
-
-
Constructor Details
-
StandardKustoQueryService
public StandardKustoQueryService()
-
-
Method Details
-
getSupportedPropertyDescriptors
- Overrides:
getSupportedPropertyDescriptorsin classorg.apache.nifi.components.AbstractConfigurableComponent
-
onEnabled
@OnEnabled public void onEnabled(org.apache.nifi.controller.ConfigurationContext context) throws org.apache.nifi.processor.exception.ProcessException, URISyntaxException - Throws:
org.apache.nifi.processor.exception.ProcessExceptionURISyntaxException
-
onStopped
@OnStopped public final void onStopped() -
executeQuery
- Specified by:
executeQueryin interfaceKustoQueryService
-
createClient
protected com.microsoft.azure.kusto.data.StreamingClient createClient(org.apache.nifi.controller.ConfigurationContext context) throws URISyntaxException - Throws:
URISyntaxException
-
getConnectionStringBuilder
private com.microsoft.azure.kusto.data.auth.ConnectionStringBuilder getConnectionStringBuilder(org.apache.nifi.controller.ConfigurationContext context)
-