Package org.apache.druid.client.indexing
Interface SamplerSpec
public interface SamplerSpec
-
Method Summary
Modifier and TypeMethodDescriptiondefault Set<ResourceAction>default StringgetType()Returns the type of this sampler type.sample()
-
Method Details
-
sample
SamplerResponse sample() -
getType
Returns the type of this sampler type.- Returns:
- sampler spec type label
-
getInputSourceResources
- Returns:
- The types of
InputSourcethat 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 theAuthConfig.enableInputSourceSecurityconfig. - Throws:
UOE
-