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

    Fields
    Modifier and Type
    Field
    Description
    static final org.apache.nifi.components.PropertyDescriptor
     
    static final org.apache.nifi.components.PropertyDescriptor
     
    static final org.apache.nifi.components.PropertyDescriptor
     
    static final org.apache.nifi.components.PropertyDescriptor
     
    static final org.apache.nifi.components.PropertyDescriptor
     
    private com.microsoft.azure.kusto.data.StreamingClient
     
    static final org.apache.commons.lang3.tuple.Pair<String,String>
     
    private static final List<org.apache.nifi.components.PropertyDescriptor>
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected com.microsoft.azure.kusto.data.StreamingClient
    createClient(org.apache.nifi.controller.ConfigurationContext context)
     
    executeQuery(String databaseName, String query)
     
    private com.microsoft.azure.kusto.data.auth.ConnectionStringBuilder
    getConnectionStringBuilder(org.apache.nifi.controller.ConfigurationContext context)
     
    List<org.apache.nifi.components.PropertyDescriptor>
     
    void
    onEnabled(org.apache.nifi.controller.ConfigurationContext context)
     
    final void
     

    Methods inherited from class org.apache.nifi.controller.AbstractControllerService

    abstractClearConfigContext, abstractStoreConfigContext, disabled, enabled, getConfigurationContext, getControllerServiceLookup, getIdentifier, getLogger, getNodeTypeProvider, getProperty, getStateManager, init, initialize, isEnabled

    Methods inherited from class org.apache.nifi.components.AbstractConfigurableComponent

    customValidate, equals, getPropertyDescriptor, getPropertyDescriptors, getSupportedDynamicPropertyDescriptor, hashCode, onPropertyModified, toString, validate

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.apache.nifi.components.ConfigurableComponent

    getIdentifier, getPropertyDescriptor, getPropertyDescriptors, onPropertyModified, validate

    Methods 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

      private static final List<org.apache.nifi.components.PropertyDescriptor> PROPERTY_DESCRIPTORS
    • kustoClient

      private volatile com.microsoft.azure.kusto.data.StreamingClient kustoClient
    • NIFI_SOURCE

      public static final org.apache.commons.lang3.tuple.Pair<String,String> NIFI_SOURCE
  • Constructor Details

    • StandardKustoQueryService

      public StandardKustoQueryService()
  • Method Details

    • getSupportedPropertyDescriptors

      public List<org.apache.nifi.components.PropertyDescriptor> getSupportedPropertyDescriptors()
      Overrides:
      getSupportedPropertyDescriptors in class org.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.ProcessException
      URISyntaxException
    • onStopped

      @OnStopped public final void onStopped()
    • executeQuery

      public KustoQueryResponse executeQuery(String databaseName, String query)
      Specified by:
      executeQuery in interface KustoQueryService
    • 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)