org.pentaho.di.trans.steps.userdefinedjavaclass
Class FieldHelper
java.lang.Object
org.pentaho.di.trans.steps.userdefinedjavaclass.FieldHelper
public class FieldHelper
- extends Object
FieldHelper
public FieldHelper(RowMetaInterface rowMeta,
String fieldName)
getObject
public Object getObject(Object[] dataRow)
getBigNumber
public BigDecimal getBigNumber(Object[] dataRow)
throws KettleValueException
- Throws:
KettleValueException
getBinary
public byte[] getBinary(Object[] dataRow)
throws KettleValueException
- Throws:
KettleValueException
getBoolean
public Boolean getBoolean(Object[] dataRow)
throws KettleValueException
- Throws:
KettleValueException
getDate
public Date getDate(Object[] dataRow)
throws KettleValueException
- Throws:
KettleValueException
getInteger
public Long getInteger(Object[] dataRow)
throws KettleValueException
- Throws:
KettleValueException
getNumber
public Double getNumber(Object[] dataRow)
throws KettleValueException
- Throws:
KettleValueException
getSerializable
public Serializable getSerializable(Object[] dataRow)
throws KettleValueException
- Throws:
KettleValueException
getString
public String getString(Object[] dataRow)
throws KettleValueException
- Throws:
KettleValueException
getValueMeta
public ValueMetaInterface getValueMeta()
indexOfValue
public int indexOfValue()
setValue
public void setValue(Object[] dataRow,
Object value)
getAccessor
public static String getAccessor(boolean isIn,
String fieldName)
getGetSignature
public static String getGetSignature(String accessor,
ValueMetaInterface v)