From 23f8a61e09bd84502cae10738ad6e99d6cadffb3 Mon Sep 17 00:00:00 2001 From: Vlad Ilyushchenko Date: Sun, 16 Feb 2020 17:27:24 +0000 Subject: [PATCH] build: 4.1.5 release --- benchmarks/pom.xml | 2 +- core/pom.xml | 2 +- .../java/io/questdb/cairo/IntervalBwdDataFrameCursor.java | 5 +++-- .../java/io/questdb/cairo/IntervalFwdDataFrameCursor.java | 5 +++-- core/src/main/java/io/questdb/cairo/TableWriter.java | 3 +++ core/src/main/java/io/questdb/std/Hash.java | 3 +++ 6 files changed, 14 insertions(+), 6 deletions(-) diff --git a/benchmarks/pom.xml b/benchmarks/pom.xml index 9d175db33..500cb3fb1 100644 --- a/benchmarks/pom.xml +++ b/benchmarks/pom.xml @@ -53,7 +53,7 @@ org.questdb core - 4.1.5-SNAPSHOT + 4.1.5 org.apache.logging.log4j diff --git a/core/pom.xml b/core/pom.xml index dbf635f8f..491419ffa 100644 --- a/core/pom.xml +++ b/core/pom.xml @@ -32,7 +32,7 @@ UTF-8 - 4.1.5-SNAPSHOT + 4.1.5 org.questdb core jar diff --git a/core/src/main/java/io/questdb/cairo/IntervalBwdDataFrameCursor.java b/core/src/main/java/io/questdb/cairo/IntervalBwdDataFrameCursor.java index 4a8bed7aa..e1906a499 100644 --- a/core/src/main/java/io/questdb/cairo/IntervalBwdDataFrameCursor.java +++ b/core/src/main/java/io/questdb/cairo/IntervalBwdDataFrameCursor.java @@ -34,8 +34,9 @@ public class IntervalBwdDataFrameCursor extends AbstractIntervalDataFrameCursor * Data frame low and high row will be within intervals inclusive of edges. Intervals * themselves are pairs of microsecond time. * - * @param intervals pairs of microsecond interval values, as in "low" and "high" inclusive of - * edges. + * @param intervals pairs of microsecond interval values, as in "low" and "high" inclusive of + * edges. + * @param timestampIndex index of timestamp column in the readr that is used by this cursor */ public IntervalBwdDataFrameCursor(@Transient LongList intervals, int timestampIndex) { super(intervals, timestampIndex); diff --git a/core/src/main/java/io/questdb/cairo/IntervalFwdDataFrameCursor.java b/core/src/main/java/io/questdb/cairo/IntervalFwdDataFrameCursor.java index cc0cf3aa3..cb7b68c11 100644 --- a/core/src/main/java/io/questdb/cairo/IntervalFwdDataFrameCursor.java +++ b/core/src/main/java/io/questdb/cairo/IntervalFwdDataFrameCursor.java @@ -32,8 +32,9 @@ public class IntervalFwdDataFrameCursor extends AbstractIntervalDataFrameCursor * Data frame low and high row will be within intervals inclusive of edges. Intervals * themselves are pairs of microsecond time. * - * @param intervals pairs of microsecond interval values, as in "low" and "high" inclusive of - * edges. + * @param intervals pairs of microsecond interval values, as in "low" and "high" inclusive of + * edges. + * @param timestampIndex index of timestamp column in the readr that is used by this cursor */ public IntervalFwdDataFrameCursor(LongList intervals, int timestampIndex) { super(intervals, timestampIndex); diff --git a/core/src/main/java/io/questdb/cairo/TableWriter.java b/core/src/main/java/io/questdb/cairo/TableWriter.java index 800c0bf68..86443bb70 100644 --- a/core/src/main/java/io/questdb/cairo/TableWriter.java +++ b/core/src/main/java/io/questdb/cairo/TableWriter.java @@ -377,6 +377,7 @@ public class TableWriter implements Closeable { * @param type {@link ColumnType} * @param isIndexed configures column to be indexed or not * @param indexValueBlockCapacity approximation of number of rows for single index key, must be power of 2 + * @param isSequential for columns that contain sequential values query optimiser can make assuptions on range searches (future feature) */ public void addColumn( CharSequence name, @@ -683,6 +684,8 @@ public class TableWriter implements Closeable { *

* Pending rows *

This method will cancel pending rows by calling {@link #cancelRow()}. Data in partially appended row will be lost.

+ * + * @param commitMode commit durability mode. */ public void commit(int commitMode) { diff --git a/core/src/main/java/io/questdb/std/Hash.java b/core/src/main/java/io/questdb/std/Hash.java index 4a9eb5134..9b73d2fca 100644 --- a/core/src/main/java/io/questdb/std/Hash.java +++ b/core/src/main/java/io/questdb/std/Hash.java @@ -79,6 +79,9 @@ public final class Hash { * cheapest possible way to reduce systematic lossage, as well as * to incorporate impact of the highest bits that would otherwise * never be used in index calculations because of table bounds. + * + * @param h hash code + * @return adjusted hash code */ public static int spread(int h) { return (h ^ (h >>> 16)) & HASH_BITS; -- GitLab