OceanBase Java 數(shù)據(jù)流概述

2021-06-30 15:38 更新

OceanBase Connector/J 驅(qū)動(dòng)程序支持在服務(wù)器和客戶端之間進(jìn)行雙向數(shù)據(jù)流操作。

驅(qū)動(dòng)程序目前支持以下數(shù)據(jù)流轉(zhuǎn)換:

  • 二進(jìn)制位

    用于 RAW 字節(jié)數(shù)據(jù),對(duì)應(yīng)于 getBinaryStream 方法。

  • ASCII 碼

    用于 ISO-Latin-1 編碼中的 ASCII 字節(jié),對(duì)應(yīng)于 getAsciiStream 方法。

  • Unicode

    用于具有 UTF-16 編碼的 Unicode 字節(jié),對(duì)應(yīng)于 getUnicodeStream 方法。

getBinaryStream、getAsciiStream 和 getUnicodeStream 方法返回 InputStream 對(duì)象中的數(shù)據(jù)字節(jié)。


以上內(nèi)容是否對(duì)您有幫助:
在線筆記
App下載
App下載

掃描二維碼

下載編程獅App

公眾號(hào)
微信公眾號(hào)

編程獅公眾號(hào)