Skip to content

Commit

Permalink
Merge pull request #8 from exxeleron/qJava-2.3
Browse files Browse the repository at this point in the history
qJava 2.3
  • Loading branch information
maciejlach committed Nov 16, 2015
2 parents 1ccbecd + f67447a commit ad71cb4
Show file tree
Hide file tree
Showing 19 changed files with 2,216 additions and 1,194 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
------------------------------------------------------------------------------
qJava 2.3.0 [2015.x.x]
------------------------------------------------------------------------------

- API redesign: enable custom serializers & deserializers
- Collections serialization support in DefaultQWriter
- Improve memory reuse in QWriter
- Improve performance while iterating over QTable, QDictionary
and QKeyedTable: partial reimplementation of java.lang.reflect.Array
benefiting from Hot Spot VM optimizations

------------------------------------------------------------------------------
qJava 2.2.0 [2015.08.14]
------------------------------------------------------------------------------
Expand Down
10 changes: 10 additions & 0 deletions doc/Type-conversion.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,16 @@ Note that q list are represented as arrays of primitive type by the qJava
library. It is possible to send to q arrays of primitive type (e.g. `int[]`) as
well as of boxed type (e.g. `Integer[]`).

`DefaultQWriter` supports serialization of Java `Collection`s. Q type is
derived from the first element of the `Collection`, e.g.:

```java
new ArrayList<Integer>(Arrays.asList(new Integer[] { 0, 1, 2, 3 })); // serialized as integer list
new ArrayList<Object>(Arrays.asList(new Object[] { null, 2, 3, "test" })); // serialized as general list

new ArrayList<Object>(Arrays.asList(new Object[] { 1, "test" })); // serialization error, assumed to be integer-only list
```

### Temporal types
q language provides multiple types for operating on temporal data. The qJava
library provides a corresponding temporal class for each q temporal type.
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<inceptionYear>2014</inceptionYear>

<packaging>bundle</packaging>
<version>2.2.1-SNAPSHOT</version>
<version>2.3.0-SNAPSHOT</version>

<organization>
<name>exxeleron</name>
Expand Down
Loading

0 comments on commit ad71cb4

Please sign in to comment.