summaryrefslogtreecommitdiff
path: root/lang/java/src/com/wiredtiger/db/PackOutputStream.java
AgeCommit message (Collapse)Author
2016-12-06WT-3054 Make a PackOutputStream constructor that is compatible with the (#3175)Don Anderson
previous interface, allowing old tests to work without changes.
2016-12-02WT-3021 fixes for java log example, raw mode in java, and raw mode in log ↵Don Anderson
cursors (#3150) * log cursors performing search must internally get keys; raw mode must be turned off temporarily to accomplish that. Use this same technique to clean up how keys/values are set. * In java, when a raw mode cursor is created, allow setting key/value only via byte array. * Synchronize java log example with the C version, including changing LSN from long to int and adding a count check to the simple log walk. Fix an error with how LSN file/offset was saved for a later search. The 'copy' table can now use S formats, since there is a way to insert them as raw records obtained from the log.
2016-04-19WT-2550 Support raw mode cursors in java, which can only be accessed viaDon Anderson
getByteArray calls.
2016-01-24WT-2347 Added java fix for unsized 's' schema formats.Don Anderson
This corresponds to Python fixes in WT-1517.
2016-01-01Upgrade copyright notices from 2015 to 2016.Keith Bostic
2015-07-13Fixed bugs in packing/unpacking bytearrays: we must be aware of 'U' format;Don Anderson
when length is provided in format, use it; do padding. Fixed signed checking for getInt/Long/Short. Fixed bugs in packing strings: embedded nulls; use length when provided. Logic copied from packing.py. Added special case encoding for 8256 (to match Python and C).
2015-01-09Merge branch 'develop' into java-examplesDon Anderson
2015-01-09Various fixes related to java examples. Refs #1526.Don Anderson
Don't turn on cursor RAW flag for a JSON dump cursor. Fixed unpacking a fixed length string: unpack cur position was not being updated. Fixed packing a fixed length string: String array bounds check was firing. Fixed unpacking short/int: range check was incorrect. Added methods to put/get record numbers (e.g. getKeyRecord) in Cursor and AsyncOp. Remove stray println.
2015-01-04Copyright notices: add MongoDB, update to 2015.Keith Bostic
2014-01-07Update copyright notices for 2014.Keith Bostic
Move lang/java and lang/python into the public domain.
2013-02-19Fix copyright notices in Java source code.Alex Gorrod
2013-02-19Update Java Cursor API naming to reflect ByteArray semantics.Alex Gorrod
Also update documentation, to use Doxygen and @copydoc where possible. Not yet tied into s_docs.
2013-02-13Update Java cursors to use packing code. Also enhance JUnit usage.Alex Gorrod
2013-02-12Update Java structure packing implementation.Alex Gorrod
Add a first JUnit test case, and associated autoconf files.
2013-02-08Add a Java implementation of packed formats.Alex Gorrod
Also add a test case and update the layout of the Java build.