Class FieldHelper
- java.lang.Object
-
- org.pentaho.di.trans.steps.userdefinedjavaclass.FieldHelper
-
public class FieldHelper extends Object
-
-
Constructor Summary
Constructors Constructor Description FieldHelper(org.pentaho.di.core.row.RowMetaInterface rowMeta, String fieldName)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static StringgetAccessor(boolean isIn, String fieldName)BigDecimalgetBigDecimal(Object[] dataRow)BigDecimalgetBigNumber(Object[] dataRow)Deprecated.byte[]getBinary(Object[] dataRow)BooleangetBoolean(Object[] dataRow)DategetDate(Object[] dataRow)DoublegetDouble(Object[] dataRow)static StringgetGetSignature(String accessor, org.pentaho.di.core.row.ValueMetaInterface v)InetAddressgetInetAddress(Object[] dataRow)LonggetInteger(Object[] dataRow)Deprecated.LonggetLong(Object[] dataRow)static StringgetNativeDataTypeSimpleName(org.pentaho.di.core.row.ValueMetaInterface v)DoublegetNumber(Object[] dataRow)Deprecated.ObjectgetObject(Object[] dataRow)SerializablegetSerializable(Object[] dataRow)StringgetString(Object[] dataRow)TimestampgetTimestamp(Object[] dataRow)org.pentaho.di.core.row.ValueMetaInterfacegetValueMeta()intindexOfValue()voidsetValue(Object[] dataRow, byte[] value)voidsetValue(Object[] dataRow, Object value)
-
-
-
Constructor Detail
-
FieldHelper
public FieldHelper(org.pentaho.di.core.row.RowMetaInterface rowMeta, String fieldName)
-
-
Method Detail
-
getBigNumber
@Deprecated public BigDecimal getBigNumber(Object[] dataRow) throws org.pentaho.di.core.exception.KettleValueException
Deprecated.- Throws:
org.pentaho.di.core.exception.KettleValueException
-
getBigDecimal
public BigDecimal getBigDecimal(Object[] dataRow) throws org.pentaho.di.core.exception.KettleValueException
- Throws:
org.pentaho.di.core.exception.KettleValueException
-
getBinary
public byte[] getBinary(Object[] dataRow) throws org.pentaho.di.core.exception.KettleValueException
- Throws:
org.pentaho.di.core.exception.KettleValueException
-
getBoolean
public Boolean getBoolean(Object[] dataRow) throws org.pentaho.di.core.exception.KettleValueException
- Throws:
org.pentaho.di.core.exception.KettleValueException
-
getDate
public Date getDate(Object[] dataRow) throws org.pentaho.di.core.exception.KettleValueException
- Throws:
org.pentaho.di.core.exception.KettleValueException
-
getInteger
@Deprecated public Long getInteger(Object[] dataRow) throws org.pentaho.di.core.exception.KettleValueException
Deprecated.- Throws:
org.pentaho.di.core.exception.KettleValueException
-
getLong
public Long getLong(Object[] dataRow) throws org.pentaho.di.core.exception.KettleValueException
- Throws:
org.pentaho.di.core.exception.KettleValueException
-
getNumber
@Deprecated public Double getNumber(Object[] dataRow) throws org.pentaho.di.core.exception.KettleValueException
Deprecated.- Throws:
org.pentaho.di.core.exception.KettleValueException
-
getDouble
public Double getDouble(Object[] dataRow) throws org.pentaho.di.core.exception.KettleValueException
- Throws:
org.pentaho.di.core.exception.KettleValueException
-
getTimestamp
public Timestamp getTimestamp(Object[] dataRow) throws org.pentaho.di.core.exception.KettleValueException
- Throws:
org.pentaho.di.core.exception.KettleValueException
-
getInetAddress
public InetAddress getInetAddress(Object[] dataRow) throws org.pentaho.di.core.exception.KettleValueException
- Throws:
org.pentaho.di.core.exception.KettleValueException
-
getSerializable
public Serializable getSerializable(Object[] dataRow) throws org.pentaho.di.core.exception.KettleValueException
- Throws:
org.pentaho.di.core.exception.KettleValueException
-
getString
public String getString(Object[] dataRow) throws org.pentaho.di.core.exception.KettleValueException
- Throws:
org.pentaho.di.core.exception.KettleValueException
-
getValueMeta
public org.pentaho.di.core.row.ValueMetaInterface getValueMeta()
-
indexOfValue
public int indexOfValue()
-
setValue
public void setValue(Object[] dataRow, byte[] value)
-
getGetSignature
public static String getGetSignature(String accessor, org.pentaho.di.core.row.ValueMetaInterface v)
-
getNativeDataTypeSimpleName
public static String getNativeDataTypeSimpleName(org.pentaho.di.core.row.ValueMetaInterface v)
-
-