Class LastRowsExecutionDataSamplerStore
- java.lang.Object
-
- org.apache.hop.execution.sampler.ExecutionDataSamplerStoreBase<LastRowsExecutionDataSamplerStore>
-
- org.apache.hop.execution.sampler.plugins.last.LastRowsExecutionDataSamplerStore
-
- All Implemented Interfaces:
IExecutionDataSamplerStore
public class LastRowsExecutionDataSamplerStore extends ExecutionDataSamplerStoreBase<LastRowsExecutionDataSamplerStore> implements IExecutionDataSamplerStore
A class meant to contain transform execution sampling data
-
-
Field Summary
Fields Modifier and Type Field Description static StringEXECUTION_DATA_SAMPLE_LAST_OUTPUT-
Fields inherited from class org.apache.hop.execution.sampler.ExecutionDataSamplerStoreBase
maxRows, rowMeta, rows, samplerMeta
-
-
Constructor Summary
Constructors Constructor Description LastRowsExecutionDataSamplerStore(LastRowsExecutionDataSampler dataSampler, ExecutionDataSamplerMeta samplerMeta)LastRowsExecutionDataSamplerStore(LastRowsExecutionDataSampler dataSampler, ExecutionDataSamplerMeta samplerMeta, IRowMeta rowMeta, List<Object[]> rows, int maxRows)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LastRowsExecutionDataSamplergetDataSampler()Gets dataSamplerMap<String,RowBuffer>getSamples()Return a map of keys and rows of data.Map<String,ExecutionDataSetMeta>getSamplesMetadata()Get some extra information about the data samples.LastRowsExecutionDataSamplerStoregetStore()voidinit(IVariables variables, IRowMeta inputRowMeta, IRowMeta outputRowMeta)Initializes this sampler storevoidsetDataSampler(LastRowsExecutionDataSampler dataSampler)Sets dataSampler-
Methods inherited from class org.apache.hop.execution.sampler.ExecutionDataSamplerStoreBase
createRowListener, getKeyForStore, getMaxRows, getRowMeta, getRows, getSamplerMeta, setMaxRows, setRowMeta, setRows, setSamplerMeta
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.hop.execution.sampler.IExecutionDataSamplerStore
createRowListener
-
-
-
-
Field Detail
-
EXECUTION_DATA_SAMPLE_LAST_OUTPUT
public static final String EXECUTION_DATA_SAMPLE_LAST_OUTPUT
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
LastRowsExecutionDataSamplerStore
public LastRowsExecutionDataSamplerStore(LastRowsExecutionDataSampler dataSampler, ExecutionDataSamplerMeta samplerMeta, IRowMeta rowMeta, List<Object[]> rows, int maxRows)
-
LastRowsExecutionDataSamplerStore
public LastRowsExecutionDataSamplerStore(LastRowsExecutionDataSampler dataSampler, ExecutionDataSamplerMeta samplerMeta)
-
-
Method Detail
-
getStore
public LastRowsExecutionDataSamplerStore getStore()
- Specified by:
getStorein classExecutionDataSamplerStoreBase<LastRowsExecutionDataSamplerStore>
-
init
public void init(IVariables variables, IRowMeta inputRowMeta, IRowMeta outputRowMeta)
Description copied from interface:IExecutionDataSamplerStoreInitializes this sampler store- Specified by:
initin interfaceIExecutionDataSamplerStore- Overrides:
initin classExecutionDataSamplerStoreBase<LastRowsExecutionDataSamplerStore>- Parameters:
variables- The variables to resolve withinputRowMeta- Transform input row metadataoutputRowMeta- Transform output row metadata
-
getSamples
public Map<String,RowBuffer> getSamples()
Description copied from interface:IExecutionDataSamplerStoreReturn a map of keys and rows of data. Every key represents a different type of sampling data.- Specified by:
getSamplesin interfaceIExecutionDataSamplerStore- Returns:
- The samples map for the sampler store
-
getSamplesMetadata
public Map<String,ExecutionDataSetMeta> getSamplesMetadata()
Description copied from interface:IExecutionDataSamplerStoreGet some extra information about the data samples.- Specified by:
getSamplesMetadatain interfaceIExecutionDataSamplerStore- Returns:
- The metadata map where for every key more information (description) is given about the sampled data.
-
getDataSampler
public LastRowsExecutionDataSampler getDataSampler()
Gets dataSampler- Returns:
- value of dataSampler
-
setDataSampler
public void setDataSampler(LastRowsExecutionDataSampler dataSampler)
Sets dataSampler- Parameters:
dataSampler- value of dataSampler
-
-