org.pentaho.di.trans.steps.yamlinput
Class YamlInputField
java.lang.Object
org.pentaho.di.trans.steps.yamlinput.YamlInputField
- All Implemented Interfaces:
- Cloneable
public class YamlInputField
- extends Object
- implements Cloneable
Read YAML files, parse them and convert them to rows and writes these to one or more output
streams.
- Since:
- 20-06-2007
- Author:
- Samatar
TYPE_TRIM_NONE
public static final int TYPE_TRIM_NONE
- See Also:
- Constant Field Values
TYPE_TRIM_LEFT
public static final int TYPE_TRIM_LEFT
- See Also:
- Constant Field Values
TYPE_TRIM_RIGHT
public static final int TYPE_TRIM_RIGHT
- See Also:
- Constant Field Values
TYPE_TRIM_BOTH
public static final int TYPE_TRIM_BOTH
- See Also:
- Constant Field Values
trimTypeCode
public static final String[] trimTypeCode
trimTypeDesc
public static final String[] trimTypeDesc
YamlInputField
public YamlInputField(String fieldname)
YamlInputField
public YamlInputField()
YamlInputField
public YamlInputField(Node fnode)
throws KettleValueException
- Throws:
KettleValueException
getXML
public String getXML()
getTrimTypeByCode
public static final int getTrimTypeByCode(String tt)
getTrimTypeByDesc
public static final int getTrimTypeByDesc(String tt)
getTrimTypeCode
public static final String getTrimTypeCode(int i)
getTrimTypeDesc
public static final String getTrimTypeDesc(int i)
clone
public Object clone()
- Overrides:
clone
in class Object
getLength
public int getLength()
setLength
public void setLength(int length)
getName
public String getName()
getPath
public String getPath()
setPath
public void setPath(String fieldpath)
setName
public void setName(String fieldname)
getType
public int getType()
getTypeDesc
public String getTypeDesc()
setType
public void setType(int type)
getFormat
public String getFormat()
setFormat
public void setFormat(String format)
getTrimType
public int getTrimType()
getTrimTypeCode
public String getTrimTypeCode()
getTrimTypeDesc
public String getTrimTypeDesc()
setTrimType
public void setTrimType(int trimtype)
getGroupSymbol
public String getGroupSymbol()
setGroupSymbol
public void setGroupSymbol(String group_symbol)
getDecimalSymbol
public String getDecimalSymbol()
setDecimalSymbol
public void setDecimalSymbol(String decimal_symbol)
getCurrencySymbol
public String getCurrencySymbol()
setCurrencySymbol
public void setCurrencySymbol(String currency_symbol)
getPrecision
public int getPrecision()
setPrecision
public void setPrecision(int precision)