public interface ConcatableDataValue extends DataValueDescriptor, VariableSizeDataValue
UNKNOWN_LOGICAL_LENGTHORDER_OP_EQUALS, ORDER_OP_GREATEROREQUALS, ORDER_OP_GREATERTHAN, ORDER_OP_LESSOREQUALS, ORDER_OP_LESSTHANIGNORE_PRECISION| Modifier and Type | Method and Description |
|---|---|
NumberDataValue |
charLength(NumberDataValue result)
The SQL char_length() function.
|
ConcatableDataValue |
substring(NumberDataValue start,
NumberDataValue length,
ConcatableDataValue result,
int maxLen)
substr() function matchs DB2 syntax and behaviour.
|
checkHostVariable, cloneHolder, cloneValue, coalesce, compare, compare, compare, compare, equals, estimateMemoryUsage, getBoolean, getByte, getBytes, getDate, getDouble, getFloat, getInt, getLength, getLong, getNewNull, getObject, getShort, getStream, getString, getTime, getTimestamp, getTraceString, getTypeName, greaterOrEquals, greaterThan, hasStream, in, isNotNull, isNullOp, lessOrEquals, lessThan, normalize, notEquals, readExternalFromArray, recycle, setBigDecimal, setInto, setInto, setObjectForCast, setToNull, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueFromResultSet, typePrecedence, typeToBigDecimalisNull, restoreToNullgetTypeFormatIdsetWidthNumberDataValue charLength(NumberDataValue result) throws StandardException
result - The result of a previous call to this method,
null if not called yet.StandardException - Thrown on errorConcatableDataValue substring(NumberDataValue start, NumberDataValue length, ConcatableDataValue result, int maxLen) throws StandardException
start - Start of substrlength - Length of substrresult - The result of a previous call to this method,
null if not called yet.maxLen - Maximum length of the result stringStandardException - Thrown on errorApache Derby V10.10 Internals - Copyright © 2004,2014 The Apache Software Foundation. All Rights Reserved.