Interface SamplerSpec


  • public interface SamplerSpec
    • Method Detail

      • getType

        @Nullable
        default String getType()
        Returns the type of this sampler type.
        Returns:
        sampler spec type label
      • getInputSourceResources

        @Nonnull
        default Set<ResourceAction> getInputSourceResources()
                                                     throws org.apache.druid.java.util.common.UOE
        Returns:
        The types of InputSource that the sampler spec uses. Empty set is returned if the sampler spec does not use any. Users can be given permission to access particular types of input sources but not others, using the AuthConfig.enableInputSourceSecurity config.
        Throws:
        org.apache.druid.java.util.common.UOE