Interface BitDataValue
- All Superinterfaces:
ConcatableDataValue, DataValueDescriptor, Externalizable, Formatable, Orderable, Serializable, Storable, StreamStorable, TypedFormat, VariableSizeDataValue
- All Known Implementing Classes:
SQLBinary, SQLBit, SQLBlob, SQLLongVarbit, SQLVarbit
-
Field Summary
Fields inherited from interface DataValueDescriptor
UNKNOWN_LOGICAL_LENGTHFields inherited from interface Orderable
ORDER_OP_EQUALS, ORDER_OP_GREATEROREQUALS, ORDER_OP_GREATERTHAN, ORDER_OP_LESSOREQUALS, ORDER_OP_LESSTHANFields inherited from interface VariableSizeDataValue
IGNORE_PRECISION -
Method Summary
Modifier and TypeMethodDescriptionconcatenate(BitDataValue leftOperand, BitDataValue rightOperand, BitDataValue result) The SQL concatenation '||' operator.voidStuff a BitDataValue with a Blob.Methods inherited from interface ConcatableDataValue
charLength, substringMethods inherited from interface DataValueDescriptor
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, setValueFromResultSet, typePrecedence, typeToBigDecimalMethods inherited from interface Externalizable
readExternal, writeExternalMethods inherited from interface Storable
isNull, restoreToNullMethods inherited from interface StreamStorable
loadStream, returnStream, setStreamMethods inherited from interface TypedFormat
getTypeFormatIdMethods inherited from interface VariableSizeDataValue
setWidth
-
Method Details
-
concatenate
BitDataValue concatenate(BitDataValue leftOperand, BitDataValue rightOperand, BitDataValue result) throws StandardException The SQL concatenation '||' operator.- Parameters:
leftOperand- String on the left hand side of '||'rightOperand- String on the right hand side of '||'result- The result of a previous call to this method, null if not called yet.- Returns:
- A ConcatableDataValue containing the result of the '||'
- Throws:
StandardException- Thrown on error
-
setValue
Stuff a BitDataValue with a Blob.- Specified by:
setValuein interfaceDataValueDescriptor- Parameters:
value- The Blob value to set this DataValueDescriptor to- Throws:
StandardException
-