DataValueDescriptor
, java.io.Externalizable
, Formatable
, Orderable
, java.io.Serializable
, Storable
, TypedFormat
, VariableSizeDataValue
BitDataValue
, StringDataValue
CollatorSQLChar
, CollatorSQLClob
, CollatorSQLLongvarchar
, CollatorSQLVarchar
, SQLBinary
, SQLBit
, SQLBlob
, SQLChar
, SQLClob
, SQLLongVarbit
, SQLLongvarchar
, SQLVarbit
, SQLVarchar
public interface ConcatableDataValue extends DataValueDescriptor, VariableSizeDataValue
UNKNOWN_LOGICAL_LENGTH
ORDER_OP_EQUALS, ORDER_OP_GREATEROREQUALS, ORDER_OP_GREATERTHAN, ORDER_OP_LESSOREQUALS, ORDER_OP_LESSTHAN
IGNORE_PRECISION
Modifier and Type | Method | 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, typeToBigDecimal
isNull, restoreToNull
getTypeFormatId
setWidth
NumberDataValue 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.14 Internals - Copyright © 2004,2018 The Apache Software Foundation. All Rights Reserved.