public class FieldHelper extends Object
Constructor and Description |
---|
FieldHelper(org.pentaho.di.core.row.RowMetaInterface rowMeta,
String fieldName) |
Modifier and Type | Method and Description |
---|---|
static String |
getAccessor(boolean isIn,
String fieldName) |
BigDecimal |
getBigNumber(Object[] dataRow) |
byte[] |
getBinary(Object[] dataRow) |
Boolean |
getBoolean(Object[] dataRow) |
Date |
getDate(Object[] dataRow) |
static String |
getGetSignature(String accessor,
org.pentaho.di.core.row.ValueMetaInterface v) |
Long |
getInteger(Object[] dataRow) |
Double |
getNumber(Object[] dataRow) |
Object |
getObject(Object[] dataRow) |
Serializable |
getSerializable(Object[] dataRow) |
String |
getString(Object[] dataRow) |
org.pentaho.di.core.row.ValueMetaInterface |
getValueMeta() |
int |
indexOfValue() |
void |
setValue(Object[] dataRow,
Object value) |
public FieldHelper(org.pentaho.di.core.row.RowMetaInterface rowMeta, String fieldName)
public BigDecimal getBigNumber(Object[] dataRow) throws org.pentaho.di.core.exception.KettleValueException
org.pentaho.di.core.exception.KettleValueException
public byte[] getBinary(Object[] dataRow) throws org.pentaho.di.core.exception.KettleValueException
org.pentaho.di.core.exception.KettleValueException
public Boolean getBoolean(Object[] dataRow) throws org.pentaho.di.core.exception.KettleValueException
org.pentaho.di.core.exception.KettleValueException
public Date getDate(Object[] dataRow) throws org.pentaho.di.core.exception.KettleValueException
org.pentaho.di.core.exception.KettleValueException
public Long getInteger(Object[] dataRow) throws org.pentaho.di.core.exception.KettleValueException
org.pentaho.di.core.exception.KettleValueException
public Double getNumber(Object[] dataRow) throws org.pentaho.di.core.exception.KettleValueException
org.pentaho.di.core.exception.KettleValueException
public Serializable getSerializable(Object[] dataRow) throws org.pentaho.di.core.exception.KettleValueException
org.pentaho.di.core.exception.KettleValueException
public String getString(Object[] dataRow) throws org.pentaho.di.core.exception.KettleValueException
org.pentaho.di.core.exception.KettleValueException
public org.pentaho.di.core.row.ValueMetaInterface getValueMeta()
public int indexOfValue()