Top Fields Constructors Methods
org.apache.derby.client.net

public Class Typdef

extends Object
implements Cloneable
Class Inheritance
All Implemented Interfaces
java.lang.Cloneable
Imports
java.nio.charset.Charset, java.sql.Types, org.apache.derby.client.am.Cursor, .DisconnectException, .SignedBinary, .ClientMessageId, .Decimal, .FloatingPoint, org.apache.derby.shared.common.reference.SQLState

Field Summary

Modifier and TypeField and Description
private static final short
private int
private Charset
private boolean
private static final short
private int
private Charset
private boolean
private static final short
private int
private Charset
private boolean
pack-priv static final short
private static final FdocaSimpleDataArray[]
private static final int[]
pack-priv static final short
pack-priv static final short
private boolean
private NetAgent
private static final short
pack-priv static final short
private static final int
private FdocaSimpleDataArray[]
private static final int[]
pack-priv static final short
private String
public static final Charset

Constructor Summary

AccessConstructor and Description
pack-priv
Typdef(NetAgent netAgent)

pack-priv
Typdef(NetAgent netAgent, int ccsidSbc, String typdefnam, int ccsidDbc, int ccsidMbc)

Method Summary

Modifier and TypeMethod and Description
pack-priv void
public Object
clone()

Overrides java.lang.Object.clone.

Creates and returns a copy of this object.
pack-priv int
private Charset
pack-priv int
pack-priv Charset
pack-priv int
pack-priv Charset
pack-priv String
private void
initialize(NetAgent netAgent, int ccsidSbc, boolean ccsidSbcSet, int ccsidMbc, boolean ccsidMbcSet, int ccsidDbc, boolean ccsidDbcSet, String typdefnam)

pack-priv boolean
pack-priv boolean
pack-priv boolean
private int
pack-priv void
setCcsidDbc(int ccsid)

pack-priv void
setCcsidMbc(int ccsid)

pack-priv void
setCcsidSbc(int ccsid)

pack-priv void
setMddOverride(int protocolType, int fdocaTripletLid, int fdocaFieldType, int ccsid, int characterSize, int mode, int length)

pack-priv void
setTypdefnam(String typdefnam)

pack-priv void
updateColumn(NetCursor netCursor, int columnIndex, int protocolLid, int protocolLength)

Inherited from java.lang.Object:
equalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

CCSIDDBCback to summary
private static final short CCSIDDBC
ccsidDbc_back to summary
private int ccsidDbc_
ccsidDbcEncoding_back to summary
private Charset ccsidDbcEncoding_
ccsidDbcSet_back to summary
private boolean ccsidDbcSet_
CCSIDMBCback to summary
private static final short CCSIDMBC
ccsidMbc_back to summary
private int ccsidMbc_
ccsidMbcEncoding_back to summary
private Charset ccsidMbcEncoding_
ccsidMbcSet_back to summary
private boolean ccsidMbcSet_
CCSIDSBCback to summary
private static final short CCSIDSBC
ccsidSbc_back to summary
private int ccsidSbc_
ccsidSbcEncoding_back to summary
private Charset ccsidSbcEncoding_
ccsidSbcSet_back to summary
private boolean ccsidSbcSet_
DECIMALLENGTHback to summary
pack-priv static final short DECIMALLENGTH
environmentTables_back to summary
private static final FdocaSimpleDataArray[] environmentTables_
fdocaTypeToRepresentationMap_back to summary
private static final int[] fdocaTypeToRepresentationMap_
FIXEDLENGTHback to summary
pack-priv static final short FIXEDLENGTH
LOBLENGTHback to summary
pack-priv static final short LOBLENGTH
mddOverride_back to summary
private boolean mddOverride_
netAgent_back to summary
private NetAgent netAgent_
NOCCSIDback to summary
private static final short NOCCSID
ONEBYTELENGTHback to summary
pack-priv static final short ONEBYTELENGTH
OVERRIDE_TABLE_SIZEback to summary
private static final int OVERRIDE_TABLE_SIZE
overrideTable_back to summary
private FdocaSimpleDataArray[] overrideTable_
protocolToJdbcTypes_back to summary
private static final int[] protocolToJdbcTypes_
TWOBYTELENGTHback to summary
pack-priv static final short TWOBYTELENGTH
typdefnam_back to summary
private String typdefnam_
UTF8ENCODINGback to summary
public static final Charset UTF8ENCODING

Constructor Detail

Typdefback to summary
pack-priv Typdef(NetAgent netAgent) throws DisconnectException
Typdefback to summary
pack-priv Typdef(NetAgent netAgent, int ccsidSbc, String typdefnam, int ccsidDbc, int ccsidMbc) throws DisconnectException

Method Detail

clearMddOverridesback to summary
pack-priv void clearMddOverrides()
cloneback to summary
public Object clone()

Overrides java.lang.Object.clone.

Doc from java.lang.Object.clone.

Creates and returns a copy of this object. The precise meaning of "copy" may depend on the class of the object. The general intent is that, for any object x, the expression:

x.clone() != x
will be true, and that the expression:
x.clone().getClass() == x.getClass()
will be true, but these are not absolute requirements. While it is typically the case that:
x.clone().equals(x)
will be true, this is not an absolute requirement.

By convention, the returned object should be obtained by calling super.clone. If a class and all of its superclasses (except Object) obey this convention, it will be the case that x.clone().getClass() == x.getClass().

By convention, the object returned by this method should be independent of this object (which is being cloned). To achieve this independence, it may be necessary to modify one or more fields of the object returned by super.clone before returning it. Typically, this means copying any mutable objects that comprise the internal "deep structure" of the object being cloned and replacing the references to these objects with references to the copies. If a class contains only primitive fields or references to immutable objects, then it is usually the case that no fields in the object returned by super.clone need to be modified.

Returns:Object

a clone of this instance.

getCcsidDbcback to summary
pack-priv int getCcsidDbc()
getCcsidDbcEncodingback to summary
private Charset getCcsidDbcEncoding() throws DisconnectException
getCcsidMbcback to summary
pack-priv int getCcsidMbc()
getCcsidMbcEncodingback to summary
pack-priv Charset getCcsidMbcEncoding() throws DisconnectException
getCcsidSbcback to summary
pack-priv int getCcsidSbc()
getCcsidSbcEncodingback to summary
pack-priv Charset getCcsidSbcEncoding() throws DisconnectException
getTypdefnamback to summary
pack-priv String getTypdefnam()
initializeback to summary
private void initialize(NetAgent netAgent, int ccsidSbc, boolean ccsidSbcSet, int ccsidMbc, boolean ccsidMbcSet, int ccsidDbc, boolean ccsidDbcSet, String typdefnam) throws DisconnectException
isCcsidDbcSetback to summary
pack-priv boolean isCcsidDbcSet()
isCcsidMbcSetback to summary
pack-priv boolean isCcsidMbcSet()
isCcsidSbcSetback to summary
pack-priv boolean isCcsidSbcSet()
mapFdocaTypeToTypeToUseForComputingDataLengthback to summary
private int mapFdocaTypeToTypeToUseForComputingDataLength(int fdocaFieldType)
setCcsidDbcback to summary
pack-priv void setCcsidDbc(int ccsid)
setCcsidMbcback to summary
pack-priv void setCcsidMbc(int ccsid)
setCcsidSbcback to summary
pack-priv void setCcsidSbc(int ccsid)
setMddOverrideback to summary
pack-priv void setMddOverride(int protocolType, int fdocaTripletLid, int fdocaFieldType, int ccsid, int characterSize, int mode, int length)
setTypdefnamback to summary
pack-priv void setTypdefnam(String typdefnam) throws DisconnectException
updateColumnback to summary
pack-priv void updateColumn(NetCursor netCursor, int columnIndex, int protocolLid, int protocolLength) throws DisconnectException