Class SasInputField
java.lang.Object
org.pentaho.di.trans.steps.sasinput.SasInputField
- All Implemented Interfaces:
Cloneable,org.pentaho.di.core.xml.XMLInterface
public class SasInputField
extends Object
implements org.pentaho.di.core.xml.XMLInterface, Cloneable
This defines a selected list of fields from the input files including
- Since:
- 10-OCT-2011
- Author:
- matt
-
Constructor Summary
ConstructorsConstructorDescriptionSasInputField(String name, String rename, int type, String conversionMask, String decimalSymbol, String groupingSymbol, int trimType) SasInputField(Repository rep, org.pentaho.di.repository.ObjectId stepId, int fieldNr) SasInputField(Node node) -
Method Summary
Modifier and TypeMethodDescriptionprotected SasInputFieldclone()intgetName()intintintgetType()getXML()voidsaveRep(Repository rep, org.pentaho.metastore.api.IMetaStore metaStore, org.pentaho.di.repository.ObjectId transformationId, org.pentaho.di.repository.ObjectId stepId, int fieldNr) voidsetConversionMask(String conversionMask) voidsetDecimalSymbol(String decimalSymbol) voidsetGroupingSymbol(String groupingSymbol) voidsetLength(int length) voidvoidsetPrecision(int precision) voidvoidsetTrimType(int trimType) voidsetType(int type)
-
Constructor Details
-
SasInputField
public SasInputField(String name, String rename, int type, String conversionMask, String decimalSymbol, String groupingSymbol, int trimType) - Parameters:
name-rename-type-conversionMask-decimalSymbol-groupingSymbol-trimType-
-
SasInputField
public SasInputField() -
SasInputField
public SasInputField(Repository rep, org.pentaho.di.repository.ObjectId stepId, int fieldNr) throws org.pentaho.di.core.exception.KettleException - Throws:
org.pentaho.di.core.exception.KettleException
-
SasInputField
- Throws:
org.pentaho.di.core.exception.KettleXMLException
-
-
Method Details
-
clone
-
getXML
- Specified by:
getXMLin interfaceorg.pentaho.di.core.xml.XMLInterface
-
saveRep
public void saveRep(Repository rep, org.pentaho.metastore.api.IMetaStore metaStore, org.pentaho.di.repository.ObjectId transformationId, org.pentaho.di.repository.ObjectId stepId, int fieldNr) throws org.pentaho.di.core.exception.KettleException - Throws:
org.pentaho.di.core.exception.KettleException
-
getName
- Returns:
- the name
-
setName
- Parameters:
name- the name to set
-
getRename
- Returns:
- the rename
-
setRename
- Parameters:
rename- the rename to set
-
getType
public int getType()- Returns:
- the type
-
setType
public void setType(int type) - Parameters:
type- the type to set
-
getConversionMask
- Returns:
- the conversionMask
-
setConversionMask
- Parameters:
conversionMask- the conversionMask to set
-
getDecimalSymbol
- Returns:
- the decimalSymbol
-
setDecimalSymbol
- Parameters:
decimalSymbol- the decimalSymbol to set
-
getGroupingSymbol
- Returns:
- the groupingSymbol
-
setGroupingSymbol
- Parameters:
groupingSymbol- the groupingSymbol to set
-
getTrimType
public int getTrimType()- Returns:
- the trimType
-
setTrimType
public void setTrimType(int trimType) - Parameters:
trimType- the trimType to set
-
getPrecision
public int getPrecision()- Returns:
- the precision
-
setPrecision
public void setPrecision(int precision) - Parameters:
precision- the precision to set
-
getLength
public int getLength()- Returns:
- the length
-
setLength
public void setLength(int length) - Parameters:
length- the length to set
-
getTrimTypeDesc
-