Class StreamLookupMeta
- java.lang.Object
-
- org.apache.hop.pipeline.transform.BaseTransformMeta<StreamLookup,StreamLookupData>
-
- org.apache.hop.pipeline.transforms.streamlookup.StreamLookupMeta
-
- All Implemented Interfaces:
Cloneable,org.apache.hop.pipeline.transform.ITransformMeta
@Transform(id="StreamLookup", image="streamlookup.svg", name="i18n::StreamLookup.Name", description="i18n::StreamLookup.Description", categoryDescription="i18n:org.apache.hop.pipeline.transform:BaseTransform.Category.Lookup", keywords="i18n::StreamLookupMeta.keyword", documentationUrl="/pipeline/transforms/streamlookup.html") public class StreamLookupMeta extends org.apache.hop.pipeline.transform.BaseTransformMeta<StreamLookup,StreamLookupData>
-
-
Constructor Summary
Constructors Constructor Description StreamLookupMeta()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterInjectionSynchronization()If we use injection we can have different arrays lengths.voidallocate(int nrkeys, int nrvalues)voidcheck(List<ICheckResult> remarks, org.apache.hop.pipeline.PipelineMeta pipelineMeta, org.apache.hop.pipeline.transform.TransformMeta transformMeta, IRowMeta prev, String[] input, String[] output, IRowMeta info, IVariables variables, IHopMetadataProvider metadataProvider)Objectclone()booleanexcludeFromRowLayoutVerification()voidgetFields(IRowMeta row, String origin, IRowMeta[] info, org.apache.hop.pipeline.transform.TransformMeta nextTransform, IVariables variables, IHopMetadataProvider metadataProvider)String[]getKeylookup()String[]getKeystream()org.apache.hop.pipeline.transform.ITransformIOMetagetTransformIOMeta()Returns the Input/Output metadata for this transform.String[]getValue()String[]getValueDefault()int[]getValueDefaultType()String[]getValueName()StringgetXml()booleanisInputSorted()booleanisMemoryPreservationActive()booleanisUsingIntegerPair()booleanisUsingSortedList()voidloadXml(Node transformNode, IHopMetadataProvider metadataProvider)voidresetTransformIoMeta()voidsearchInfoAndTargetTransforms(List<org.apache.hop.pipeline.transform.TransformMeta> transforms)voidsetDefault()voidsetInputSorted(boolean inputSorted)voidsetKeylookup(String[] keylookup)voidsetKeystream(String[] keystream)voidsetMemoryPreservationActive(boolean memoryPreservationActive)voidsetUsingIntegerPair(boolean usingIntegerPair)voidsetUsingSortedList(boolean usingSortedList)voidsetValue(String[] value)voidsetValueDefault(String[] valueDefault)voidsetValueDefaultType(int[] valueDefaultType)voidsetValueName(String[] valueName)-
Methods inherited from class org.apache.hop.pipeline.transform.BaseTransformMeta
analyseImpact, cancelQueries, convertIOMetaToTransformNames, createTransform, createTransformData, excludeFromCopyDistributeVerification, exportResources, getActiveReferencedObjectDescription, getDialogClassName, getFields, getGenericType, getLog, getLogChannelId, getName, getObjectCopy, getObjectType, getOptionalStreams, getParameterizedTypes, getParent, getParentTransformMeta, getReferencedObjectDescriptions, getRequiredFields, getResourceDependencies, getSqlStatements, getSupportedPipelineTypes, getTableFields, getTransformIOMeta, getUsedDatabaseConnections, handleStreamSelection, hasChanged, isBasic, isDebug, isDetailed, isReferencedObjectEnabled, isRowLevel, loadReferencedObject, logBasic, logBasic, logDebug, logDebug, logDetailed, logDetailed, logError, logError, logError, logMinimal, logMinimal, logRowlevel, logRowlevel, setChanged, setChanged, setParentTransformMeta, setTransformIOMeta, supportsErrorHandling, supportsMultiCopyExecution
-
-
-
-
Method Detail
-
loadXml
public void loadXml(Node transformNode, IHopMetadataProvider metadataProvider) throws HopXmlException
- Specified by:
loadXmlin interfaceorg.apache.hop.pipeline.transform.ITransformMeta- Overrides:
loadXmlin classorg.apache.hop.pipeline.transform.BaseTransformMeta<StreamLookup,StreamLookupData>- Throws:
HopXmlException
-
allocate
public void allocate(int nrkeys, int nrvalues)
-
clone
public Object clone()
- Specified by:
clonein interfaceorg.apache.hop.pipeline.transform.ITransformMeta- Overrides:
clonein classorg.apache.hop.pipeline.transform.BaseTransformMeta<StreamLookup,StreamLookupData>
-
searchInfoAndTargetTransforms
public void searchInfoAndTargetTransforms(List<org.apache.hop.pipeline.transform.TransformMeta> transforms)
- Specified by:
searchInfoAndTargetTransformsin interfaceorg.apache.hop.pipeline.transform.ITransformMeta- Overrides:
searchInfoAndTargetTransformsin classorg.apache.hop.pipeline.transform.BaseTransformMeta<StreamLookup,StreamLookupData>
-
setDefault
public void setDefault()
- Specified by:
setDefaultin interfaceorg.apache.hop.pipeline.transform.ITransformMeta- Overrides:
setDefaultin classorg.apache.hop.pipeline.transform.BaseTransformMeta<StreamLookup,StreamLookupData>
-
getFields
public void getFields(IRowMeta row, String origin, IRowMeta[] info, org.apache.hop.pipeline.transform.TransformMeta nextTransform, IVariables variables, IHopMetadataProvider metadataProvider) throws HopTransformException
- Specified by:
getFieldsin interfaceorg.apache.hop.pipeline.transform.ITransformMeta- Overrides:
getFieldsin classorg.apache.hop.pipeline.transform.BaseTransformMeta<StreamLookup,StreamLookupData>- Throws:
HopTransformException
-
getXml
public String getXml()
- Specified by:
getXmlin interfaceorg.apache.hop.pipeline.transform.ITransformMeta- Overrides:
getXmlin classorg.apache.hop.pipeline.transform.BaseTransformMeta<StreamLookup,StreamLookupData>
-
check
public void check(List<ICheckResult> remarks, org.apache.hop.pipeline.PipelineMeta pipelineMeta, org.apache.hop.pipeline.transform.TransformMeta transformMeta, IRowMeta prev, String[] input, String[] output, IRowMeta info, IVariables variables, IHopMetadataProvider metadataProvider)
- Specified by:
checkin interfaceorg.apache.hop.pipeline.transform.ITransformMeta- Overrides:
checkin classorg.apache.hop.pipeline.transform.BaseTransformMeta<StreamLookup,StreamLookupData>
-
excludeFromRowLayoutVerification
public boolean excludeFromRowLayoutVerification()
- Specified by:
excludeFromRowLayoutVerificationin interfaceorg.apache.hop.pipeline.transform.ITransformMeta- Overrides:
excludeFromRowLayoutVerificationin classorg.apache.hop.pipeline.transform.BaseTransformMeta<StreamLookup,StreamLookupData>
-
getTransformIOMeta
public org.apache.hop.pipeline.transform.ITransformIOMeta getTransformIOMeta()
Returns the Input/Output metadata for this transform. The generator transform only produces output, does not accept input!- Specified by:
getTransformIOMetain interfaceorg.apache.hop.pipeline.transform.ITransformMeta- Overrides:
getTransformIOMetain classorg.apache.hop.pipeline.transform.BaseTransformMeta<StreamLookup,StreamLookupData>
-
resetTransformIoMeta
public void resetTransformIoMeta()
- Specified by:
resetTransformIoMetain interfaceorg.apache.hop.pipeline.transform.ITransformMeta- Overrides:
resetTransformIoMetain classorg.apache.hop.pipeline.transform.BaseTransformMeta<StreamLookup,StreamLookupData>
-
isInputSorted
public boolean isInputSorted()
- Returns:
- Returns the inputSorted.
-
setInputSorted
public void setInputSorted(boolean inputSorted)
- Parameters:
inputSorted- The inputSorted to set.
-
getKeylookup
public String[] getKeylookup()
- Returns:
- Returns the keylookup.
-
setKeylookup
public void setKeylookup(String[] keylookup)
- Parameters:
keylookup- The keylookup to set.
-
getKeystream
public String[] getKeystream()
- Returns:
- Returns the keystream.
-
setKeystream
public void setKeystream(String[] keystream)
- Parameters:
keystream- The keystream to set.
-
getValue
public String[] getValue()
- Returns:
- Returns the value.
-
setValue
public void setValue(String[] value)
- Parameters:
value- The value to set.
-
getValueDefault
public String[] getValueDefault()
- Returns:
- Returns the valueDefault.
-
setValueDefault
public void setValueDefault(String[] valueDefault)
- Parameters:
valueDefault- The valueDefault to set.
-
getValueDefaultType
public int[] getValueDefaultType()
- Returns:
- Returns the valueDefaultType.
-
setValueDefaultType
public void setValueDefaultType(int[] valueDefaultType)
- Parameters:
valueDefaultType- The valueDefaultType to set.
-
getValueName
public String[] getValueName()
- Returns:
- Returns the valueName.
-
setValueName
public void setValueName(String[] valueName)
- Parameters:
valueName- The valueName to set.
-
isMemoryPreservationActive
public boolean isMemoryPreservationActive()
-
setMemoryPreservationActive
public void setMemoryPreservationActive(boolean memoryPreservationActive)
-
isUsingSortedList
public boolean isUsingSortedList()
-
setUsingSortedList
public void setUsingSortedList(boolean usingSortedList)
-
isUsingIntegerPair
public boolean isUsingIntegerPair()
- Returns:
- the usingIntegerPair
-
setUsingIntegerPair
public void setUsingIntegerPair(boolean usingIntegerPair)
- Parameters:
usingIntegerPair- the usingIntegerPair to set
-
afterInjectionSynchronization
public void afterInjectionSynchronization()
If we use injection we can have different arrays lengths. We need synchronize them for consistency behavior with UI
-
-