Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ReAvg/ReVar in rollups violates new unordered destination assumption. #1739

Merged
merged 10 commits into from
Dec 28, 2021
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"applyDecoder": "*Overload 1* \n Note: Java generics information - <T>\n \n :param decoder: io.deephaven.util.codec.ObjectDecoder<T>\n :return: T\n \n*Overload 2* \n Note: Java generics information - <T>\n \n :param decoder: io.deephaven.util.codec.ObjectDecoder<T>\n :param offsetSrc: int\n :param length: int\n :return: T",
"chunkWrap": "*Overload 1* \n Note: Java generics information - <ATTR extends io.deephaven.chunk.attributes.Any>\n \n :param data: byte[]\n :return: io.deephaven.chunk.ByteChunk<ATTR>\n \n*Overload 2* \n Note: Java generics information - <ATTR extends io.deephaven.chunk.attributes.Any>\n \n :param data: byte[]\n :param offset: int\n :param capacity: int\n :return: io.deephaven.chunk.ByteChunk<ATTR>",
"copyToArray": "Copy a subrange of this Chunk to the subrange of the 'dest' array.\n\n:param srcOffset: (int) - Starting position in 'this' (the source)\n:param dest: (java.lang.Object) - Destination array.\n:param destOffset: (int) - Starting offset in the destination.\n:param length: (int) - Number of values to copy",
"copyToBuffer": "Copy a sub-range of this chunk to a Buffer. This is an optional method, as some chunk types do not have a\n corresponding buffer type.\n\n \n Implementations are free to copy data as efficiently as they may, and will use absolute rather than positional\n access where possible. To facilitate this pattern, destOffset is an absolute offset from position 0,\n rather than a relative offset from destBuffer.position().\n\n \ndestBuffer.limit() is at least destOffset + length.\n\n \ndestBuffer's position may be modified, but will always be restored to its initial value upon successful\n return.\n\n:param srcOffset: (int) - The offset into this chunk to start copying from\n:param destBuffer: (java.nio.Buffer) - The destination Buffer\n:param destOffset: (int) - The absolute offset into destBuffer to start copying to\n:param length: (int) - The number of elements to copy",
"copyToBuffer": "Copy a sub-range of this chunk to a Buffer. This is an optional method, as some chunk types do not have a\n corresponding buffer type.\n\n \n Implementations are free to copy data as efficiently as they may, and will use absolute rather than positional\n access where possible. To facilitate this pattern, destOffset is an absolute offset from position 0,\n rather than a relative offset from destBuffer.position().\n\n \n It is required that destBuffer.limit() is at least destOffset + length.\n\n \ndestBuffer's position may be modified, but will always be restored to its initial value upon successful\n return.\n\n:param srcOffset: (int) - The offset into this chunk to start copying from\n:param destBuffer: (java.nio.Buffer) - The destination Buffer\n:param destOffset: (int) - The absolute offset into destBuffer to start copying to\n:param length: (int) - The number of elements to copy",
"copyToChunk": "Copy a subrange of this Chunk to the subrange of the 'dest' writable chunk.\n\n:param srcOffset: (int) - Starting position in 'this' (the source)\n:param dest: (io.deephaven.chunk.WritableChunk<? superByteChunk.ATTR>) - Destination writable chunk.\n:param destOffset: (int) - Starting offset in the destination.\n:param length: (int) - Number of values to copy",
"copyToTypedArray": ":param srcOffset: int\n:param destData: byte[]\n:param destOffset: int\n:param length: int",
"copyToTypedBuffer": "Copy a sub-range of this ByteChunk to a ByteBuffer.\n\n See copyToBuffer(int, Buffer, int, int) for general documentation.\n\n:param srcOffset: (int) - The offset into this chunk to start copying from\n:param destBuffer: (java.nio.ByteBuffer) - The destination ByteBuffer\n:param destOffset: (int) - The absolute offset into destBuffer to start copying to\n:param length: (int) - The number of elements to copy",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"methods": {
"chunkWrap": "*Overload 1* \n Note: Java generics information - <ATTR extends io.deephaven.chunk.attributes.Any>\n \n :param data: char[]\n :return: io.deephaven.chunk.CharChunk<ATTR>\n \n*Overload 2* \n Note: Java generics information - <ATTR extends io.deephaven.chunk.attributes.Any>\n \n :param data: char[]\n :param offset: int\n :param capacity: int\n :return: io.deephaven.chunk.CharChunk<ATTR>",
"copyToArray": "Copy a subrange of this Chunk to the subrange of the 'dest' array.\n\n:param srcOffset: (int) - Starting position in 'this' (the source)\n:param dest: (java.lang.Object) - Destination array.\n:param destOffset: (int) - Starting offset in the destination.\n:param length: (int) - Number of values to copy",
"copyToBuffer": "Copy a sub-range of this chunk to a Buffer. This is an optional method, as some chunk types do not have a\n corresponding buffer type.\n\n \n Implementations are free to copy data as efficiently as they may, and will use absolute rather than positional\n access where possible. To facilitate this pattern, destOffset is an absolute offset from position 0,\n rather than a relative offset from destBuffer.position().\n\n \ndestBuffer.limit() is at least destOffset + length.\n\n \ndestBuffer's position may be modified, but will always be restored to its initial value upon successful\n return.\n\n:param srcOffset: (int) - The offset into this chunk to start copying from\n:param destBuffer: (java.nio.Buffer) - The destination Buffer\n:param destOffset: (int) - The absolute offset into destBuffer to start copying to\n:param length: (int) - The number of elements to copy",
"copyToBuffer": "Copy a sub-range of this chunk to a Buffer. This is an optional method, as some chunk types do not have a\n corresponding buffer type.\n\n \n Implementations are free to copy data as efficiently as they may, and will use absolute rather than positional\n access where possible. To facilitate this pattern, destOffset is an absolute offset from position 0,\n rather than a relative offset from destBuffer.position().\n\n \n It is required that destBuffer.limit() is at least destOffset + length.\n\n \ndestBuffer's position may be modified, but will always be restored to its initial value upon successful\n return.\n\n:param srcOffset: (int) - The offset into this chunk to start copying from\n:param destBuffer: (java.nio.Buffer) - The destination Buffer\n:param destOffset: (int) - The absolute offset into destBuffer to start copying to\n:param length: (int) - The number of elements to copy",
"copyToChunk": "Copy a subrange of this Chunk to the subrange of the 'dest' writable chunk.\n\n:param srcOffset: (int) - Starting position in 'this' (the source)\n:param dest: (io.deephaven.chunk.WritableChunk<? superCharChunk.ATTR>) - Destination writable chunk.\n:param destOffset: (int) - Starting offset in the destination.\n:param length: (int) - Number of values to copy",
"copyToTypedArray": ":param srcOffset: int\n:param destData: char[]\n:param destOffset: int\n:param length: int",
"copyToTypedBuffer": "Copy a sub-range of this CharChunk to a CharBuffer.\n\n See copyToBuffer(int, Buffer, int, int) for general documentation.\n\n:param srcOffset: (int) - The offset into this chunk to start copying from\n:param destBuffer: (java.nio.CharBuffer) - The destination CharBuffer\n:param destOffset: (int) - The absolute offset into destBuffer to start copying to\n:param length: (int) - The number of elements to copy",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"asShortChunk": ":return: io.deephaven.chunk.ShortChunk<Chunk.ATTR>",
"checkChunkType": ":param expected: io.deephaven.chunk.ChunkType",
"copyToArray": "Copy a subrange of this Chunk to the subrange of the 'dest' array.\n\n:param srcOffset: (int) - Starting position in 'this' (the source)\n:param dest: (java.lang.Object) - Destination array.\n:param destOffset: (int) - Starting offset in the destination.\n:param size: (int) - Number of values to copy",
"copyToBuffer": "Copy a sub-range of this chunk to a Buffer. This is an optional method, as some chunk types do not have a\n corresponding buffer type.\n\n \n Implementations are free to copy data as efficiently as they may, and will use absolute rather than positional\n access where possible. To facilitate this pattern, destOffset is an absolute offset from position 0,\n rather than a relative offset from destBuffer.position().\n\n \ndestBuffer.limit() is at least destOffset + length.\n\n \ndestBuffer's position may be modified, but will always be restored to its initial value upon successful\n return.\n\n:param srcOffset: (int) - The offset into this chunk to start copying from\n:param destBuffer: (java.nio.Buffer) - The destination Buffer\n:param destOffset: (int) - The absolute offset into destBuffer to start copying to\n:param length: (int) - The number of elements to copy",
"copyToBuffer": "Copy a sub-range of this chunk to a Buffer. This is an optional method, as some chunk types do not have a\n corresponding buffer type.\n\n \n Implementations are free to copy data as efficiently as they may, and will use absolute rather than positional\n access where possible. To facilitate this pattern, destOffset is an absolute offset from position 0,\n rather than a relative offset from destBuffer.position().\n\n \n It is required that destBuffer.limit() is at least destOffset + length.\n\n \ndestBuffer's position may be modified, but will always be restored to its initial value upon successful\n return.\n\n:param srcOffset: (int) - The offset into this chunk to start copying from\n:param destBuffer: (java.nio.Buffer) - The destination Buffer\n:param destOffset: (int) - The absolute offset into destBuffer to start copying to\n:param length: (int) - The number of elements to copy",
"copyToChunk": "Copy a subrange of this Chunk to the subrange of the 'dest' writable chunk.\n\n:param srcOffset: (int) - Starting position in 'this' (the source)\n:param dest: (io.deephaven.chunk.WritableChunk<? superChunk.ATTR>) - Destination writable chunk.\n:param destOffset: (int) - Starting offset in the destination.\n:param size: (int) - Number of values to copy",
"downcast": "Downcast the attribute.\n\n When you know the data in this chunk which you plan to read is a more specific sub-type, you can downcast the\n attribute with this helper method. This might be necessary, for instance, when you have a RowKeys chunk which you\n sort, and now want to treat it as an OrderedRowKeys.\n\nNote: Java generics information - <ATTR extends io.deephaven.chunk.attributes.Any,\nATTR_DERIV extends ATTR>\n\n:param extend: io.deephaven.chunk.Chunk<?\n:return: io.deephaven.chunk.Chunk<ATTR_DERIV>",
"getChunkType": ":return: (io.deephaven.chunk.ChunkType) The underlying chunk type",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"methods": {
"chunkWrap": "*Overload 1* \n Note: Java generics information - <ATTR extends io.deephaven.chunk.attributes.Any>\n \n :param data: double[]\n :return: io.deephaven.chunk.DoubleChunk<ATTR>\n \n*Overload 2* \n Note: Java generics information - <ATTR extends io.deephaven.chunk.attributes.Any>\n \n :param data: double[]\n :param offset: int\n :param capacity: int\n :return: io.deephaven.chunk.DoubleChunk<ATTR>",
"copyToArray": "Copy a subrange of this Chunk to the subrange of the 'dest' array.\n\n:param srcOffset: (int) - Starting position in 'this' (the source)\n:param dest: (java.lang.Object) - Destination array.\n:param destOffset: (int) - Starting offset in the destination.\n:param length: (int) - Number of values to copy",
"copyToBuffer": "Copy a sub-range of this chunk to a Buffer. This is an optional method, as some chunk types do not have a\n corresponding buffer type.\n\n \n Implementations are free to copy data as efficiently as they may, and will use absolute rather than positional\n access where possible. To facilitate this pattern, destOffset is an absolute offset from position 0,\n rather than a relative offset from destBuffer.position().\n\n \ndestBuffer.limit() is at least destOffset + length.\n\n \ndestBuffer's position may be modified, but will always be restored to its initial value upon successful\n return.\n\n:param srcOffset: (int) - The offset into this chunk to start copying from\n:param destBuffer: (java.nio.Buffer) - The destination Buffer\n:param destOffset: (int) - The absolute offset into destBuffer to start copying to\n:param length: (int) - The number of elements to copy",
"copyToBuffer": "Copy a sub-range of this chunk to a Buffer. This is an optional method, as some chunk types do not have a\n corresponding buffer type.\n\n \n Implementations are free to copy data as efficiently as they may, and will use absolute rather than positional\n access where possible. To facilitate this pattern, destOffset is an absolute offset from position 0,\n rather than a relative offset from destBuffer.position().\n\n \n It is required that destBuffer.limit() is at least destOffset + length.\n\n \ndestBuffer's position may be modified, but will always be restored to its initial value upon successful\n return.\n\n:param srcOffset: (int) - The offset into this chunk to start copying from\n:param destBuffer: (java.nio.Buffer) - The destination Buffer\n:param destOffset: (int) - The absolute offset into destBuffer to start copying to\n:param length: (int) - The number of elements to copy",
"copyToChunk": "Copy a subrange of this Chunk to the subrange of the 'dest' writable chunk.\n\n:param srcOffset: (int) - Starting position in 'this' (the source)\n:param dest: (io.deephaven.chunk.WritableChunk<? superDoubleChunk.ATTR>) - Destination writable chunk.\n:param destOffset: (int) - Starting offset in the destination.\n:param length: (int) - Number of values to copy",
"copyToTypedArray": ":param srcOffset: int\n:param destData: double[]\n:param destOffset: int\n:param length: int",
"copyToTypedBuffer": "Copy a sub-range of this DoubleChunk to a DoubleBuffer.\n\n See copyToBuffer(int, Buffer, int, int) for general documentation.\n\n:param srcOffset: (int) - The offset into this chunk to start copying from\n:param destBuffer: (java.nio.DoubleBuffer) - The destination DoubleBuffer\n:param destOffset: (int) - The absolute offset into destBuffer to start copying to\n:param length: (int) - The number of elements to copy",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"methods": {
"chunkWrap": "*Overload 1* \n Note: Java generics information - <ATTR extends io.deephaven.chunk.attributes.Any>\n \n :param data: float[]\n :return: io.deephaven.chunk.FloatChunk<ATTR>\n \n*Overload 2* \n Note: Java generics information - <ATTR extends io.deephaven.chunk.attributes.Any>\n \n :param data: float[]\n :param offset: int\n :param capacity: int\n :return: io.deephaven.chunk.FloatChunk<ATTR>",
"copyToArray": "Copy a subrange of this Chunk to the subrange of the 'dest' array.\n\n:param srcOffset: (int) - Starting position in 'this' (the source)\n:param dest: (java.lang.Object) - Destination array.\n:param destOffset: (int) - Starting offset in the destination.\n:param length: (int) - Number of values to copy",
"copyToBuffer": "Copy a sub-range of this chunk to a Buffer. This is an optional method, as some chunk types do not have a\n corresponding buffer type.\n\n \n Implementations are free to copy data as efficiently as they may, and will use absolute rather than positional\n access where possible. To facilitate this pattern, destOffset is an absolute offset from position 0,\n rather than a relative offset from destBuffer.position().\n\n \ndestBuffer.limit() is at least destOffset + length.\n\n \ndestBuffer's position may be modified, but will always be restored to its initial value upon successful\n return.\n\n:param srcOffset: (int) - The offset into this chunk to start copying from\n:param destBuffer: (java.nio.Buffer) - The destination Buffer\n:param destOffset: (int) - The absolute offset into destBuffer to start copying to\n:param length: (int) - The number of elements to copy",
"copyToBuffer": "Copy a sub-range of this chunk to a Buffer. This is an optional method, as some chunk types do not have a\n corresponding buffer type.\n\n \n Implementations are free to copy data as efficiently as they may, and will use absolute rather than positional\n access where possible. To facilitate this pattern, destOffset is an absolute offset from position 0,\n rather than a relative offset from destBuffer.position().\n\n \n It is required that destBuffer.limit() is at least destOffset + length.\n\n \ndestBuffer's position may be modified, but will always be restored to its initial value upon successful\n return.\n\n:param srcOffset: (int) - The offset into this chunk to start copying from\n:param destBuffer: (java.nio.Buffer) - The destination Buffer\n:param destOffset: (int) - The absolute offset into destBuffer to start copying to\n:param length: (int) - The number of elements to copy",
"copyToChunk": "Copy a subrange of this Chunk to the subrange of the 'dest' writable chunk.\n\n:param srcOffset: (int) - Starting position in 'this' (the source)\n:param dest: (io.deephaven.chunk.WritableChunk<? superFloatChunk.ATTR>) - Destination writable chunk.\n:param destOffset: (int) - Starting offset in the destination.\n:param length: (int) - Number of values to copy",
"copyToTypedArray": ":param srcOffset: int\n:param destData: float[]\n:param destOffset: int\n:param length: int",
"copyToTypedBuffer": "Copy a sub-range of this FloatChunk to a FloatBuffer.\n\n See copyToBuffer(int, Buffer, int, int) for general documentation.\n\n:param srcOffset: (int) - The offset into this chunk to start copying from\n:param destBuffer: (java.nio.FloatBuffer) - The destination FloatBuffer\n:param destOffset: (int) - The absolute offset into destBuffer to start copying to\n:param length: (int) - The number of elements to copy",
Expand Down
Loading