Releases: dolphindb/api-java
Releases · dolphindb/api-java
3.00.0.2
3.00.0.1
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
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 classUtils
to get the current API version.
Issues Fixed
- Fixed issues for scalar/vector of Decimal type.
2.00.11.1
New Feature
Added new method SimpleDBConnectionPool
.
2.00.11.0
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 classDBConnection
to enable/disable the sequence number tracking (seqNo) feature. - Added parameter enableLoadBalance to the
connect
method of classDBConnection
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 theThreadStatus
class in theMultithreadedTableWriter
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
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 constructorThreadPooledClient(int threadCount)
that allows the publisher to push streaming data using the connection established by the subscriber. - The
PollingClient
class now supports a default constructorPollingClient()
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.
- Adding duplicate columns with
Improvements
- Optimized the
DBConnection
class:- Renamed the parameter userID to userId in method
login
; - Renamed method
getUserID
togetUserId
.
- Renamed the parameter userID to userId in method
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 theBasicSymbolVector
class without any null values would cause errors, disconnections, or exceptions when later retrieving data.