Class FieldHelper


  • public class FieldHelper
    extends Object
    • 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,
                             Object value)
      • setValue

        public void setValue​(Object[] dataRow,
                             byte[] value)
      • getAccessor

        public static String getAccessor​(boolean isIn,
                                         String fieldName)
      • 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)