Releases: dolphindb/api-java
Releases · dolphindb/api-java
3.00.2.0
New Features
- Added support for IOTANY vectors.
Improvements
-
Enhanced error messages for
DBConnection
during reconnection. -
Renamed the following CEP-related parameters for
EventClient
andEventSender
:- eventTimeKeys to eventTimeFields.
- commonKeys to commonFields.
3.00.1.3
New Features
- Added parameters connectTimeout and readTimeout to the
connect
method ofDBConnection
class to set the maximum connection and read timeouts (in ms) for underlying API Socket connections.
Improvements
- The error message raised by
MultithreadedTableWriter
when writing to partitioned tables now displays the specific column names in case of data type mismatch.
Issues Fixed
- [AJ-763] Fixed an occasional issue where CPU usage was falsely high when using
ThreadPooledClient
for stream subscription, even without subscription tasks.
3.00.1.2
Improvements
- The default value of parameter parallelism for
run
andtryRun
has been modified from 2 to 64.
3.00.1.1
New Features
- Added parameters minimumPoolSize, maximumPoolSize, idleTimeout, and tryReconnectNums to
SimpleDBConnectionPool
for setting the min/max pool size, max idle time, and the number of reconnection attempts of a connection pool. SimpleDBConnectionPool
now supports dynamically acquiring connections and manually releasing idle connections.- Added parameter tryReconnectNums to
DBConnection
for setting the number of reconnection attempts. - Added method
getScale
toMatrix
interface for obtaining the scale of a DECIMAL matrix.
Improvements
- Optimized the implementation logic for
AutoFitTableAppender
andAutoFitTableUpsert
. - Optimized log information on CEP events.
Issues Fixed
- Fixed an issue in high availability (HA) mode where restarting a data node after the controller and agent nodes were restarted would result in connection failure with a "connect to :0" error message.
3.00.1.0
New Features
- Added
combine
method for merging data in Decimal Vectors. - Added support for creating, downloading and displaying Tensor data.
Issues Fixed
- Fixed an error where dictionaries with value of ANY type couldn't accept common data types (e.g., INT, STRING).
- Fixed an error occurring when uploading dictionary data with value of ANY type.
3.00.0.2
New Features
- Added parameters backupSites, resubTimeout, and subOnce to
subscribe
to enable failover mechanism. - Added method
getValues
for retrieving values of array vectors.
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.