public class SQLLongVarbit extends SQLVarbit
_blobValue, dataValue, PAD, stream, streamValueLength
UNKNOWN_LOGICAL_LENGTH
ORDER_OP_EQUALS, ORDER_OP_GREATEROREQUALS, ORDER_OP_GREATERTHAN, ORDER_OP_LESSOREQUALS, ORDER_OP_LESSTHAN
IGNORE_PRECISION
Constructor and Description |
---|
SQLLongVarbit() |
SQLLongVarbit(byte[] val) |
Modifier and Type | Method and Description |
---|---|
(package private) int |
getMaxMemoryUsage()
Return max memory usage for a SQL LongVarbit
|
DataValueDescriptor |
getNewNull()
Get a new null value of the same type as this data value.
|
int |
getTypeFormatId()
Return my format identifier.
|
java.lang.String |
getTypeName()
Get the SQL name of the datatype
|
void |
normalize(DataTypeDescriptor desiredType,
DataValueDescriptor source)
Normalization method - this method may be called when putting
a value into a SQLVarbit, for example, when inserting into a SQLVarbit
column.
|
int |
typePrecedence()
Each built-in type in JSQL has a precedence.
|
getObject, setObject, setValueFromResultSet
charLength, checkHostVariable, cloneHolder, cloneValue, compare, compare, concatenate, equals, estimateMemoryUsage, getBytes, getLength, getStream, getString, getTraceString, getValue, greaterOrEquals, greaterThan, hashCode, isNull, lessOrEquals, lessThan, loadStream, notEquals, objectNull, readExternal, restoreToNull, returnStream, setFrom, setInto, setStream, setValue, setValue, setValue, substring, toString, truncate, writeExternal
coalesce, compare, compare, compareTo, dataTypeConversion, equals, flip, genericSetObject, getBoolean, getByte, getDate, getDouble, getFloat, getInt, getLong, getShort, getTime, getTimestamp, getTypeName, hasStream, in, invalidFormat, isNotNull, isNullOp, outOfRange, readExternalFromArray, recycle, setBigDecimal, setInto, setObjectForCast, setToNull, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, throwLangSetMismatch, throwLangSetMismatch, typeToBigDecimal
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
coalesce, compare, compare, getBoolean, getByte, getDate, getDouble, getFloat, getInt, getLong, getShort, getTime, getTimestamp, hasStream, in, isNotNull, isNullOp, readExternalFromArray, recycle, setBigDecimal, setInto, setObjectForCast, setToNull, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, typeToBigDecimal
public SQLLongVarbit()
public SQLLongVarbit(byte[] val)
public java.lang.String getTypeName()
DataValueDescriptor
getTypeName
in interface DataValueDescriptor
getTypeName
in class SQLVarbit
int getMaxMemoryUsage()
getMaxMemoryUsage
in class SQLVarbit
public DataValueDescriptor getNewNull()
DataValueDescriptor
getNewNull
in interface DataValueDescriptor
getNewNull
in class SQLVarbit
DataValueDescriptor.getNewNull()
public int getTypeFormatId()
getTypeFormatId
in interface TypedFormat
getTypeFormatId
in class SQLVarbit
TypedFormat.getTypeFormatId()
public void normalize(DataTypeDescriptor desiredType, DataValueDescriptor source) throws StandardException
normalize
in interface DataValueDescriptor
normalize
in class SQLVarbit
desiredType
- The type to normalize the source column tosource
- The value to normalizeStandardException
- Thrown for null into
non-nullable column, and for
truncation errorpublic int typePrecedence()
DataType
typePrecedence
in interface DataValueDescriptor
typePrecedence
in class SQLVarbit
DataValueDescriptor.typePrecedence()
Apache Derby V10.13 Internals - Copyright © 2004,2016 The Apache Software Foundation. All Rights Reserved.