Skip to content

Commit

Permalink
Merge branch 'main' into minor/doc-for-empty-batch
Browse files Browse the repository at this point in the history
  • Loading branch information
mapleFU committed Jun 24, 2024
2 parents 78755f9 + ba863d0 commit 7184fb3
Show file tree
Hide file tree
Showing 69 changed files with 278 additions and 153 deletions.
3 changes: 2 additions & 1 deletion ci/scripts/java_full_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ mvn clean \
-Parrow-c-data \
-Parrow-jni \
-Darrow.cpp.build.dir=$dist_dir \
-Darrow.c.jni.dist.dir=$dist_dir
-Darrow.c.jni.dist.dir=$dist_dir \
--no-transfer-progress

# copy all jar, zip and pom files to the distribution folder
find ~/.m2/repository/org/apache/arrow \
Expand Down
4 changes: 4 additions & 0 deletions ci/scripts/swift_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,14 @@ popd

source_dir=${1}/swift/Arrow
pushd ${source_dir}
sed 's/\/\/ build://g' Package.swift > Package.swift.build
mv Package.swift.build Package.swift
swift test
popd

source_dir=${1}/swift/ArrowFlight
pushd ${source_dir}
sed 's/\/\/ build://g' Package.swift > Package.swift.build
mv Package.swift.build Package.swift
swift test
popd
4 changes: 3 additions & 1 deletion cpp/cmake_modules/ThirdpartyToolchain.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -634,8 +634,10 @@ endif()
if(DEFINED ENV{ARROW_CARES_URL})
set(CARES_SOURCE_URL "$ENV{ARROW_CARES_URL}")
else()
string(REPLACE "." "_" ARROW_CARES_BUILD_VERSION_UNDERSCORES
${ARROW_CARES_BUILD_VERSION})
set_urls(CARES_SOURCE_URL
"https://c-ares.haxx.se/download/c-ares-${ARROW_CARES_BUILD_VERSION}.tar.gz"
"https://github.com/c-ares/c-ares/releases/download/cares-${ARROW_CARES_BUILD_VERSION_UNDERSCORES}/c-ares-${ARROW_CARES_BUILD_VERSION}.tar.gz"
"${THIRDPARTY_MIRROR_URL}/cares-${ARROW_CARES_BUILD_VERSION}.tar.gz")
endif()

Expand Down
5 changes: 3 additions & 2 deletions cpp/src/arrow/compute/kernels/scalar_cast_extension.cc
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,9 @@ Status CastToExtension(KernelContext* ctx, const ExecSpan& batch, ExecResult* ou
std::shared_ptr<CastFunction> GetCastToExtension(std::string name) {
auto func = std::make_shared<CastFunction>(std::move(name), Type::EXTENSION);
for (Type::type in_ty : AllTypeIds()) {
DCHECK_OK(
func->AddKernel(in_ty, {InputType(in_ty)}, kOutputTargetType, CastToExtension));
DCHECK_OK(func->AddKernel(in_ty, {InputType(in_ty)}, kOutputTargetType,
CastToExtension, NullHandling::COMPUTED_NO_PREALLOCATE,
MemAllocation::NO_PREALLOCATE));
}
return func;
}
Expand Down
2 changes: 1 addition & 1 deletion cpp/thirdparty/versions.txt
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ DEPENDENCIES=(
"ARROW_BOOST_URL boost-${ARROW_BOOST_BUILD_VERSION}.tar.gz https://apache.jfrog.io/artifactory/arrow/thirdparty/7.0.0/boost_${ARROW_BOOST_BUILD_VERSION//./_}.tar.gz"
"ARROW_BROTLI_URL brotli-${ARROW_BROTLI_BUILD_VERSION}.tar.gz https://github.com/google/brotli/archive/${ARROW_BROTLI_BUILD_VERSION}.tar.gz"
"ARROW_BZIP2_URL bzip2-${ARROW_BZIP2_BUILD_VERSION}.tar.gz https://sourceware.org/pub/bzip2/bzip2-${ARROW_BZIP2_BUILD_VERSION}.tar.gz"
"ARROW_CARES_URL cares-${ARROW_CARES_BUILD_VERSION}.tar.gz https://c-ares.haxx.se/download/c-ares-${ARROW_CARES_BUILD_VERSION}.tar.gz"
"ARROW_CARES_URL cares-${ARROW_CARES_BUILD_VERSION}.tar.gz https://github.com/c-ares/c-ares/releases/download/cares-${ARROW_CARES_BUILD_VERSION//./_}/c-ares-${ARROW_CARES_BUILD_VERSION}.tar.gz"
"ARROW_CRC32C_URL crc32c-${ARROW_CRC32C_BUILD_VERSION}.tar.gz https://github.com/google/crc32c/archive/refs/tags/${ARROW_CRC32C_BUILD_VERSION}.tar.gz"
"ARROW_GBENCHMARK_URL gbenchmark-${ARROW_GBENCHMARK_BUILD_VERSION}.tar.gz https://github.com/google/benchmark/archive/${ARROW_GBENCHMARK_BUILD_VERSION}.tar.gz"
"ARROW_GFLAGS_URL gflags-${ARROW_GFLAGS_BUILD_VERSION}.tar.gz https://github.com/gflags/gflags/archive/${ARROW_GFLAGS_BUILD_VERSION}.tar.gz"
Expand Down
3 changes: 3 additions & 0 deletions dev/tasks/java-jars/github.yml
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,9 @@ jobs:
test -f arrow/java-dist/arrow_dataset_jni/x86_64/arrow_dataset_jni.dll
test -f arrow/java-dist/arrow_orc_jni/x86_64/arrow_orc_jni.dll
- name: Build bundled jar
env:
MAVEN_ARGS: >-
--no-transfer-progress
run: |
set -e
pushd arrow/java
Expand Down
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1565,6 +1565,7 @@ services:
# so some build might pass without this setting, but we want to ensure that we stay to AVX2 regardless of runner.
EXTRA_CMAKE_FLAGS: "-DARROW_RUNTIME_SIMD_LEVEL=AVX2"
ARROW_SOURCE_HOME: "/arrow"
LIBARROW_DOWNLOAD: "false"
volumes: *ubuntu-volumes
command: >
/bin/bash -c "
Expand Down
4 changes: 3 additions & 1 deletion go/arrow/array/data.go
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,9 @@ func (d *Data) SizeInBytes() uint64 {
}

for _, b := range d.Buffers() {
size += uint64(b.Len())
if b != nil {
size += uint64(b.Len())
}
}
for _, c := range d.Children() {
size += c.SizeInBytes()
Expand Down
12 changes: 12 additions & 0 deletions go/arrow/array/data_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
package array

import (
"slices"
"testing"

"github.com/apache/arrow/go/v17/arrow"
Expand Down Expand Up @@ -60,6 +61,17 @@ func TestSizeInBytes(t *testing.T) {
var arrayData arrow.ArrayData = data
dataWithChild := NewData(&arrow.StringType{}, 10, buffers1, []arrow.ArrayData{arrayData}, 0, 0)

buffers2 := slices.Clone(buffers1)
buffers2[0] = nil
dataWithNilBuffer := NewData(&arrow.StringType{}, 10, buffers2, nil, 0, 0)

t.Run("nil buffers", func(t *testing.T) {
expectedSize := uint64(30)
if actualSize := dataWithNilBuffer.SizeInBytes(); actualSize != expectedSize {
t.Errorf("expected size %d, got %d", expectedSize, actualSize)
}
})

t.Run("buffers only", func(t *testing.T) {
expectedSize := uint64(45)
if actualSize := data.SizeInBytes(); actualSize != expectedSize {
Expand Down
4 changes: 2 additions & 2 deletions java/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ a version of your choosing.

```bash
$ flatc --version
flatc version 23.5.26
flatc version 24.3.25

$ grep "dep.fbs.version" java/pom.xml
<dep.fbs.version>23.5.26</dep.fbs.version>
<dep.fbs.version>24.3.25</dep.fbs.version>
```

2. Generate the flatbuffer java files by performing the following:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
*/
package org.apache.arrow.adapter.avro;

import static junit.framework.TestCase.assertNull;
import static junit.framework.TestCase.assertTrue;
import static org.junit.jupiter.api.Assertions.assertNull;
import static org.junit.jupiter.api.Assertions.assertThrows;
import static org.junit.jupiter.api.Assertions.assertTrue;

import java.math.BigDecimal;
import java.nio.ByteBuffer;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
*/
package org.apache.arrow.adapter.jdbc.h2;

import static junit.framework.TestCase.assertTrue;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;

import java.io.IOException;
import java.sql.SQLException;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -632,7 +632,7 @@ public void testRunExtendedExpressionsProjectAndFilter() throws Exception {
assertThat(sumVector.getValueIterable(), IsIterableContainingInOrder.contains(21, 3, 13));
final ValueIterableVector<Text> nameVector =
(ValueIterableVector<Text>)
reader.getVectorSchemaRoot().getVector("conccat_column_a_and_b");
reader.getVectorSchemaRoot().getVector("concat_column_a_and_b");
assertThat(
nameVector.getValueIterable(),
IsIterableContainingInOrder.contains(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
*/
@SuppressWarnings("unused")
public final class Binary extends Table {
public static void ValidateVersion() { Constants.FLATBUFFERS_23_5_26(); }
public static void ValidateVersion() { Constants.FLATBUFFERS_24_3_25(); }
public static Binary getRootAsBinary(ByteBuffer _bb) { return getRootAsBinary(_bb, new Binary()); }
public static Binary getRootAsBinary(ByteBuffer _bb, Binary obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); }
public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
*/
@SuppressWarnings("unused")
public final class BinaryView extends Table {
public static void ValidateVersion() { Constants.FLATBUFFERS_23_5_26(); }
public static void ValidateVersion() { Constants.FLATBUFFERS_24_3_25(); }
public static BinaryView getRootAsBinaryView(ByteBuffer _bb) { return getRootAsBinaryView(_bb, new BinaryView()); }
public static BinaryView getRootAsBinaryView(ByteBuffer _bb, BinaryView obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); }
public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
*/
@SuppressWarnings("unused")
public final class BodyCompression extends Table {
public static void ValidateVersion() { Constants.FLATBUFFERS_23_5_26(); }
public static void ValidateVersion() { Constants.FLATBUFFERS_24_3_25(); }
public static BodyCompression getRootAsBodyCompression(ByteBuffer _bb) { return getRootAsBodyCompression(_bb, new BodyCompression()); }
public static BodyCompression getRootAsBodyCompression(ByteBuffer _bb, BodyCompression obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); }
public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@

@SuppressWarnings("unused")
public final class Bool extends Table {
public static void ValidateVersion() { Constants.FLATBUFFERS_23_5_26(); }
public static void ValidateVersion() { Constants.FLATBUFFERS_24_3_25(); }
public static Bool getRootAsBool(ByteBuffer _bb) { return getRootAsBool(_bb, new Bool()); }
public static Bool getRootAsBool(ByteBuffer _bb, Bool obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); }
public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
*/
@SuppressWarnings("unused")
public final class Date extends Table {
public static void ValidateVersion() { Constants.FLATBUFFERS_23_5_26(); }
public static void ValidateVersion() { Constants.FLATBUFFERS_24_3_25(); }
public static Date getRootAsDate(ByteBuffer _bb) { return getRootAsDate(_bb, new Date()); }
public static Date getRootAsDate(ByteBuffer _bb, Date obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); }
public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
*/
@SuppressWarnings("unused")
public final class Decimal extends Table {
public static void ValidateVersion() { Constants.FLATBUFFERS_23_5_26(); }
public static void ValidateVersion() { Constants.FLATBUFFERS_24_3_25(); }
public static Decimal getRootAsDecimal(ByteBuffer _bb) { return getRootAsDecimal(_bb, new Decimal()); }
public static Decimal getRootAsDecimal(ByteBuffer _bb, Decimal obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); }
public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
*/
@SuppressWarnings("unused")
public final class DictionaryBatch extends Table {
public static void ValidateVersion() { Constants.FLATBUFFERS_23_5_26(); }
public static void ValidateVersion() { Constants.FLATBUFFERS_24_3_25(); }
public static DictionaryBatch getRootAsDictionaryBatch(ByteBuffer _bb) { return getRootAsDictionaryBatch(_bb, new DictionaryBatch()); }
public static DictionaryBatch getRootAsDictionaryBatch(ByteBuffer _bb, DictionaryBatch obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); }
public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@

@SuppressWarnings("unused")
public final class DictionaryEncoding extends Table {
public static void ValidateVersion() { Constants.FLATBUFFERS_23_5_26(); }
public static void ValidateVersion() { Constants.FLATBUFFERS_24_3_25(); }
public static DictionaryEncoding getRootAsDictionaryEncoding(ByteBuffer _bb) { return getRootAsDictionaryEncoding(_bb, new DictionaryEncoding()); }
public static DictionaryEncoding getRootAsDictionaryEncoding(ByteBuffer _bb, DictionaryEncoding obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); }
public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@

@SuppressWarnings("unused")
public final class Duration extends Table {
public static void ValidateVersion() { Constants.FLATBUFFERS_23_5_26(); }
public static void ValidateVersion() { Constants.FLATBUFFERS_24_3_25(); }
public static Duration getRootAsDuration(ByteBuffer _bb) { return getRootAsDuration(_bb, new Duration()); }
public static Duration getRootAsDuration(ByteBuffer _bb, Duration obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); }
public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
*/
@SuppressWarnings("unused")
public final class Field extends Table {
public static void ValidateVersion() { Constants.FLATBUFFERS_23_5_26(); }
public static void ValidateVersion() { Constants.FLATBUFFERS_24_3_25(); }
public static Field getRootAsField(ByteBuffer _bb) { return getRootAsField(_bb, new Field()); }
public static Field getRootAsField(ByteBuffer _bb, Field obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); }
public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@

@SuppressWarnings("unused")
public final class FixedSizeBinary extends Table {
public static void ValidateVersion() { Constants.FLATBUFFERS_23_5_26(); }
public static void ValidateVersion() { Constants.FLATBUFFERS_24_3_25(); }
public static FixedSizeBinary getRootAsFixedSizeBinary(ByteBuffer _bb) { return getRootAsFixedSizeBinary(_bb, new FixedSizeBinary()); }
public static FixedSizeBinary getRootAsFixedSizeBinary(ByteBuffer _bb, FixedSizeBinary obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); }
public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@

@SuppressWarnings("unused")
public final class FixedSizeList extends Table {
public static void ValidateVersion() { Constants.FLATBUFFERS_23_5_26(); }
public static void ValidateVersion() { Constants.FLATBUFFERS_24_3_25(); }
public static FixedSizeList getRootAsFixedSizeList(ByteBuffer _bb) { return getRootAsFixedSizeList(_bb, new FixedSizeList()); }
public static FixedSizeList getRootAsFixedSizeList(ByteBuffer _bb, FixedSizeList obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); }
public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@

@SuppressWarnings("unused")
public final class FloatingPoint extends Table {
public static void ValidateVersion() { Constants.FLATBUFFERS_23_5_26(); }
public static void ValidateVersion() { Constants.FLATBUFFERS_24_3_25(); }
public static FloatingPoint getRootAsFloatingPoint(ByteBuffer _bb) { return getRootAsFloatingPoint(_bb, new FloatingPoint()); }
public static FloatingPoint getRootAsFloatingPoint(ByteBuffer _bb, FloatingPoint obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); }
public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
*/
@SuppressWarnings("unused")
public final class Footer extends Table {
public static void ValidateVersion() { Constants.FLATBUFFERS_23_5_26(); }
public static void ValidateVersion() { Constants.FLATBUFFERS_24_3_25(); }
public static Footer getRootAsFooter(ByteBuffer _bb) { return getRootAsFooter(_bb, new Footer()); }
public static Footer getRootAsFooter(ByteBuffer _bb, Footer obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); }
public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@

@SuppressWarnings("unused")
public final class Int extends Table {
public static void ValidateVersion() { Constants.FLATBUFFERS_23_5_26(); }
public static void ValidateVersion() { Constants.FLATBUFFERS_24_3_25(); }
public static Int getRootAsInt(ByteBuffer _bb) { return getRootAsInt(_bb, new Int()); }
public static Int getRootAsInt(ByteBuffer _bb, Int obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); }
public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@

@SuppressWarnings("unused")
public final class Interval extends Table {
public static void ValidateVersion() { Constants.FLATBUFFERS_23_5_26(); }
public static void ValidateVersion() { Constants.FLATBUFFERS_24_3_25(); }
public static Interval getRootAsInterval(ByteBuffer _bb) { return getRootAsInterval(_bb, new Interval()); }
public static Interval getRootAsInterval(ByteBuffer _bb, Interval obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); }
public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
*/
@SuppressWarnings("unused")
public final class KeyValue extends Table {
public static void ValidateVersion() { Constants.FLATBUFFERS_23_5_26(); }
public static void ValidateVersion() { Constants.FLATBUFFERS_24_3_25(); }
public static KeyValue getRootAsKeyValue(ByteBuffer _bb) { return getRootAsKeyValue(_bb, new KeyValue()); }
public static KeyValue getRootAsKeyValue(ByteBuffer _bb, KeyValue obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); }
public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
*/
@SuppressWarnings("unused")
public final class LargeBinary extends Table {
public static void ValidateVersion() { Constants.FLATBUFFERS_23_5_26(); }
public static void ValidateVersion() { Constants.FLATBUFFERS_24_3_25(); }
public static LargeBinary getRootAsLargeBinary(ByteBuffer _bb) { return getRootAsLargeBinary(_bb, new LargeBinary()); }
public static LargeBinary getRootAsLargeBinary(ByteBuffer _bb, LargeBinary obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); }
public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
*/
@SuppressWarnings("unused")
public final class LargeList extends Table {
public static void ValidateVersion() { Constants.FLATBUFFERS_23_5_26(); }
public static void ValidateVersion() { Constants.FLATBUFFERS_24_3_25(); }
public static LargeList getRootAsLargeList(ByteBuffer _bb) { return getRootAsLargeList(_bb, new LargeList()); }
public static LargeList getRootAsLargeList(ByteBuffer _bb, LargeList obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); }
public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
*/
@SuppressWarnings("unused")
public final class LargeListView extends Table {
public static void ValidateVersion() { Constants.FLATBUFFERS_23_5_26(); }
public static void ValidateVersion() { Constants.FLATBUFFERS_24_3_25(); }
public static LargeListView getRootAsLargeListView(ByteBuffer _bb) { return getRootAsLargeListView(_bb, new LargeListView()); }
public static LargeListView getRootAsLargeListView(ByteBuffer _bb, LargeListView obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); }
public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
*/
@SuppressWarnings("unused")
public final class LargeUtf8 extends Table {
public static void ValidateVersion() { Constants.FLATBUFFERS_23_5_26(); }
public static void ValidateVersion() { Constants.FLATBUFFERS_24_3_25(); }
public static LargeUtf8 getRootAsLargeUtf8(ByteBuffer _bb) { return getRootAsLargeUtf8(_bb, new LargeUtf8()); }
public static LargeUtf8 getRootAsLargeUtf8(ByteBuffer _bb, LargeUtf8 obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); }
public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@

@SuppressWarnings("unused")
public final class List extends Table {
public static void ValidateVersion() { Constants.FLATBUFFERS_23_5_26(); }
public static void ValidateVersion() { Constants.FLATBUFFERS_24_3_25(); }
public static List getRootAsList(ByteBuffer _bb) { return getRootAsList(_bb, new List()); }
public static List getRootAsList(ByteBuffer _bb, List obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); }
public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); }
Expand Down
Loading

0 comments on commit 7184fb3

Please sign in to comment.