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
ConstructorDescriptionSasInputField
(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 SasInputField
clone()
int
getName()
int
int
int
getType()
getXML()
void
saveRep
(Repository rep, org.pentaho.metastore.api.IMetaStore metaStore, org.pentaho.di.repository.ObjectId transformationId, org.pentaho.di.repository.ObjectId stepId, int fieldNr) void
setConversionMask
(String conversionMask) void
setDecimalSymbol
(String decimalSymbol) void
setGroupingSymbol
(String groupingSymbol) void
setLength
(int length) void
void
setPrecision
(int precision) void
void
setTrimType
(int trimType) void
setType
(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:
getXML
in 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
-