1.30.22

1.30.22.4

New Features

  • The MultithreadedTableWriter class now supports creating array vectors of the following types: boolean[], byte[], char[], short[], int[], long[], double[], and float[].

  • The ThreadPooledClient class now supports a public constructor ThreadPooledClient(int threadCount) that allows the publisher to push streaming data using the connection established by the subscriber.

  • The PollingClient class now supports a default constructor PollingClient() that allows the publisher to push streaming data using the connection established by the subscriber.

  • New features for the BasicTable class:

    • Adding duplicate columns with addColumn is no longer allowed;

    • The replaceColumn method can replace a single column;

    • The replaceColName method can rename a single column.

Improvements

Optimized the DBConnection class:

  • Renamed the parameter userID to userId in method login;

  • Renamed method getUserID to getUserId.

Bug Fixes

  • Fixed incorrect results returned by method Append for BasicDecimal32Vector, BasicDecimal64Vector, and BasicDecimal128Vector types.
  • Fixed an issue where calling setNull on an instance of the BasicSymbolVector class without any null values would cause errors, disconnections, or exceptions when later retrieving data.

1.30.22.3

New Features

  • Added support for constructing data of BasicDecimal32 and BasicDecimal64 types from strings.

  • Added support for calling the JSONObject.toJSONString method from fastjson library to serialize DolphinDB data types defined in the Java API.

  • The add method of the BasicDecimal32Vector and BasicDecimal64Vector classes now supports data of String type.

  • The addRange method of the BasicDecimal32Vector and BasicDecimal64Vector classes now supports String arrays.

  • The API will connect to a random low-load node if high availability is enabled.

  • New constructor methods have been added to instantiate some data types, including BasicDouble, BasicFloat, BasicInt, BasicLong, BasicShort, and BasicByte.

Improvements
  • Reduced the JAR file size for DolphinDB Java API dependencies.

  • Renamed tableAppneder to AutoFitTableAppender.

  • Optimized the ErrorCodeInfo code, and changed its access modifier to public.

  • Upgraded FastJson to version 2.0.33.

1.30.22.2

New Features

  • The API will connect to a random low-load node if high availability is enabled.

  • New constructor methods have been added to instantiate some data types, including BasicDouble, BasicFloat, BasicInt, BasicLong, BasicShort, and BasicByte.

Improvements
  • Upgraded FastJson to version 2.0.33.

1.30.22.1

New Features

  • Added support for DECIMAL128 data type.

  • Added parameter sqlStd to method DBConnection for SQL parsing.
Improvements
  • Optimized the performance of BasicDBTask.