diff --git a/src/main/java/org/apache/datasketches/kll/KllPreambleUtil.java b/src/main/java/org/apache/datasketches/kll/KllPreambleUtil.java index dc658626d..05595fb26 100644 --- a/src/main/java/org/apache/datasketches/kll/KllPreambleUtil.java +++ b/src/main/java/org/apache/datasketches/kll/KllPreambleUtil.java @@ -78,12 +78,16 @@ * It is not updatable. * It is identified by the enum SketchStructure.COMPACT_FULL. * - *
  • A serialized, n > 1 non-compact, updatable structure requires 20 bytes of preamble (5 ints). + *
  • A serialized, non-compact, updatable structure, for any n, requires 20 bytes of preamble (5 ints). * This is followed by the LevelsArr int[NumLevels + 1], followed by the min and max values, and then * followed by an items data array that may include free space. It is updatable. - * The details of these fields can be found in the code.. + * The details of these fields can be found in the code. * It is identified by the enum SketchStructure.UPDATABLE. This structure may not be implemented by - * some sketches.
  • + * some sketches. + * In this structure the empty and single-item flags are set when the image is written, but are not + * updated as the sketch changes in place, so they may be stale. The sketch is empty when N is zero, + * and readers of this structure use N, not these flags. + * Only Java reads or writes this structure; it is not a cross-language format. * * *

    Visual Layout