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 String
getAccessor(boolean isIn, String fieldName)
BigDecimal
getBigDecimal(Object[] dataRow)
BigDecimal
getBigNumber(Object[] dataRow)
Deprecated.byte[]
getBinary(Object[] dataRow)
Boolean
getBoolean(Object[] dataRow)
Date
getDate(Object[] dataRow)
Double
getDouble(Object[] dataRow)
static String
getGetSignature(String accessor, org.pentaho.di.core.row.ValueMetaInterface v)
InetAddress
getInetAddress(Object[] dataRow)
Long
getInteger(Object[] dataRow)
Deprecated.Long
getLong(Object[] dataRow)
static String
getNativeDataTypeSimpleName(org.pentaho.di.core.row.ValueMetaInterface v)
Double
getNumber(Object[] dataRow)
Deprecated.Object
getObject(Object[] dataRow)
Serializable
getSerializable(Object[] dataRow)
String
getString(Object[] dataRow)
Timestamp
getTimestamp(Object[] dataRow)
org.pentaho.di.core.row.ValueMetaInterface
getValueMeta()
int
indexOfValue()
void
setValue(Object[] dataRow, byte[] value)
void
setValue(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)
-
-