Class SelectValuesMeta
- java.lang.Object
-
- org.apache.hop.pipeline.transform.BaseTransformMeta<SelectValues,SelectValuesData>
-
- org.apache.hop.pipeline.transforms.selectvalues.SelectValuesMeta
-
- All Implemented Interfaces:
Cloneable,org.apache.hop.pipeline.transform.ITransformMeta
@Transform(id="SelectValues", image="selectvalues.svg", name="i18n:org.apache.hop.pipeline.transforms.selectvalues:SelectValues.Name", description="i18n:org.apache.hop.pipeline.transforms.selectvalues:SelectValues.Description", categoryDescription="i18n:org.apache.hop.pipeline.transform:BaseTransform.Category.Transform", keywords="i18n::SelectValuesMeta.keyword", documentationUrl="/pipeline/transforms/selectvalues.html") public class SelectValuesMeta extends org.apache.hop.pipeline.transform.BaseTransformMeta<SelectValues,SelectValuesData>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSelectValuesMeta.SelectField
-
Field Summary
Fields Modifier and Type Field Description static intUNDEFINED
-
Constructor Summary
Constructors Constructor Description SelectValuesMeta()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidallocate(int nrFields, int nrRemove, int nrMeta)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()voidgetDeleteFields(IRowMeta inputRowMeta)String[]getDeleteName()List<org.apache.hop.lineage.FieldnameLineage>getFieldnameLineage()We will describe in which way the field names change between input and output in this transform.voidgetFields(IRowMeta inputRowMeta, String name, IRowMeta[] info, org.apache.hop.pipeline.transform.TransformMeta nextTransform, IVariables variables, IHopMetadataProvider metadataProvider)SelectMetadataChange[]getMeta()voidgetMetadataFields(IRowMeta inputRowMeta, String name, IVariables variables)SelectValuesMeta.SelectField[]getSelectFields()voidgetSelectFields(IRowMeta inputRowMeta, String name)int[]getSelectLength()String[]getSelectName()int[]getSelectPrecision()String[]getSelectRename()StringgetXml()booleanisSelectingAndSortingUnspecifiedFields()voidloadXml(Node transformNode, IHopMetadataProvider metadataProvider)voidsetDefault()voidsetDeleteName(String[] deleteName)voidsetMeta(SelectMetadataChange[] meta)voidsetSelectFields(SelectValuesMeta.SelectField[] selectFields)voidsetSelectingAndSortingUnspecifiedFields(boolean selectingAndSortingUnspecifiedFields)voidsetSelectLength(int[] selectLength)voidsetSelectName(String[] selectName)voidsetSelectPrecision(int[] selectPrecision)voidsetSelectRename(String[] selectRename)booleansupportsErrorHandling()-
Methods inherited from class org.apache.hop.pipeline.transform.BaseTransformMeta
analyseImpact, cancelQueries, convertIOMetaToTransformNames, createTransform, createTransformData, excludeFromCopyDistributeVerification, excludeFromRowLayoutVerification, exportResources, getActiveReferencedObjectDescription, getDialogClassName, getFields, getLog, getLogChannelId, getName, getObjectCopy, getObjectType, getOptionalStreams, getParent, getParentTransformMeta, getReferencedObjectDescriptions, getRequiredFields, getResourceDependencies, getSqlStatements, getSupportedPipelineTypes, getTableFields, getTransformIOMeta, getTransformIOMeta, getUsedDatabaseConnections, handleStreamSelection, hasChanged, isBasic, isDebug, isDetailed, isReferencedObjectEnabled, isRowLevel, loadReferencedObject, logBasic, logBasic, logDebug, logDebug, logDetailed, logDetailed, logError, logError, logError, logMinimal, logMinimal, logRowlevel, logRowlevel, resetTransformIoMeta, searchInfoAndTargetTransforms, setChanged, setChanged, setParentTransformMeta, setTransformIOMeta
-
-
-
-
Field Detail
-
UNDEFINED
public static final int UNDEFINED
- See Also:
- Constant Field Values
-
-
Method Detail
-
getDeleteName
public String[] getDeleteName()
- Returns:
- Returns the deleteName.
-
setDeleteName
public void setDeleteName(String[] deleteName)
- Parameters:
deleteName- The deleteName to set.
-
setSelectName
public void setSelectName(String[] selectName)
- Parameters:
selectName- The selectName to set.
-
getSelectName
public String[] getSelectName()
-
setSelectRename
public void setSelectRename(String[] selectRename)
- Parameters:
selectRename- The selectRename to set.
-
getSelectRename
public String[] getSelectRename()
-
setSelectLength
public void setSelectLength(int[] selectLength)
- Parameters:
selectLength- The selectLength to set.
-
getSelectLength
public int[] getSelectLength()
-
setSelectPrecision
public void setSelectPrecision(int[] selectPrecision)
- Parameters:
selectPrecision- The selectPrecision to set.
-
getSelectPrecision
public int[] getSelectPrecision()
-
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<SelectValues,SelectValuesData>- Throws:
HopXmlException
-
allocate
public void allocate(int nrFields, int nrRemove, int nrMeta)
-
clone
public Object clone()
- Specified by:
clonein interfaceorg.apache.hop.pipeline.transform.ITransformMeta- Overrides:
clonein classorg.apache.hop.pipeline.transform.BaseTransformMeta<SelectValues,SelectValuesData>
-
setDefault
public void setDefault()
- Specified by:
setDefaultin interfaceorg.apache.hop.pipeline.transform.ITransformMeta- Overrides:
setDefaultin classorg.apache.hop.pipeline.transform.BaseTransformMeta<SelectValues,SelectValuesData>
-
getSelectFields
public void getSelectFields(IRowMeta inputRowMeta, String name) throws HopTransformException
- Throws:
HopTransformException
-
getDeleteFields
public void getDeleteFields(IRowMeta inputRowMeta) throws HopTransformException
- Throws:
HopTransformException
-
getMetadataFields
public void getMetadataFields(IRowMeta inputRowMeta, String name, IVariables variables) throws HopPluginException
- Throws:
HopPluginException
-
getFields
public void getFields(IRowMeta inputRowMeta, String name, 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<SelectValues,SelectValuesData>- Throws:
HopTransformException
-
getXml
public String getXml()
- Specified by:
getXmlin interfaceorg.apache.hop.pipeline.transform.ITransformMeta- Overrides:
getXmlin classorg.apache.hop.pipeline.transform.BaseTransformMeta<SelectValues,SelectValuesData>
-
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<SelectValues,SelectValuesData>
-
isSelectingAndSortingUnspecifiedFields
public boolean isSelectingAndSortingUnspecifiedFields()
- Returns:
- the selectingAndSortingUnspecifiedFields
-
setSelectingAndSortingUnspecifiedFields
public void setSelectingAndSortingUnspecifiedFields(boolean selectingAndSortingUnspecifiedFields)
- Parameters:
selectingAndSortingUnspecifiedFields- the selectingAndSortingUnspecifiedFields to set
-
getMeta
public SelectMetadataChange[] getMeta()
- Returns:
- the meta
-
setMeta
public void setMeta(SelectMetadataChange[] meta)
- Parameters:
meta- the meta to set
-
supportsErrorHandling
public boolean supportsErrorHandling()
- Specified by:
supportsErrorHandlingin interfaceorg.apache.hop.pipeline.transform.ITransformMeta- Overrides:
supportsErrorHandlingin classorg.apache.hop.pipeline.transform.BaseTransformMeta<SelectValues,SelectValuesData>
-
getSelectFields
public SelectValuesMeta.SelectField[] getSelectFields()
-
setSelectFields
public void setSelectFields(SelectValuesMeta.SelectField[] selectFields)
-
getFieldnameLineage
public List<org.apache.hop.lineage.FieldnameLineage> getFieldnameLineage()
We will describe in which way the field names change between input and output in this transform.- Returns:
- The list of field name lineage objects
-
-