[MCOL-992] java binding for mcsapi Created: 2017-10-28  Updated: 2023-10-26  Resolved: 2017-11-03

Status: Closed
Project: MariaDB ColumnStore
Component/s: None
Affects Version/s: 1.1.0
Fix Version/s: 1.1.1

Type: Task Priority: Major
Reporter: David Thompson (Inactive) Assignee: Andrew Hutchings (Inactive)
Resolution: Fixed Votes: 0
Labels: None

Sprint: 2017-21, 2017-22

 Comments   
Comment by David Thompson (Inactive) [ 2017-10-30 ]

Add Java binding support to mcsapi. Required 2 changes to c++ api to make easier to use:

  • use const std:string& for return types as java binding can't handle these due to java String being immutable.
  • Made ColumnStoreDateTime int part constructor use uint32 even for values which are really uint8_t as this avoids the need for ugly (short) casts in java.

Neither have impact on test cases or python bindings.

See pull request: https://github.com/mariadb-corporation/mariadb-columnstore-api/pull/12

Also see Readme.md for details, obviously you will need a JDK installed, i tested with 8 on centos7. The build uses gradle for the java side which also assists in pulling down junit and mariadb connector jar deps for the tests. This uses the gradle wrapper checked in which will automatically install gradle dependencies if not already present on the box.

Comment by Andrew Hutchings (Inactive) [ 2017-10-30 ]

Moved to test but keeping me as assignee as I'm probably best to QA it.

Generated at Thu Feb 08 02:25:21 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.