Package org.apache.hop.execution.sampler
Interface IExecutionDataSamplerStore
-
- All Known Implementing Classes:
BasicDataProfilingDataSamplerStore,ExecutionDataSamplerStoreBase,FirstRowsExecutionDataSamplerStore,LastRowsExecutionDataSamplerStore,RandomRowsExecutionDataSamplerStore
public interface IExecutionDataSamplerStore
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IRowListenercreateRowListener(IExecutionDataSampler<?> dataSampler)Create a row listener to attach to a transformMap<String,RowBuffer>getSamples()Return a map of keys and rows of data.Map<String,ExecutionDataSetMeta>getSamplesMetadata()Get some extra information about the data samples.voidinit(IVariables variables, IRowMeta inputRowMeta, IRowMeta outputRowMeta)Initializes this sampler store
-
-
-
Method Detail
-
init
void init(IVariables variables, IRowMeta inputRowMeta, IRowMeta outputRowMeta)
Initializes this sampler store- Parameters:
variables- The variables to resolve withinputRowMeta- Transform input row metadataoutputRowMeta- Transform output row metadata
-
createRowListener
IRowListener createRowListener(IExecutionDataSampler<?> dataSampler)
Create a row listener to attach to a transform- Returns:
- The row listener for this store.
-
getSamples
Map<String,RowBuffer> getSamples()
Return a map of keys and rows of data. Every key represents a different type of sampling data.- Returns:
- The samples map for the sampler store
-
getSamplesMetadata
Map<String,ExecutionDataSetMeta> getSamplesMetadata()
Get some extra information about the data samples.- Returns:
- The metadata map where for every key more information (description) is given about the sampled data.
-
-