Add minimal DictionaryBlock constructor
@@ -44,6 +44,11 @@ public class DictionaryBlock
private volatile int uniqueIds = -1;
private final DictionaryId dictionarySourceId;
+ public DictionaryBlock(Block dictionary, int[] ids)
+ {
+ this(requireNonNull(ids, "ids is null").length, dictionary, ids);
+ }
+
public DictionaryBlock(int positionCount, Block dictionary, int[] ids)
{
this(0, positionCount, dictionary, ids, false, randomDictionaryId());
