Commit Graph

23 Commits

Author SHA1 Message Date
Keith Bostic
116654fa94 Add LZ4 to the documentation. 2015-03-18 12:35:35 -04:00
Alex Gorrod
6ba4ded15b Fixup Java examples. 2015-01-17 15:17:13 +11:00
Michael Cahill
a30db47d03 Merge branch 'develop' into cursor-equal
Conflicts:
	lang/python/wiredtiger.i
2015-01-17 07:33:37 +11:00
Michael Cahill
76addf7358 Have WT_CURSOR::equals return 1 when cursors are equal, 0 when not. 2015-01-17 05:48:03 +11:00
Alex Gorrod
812be6c438 Rename WT_CURSOR compare_equal to be equals.
While here, add a generic cursor equals stub in curstd, rather than
redirecting via cursor function pointer lists.

Implement the Java API wrapper.
2015-01-14 02:28:10 +11:00
Keith Bostic
f28cef19f4 Add support for the WT_CURSOR.compare_equal method. 2015-01-10 13:52:12 -05:00
Don Anderson
b8971b6ffe Merge branch 'develop' into java-examples 2015-01-09 10:19:17 -05:00
Don Anderson
9af563c265 Set of fixes to get most java examples to run. Refs #1526.
In all java examples: declared main() correctly for picky JVMs, print stack
traces on exception, brought examples in line with C code.

In java examples, use Process.waitFor() to wait for 'rm' to complete.

Modified examples to use new record methods (e.g. getKeyRecord() instead of getKeyLong()) when appropriate.

Fixed key/value comparisions in ex_log.java example.
2015-01-09 09:56:04 -05:00
Keith Bostic
1f9098871a Copyright notices: add MongoDB, update to 2015. 2015-01-04 14:07:56 -05:00
Don Anderson
2d61ce5b66 Fixed a timing error in the example startup, as well as closing handles.
Refs #1524.
2015-01-02 17:09:01 -05:00
Alex Gorrod
299c3cefbb Add support for immutable indices.
Refs #1344
2014-11-18 16:32:14 +11:00
Keith Bostic
7590319f16 Rename WT_DEADLOCK to WT_ROLLBACK, reference #1204. 2014-10-17 07:46:30 -04:00
Don Anderson
b00bec1480 Java examples to match similarly named examples from C.
These allow a Java version of documentation to show real example fragments.
refs #1130.
2014-10-06 13:35:50 -04:00
Alex Gorrod
e04abd5cc6 Update Java example to catch WiredTiger exceptions.
This is related to #1011, we should review it again if we decide
that our API should throw runtime exceptions.
2014-06-23 14:48:40 +10:00
Keith Bostic
5b509b7220 Update copyright notices for 2014.
Move lang/java and lang/python into the public domain.
2014-01-07 10:30:12 -05:00
Alex Gorrod
12ea0e5961 Fix copyright notices in Java source code. 2013-02-19 18:40:27 +11:00
Alex Gorrod
500b2699ca Remove stub WiredTiger YCSB implementation from source tree. 2013-02-19 18:04:09 +11:00
Alex Gorrod
39150c640e Update Java Cursor API naming to reflect ByteArray semantics.
Also update documentation, to use Doxygen and @copydoc where possible.
Not yet tied into s_docs.
2013-02-19 17:06:41 +11:00
Alex Gorrod
ac1a38c498 Update Java example to use new cursor interface. 2013-02-13 19:26:43 +11:00
Alex Gorrod
19fed99760 Update Java structure packing implementation.
Add a first JUnit test case, and associated autoconf files.
2013-02-12 21:00:49 +11:00
Alex Gorrod
12c649b0f4 Add a Java implementation of packed formats.
Also add a test case and update the layout of the Java build.
2013-02-08 14:15:19 +11:00
Alex Gorrod
697825e73b Add in examples to Java build. 2013-01-25 12:48:02 +11:00
Michael Cahill
5791f5b864 imported patch java-api
--HG--
rename : lang/python/Makefile.am => lang/java/Makefile.am
rename : lang/python/wiredtiger.i => lang/java/wiredtiger.i
2012-07-07 01:27:47 +10:00