| Modifier and Type | Field and Description |
|---|---|
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private DataInputStream | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private byte[] | |
| private final ReentrantLock | |
| private static final int | |
| private static final int | |
| private DataOutputStream | |
| private static final int | |
| private static final int | |
| private Session | |
| private static final int | |
| private Socket | |
| private boolean | |
| private static final int[] | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int[] | |
| private static final int | |
| private static final int | |
| private static final int | |
| private int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static void | |
| private byte[] | |
| public void | |
| public void | |
| public Socket | |
| public int | |
| public void | |
| public boolean | |
| private void | |
| public Transfer | Returns: the new transfer objectOpen a new connection to the same address and port as this one. |
| private Value[] | |
| public boolean | |
| public byte | |
| public byte[] | |
| public void | readBytes(byte[]
the target buffer buff, int the offset off, int the number of bytes to read len)Read a number of bytes. |
| private double | |
| private float | |
| public int | |
| public long | |
| public long | |
| private short | |
| public String | |
| public TypeInfo | |
| private TypeInfo | |
| private TypeInfo | |
| private ExtTypeInfo | |
| private ExtTypeInfo | |
| private ExtTypeInfo | |
| public Value | |
| public void | |
| public void | |
| public void | |
| private void | |
| public void | |
| public Transfer | |
| public Transfer | |
| private void | |
| public Transfer | |
| public Transfer | Returns: itselfthe value buff, int the offset off, int the length len)Write a number of bytes. |
| private void | |
| private Transfer | |
| private Transfer | |
| public Transfer | |
| public Transfer | |
| public Transfer | |
| private Transfer | |
| public Transfer | |
| public Transfer | Returns: itselfdata type information type)Write value type, precision, and scale. |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| public void |
| ARRAY | back to summary |
|---|---|
| private static final int ARRAY | |
| BIGINT | back to summary |
|---|---|
| private static final int BIGINT | |
| BINARY | back to summary |
|---|---|
| private static final int BINARY | |
| BLOB | back to summary |
|---|---|
| private static final int BLOB | |
| BOOLEAN | back to summary |
|---|---|
| private static final int BOOLEAN | |
| BUFFER_SIZE | back to summary |
|---|---|
| private static final int BUFFER_SIZE | |
| CHAR | back to summary |
|---|---|
| private static final int CHAR | |
| CLOB | back to summary |
|---|---|
| private static final int CLOB | |
| DATE | back to summary |
|---|---|
| private static final int DATE | |
| DECFLOAT | back to summary |
|---|---|
| private static final int DECFLOAT | |
| DOUBLE | back to summary |
|---|---|
| private static final int DOUBLE | |
| ENUM | back to summary |
|---|---|
| private static final int ENUM | |
| GEOMETRY | back to summary |
|---|---|
| private static final int GEOMETRY | |
| in | back to summary |
|---|---|
| private DataInputStream in | |
| INTEGER | back to summary |
|---|---|
| private static final int INTEGER | |
| INTERVAL | back to summary |
|---|---|
| private static final int INTERVAL | |
| JAVA_OBJECT | back to summary |
|---|---|
| private static final int JAVA_OBJECT | |
| JSON | back to summary |
|---|---|
| private static final int JSON | |
| LOB_MAC_SALT_LENGTH | back to summary |
|---|---|
| private static final int LOB_MAC_SALT_LENGTH | |
| LOB_MAGIC | back to summary |
|---|---|
| private static final int LOB_MAGIC | |
| lobMacSalt | back to summary |
|---|---|
| private byte[] lobMacSalt | |
| lock | back to summary |
|---|---|
| private final ReentrantLock lock | |
| NULL | back to summary |
|---|---|
| private static final int NULL | |
| NUMERIC | back to summary |
|---|---|
| private static final int NUMERIC | |
| out | back to summary |
|---|---|
| private DataOutputStream out | |
| REAL | back to summary |
|---|---|
| private static final int REAL | |
| ROW | back to summary |
|---|---|
| private static final int ROW | |
| session | back to summary |
|---|---|
| private Session session | |
| SMALLINT | back to summary |
|---|---|
| private static final int SMALLINT | |
| socket | back to summary |
|---|---|
| private Socket socket | |
| ssl | back to summary |
|---|---|
| private boolean ssl | |
| TI_TO_VALUE | back to summary |
|---|---|
| private static final int[] TI_TO_VALUE | |
| TIME | back to summary |
|---|---|
| private static final int TIME | |
| TIME_TZ | back to summary |
|---|---|
| private static final int TIME_TZ | |
| TIMESTAMP | back to summary |
|---|---|
| private static final int TIMESTAMP | |
| TIMESTAMP_TZ | back to summary |
|---|---|
| private static final int TIMESTAMP_TZ | |
| TINYINT | back to summary |
|---|---|
| private static final int TINYINT | |
| UUID | back to summary |
|---|---|
| private static final int UUID | |
| VALUE_TO_TI | back to summary |
|---|---|
| private static final int[] VALUE_TO_TI | |
| VARBINARY | back to summary |
|---|---|
| private static final int VARBINARY | |
| VARCHAR | back to summary |
|---|---|
| private static final int VARCHAR | |
| VARCHAR_IGNORECASE | back to summary |
|---|---|
| private static final int VARCHAR_IGNORECASE | |
| version | back to summary |
|---|---|
| private int version | |
| Transfer | back to summary |
|---|---|
| public Transfer(Session session, Socket s) Create a new transfer object for the specified session. | |
| addType | back to summary |
|---|---|
| private static void addType(int typeInformationType, int valueType) | |
| calculateLobMac | back to summary |
|---|---|
| private byte[] calculateLobMac(long lobId) | |
| close | back to summary |
|---|---|
| public void close() Close the transfer object and the socket. | |
| flush | back to summary |
|---|---|
| public void flush() throws IOException Write pending changes.
| |
| getSocket | back to summary |
|---|---|
| public Socket getSocket() Get the socket.
| |
| getVersion | back to summary |
|---|---|
| public int getVersion() | |
| init | back to summary |
|---|---|
| public void init() throws IOException Initialize the transfer object. This method will try to open an input and output stream.
| |
| isClosed | back to summary |
|---|---|
| public boolean isClosed() | |
| lock | back to summary |
|---|---|
| private void lock() Locks this object with a reentrant lock.
lock();
try {
...
} finally {
unlock();
}
| |
| openNewConnection | back to summary |
|---|---|
| public Transfer openNewConnection() throws IOException Open a new connection to the same address and port as this one.
| |
| readArrayElements | back to summary |
|---|---|
| private Value[] readArrayElements(int len, TypeInfo elementType) throws IOException | |
| readBoolean | back to summary |
|---|---|
| public boolean readBoolean() throws IOException Read a boolean.
| |
| readByte | back to summary |
|---|---|
| public byte readByte() throws IOException Read a byte.
| |
| readBytes | back to summary |
|---|---|
| public byte[] readBytes() throws IOException Read a byte array.
| |
| readBytes | back to summary |
|---|---|
| public void readBytes(byte[] buff, int off, int len) throws IOException Read a number of bytes.
| |
| readDouble | back to summary |
|---|---|
| private double readDouble() throws IOException Read a double.
| |
| readFloat | back to summary |
|---|---|
| private float readFloat() throws IOException Read a float.
| |
| readInt | back to summary |
|---|---|
| public int readInt() throws IOException Read an int.
| |
| readLong | back to summary |
|---|---|
| public long readLong() throws IOException Read a long.
| |
| readRowCount | back to summary |
|---|---|
| public long readRowCount() throws IOException Read a row count.
| |
| readShort | back to summary |
|---|---|
| private short readShort() throws IOException Read a short.
| |
| readString | back to summary |
|---|---|
| public String readString() throws IOException Read a string.
| |
| readTypeInfo | back to summary |
|---|---|
| public TypeInfo readTypeInfo() throws IOException Read a type information.
| |
| readTypeInfo19 | back to summary |
|---|---|
| private TypeInfo readTypeInfo19() throws IOException | |
| readTypeInfo20 | back to summary |
|---|---|
| private TypeInfo readTypeInfo20() throws IOException | |
| readTypeInfoEnum | back to summary |
|---|---|
| private ExtTypeInfo readTypeInfoEnum() throws IOException | |
| readTypeInfoGeometry | back to summary |
|---|---|
| private ExtTypeInfo readTypeInfoGeometry() throws IOException | |
| readTypeInfoRow | back to summary |
|---|---|
| private ExtTypeInfo readTypeInfoRow() throws IOException | |
| readValue | back to summary |
|---|---|
| public Value readValue(TypeInfo columnType) throws IOException Read a value.
| |
| setSession | back to summary |
|---|---|
| public void setSession(Session session) Set the session.
| |
| setSSL | back to summary |
|---|---|
| public void setSSL(boolean ssl) Enable or disable SSL.
| |
| setVersion | back to summary |
|---|---|
| public void setVersion(int version) | |
| unlock | back to summary |
|---|---|
| private void unlock() Unlocks this object.
| |
| verifyLobMac | back to summary |
|---|---|
| public void verifyLobMac(byte[] hmac, long lobId) Verify the HMAC.
| |
| writeBoolean | back to summary |
|---|---|
| public Transfer writeBoolean(boolean x) throws IOException Write a boolean.
| |
| writeByte | back to summary |
|---|---|
| public Transfer writeByte(byte x) throws IOException Write a byte.
| |
| writeBytePrecisionWithDefault | back to summary |
|---|---|
| private void writeBytePrecisionWithDefault(long precision) throws IOException | |
| writeBytes | back to summary |
|---|---|
| public Transfer writeBytes(byte[] data) throws IOException Write a byte array.
| |
| writeBytes | back to summary |
|---|---|
| public Transfer writeBytes(byte[] buff, int off, int len) throws IOException Write a number of bytes.
| |
| writeByteScaleWithDefault | back to summary |
|---|---|
| private void writeByteScaleWithDefault(int scale) throws IOException | |
| writeDouble | back to summary |
|---|---|
| private Transfer writeDouble(double i) throws IOException Write a double.
| |
| writeFloat | back to summary |
|---|---|
| private Transfer writeFloat(float i) throws IOException Write a float.
| |
| writeInt | back to summary |
|---|---|
| public Transfer writeInt(int x) throws IOException Write an int.
| |
| writeLong | back to summary |
|---|---|
| public Transfer writeLong(long x) throws IOException Write a long.
| |
| writeRowCount | back to summary |
|---|---|
| public Transfer writeRowCount(long rowCount) throws IOException Write a row count.
| |
| writeShort | back to summary |
|---|---|
| private Transfer writeShort(short x) throws IOException Write a short.
| |
| writeString | back to summary |
|---|---|
| public Transfer writeString(String s) throws IOException Write a string. The maximum string length is Integer.MAX_VALUE.
| |
| writeTypeInfo | back to summary |
|---|---|
| public Transfer writeTypeInfo(TypeInfo type) throws IOException Write value type, precision, and scale.
| |
| writeTypeInfo19 | back to summary |
|---|---|
| private void writeTypeInfo19(TypeInfo type) throws IOException | |
| writeTypeInfo20 | back to summary |
|---|---|
| private void writeTypeInfo20(TypeInfo type) throws IOException | |
| writeTypeInfoEnum | back to summary |
|---|---|
| private void writeTypeInfoEnum(TypeInfo type) throws IOException | |
| writeTypeInfoGeometry | back to summary |
|---|---|
| private void writeTypeInfoGeometry(TypeInfo type) throws IOException | |
| writeTypeInfoRow | back to summary |
|---|---|
| private void writeTypeInfoRow(TypeInfo type) throws IOException | |
| writeValue | back to summary |
|---|---|
| public void writeValue(Value v) throws IOException Write a value.
| |