class BinaryOrderableWrapper extends java.lang.Object implements Storable
Modifier and Type | Field and Description |
---|---|
(package private) int |
cmp_result |
(package private) BinaryOrderable |
other_object |
(package private) BinaryOrderable |
ref_object |
Constructor and Description |
---|
BinaryOrderableWrapper() |
Modifier and Type | Method and Description |
---|---|
int |
getCmpResult()
Short one line description of routine.
|
int |
getTypeFormatId()
Get a universally unique identifier for the type of
this object.
|
protected void |
init(BinaryOrderable ref_object,
BinaryOrderable other_object)
Short one line description of routine.
|
boolean |
isNull()
Return whether the value is null or not.
|
void |
readExternal(java.io.ObjectInput in)
Restore the in-memory representation from the stream.
|
void |
readExternalFromArray(ArrayInputStream in) |
void |
restoreToNull()
Restore the in-memory representation to the null value.
|
void |
writeExternal(java.io.ObjectOutput out)
Store the stored representation of the column value in the stream.
|
BinaryOrderable ref_object
BinaryOrderable other_object
int cmp_result
protected void init(BinaryOrderable ref_object, BinaryOrderable other_object)
Longer descrption of routine.
ref_object
- The object that this object is wrapping (ie. being
read from disk)other_object
- The object to compare ref_object to.public int getCmpResult()
Longer descrption of routine.
public int getTypeFormatId()
TypedFormat
getTypeFormatId
in interface TypedFormat
public boolean isNull()
isNull
in interface Storable
Storable.isNull()
public void restoreToNull()
restoreToNull
in interface Storable
Storable.restoreToNull()
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
java.lang.ClassNotFoundException
- Thrown if the stored representation is
serialized and a class named in the stream could not be found.java.io.IOException
- thrown by readObject()Externalizable.readExternal(java.io.ObjectInput)
public void readExternalFromArray(ArrayInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException
java.io.IOException
java.lang.ClassNotFoundException
public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
A BinaryOrderableWrapper is never used to store data out, only to read data from disk and compare it to another byte stream.
writeExternal
in interface java.io.Externalizable
out
- Stream to write the object to.java.io.IOException
- thrown by writeObject()Apache Derby V10.13 Internals - Copyright © 2004,2016 The Apache Software Foundation. All Rights Reserved.