Uses of Class
org.pentaho.di.core.exception.KettleValueException
-
Packages that use KettleValueException Package Description org.pentaho.di.compatibility Contains all classes that make up the possible Value types: ValueString, ValueNumber, ..., the interface and the Value class itself.org.pentaho.di.core org.pentaho.di.core.database Contains all the different database dialects as well as the DatabaseMeta class (definition) and the Database class (execution)org.pentaho.di.core.hash org.pentaho.di.core.injection org.pentaho.di.core.row org.pentaho.di.core.row.value org.pentaho.di.core.util org.pentaho.di.core.variables -
-
Uses of KettleValueException in org.pentaho.di.compatibility
Methods in org.pentaho.di.compatibility that throw KettleValueException Modifier and Type Method Description Value
Value. abs()
Value
Value. acos()
Value
Value. add_days(long days)
Add a number of days to a Date value.Value
Value. add_months(int months)
Value
Value. asin()
Value
Value. atan()
Value
Value. atan2(double arg0)
Value
Value. atan2(Value arg0)
Value
Value. ceil()
void
Value. convertString(int newtype)
Convert this Value from type String to another typeValue
Value. cos()
Value
Value. dat2num()
Value
Value. dat2str()
Value
Value. dat2str(String arg0)
Value
Value. dat2str(String arg0, String arg1)
Value
Value. divide(byte v)
Value
Value. divide(double v)
Value
Value. divide(int v)
Value
Value. divide(long v)
Value
Value. divide(BigDecimal v)
Value
Value. divide(Value v)
Value
Value. exp()
Value
Value. first_day()
Value
Value. floor()
Value
Value. hexToByteDecode()
Change a hexadecimal string into normal ASCII representation.Value
Value. hexToCharDecode()
Change a hexadecimal string into normal ASCII representation.Value
Value. last_day()
Value
Value. length()
Value
Value. log()
Value
Value. minus(byte v)
Value
Value. minus(double v)
Value
Value. minus(int v)
Value
Value. minus(long v)
Value
Value. minus(BigDecimal v)
Value
Value. minus(Value v)
Value
Value. mod(byte arg)
Value
Value. mod(double arg0)
Value
Value. mod(int arg)
Value
Value. mod(long arg)
Value
Value. mod(BigDecimal arg)
Value
Value. mod(Value arg)
Value
Value. multiply(byte v)
Value
Value. multiply(double v)
Value
Value. multiply(int v)
Value
Value. multiply(long v)
Value
Value. multiply(BigDecimal v)
Value
Value. multiply(Value v)
Value
Value. num2dat()
Value
Value. num2str()
Value
Value. num2str(String format)
Value
Value. num2str(String format, String decimalSymbol)
Value
Value. num2str(String format, String decimalSymbol, String groupingSymbol)
Value
Value. num2str(String format, String decimalSymbol, String groupingSymbol, String currencySymbol)
Value
Value. power(double arg)
Value
Value. power(BigDecimal arg)
Value
Value. power(Value v)
Value
Value. round()
Rounds off to the nearest integer.Value
Value. round(int decimalPlaces)
Rounds the Number value to a certain number decimal places.Value
Value. sign()
Value
Value. sin()
Value
Value. sqrt()
Value
Value. str2dat(String arg0)
Value
Value. str2dat(String arg0, String arg1)
Value
Value. str2num()
Value
Value. str2num(String pattern)
Value
Value. str2num(String pattern, String decimal)
Value
Value. str2num(String pattern, String decimal, String grouping)
Value
Value. str2num(String pattern, String decimal, String grouping, String currency)
Value
Value. tan()
Value
Value. trunc()
Value
Value. trunc(double level)
Value
Value. trunc(int level)
Value
Value. v_decode(Value[] args)
Value
Value. v_if(Value[] args)
-
Uses of KettleValueException in org.pentaho.di.core
Methods in org.pentaho.di.core that throw KettleValueException Modifier and Type Method Description int
RowMetaAndData. compare(RowMetaAndData compare, int[] is, boolean[] bs)
Object
RowMetaAndData. getAsJavaType(String valueName, Class<?> destinationType, InjectionTypeConverter converter)
Returns value as specified java type using converter.BigDecimal
RowMetaAndData. getBigNumber(int index, BigDecimal def)
BigDecimal
RowMetaAndData. getBigNumber(String valueName, BigDecimal def)
byte[]
RowMetaAndData. getBinary(int index, byte[] def)
byte[]
RowMetaAndData. getBinary(String valueName, byte[] def)
boolean
RowMetaAndData. getBoolean(int index, boolean def)
boolean
RowMetaAndData. getBoolean(String valueName, boolean def)
Date
RowMetaAndData. getDate(int index, Date def)
Date
RowMetaAndData. getDate(String valueName, Date def)
Long
RowMetaAndData. getInteger(int index)
long
RowMetaAndData. getInteger(int index, long def)
Long
RowMetaAndData. getInteger(String valueName)
long
RowMetaAndData. getInteger(String valueName, long def)
double
RowMetaAndData. getNumber(int index, double def)
double
RowMetaAndData. getNumber(String valueName, double def)
String
RowMetaAndData. getString(int index, String def)
String
RowMetaAndData. getString(String valueName, String def)
static Object
RowMetaAndData. getStringAsJavaType(String vs, Class<?> destinationType, InjectionTypeConverter converter)
Converts string value into specified type.String
Condition. getXML()
String
Condition. getXML(int level)
boolean
RowMetaAndData. isEmptyValue(String valueName)
void
RowMetaAndData. removeValue(String valueName)
-
Uses of KettleValueException in org.pentaho.di.core.database
Methods in org.pentaho.di.core.database that throw KettleValueException Modifier and Type Method Description String
Database. fieldSubstitute(String aString, RowMetaInterface rowMeta, Object[] rowData)
String
DatabaseMeta. fieldSubstitute(String aString, RowMetaInterface rowMeta, Object[] rowData)
String
BaseDatabaseMeta. getSQLValue(ValueMetaInterface valueMeta, Object valueData, String dateFormat)
String
DatabaseInterface. getSQLValue(ValueMetaInterface valueMeta, Object valueData, String dateFormat)
Convert a value in the SQL equivalent.String
GenericDatabaseMeta. getSQLValue(ValueMetaInterface valueMeta, Object valueData, String dateFormat)
-
Uses of KettleValueException in org.pentaho.di.core.hash
Methods in org.pentaho.di.core.hash that throw KettleValueException Modifier and Type Method Description static int
ByteArrayHashIndex. generateHashCode(byte[] key, RowMetaInterface rowMeta)
static int
LongHashIndex. generateHashCode(Long key)
byte[]
ByteArrayHashIndex. get(byte[] key)
Long
LongHashIndex. get(long key)
void
ByteArrayHashIndex. put(byte[] key, byte[] value)
void
LongHashIndex. put(long key, Long value)
-
Uses of KettleValueException in org.pentaho.di.core.injection
Methods in org.pentaho.di.core.injection that throw KettleValueException Modifier and Type Method Description Boolean
DefaultInjectionTypeConverter. boolean2boolean(Boolean v)
Boolean
InjectionTypeConverter. boolean2boolean(Boolean v)
boolean
DefaultInjectionTypeConverter. boolean2booleanPrimitive(Boolean v)
boolean
InjectionTypeConverter. boolean2booleanPrimitive(Boolean v)
Enum<?>
InjectionTypeConverter. boolean2enum(Class<?> enumClass, Boolean v)
Integer
DefaultInjectionTypeConverter. boolean2integer(Boolean v)
Integer
InjectionTypeConverter. boolean2integer(Boolean v)
int
DefaultInjectionTypeConverter. boolean2intPrimitive(Boolean v)
int
InjectionTypeConverter. boolean2intPrimitive(Boolean v)
Long
DefaultInjectionTypeConverter. boolean2long(Boolean v)
Long
InjectionTypeConverter. boolean2long(Boolean v)
long
DefaultInjectionTypeConverter. boolean2longPrimitive(Boolean v)
long
InjectionTypeConverter. boolean2longPrimitive(Boolean v)
String
DefaultInjectionTypeConverter. boolean2string(Boolean v)
String
InjectionTypeConverter. boolean2string(Boolean v)
Boolean
DefaultInjectionTypeConverter. integer2boolean(Long v)
Boolean
InjectionTypeConverter. integer2boolean(Long v)
boolean
DefaultInjectionTypeConverter. integer2booleanPrimitive(Long v)
boolean
InjectionTypeConverter. integer2booleanPrimitive(Long v)
Enum<?>
InjectionTypeConverter. integer2enum(Class<?> enumClass, Long v)
Integer
DefaultInjectionTypeConverter. integer2integer(Long v)
Integer
InjectionTypeConverter. integer2integer(Long v)
int
DefaultInjectionTypeConverter. integer2intPrimitive(Long v)
int
InjectionTypeConverter. integer2intPrimitive(Long v)
Long
DefaultInjectionTypeConverter. integer2long(Long v)
Long
InjectionTypeConverter. integer2long(Long v)
long
DefaultInjectionTypeConverter. integer2longPrimitive(Long v)
long
InjectionTypeConverter. integer2longPrimitive(Long v)
String
DefaultInjectionTypeConverter. integer2string(Long v)
String
InjectionTypeConverter. integer2string(Long v)
Boolean
DefaultInjectionTypeConverter. number2boolean(Double v)
Boolean
InjectionTypeConverter. number2boolean(Double v)
boolean
DefaultInjectionTypeConverter. number2booleanPrimitive(Double v)
boolean
InjectionTypeConverter. number2booleanPrimitive(Double v)
Enum<?>
InjectionTypeConverter. number2enum(Class<?> enumClass, Double v)
Integer
DefaultInjectionTypeConverter. number2integer(Double v)
Integer
InjectionTypeConverter. number2integer(Double v)
int
DefaultInjectionTypeConverter. number2intPrimitive(Double v)
int
InjectionTypeConverter. number2intPrimitive(Double v)
Long
DefaultInjectionTypeConverter. number2long(Double v)
Long
InjectionTypeConverter. number2long(Double v)
long
DefaultInjectionTypeConverter. number2longPrimitive(Double v)
long
InjectionTypeConverter. number2longPrimitive(Double v)
String
DefaultInjectionTypeConverter. number2string(Double v)
String
InjectionTypeConverter. number2string(Double v)
Boolean
InjectionTypeConverter. string2boolean(String v)
boolean
InjectionTypeConverter. string2booleanPrimitive(String v)
Enum<?>
DefaultInjectionTypeConverter. string2enum(Class<?> enumClass, String v)
Enum<?>
InjectionTypeConverter. string2enum(Class<?> enumClass, String v)
Integer
InjectionTypeConverter. string2integer(String v)
int
InjectionTypeConverter. string2intPrimitive(String v)
Long
InjectionTypeConverter. string2long(String v)
long
InjectionTypeConverter. string2longPrimitive(String v)
String
InjectionTypeConverter. string2string(String v)
-
Uses of KettleValueException in org.pentaho.di.core.row
Methods in org.pentaho.di.core.row that throw KettleValueException Modifier and Type Method Description static Object
ValueDataUtil. abs(ValueMetaInterface metaA, Object dataA)
static Object
ValueDataUtil. addDays(ValueMetaInterface metaA, Object dataA, ValueMetaInterface metaB, Object dataB)
static Object
ValueDataUtil. addHours(ValueMetaInterface metaA, Object dataA, ValueMetaInterface metaB, Object dataB)
static Object
ValueDataUtil. addMinutes(ValueMetaInterface metaA, Object dataA, ValueMetaInterface metaB, Object dataB)
static Object
ValueDataUtil. addMonths(ValueMetaInterface metaA, Object dataA, ValueMetaInterface metaB, Object dataB)
static Object
ValueDataUtil. addSeconds(ValueMetaInterface metaA, Object dataA, ValueMetaInterface metaB, Object dataB)
static Object
ValueDataUtil. addTimeToDate(ValueMetaInterface metaA, Object dataA, ValueMetaInterface metaB, Object dataB, ValueMetaInterface metaC, Object dataC)
static String
ValueDataUtil. byteToHexEncode(ValueMetaInterface metaA, Object dataA)
Change a string into its hexadecimal representation.static Object
ValueDataUtil. ceil(ValueMetaInterface metaA, Object dataA)
static String
ValueDataUtil. charToHexEncode(ValueMetaInterface meta, Object data)
Change a string into its hexadecimal representation.Object[]
RowMeta. cloneRow(Object[] objects)
Object[]
RowMeta. cloneRow(Object[] objects, Object[] newObjects)
Object[]
RowMetaInterface. cloneRow(Object[] objects)
Clone row.Object[]
RowMetaInterface. cloneRow(Object[] objects, Object[] cloneTo)
Clone row.RowMetaInterface
RowMeta. cloneToType(int targetType)
This method copies the row metadata and sets all values to the specified type (usually String)RowMetaInterface
RowMetaInterface. cloneToType(int targetType)
This method copies the row metadata and sets all values to the specified type (usually String)Object
ValueMetaInterface. cloneValueData(Object object)
Clone value data.static Object
ValueDataUtil. combination1(ValueMetaInterface metaA, Object dataA, ValueMetaInterface metaB, Object dataB, ValueMetaInterface metaC, Object dataC)
A + B * Cstatic Object
ValueDataUtil. combination2(ValueMetaInterface metaA, Object dataA, ValueMetaInterface metaB, Object dataB)
SQRT( A*A + B*B )int
RowMeta. compare(Object[] rowData1, Object[] rowData2)
Compare 2 rows with each other using all values in the rows and also considering the specified ascending clauses of the value metadata.int
RowMeta. compare(Object[] rowData1, Object[] rowData2, int[] fieldnrs)
Compare 2 rows with each other using certain values in the rows and also considering the specified ascending clauses of the value metadata.int
RowMeta. compare(Object[] rowData1, Object[] rowData2, int[] fieldnrs1, int[] fieldnrs2)
Compare 2 rows with each other using certain values in the rows and also considering the specified ascending clauses of the value metadata.int
RowMeta. compare(Object[] rowData1, RowMetaInterface rowMeta2, Object[] rowData2, int[] fieldnrs1, int[] fieldnrs2)
Compare 2 rows with each other using certain values in the rows and also considering the specified ascending clauses of the value metadata.int
RowMetaInterface. compare(Object[] rowData1, Object[] rowData2)
Compare 2 rows with each other using all values in the rows and also considering the specified ascending clauses of the value metadata.int
RowMetaInterface. compare(Object[] rowData1, Object[] rowData2, int[] fieldnrs)
Compare 2 rows with each other using certain values in the rows and also considering the specified ascending clauses of the value metadata.int
RowMetaInterface. compare(Object[] rowData1, Object[] rowData2, int[] fieldnrs1, int[] fieldnrs2)
Compare 2 rows with each other using certain values in the rows and also considering the specified ascending clauses of the value metadata.int
RowMetaInterface. compare(Object[] rowData1, RowMetaInterface rowMeta2, Object[] rowData2, int[] fieldnrs1, int[] fieldnrs2)
Compare 2 rows with each other using certain values in the rows and also considering the specified ascending clauses of the value metadata.int
ValueMetaInterface. compare(Object data1, Object data2)
Compare 2 values of the same data typeint
ValueMetaInterface. compare(Object data1, ValueMetaInterface meta2, Object data2)
Compare 2 values of the same data typeObject
ValueMetaInterface. convertBinaryStringToNativeType(byte[] binary)
Convert the given binary data to the actual data type.
- byte[] --> Long (Integer)
- byte[] --> Double (Number)
- byte[] --> BigDecimal (BigNumber)
- byte[] --> Date (Date)
- byte[] --> Boolean (Boolean)
- byte[] --> byte[] (Binary)
Object
ValueMetaInterface. convertData(ValueMetaInterface meta2, Object data2)
Convert the specified data to the data type specified in this object.Object
ValueMetaInterface. convertDataCompatible(ValueMetaInterface meta2, Object data2)
Convert the specified data to the data type specified in this object.Object
ValueMetaInterface. convertDataFromString(String pol, ValueMetaInterface convertMeta, String nullif, String ifNull, int trim_type)
Convert the specified string to the data type specified in this object.Object
ValueMetaInterface. convertDataUsingConversionMetaData(Object data)
Convert an object to the data type specified in the conversion metadataint
RowMeta. convertedValuesHashCode(Object[] rowData)
Calculates a hashcode of the converted value of all objects in the supplied row.int
RowMetaInterface. convertedValuesHashCode(Object[] rowData)
Calculates a hashcode of the converted value of all objects in the supplied row.Object
ValueMetaInterface. convertNormalStorageTypeToBinaryString(Object object)
Convert a normal storage type to a binary string object.Object
ValueMetaInterface. convertToBinaryStringStorageType(Object object)
Converts the specified data object to the binary string storage type.Object
ValueMetaInterface. convertToNormalStorageType(Object object)
Converts the specified data object to the normal storage type.static Row
RowMeta. createOriginalRow(RowMetaInterface rowMeta, Object[] rowData)
Value
ValueMetaInterface. createOriginalValue(Object data)
Create an old-style value for backward compatibility reasonsstatic Object
ValueDataUtil. DateDiff(ValueMetaInterface metaA, Object dataA, ValueMetaInterface metaB, Object dataB, String resultType)
Returns the number of days that have elapsed between dataA and dataB.static Object
ValueDataUtil. DateWorkingDiff(ValueMetaInterface metaA, Object dataA, ValueMetaInterface metaB, Object dataB)
static Object
ValueDataUtil. dayOfMonth(ValueMetaInterface metaA, Object dataA)
static Object
ValueDataUtil. dayOfWeek(ValueMetaInterface metaA, Object dataA)
static Object
ValueDataUtil. dayOfYear(ValueMetaInterface metaA, Object dataA)
static Object
ValueDataUtil. divide(ValueMetaInterface metaA, Object dataA, ValueMetaInterface metaB, Object dataB)
Deprecated.static Object
ValueDataUtil. divide(ValueMetaInterface metaA, Object dataA, ValueMetaInterface metaB, Object dataB, VariableSpace space)
void
ValueMetaInterface. drawValue(PrimitiveGCInterface gc, Object value)
This method draws the value using the supplied graphical context.boolean
RowMeta. equals(Object[] rowData1, Object[] rowData2, int[] fieldnrs)
Compare 2 rows with each other for equality using certain values in the rows and also considering the case sensitivity flag.boolean
RowMetaInterface. equals(Object[] rowData1, Object[] rowData2, int[] fieldnrs)
Compare 2 rows with each other for equality using certain values in the rows and also considering the case sensitivity flag.static Object
ValueDataUtil. floor(ValueMetaInterface metaA, Object dataA)
BigDecimal
RowMeta. getBigNumber(Object[] dataRow, int index)
Get a BigNumber value from a row of data.BigDecimal
RowMetaInterface. getBigNumber(Object[] dataRow, int index)
Get a BigNumber value from a row of data.BigDecimal
ValueMetaInterface. getBigNumber(Object object)
Convert the supplied data to a BigNumberbyte[]
RowMeta. getBinary(Object[] dataRow, int index)
Get a Binary value from a row of data.byte[]
RowMetaInterface. getBinary(Object[] dataRow, int index)
Get a Binary value from a row of data.byte[]
ValueMetaInterface. getBinary(Object object)
Convert the supplied data to binary databyte[]
ValueMetaInterface. getBinaryString(Object object)
convert the supplied data to a binary string representation (for writing text)Boolean
RowMeta. getBoolean(Object[] dataRow, int index)
Get a Boolean value from a row of data.Boolean
RowMetaInterface. getBoolean(Object[] dataRow, int index)
Get a Boolean value from a row of data.Boolean
ValueMetaInterface. getBoolean(Object object)
Convert the supplied data to a BooleanString
ValueMetaInterface. getCompatibleString(Object object)
Convert the supplied data to a String compatible with version 2.5.Date
RowMeta. getDate(Object[] dataRow, int index)
Get a Date value from a row of data.Date
RowMeta. getDate(Object[] dataRow, String valueName, Date defaultValue)
Date
RowMetaInterface. getDate(Object[] dataRow, int index)
Get a Date value from a row of data.Date
RowMetaInterface. getDate(Object[] dataRow, String valueName, Date defaultValue)
Gets the date.Date
ValueMetaInterface. getDate(Object object)
Convert the supplied data to a Datestatic String
ValueDataUtil. getFileEncoding(ValueMetaInterface metaA, Object dataA)
Deprecated.static String
ValueDataUtil. getFileEncoding(ValueMetaInterface metaA, Object dataA, boolean failIfNoFile)
Get file encoding.Long
RowMeta. getInteger(Object[] dataRow, int index)
Get an Integer value from a row of data.Long
RowMeta. getInteger(Object[] dataRow, String valueName, Long defaultValue)
Long
RowMetaInterface. getInteger(Object[] dataRow, int index)
Get an Integer value from a row of data.Long
RowMetaInterface. getInteger(Object[] dataRow, String valueName, Long defaultValue)
Gets the integer.Long
ValueMetaInterface. getInteger(Object object)
Convert the supplied data to an IntegerObject
ValueMetaInterface. getNativeDataType(Object object)
This method gives you the native Java data type corresponding to the value meta-data.Class<?>
ValueMeta. getNativeDataTypeClass()
Deprecated.Class<?>
ValueMetaInterface. getNativeDataTypeClass()
Return the Java class that represents the "native" storage type of this ValueMetaDouble
RowMeta. getNumber(Object[] dataRow, int index)
Get a Number value from a row of data.Double
RowMetaInterface. getNumber(Object[] dataRow, int index)
Get a Number value from a row of data.Double
ValueMetaInterface. getNumber(Object object)
Convert the supplied data to a NumberString
RowMeta. getString(Object[] row)
Get the string representation of the data in a row of dataString
RowMeta. getString(Object[] dataRow, int index)
Get a String value from a row of data.String
RowMeta. getString(Object[] dataRow, String valueName, String defaultValue)
String
RowMetaInterface. getString(Object[] row)
Get the string representation of the data in a row of data.String
RowMetaInterface. getString(Object[] dataRow, int index)
Get a String value from a row of data.String
RowMetaInterface. getString(Object[] dataRow, String valueName, String defaultValue)
Gets the string.String
ValueMetaInterface. getString(Object object)
Convert the supplied data to a StringObject
ValueMetaInterface. getValueData(Value value)
Extracts the primitive data from an old style Value objectString
ValueMetaAndData. getXML()
Produce the XML representation of this value.static Object
ValueDataUtil. getZeroForValueMetaType(ValueMetaInterface type)
Default utility method to get exact zero value according to ValueMetaInterface.int
RowMeta. hashCode(Object[] rowData)
Calculates a simple hashCode of all the native data objects in the supplied row.int
RowMetaInterface. hashCode(Object[] rowData)
Calculates a simple hashCode of all the native data objects in the supplied row.int
ValueMetaInterface. hashCode(Object object)
Calculate the hashcode of the specified data objectstatic String
ValueDataUtil. hexToByteDecode(ValueMetaInterface meta, Object data)
Change a hexadecimal string into normal ASCII representation.static String
ValueDataUtil. hexToCharDecode(ValueMetaInterface meta, Object data)
Change a hexadecimal string into normal ASCII representation.static Object
ValueDataUtil. hourOfDay(ValueMetaInterface metaA, Object dataA)
boolean
RowMeta. isNull(Object[] dataRow, int index)
Determines whether a value in a row is null.boolean
RowMetaInterface. isNull(Object[] dataRow, int index)
Determines whether a value in a row is null.boolean
ValueMetaInterface. isNull(Object data)
Determine if an object is null.static Object
ValueDataUtil. loadFileContentInBinary(ValueMetaInterface metaA, Object dataA)
Deprecated.static byte[]
ValueDataUtil. loadFileContentInBinary(ValueMetaInterface metaA, Object dataA, boolean failIfNoFile)
static void
SpeedTest. main(String[] args)
static Object
ValueDataUtil. minus(ValueMetaInterface metaA, Object dataA, ValueMetaInterface metaB, Object dataB)
static Object
ValueDataUtil. minuteOfHour(ValueMetaInterface metaA, Object dataA)
static Object
ValueDataUtil. monthOfDate(ValueMetaInterface metaA, Object dataA)
static Object
ValueDataUtil. multiply(ValueMetaInterface metaA, Object dataA, ValueMetaInterface metaB, Object dataB)
protected static Object
ValueDataUtil. multiplyNumeric(ValueMetaInterface metaA, Object dataA, ValueMetaInterface metaB, Object dataB)
protected static Object
ValueDataUtil. multiplyString(ValueMetaInterface metaA, Object dataA, ValueMetaInterface metaB, Object dataB)
static Object
ValueDataUtil. nvl(ValueMetaInterface metaA, Object dataA, ValueMetaInterface metaB, Object dataB)
int
RowMeta. oldXORHashCode(Object[] rowData)
Deprecated.int
RowMetaInterface. oldXORHashCode(Object[] rowData)
Deprecated.static Object
ValueDataUtil. percent1(ValueMetaInterface metaA, Object dataA, ValueMetaInterface metaB, Object dataB)
Deprecated.static Object
ValueDataUtil. percent1(ValueMetaInterface metaA, Object dataA, ValueMetaInterface metaB, Object dataB, VariableSpace space)
static Object
ValueDataUtil. percent2(ValueMetaInterface metaA, Object dataA, ValueMetaInterface metaB, Object dataB)
Deprecated.static Object
ValueDataUtil. percent2(ValueMetaInterface metaA, Object dataA, ValueMetaInterface metaB, Object dataB, VariableSpace space)
static Object
ValueDataUtil. percent3(ValueMetaInterface metaA, Object dataA, ValueMetaInterface metaB, Object dataB)
Deprecated.static Object
ValueDataUtil. percent3(ValueMetaInterface metaA, Object dataA, ValueMetaInterface metaB, Object dataB, VariableSpace space)
static Object
ValueDataUtil. plus(ValueMetaInterface metaA, Object dataA, ValueMetaInterface metaB, Object dataB)
static Object
ValueDataUtil. plus3(ValueMetaInterface metaA, Object dataA, ValueMetaInterface metaB, Object dataB, ValueMetaInterface metaC, Object dataC)
static Object
ValueDataUtil. quarterOfDate(ValueMetaInterface metaA, Object dataA)
static Object
ValueDataUtil. remainder(ValueMetaInterface metaA, Object dataA, ValueMetaInterface metaB, Object dataB)
Returns the remainder (modulus) of A / B.static Object
ValueDataUtil. removeTimeFromDate(ValueMetaInterface metaA, Object dataA)
void
RowMeta. removeValueMeta(String valueName)
void
RowMetaInterface. removeValueMeta(String string)
Remove a value with a certain name from the row metadata.static Object
ValueDataUtil. round(ValueMetaInterface metaA, Object dataA)
Rounding with no decimal places (using default rounding method ROUND_HALF_CEILING)static Object
ValueDataUtil. round(ValueMetaInterface metaA, Object dataA, int roundingMode)
Rounding with no decimal places with a given rounding methodstatic Object
ValueDataUtil. round(ValueMetaInterface metaA, Object dataA, ValueMetaInterface metaB, Object dataB)
Rounding with decimal places (using default rounding method ROUND_HALF_EVEN)static Object
ValueDataUtil. round(ValueMetaInterface metaA, Object dataA, ValueMetaInterface metaB, Object dataB, int roundingMode)
Rounding with decimal places with a given rounding methodstatic Object
ValueDataUtil. round(ValueMetaInterface metaA, Object dataA, ValueMetaInterface metaB, Object dataB, ValueMetaInterface metaC, Object dataC)
Rounding with decimal places with a given rounding methodlong
SpeedTest. runTestMixed10(int iterations)
long
SpeedTest. runTestMixed100(int iterations)
long
SpeedTest. runTestMixed1000(int iterations)
long
SpeedTest. runTestStrings10(int iterations)
long
SpeedTest. runTestStrings100(int iterations)
long
SpeedTest. runTestStrings1000(int iterations)
static Object
ValueDataUtil. secondOfMinute(ValueMetaInterface metaA, Object dataA)
static Object
ValueDataUtil. sqrt(ValueMetaInterface metaA, Object dataA)
static Object
ValueDataUtil. sum(ValueMetaInterface metaA, Object dataA, ValueMetaInterface metaB, Object dataB)
static Object
ValueDataUtil. weekOfYear(ValueMetaInterface metaA, Object dataA)
static Object
ValueDataUtil. weekOfYearISO8601(ValueMetaInterface metaA, Object dataA)
static Object
ValueDataUtil. yearOfDate(ValueMetaInterface metaA, Object dataA)
static Object
ValueDataUtil. yearOfDateISO8601(ValueMetaInterface metaA, Object dataA)
Constructors in org.pentaho.di.core.row that throw KettleValueException Constructor Description ValueMetaAndData(String valueName, Object valueData)
-
Uses of KettleValueException in org.pentaho.di.core.row.value
Methods in org.pentaho.di.core.row.value that throw KettleValueException Modifier and Type Method Description Object
ValueMetaBase. cloneValueData(Object object)
Clones the data.Object
ValueMetaInternetAddress. cloneValueData(Object object)
Object
ValueMetaTimestamp. cloneValueData(Object object)
int
ValueMetaBase. compare(Object data1, Object data2)
Compare 2 values of the same data typeint
ValueMetaBase. compare(Object data1, ValueMetaInterface meta2, Object data2)
Compare 2 values of the same data typeint
ValueMetaInternetAddress. compare(Object data1, Object data2)
int
ValueMetaTimestamp. compare(Object data1, Object data2)
protected InetAddress
ValueMetaInternetAddress. convertBigNumberToInternetAddress(BigDecimal bd)
protected String
ValueMetaBase. convertBigNumberToString(BigDecimal number)
Object
ValueMetaBase. convertBinaryStringToNativeType(byte[] binary)
Convert the binary data to the actual data type.
- byte[] --> Long (Integer) - byte[] --> Double (Number) - byte[] --> BigDecimal (BigNumber) - byte[] --> Date (Date) - byte[] --> Boolean (Boolean) - byte[] --> byte[] (Binary)protected String
ValueMetaBase. convertBinaryStringToString(byte[] binary)
Converts a byte[] stored in a binary string storage type into a String;Object
ValueMetaBase. convertData(ValueMetaInterface meta2, Object data2)
Convert the specified data to the data type specified in this object.Object
ValueMetaInternetAddress. convertData(ValueMetaInterface meta2, Object data2)
Convert the specified data to the data type specified in this object.Object
ValueMetaTimestamp. convertData(ValueMetaInterface meta2, Object data2)
Convert the specified data to the data type specified in this object.Object
ValueMetaBase. convertDataCompatible(ValueMetaInterface meta2, Object data2)
Convert the specified data to the data type specified in this object.Object
ValueMetaBase. convertDataFromString(String pol, ValueMetaInterface convertMeta, String nullIf, String ifNull, int trim_type)
Convert the specified string to the data type specified in this object.Object
ValueMetaInternetAddress. convertDataFromString(String pol, ValueMetaInterface convertMeta, String nullIf, String ifNull, int trim_type)
Object
ValueMetaTimestamp. convertDataFromString(String pol, ValueMetaInterface convertMeta, String nullIf, String ifNull, int trimType)
Object
ValueMetaBase. convertDataUsingConversionMetaData(Object data)
Convert an object to the data type specified in the conversion metadataObject
ValueMetaTimestamp. convertDataUsingConversionMetaData(Object data2)
Timestamp
ValueMetaTimestamp. convertDateToTimestamp(Date date)
protected String
ValueMetaBase. convertIntegerToCompatibleString(Long integer)
protected InetAddress
ValueMetaInternetAddress. convertIntegerToInternetAddress(Long l)
protected String
ValueMetaBase. convertIntegerToString(Long integer)
protected String
ValueMetaInternetAddress. convertInternetAddressToString(InetAddress inetAddress)
Object
ValueMetaBase. convertNormalStorageTypeToBinaryString(Object object)
protected String
ValueMetaBase. convertNumberToCompatibleString(Double number)
protected InetAddress
ValueMetaInternetAddress. convertNumberToInternetAddress(Double d)
protected String
ValueMetaBase. convertNumberToString(Double number)
protected BigDecimal
ValueMetaBase. convertStringToBigNumber(String string)
protected byte[]
ValueMetaBase. convertStringToBinaryString(String string)
protected Date
ValueMetaBase. convertStringToDate(String string)
protected Long
ValueMetaBase. convertStringToInteger(String string)
protected InetAddress
ValueMetaInternetAddress. convertStringToInternetAddress(String string)
protected Double
ValueMetaBase. convertStringToNumber(String string)
protected Timestamp
ValueMetaTimestamp. convertStringToTimestamp(String string)
protected String
ValueMetaTimestamp. convertTimestampToString(Timestamp timestamp)
Object
ValueMetaBase. convertToBinaryStringStorageType(Object object)
Converts the specified data object to the binary string storage type.Object
ValueMetaBase. convertToNormalStorageType(Object object)
Converts the specified data object to the normal storage type.Value
ValueMetaBase. createOriginalValue(Object data)
Create an old-style value for backward compatibility reasonsvoid
ValueMetaBase. drawValue(PrimitiveGCInterface gc, Object value)
BigDecimal
ValueMetaBase. getBigNumber(Object object)
BigDecimal
ValueMetaInternetAddress. getBigNumber(Object object)
BigDecimal
ValueMetaTimestamp. getBigNumber(Object object)
byte[]
ValueMetaBase. getBinary(Object object)
byte[]
ValueMetaBase. getBinaryString(Object object)
byte[]
ValueMetaInternetAddress. getBinaryString(Object object)
byte[]
ValueMetaTimestamp. getBinaryString(Object object)
Boolean
ValueMetaBase. getBoolean(Object object)
Boolean
ValueMetaInternetAddress. getBoolean(Object object)
Boolean
ValueMetaTimestamp. getBoolean(Object object)
String
ValueMetaBase. getCompatibleString(Object object)
Date
ValueMetaBase. getDate(Object object)
Date
ValueMetaDate. getDate(Object object)
Date
ValueMetaInternetAddress. getDate(Object object)
Date
ValueMetaTimestamp. getDate(Object object)
Long
ValueMetaBase. getInteger(Object object)
Long
ValueMetaInternetAddress. getInteger(Object object)
Long
ValueMetaTimestamp. getInteger(Object object)
InetAddress
ValueMetaInternetAddress. getInternetAddress(Object object)
Object
ValueMetaBase. getNativeDataType(Object object)
Object
ValueMetaBigNumber. getNativeDataType(Object object)
Object
ValueMetaBinary. getNativeDataType(Object object)
Object
ValueMetaBoolean. getNativeDataType(Object object)
Object
ValueMetaDate. getNativeDataType(Object object)
Object
ValueMetaInteger. getNativeDataType(Object object)
Object
ValueMetaInternetAddress. getNativeDataType(Object object)
Object
ValueMetaNone. getNativeDataType(Object object)
Object
ValueMetaNumber. getNativeDataType(Object object)
Object
ValueMetaString. getNativeDataType(Object object)
Class<?>
ValueMetaBase. getNativeDataTypeClass()
Class<?>
ValueMetaBigNumber. getNativeDataTypeClass()
Class<?>
ValueMetaBinary. getNativeDataTypeClass()
Class<?>
ValueMetaBoolean. getNativeDataTypeClass()
Class<?>
ValueMetaDate. getNativeDataTypeClass()
Class<?>
ValueMetaInteger. getNativeDataTypeClass()
Class<?>
ValueMetaInternetAddress. getNativeDataTypeClass()
Class<?>
ValueMetaNone. getNativeDataTypeClass()
Class<?>
ValueMetaNumber. getNativeDataTypeClass()
Class<?>
ValueMetaString. getNativeDataTypeClass()
Class<?>
ValueMetaTimestamp. getNativeDataTypeClass()
Double
ValueMetaBase. getNumber(Object object)
Double
ValueMetaInternetAddress. getNumber(Object object)
Double
ValueMetaTimestamp. getNumber(Object object)
String
ValueMetaBase. getString(Object object)
String
ValueMetaInternetAddress. getString(Object object)
String
ValueMetaTimestamp. getString(Object object)
Timestamp
ValueMetaTimestamp. getTimestamp(Object object)
Object
ValueMetaBase. getValueData(Value value)
Extracts the primitive data from an old style Value objectint
ValueMetaBase. hashCode(Object object)
Calculate the hashcode of the specified data objectboolean
ValueMetaBase. isNull(Object data)
Determine if an object is null. -
Uses of KettleValueException in org.pentaho.di.core.util
Methods in org.pentaho.di.core.util that throw KettleValueException Modifier and Type Method Description static Date
StringUtil. str2dat(String arg0, String arg1, String val)
static double
StringUtil. str2num(String pattern, String decimal, String grouping, String currency, String value)
static String
StringUtil. substituteField(String aString, RowMetaInterface rowMeta, Object[] rowData)
Substitutes field values inaString
. -
Uses of KettleValueException in org.pentaho.di.core.variables
Methods in org.pentaho.di.core.variables that throw KettleValueException Modifier and Type Method Description String
Variables. fieldSubstitute(String aString, RowMetaInterface rowMeta, Object[] rowData)
Substitutes field values inaString
.String
VariableSpace. fieldSubstitute(String aString, RowMetaInterface rowMeta, Object[] rowData)
Substitutes field values inaString
.
-