|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.firebirdsql.gds.XSQLVAR
org.firebirdsql.gds.impl.jni.XSQLVARImpl
org.firebirdsql.gds.impl.jni.XSQLVARBigEndianImpl
public class XSQLVARBigEndianImpl
Implementation of XSQLVAR class for big-endian platforms (like
Solaris).
| Field Summary |
|---|
| Fields inherited from class org.firebirdsql.gds.XSQLVAR |
|---|
aliasname, coder, ownname, relname, sqldata, sqllen, sqlname, sqlscale, sqlsubtype, sqltype |
| Constructor Summary | |
|---|---|
XSQLVARBigEndianImpl()
Create default instance of this class. |
|
XSQLVARBigEndianImpl(int sqltype,
int sqlscale,
int sqlsubtype,
int sqllen,
byte[] sqldata,
String sqlname,
String relname,
String ownname,
String aliasname)
Create instance of this class for the specified XSQLVAR parameters. |
|
| Method Summary | |
|---|---|
short |
decodeShort(byte[] byte_int)
Decode a byte array into a short value. |
XSQLVAR |
deepCopy()
Get a deep copy of this object. |
byte[] |
encodeShort(short value)
Encode a short value as a byte array. |
| Methods inherited from class org.firebirdsql.gds.XSQLVAR |
|---|
copyFrom, copyFrom, decodeDate, decodeDate, decodeDouble, decodeFloat, decodeInt, decodeLong, decodeString, decodeTime, decodeTime, decodeTimestamp, decodeTimestamp, decodeTimestamp, encodeDate, encodeDate, encodeDouble, encodeFloat, encodeInt, encodeLong, encodeString, encodeString, encodeTime, encodeTime, encodeTimestamp, encodeTimestamp, encodeTimestamp |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XSQLVARBigEndianImpl()
public XSQLVARBigEndianImpl(int sqltype,
int sqlscale,
int sqlsubtype,
int sqllen,
byte[] sqldata,
String sqlname,
String relname,
String ownname,
String aliasname)
| Method Detail |
|---|
public XSQLVAR deepCopy()
XSQLVAR
deepCopy in class XSQLVARpublic byte[] encodeShort(short value)
XSQLVARshort value as a byte array.
encodeShort in class XSQLVARvalue - The value to be encoded
value encoded as a
byte arraypublic short decodeShort(byte[] byte_int)
XSQLVARbyte array into a short value.
decodeShort in class XSQLVARbyte_int - The byte array to be decoded
short value of the decoded
byte array
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||