Skip to content

Releases: dolphindb/api-java

3.00.0.1

29 Apr 09:13
Compare
Choose a tag to compare

Issues Fixed

  • Fixed an issue where ExclusiveDBConnectionPool would incorrectly enable load balancing when constructing a connection with high availability enabled.

  • Fixed an issue where the connections established by DBConnection did not involve all nodes in the cluster when high availability was enabled and no specific highAvailabilitySites was specified.

3.00.0.0

09 Apr 05:54
Compare
Choose a tag to compare

New Features

  • Added support for creating matrix of Decimal type.
  • Added parameter enableActualSendTime to MultithreadedTableWriter class to set whether to record the send time for each message.
  • Added CEP (Complex Event Processing) Engine with the following features:
    • EventSender class to write events into a heterogeneous stream table.
    • EventClient class to subscribe events from a heterogeneous stream table.
  • Added method getJavaApiVersion for class Utils to get the current API version.

Issues Fixed

  • Fixed issues for scalar/vector of Decimal type.

2.00.11.1

25 Jan 01:29
Compare
Choose a tag to compare

New Feature

Added new method SimpleDBConnectionPool.

2.00.11.0

19 Jan 06:08
Compare
Choose a tag to compare

Note: The version number of DolphinDB Java API has been adjusted to improve user experience. The new version number aligns with DolphinDB Server 200 and is forward compatible.

New Features

  • Added parameter enableSeqNo to the run method of class DBConnection to enable/disable the sequence number tracking (seqNo) feature.
  • Added parameter enableLoadBalance to the connect method of class DBConnection to enable/disable load balancing in the high availability mode.
  • Added support for the SLF4J logging framework.
  • The DURATION data type supports the identifier of trading calendar.
  • The PartitionedTableAppender class supports writing data of BLOB type.

Enhancements

  • Optimized the behavior of batch writing for MultithreadedTableWriter.
  • Refactored public DBConnection(boolean asynchronousTask, boolean useSSL, boolean compress, boolean usePython, boolean isUrgent, boolean isReverseStreaming, SqlStdEnum sqlStd) to private.
  • Enhanced error messages for the ThreadPooledClient class when threadCount is negative.
  • Updated code usage examples.

Bug Fixes

  • Fixed an issue where the toString() method of the ThreadStatus class in the MultithreadedTableWriter did not correctly output the value of sendFailedRows.
  • Fixed an issue where communication exceptions occurred when uploading strings with “\0“ during serialized transmission.

1.30.22.4

14 Nov 08:55
Compare
Choose a tag to compare

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.