You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by bk...@apache.org on 2024/08/27 16:16:26 UTC
(arrow-nanoarrow) branch main updated: feat: Revendor flatcc (#592)
This is an automated email from the ASF dual-hosted git repository.
bkietz pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-nanoarrow.git
The following commit(s) were added to refs/heads/main by this push:
new 3298ebcd feat: Revendor flatcc (#592)
3298ebcd is described below
commit 3298ebcde46132217c60dc974a4f98c3197fb879
Author: Benjamin Kietzman <be...@gmail.com>
AuthorDate: Tue Aug 27 11:16:21 2024 -0500
feat: Revendor flatcc (#592)
After https://github.com/dvidelabs/flatcc/pull/289 flatcc will not
enforce alignment on empty vectors. This will let us unskip the
null_trivial case in the integration tests
---
CMakeLists.txt | 1 +
dev/update_fbs.sh | 5 +-
dev/update_vendored_flatcc.sh | 59 +-
src/nanoarrow/ipc/flatcc_generated.h | 13446 +++++++++++++------
.../flatcc/include/flatcc/flatcc_accessors.h | 23 +-
thirdparty/flatcc/include/flatcc/flatcc_alloc.h | 1 +
thirdparty/flatcc/include/flatcc/flatcc_builder.h | 17 +-
.../flatcc/include/flatcc/flatcc_flatbuffers.h | 2 +
.../flatcc/{portable => }/flatcc_portable.h | 0
thirdparty/flatcc/include/flatcc/flatcc_rtconfig.h | 9 +
thirdparty/flatcc/include/flatcc/flatcc_verifier.h | 28 +
.../include/flatcc/portable/paligned_alloc.h | 3 +
.../flatcc/include/flatcc/portable/pattributes.h | 4 +-
.../flatcc/include/flatcc/portable/pmemaccess.h | 232 +
.../include/flatcc/portable/portable_basic.h | 2 +
.../flatcc/include/flatcc/portable/prestrict.h | 39 +
.../flatcc/include/flatcc/portable/punaligned.h | 2 +-
thirdparty/flatcc/src/runtime/builder.c | 41 +-
thirdparty/flatcc/src/runtime/verifier.c | 97 +-
19 files changed, 9904 insertions(+), 4107 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 4c98759c..f880d996 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -383,6 +383,7 @@ foreach(target
-Wunused-result
-Wconversion
-Wno-sign-conversion>)
+ target_compile_options(${target} PRIVATE -Wno-misleading-indentation)
elseif(CMAKE_C_COMPILER_ID STREQUAL "AppleClang" OR CMAKE_C_COMPILER_ID STREQUAL
"Clang")
target_compile_options(${target}
diff --git a/dev/update_fbs.sh b/dev/update_fbs.sh
index e6f7fdb7..787e13c6 100755
--- a/dev/update_fbs.sh
+++ b/dev/update_fbs.sh
@@ -16,7 +16,8 @@
# under the License.
# get the .fbs files from the arrow repo
-mkdir format && cd format
+mkdir -p format && cd format
+
curl -L https://github.com/apache/arrow/raw/main/format/Schema.fbs --output Schema.fbs
curl -L https://github.com/apache/arrow/raw/main/format/Tensor.fbs --output Tensor.fbs
curl -L https://github.com/apache/arrow/raw/main/format/SparseTensor.fbs --output SparseTensor.fbs
@@ -24,7 +25,7 @@ curl -L https://github.com/apache/arrow/raw/main/format/Message.fbs --output Mes
curl -L https://github.com/apache/arrow/raw/main/format/File.fbs --output File.fbs
# compile using flatcc
-flatcc --common --reader --builder --verifier --recursive --outfile ../src/nanoarrow/nanoarrow_ipc_flatcc_generated.h *.fbs
+flatcc --common --reader --builder --verifier --recursive --outfile ../../src/nanoarrow/ipc/flatcc_generated.h *.fbs
# clean up
cd ..
diff --git a/dev/update_vendored_flatcc.sh b/dev/update_vendored_flatcc.sh
index f68e3141..716e5f97 100755
--- a/dev/update_vendored_flatcc.sh
+++ b/dev/update_vendored_flatcc.sh
@@ -15,64 +15,61 @@
# specific language governing permissions and limitations
# under the License.
-# Download a flatcc release
-curl -L https://github.com/dvidelabs/flatcc/archive/refs/tags/v0.6.1.zip --output flatcc-src.zip
-unzip flatcc-src.zip -d flatcc-src
-FLATCC_SRC_DIR=flatcc-src/`ls flatcc-src`
+REPO=`git rev-parse --show-toplevel`
+if [ -z "$REPO" ]
+then exit 1
+fi
+
+# Download flatcc
+git clone https://github.com/dvidelabs/flatcc.git
+git -C flatcc checkout bf4f67a16d85541e474f1d67b8fb64913ba72bc7
# Remove previous vendored flatcc
-rm -rf ../thirdparty/flatcc
+rm -rf $REPO/thirdparty/flatcc
# Create the folders we need to exist
-mkdir -p ../thirdparty/flatcc/src/runtime
-mkdir -p ../thirdparty/flatcc/include/flatcc/portable
+mkdir -p $REPO/thirdparty/flatcc/src/runtime
+mkdir -p $REPO/thirdparty/flatcc/include/flatcc/portable
# The only part of the runtime we need
-cp $FLATCC_SRC_DIR/src/runtime/emitter.c \
- $FLATCC_SRC_DIR/src/runtime/builder.c \
- $FLATCC_SRC_DIR/src/runtime/verifier.c \
- $FLATCC_SRC_DIR/src/runtime/refmap.c \
- ../thirdparty/flatcc/src/runtime/
+cp flatcc/src/runtime/emitter.c \
+ flatcc/src/runtime/builder.c \
+ flatcc/src/runtime/verifier.c \
+ flatcc/src/runtime/refmap.c \
+ $REPO/thirdparty/flatcc/src/runtime/
# We also need the headers for those sources. makedepend
# can get those for us in topological order.
-pushd $FLATCC_SRC_DIR/include
# List object dependencies (warns that it can't find system headers, which is OK)
# This list is in topological order and could be used for a single-file include;
# however, this approach is easier to support alongside a previous installation
# of the flatcc runtime.
-makedepend -s#: -f- -- -I. -DFLATCC_PORTABLE -- 2>/dev/null \
- ../src/runtime/emitter.c \
- ../src/runtime/builder.c \
- ../src/runtime/verifier.c \
- ../src/runtime/refmap.c \
- ../src/nanoarrow/nanoarrow_ipc.c | \
+makedepend -s#: -f- -- -Iflatcc/include -I$REPO/src -DFLATCC_PORTABLE -- 2>/dev/null \
+ `ls $REPO/thirdparty/flatcc/src/runtime/*.c` `ls $REPO/src/nanoarrow/ipc/*.c` | \
# Remove the '<src file>.o: ' prefix
sed 's/[^:]*: *//' | \
# Spaces to new lines
sed 's/ /\n/' | \
+ # Remove system headers
+ sed '/^\//d' | \
# Only unique lines (but don't sort to preserve topological order)
awk '!x[$0]++' | \
+ # Remove anything having to do with nanoarrow
+ sed '/nanoarrow/d' | \
# Remove blank lines
- sed '/^$/d' | \
- # Or anything having to do with nanoarrow
- sed '/nanoarrow/d' > ../../../flatcc-headers.txt
+ sed '/^$/d' > flatcc-headers.txt
-popd
+cat flatcc-headers.txt
# Copy the headers we need. Using loops because cp --parents is not portable.
-for file in $(cat flatcc-headers.txt | sed /portable/d); do
- cp "$FLATCC_SRC_DIR/include/$file" ../thirdparty/flatcc/include/flatcc
-done
-for file in $(cat flatcc-headers.txt | sed -n /portable/p); do
- cp "$FLATCC_SRC_DIR/include/$file" ../thirdparty/flatcc/include/flatcc/portable;
+for file in $(cat flatcc-headers.txt); do
+ cp "$file" "$REPO/thirdparty/$file"
done
# And the license
-cp $FLATCC_SRC_DIR/LICENSE ../thirdparty/flatcc
+cp flatcc/LICENSE $REPO/thirdparty/flatcc/LICENSE
# clean up
-rm -rf flatcc-src
-rm flatcc-src.zip
+rm -rf flatcc
rm flatcc-headers.txt
diff --git a/src/nanoarrow/ipc/flatcc_generated.h b/src/nanoarrow/ipc/flatcc_generated.h
index 8237e99b..a78a73f8 100644
--- a/src/nanoarrow/ipc/flatcc_generated.h
+++ b/src/nanoarrow/ipc/flatcc_generated.h
@@ -1,7 +1,7 @@
#ifndef FLATBUFFERS_COMMON_READER_H
#define FLATBUFFERS_COMMON_READER_H
-/* Generated by flatcc 0.6.1 FlatBuffers schema compiler for C by dvide.com */
+/* Generated by flatcc 0.6.2 FlatBuffers schema compiler for C by dvide.com */
/* Common FlatBuffers read functionality for C. */
@@ -189,7 +189,7 @@ static inline int N ## _ ## NK ## _is_present(N ## _table_t t__tmp)\
__## NS ## field_present(ID, t__tmp)\
static inline T ## _union_t N ## _ ## NK ## _union(N ## _table_t t__tmp)\
{ T ## _union_t u__tmp = { 0, 0 }; u__tmp.type = N ## _ ## NK ## _type_get(t__tmp);\
- if (u__tmp.type == 0) { return u__tmp; } u__tmp.value = N ## _ ## NK ## _get(t__tmp); return u__tmp; }\
+ if (u__tmp.type == 0) return u__tmp; u__tmp.value = N ## _ ## NK ## _get(t__tmp); return u__tmp; }\
static inline NS ## string_t N ## _ ## NK ## _as_string(N ## _table_t t__tmp)\
{ return NS ## string_cast_from_generic(N ## _ ## NK ## _get(t__tmp)); }\
@@ -200,7 +200,7 @@ static inline T ## _union_t T ## _union_vec_at(T ## _union_vec_t uv__tmp, size_t
{ T ## _union_t u__tmp = { 0, 0 }; size_t n__tmp = NS ## vec_len(uv__tmp.type);\
FLATCC_ASSERT(n__tmp > (i__tmp) && "index out of range"); u__tmp.type = uv__tmp.type[i__tmp];\
/* Unknown type is treated as NONE for schema evolution. */\
- if (u__tmp.type == 0) { return u__tmp; }\
+ if (u__tmp.type == 0) return u__tmp;\
u__tmp.value = NS ## generic_vec_at(uv__tmp.value, i__tmp); return u__tmp; }\
static inline NS ## string_t T ## _union_vec_at_as_string(T ## _union_vec_t uv__tmp, size_t i__tmp)\
{ return (NS ## string_t) NS ## generic_vec_at_as_string(uv__tmp.value, i__tmp); }\
@@ -579,7 +579,7 @@ static inline N ## _ ## K ## t N ## _as_typed_root(const void *buffer__tmp)\
#ifndef FLATBUFFERS_COMMON_BUILDER_H
#define FLATBUFFERS_COMMON_BUILDER_H
-/* Generated by flatcc 0.6.1 FlatBuffers schema compiler for C by dvide.com */
+/* Generated by flatcc 0.6.2 FlatBuffers schema compiler for C by dvide.com */
/* Common FlatBuffers build functionality for C. */
@@ -810,7 +810,7 @@ static inline N ## _union_vec_ref_t N ## _vec_clone(NS ## builder_t *B, N ##_uni
_uvref.type = flatcc_builder_refmap_find(B, vec.type); _uvref.value = flatcc_builder_refmap_find(B, vec.value);\
_len = N ## _union_vec_len(vec); if (_uvref.type == 0) {\
_uvref.type = flatcc_builder_refmap_insert(B, vec.type, (flatcc_builder_create_type_vector(B, vec.type, _len))); }\
- if (_uvref.type == 0) { return _ret; } if (_uvref.value == 0) {\
+ if (_uvref.type == 0) return _ret; if (_uvref.value == 0) {\
if (flatcc_builder_start_offset_vector(B)) return _ret;\
for (_i = 0; _i < _len; ++_i) { _uref = N ## _clone(B, N ## _union_vec_at(vec, _i));\
if (!_uref.value || !(flatcc_builder_offset_vector_push(B, _uref.value))) return _ret; }\
@@ -915,11 +915,11 @@ __flatbuffers_build_offset_vector(NS, NS ## string)
static inline T *N ## _array_copy(T *p, const T *p2, size_t n)\
{ memcpy(p, p2, n * sizeof(T)); return p; }\
static inline T *N ## _array_copy_from_pe(T *p, const T *p2, size_t n)\
-{ size_t i; if (NS ## is_native_pe()) { memcpy(p, p2, n * sizeof(T)); } else\
- { for (i = 0; i < n; ++i) { N ## _copy_from_pe(&p[i], &p2[i]); } } return p; }\
+{ size_t i; if (NS ## is_native_pe()) memcpy(p, p2, n * sizeof(T)); else\
+ for (i = 0; i < n; ++i) N ## _copy_from_pe(&p[i], &p2[i]); return p; }\
static inline T *N ## _array_copy_to_pe(T *p, const T *p2, size_t n)\
-{ size_t i; if (NS ## is_native_pe()) { memcpy(p, p2, n * sizeof(T)); } else\
- { for (i = 0; i < n; ++i) { N ## _copy_to_pe(&p[i], &p2[i]); } } return p; }
+{ size_t i; if (NS ## is_native_pe()) memcpy(p, p2, n * sizeof(T)); else\
+ for (i = 0; i < n; ++i) N ## _copy_to_pe(&p[i], &p2[i]); return p; }
#define __flatbuffers_define_scalar_primitives(NS, N, T)\
static inline T *N ## _from_pe(T *p) { return __ ## NS ## from_pe(p, N); }\
static inline T *N ## _to_pe(T *p) { return __ ## NS ## to_pe(p, N); }\
@@ -1264,7 +1264,7 @@ __flatbuffers_build_buffer(flatbuffers_)
#ifndef SCHEMA_READER_H
#define SCHEMA_READER_H
-/* Generated by flatcc 0.6.1 FlatBuffers schema compiler for C by dvide.com */
+/* Generated by flatcc 0.6.2 FlatBuffers schema compiler for C by dvide.com */
#ifndef FLATBUFFERS_COMMON_READER_H
#include "flatbuffers_common_reader.h"
@@ -1303,6 +1303,14 @@ typedef const struct org_apache_arrow_flatbuf_LargeList_table *org_apache_arrow_
typedef struct org_apache_arrow_flatbuf_LargeList_table *org_apache_arrow_flatbuf_LargeList_mutable_table_t;
typedef const flatbuffers_uoffset_t *org_apache_arrow_flatbuf_LargeList_vec_t;
typedef flatbuffers_uoffset_t *org_apache_arrow_flatbuf_LargeList_mutable_vec_t;
+typedef const struct org_apache_arrow_flatbuf_ListView_table *org_apache_arrow_flatbuf_ListView_table_t;
+typedef struct org_apache_arrow_flatbuf_ListView_table *org_apache_arrow_flatbuf_ListView_mutable_table_t;
+typedef const flatbuffers_uoffset_t *org_apache_arrow_flatbuf_ListView_vec_t;
+typedef flatbuffers_uoffset_t *org_apache_arrow_flatbuf_ListView_mutable_vec_t;
+typedef const struct org_apache_arrow_flatbuf_LargeListView_table *org_apache_arrow_flatbuf_LargeListView_table_t;
+typedef struct org_apache_arrow_flatbuf_LargeListView_table *org_apache_arrow_flatbuf_LargeListView_mutable_table_t;
+typedef const flatbuffers_uoffset_t *org_apache_arrow_flatbuf_LargeListView_vec_t;
+typedef flatbuffers_uoffset_t *org_apache_arrow_flatbuf_LargeListView_mutable_vec_t;
typedef const struct org_apache_arrow_flatbuf_FixedSizeList_table *org_apache_arrow_flatbuf_FixedSizeList_table_t;
typedef struct org_apache_arrow_flatbuf_FixedSizeList_table *org_apache_arrow_flatbuf_FixedSizeList_mutable_table_t;
typedef const flatbuffers_uoffset_t *org_apache_arrow_flatbuf_FixedSizeList_vec_t;
@@ -1339,6 +1347,14 @@ typedef const struct org_apache_arrow_flatbuf_LargeBinary_table *org_apache_arro
typedef struct org_apache_arrow_flatbuf_LargeBinary_table *org_apache_arrow_flatbuf_LargeBinary_mutable_table_t;
typedef const flatbuffers_uoffset_t *org_apache_arrow_flatbuf_LargeBinary_vec_t;
typedef flatbuffers_uoffset_t *org_apache_arrow_flatbuf_LargeBinary_mutable_vec_t;
+typedef const struct org_apache_arrow_flatbuf_Utf8View_table *org_apache_arrow_flatbuf_Utf8View_table_t;
+typedef struct org_apache_arrow_flatbuf_Utf8View_table *org_apache_arrow_flatbuf_Utf8View_mutable_table_t;
+typedef const flatbuffers_uoffset_t *org_apache_arrow_flatbuf_Utf8View_vec_t;
+typedef flatbuffers_uoffset_t *org_apache_arrow_flatbuf_Utf8View_mutable_vec_t;
+typedef const struct org_apache_arrow_flatbuf_BinaryView_table *org_apache_arrow_flatbuf_BinaryView_table_t;
+typedef struct org_apache_arrow_flatbuf_BinaryView_table *org_apache_arrow_flatbuf_BinaryView_mutable_table_t;
+typedef const flatbuffers_uoffset_t *org_apache_arrow_flatbuf_BinaryView_vec_t;
+typedef flatbuffers_uoffset_t *org_apache_arrow_flatbuf_BinaryView_mutable_vec_t;
typedef const struct org_apache_arrow_flatbuf_FixedSizeBinary_table *org_apache_arrow_flatbuf_FixedSizeBinary_table_t;
typedef struct org_apache_arrow_flatbuf_FixedSizeBinary_table *org_apache_arrow_flatbuf_FixedSizeBinary_mutable_table_t;
typedef const flatbuffers_uoffset_t *org_apache_arrow_flatbuf_FixedSizeBinary_vec_t;
@@ -1439,6 +1455,30 @@ typedef flatbuffers_uoffset_t *org_apache_arrow_flatbuf_Schema_mutable_vec_t;
#ifndef org_apache_arrow_flatbuf_LargeList_file_extension
#define org_apache_arrow_flatbuf_LargeList_file_extension "bin"
#endif
+#ifndef org_apache_arrow_flatbuf_ListView_file_identifier
+#define org_apache_arrow_flatbuf_ListView_file_identifier 0
+#endif
+/* deprecated, use org_apache_arrow_flatbuf_ListView_file_identifier */
+#ifndef org_apache_arrow_flatbuf_ListView_identifier
+#define org_apache_arrow_flatbuf_ListView_identifier 0
+#endif
+#define org_apache_arrow_flatbuf_ListView_type_hash ((flatbuffers_thash_t)0x23d37919)
+#define org_apache_arrow_flatbuf_ListView_type_identifier "\x19\x79\xd3\x23"
+#ifndef org_apache_arrow_flatbuf_ListView_file_extension
+#define org_apache_arrow_flatbuf_ListView_file_extension "bin"
+#endif
+#ifndef org_apache_arrow_flatbuf_LargeListView_file_identifier
+#define org_apache_arrow_flatbuf_LargeListView_file_identifier 0
+#endif
+/* deprecated, use org_apache_arrow_flatbuf_LargeListView_file_identifier */
+#ifndef org_apache_arrow_flatbuf_LargeListView_identifier
+#define org_apache_arrow_flatbuf_LargeListView_identifier 0
+#endif
+#define org_apache_arrow_flatbuf_LargeListView_type_hash ((flatbuffers_thash_t)0x28efac02)
+#define org_apache_arrow_flatbuf_LargeListView_type_identifier "\x02\xac\xef\x28"
+#ifndef org_apache_arrow_flatbuf_LargeListView_file_extension
+#define org_apache_arrow_flatbuf_LargeListView_file_extension "bin"
+#endif
#ifndef org_apache_arrow_flatbuf_FixedSizeList_file_identifier
#define org_apache_arrow_flatbuf_FixedSizeList_file_identifier 0
#endif
@@ -1547,6 +1587,30 @@ typedef flatbuffers_uoffset_t *org_apache_arrow_flatbuf_Schema_mutable_vec_t;
#ifndef org_apache_arrow_flatbuf_LargeBinary_file_extension
#define org_apache_arrow_flatbuf_LargeBinary_file_extension "bin"
#endif
+#ifndef org_apache_arrow_flatbuf_Utf8View_file_identifier
+#define org_apache_arrow_flatbuf_Utf8View_file_identifier 0
+#endif
+/* deprecated, use org_apache_arrow_flatbuf_Utf8View_file_identifier */
+#ifndef org_apache_arrow_flatbuf_Utf8View_identifier
+#define org_apache_arrow_flatbuf_Utf8View_identifier 0
+#endif
+#define org_apache_arrow_flatbuf_Utf8View_type_hash ((flatbuffers_thash_t)0xab7692)
+#define org_apache_arrow_flatbuf_Utf8View_type_identifier "\x92\x76\xab\x00"
+#ifndef org_apache_arrow_flatbuf_Utf8View_file_extension
+#define org_apache_arrow_flatbuf_Utf8View_file_extension "bin"
+#endif
+#ifndef org_apache_arrow_flatbuf_BinaryView_file_identifier
+#define org_apache_arrow_flatbuf_BinaryView_file_identifier 0
+#endif
+/* deprecated, use org_apache_arrow_flatbuf_BinaryView_file_identifier */
+#ifndef org_apache_arrow_flatbuf_BinaryView_identifier
+#define org_apache_arrow_flatbuf_BinaryView_identifier 0
+#endif
+#define org_apache_arrow_flatbuf_BinaryView_type_hash ((flatbuffers_thash_t)0x18c52428)
+#define org_apache_arrow_flatbuf_BinaryView_type_identifier "\x28\x24\xc5\x18"
+#ifndef org_apache_arrow_flatbuf_BinaryView_file_extension
+#define org_apache_arrow_flatbuf_BinaryView_file_extension "bin"
+#endif
#ifndef org_apache_arrow_flatbuf_FixedSizeBinary_file_identifier
#define org_apache_arrow_flatbuf_FixedSizeBinary_file_identifier 0
#endif
@@ -2041,6 +2105,29 @@ __flatbuffers_offset_vec_at(org_apache_arrow_flatbuf_LargeList_table_t, vec, i,
__flatbuffers_table_as_root(org_apache_arrow_flatbuf_LargeList)
+/** Represents the same logical types that List can, but contains offsets and
+ * sizes allowing for writes in any order and sharing of child values among
+ * list values. */
+struct org_apache_arrow_flatbuf_ListView_table { uint8_t unused__; };
+
+static inline size_t org_apache_arrow_flatbuf_ListView_vec_len(org_apache_arrow_flatbuf_ListView_vec_t vec)
+__flatbuffers_vec_len(vec)
+static inline org_apache_arrow_flatbuf_ListView_table_t org_apache_arrow_flatbuf_ListView_vec_at(org_apache_arrow_flatbuf_ListView_vec_t vec, size_t i)
+__flatbuffers_offset_vec_at(org_apache_arrow_flatbuf_ListView_table_t, vec, i, 0)
+__flatbuffers_table_as_root(org_apache_arrow_flatbuf_ListView)
+
+
+/** Same as ListView, but with 64-bit offsets and sizes, allowing to represent
+ * extremely large data values. */
+struct org_apache_arrow_flatbuf_LargeListView_table { uint8_t unused__; };
+
+static inline size_t org_apache_arrow_flatbuf_LargeListView_vec_len(org_apache_arrow_flatbuf_LargeListView_vec_t vec)
+__flatbuffers_vec_len(vec)
+static inline org_apache_arrow_flatbuf_LargeListView_table_t org_apache_arrow_flatbuf_LargeListView_vec_at(org_apache_arrow_flatbuf_LargeListView_vec_t vec, size_t i)
+__flatbuffers_offset_vec_at(org_apache_arrow_flatbuf_LargeListView_table_t, vec, i, 0)
+__flatbuffers_table_as_root(org_apache_arrow_flatbuf_LargeListView)
+
+
struct org_apache_arrow_flatbuf_FixedSizeList_table { uint8_t unused__; };
static inline size_t org_apache_arrow_flatbuf_FixedSizeList_vec_len(org_apache_arrow_flatbuf_FixedSizeList_vec_t vec)
@@ -2166,6 +2253,38 @@ __flatbuffers_offset_vec_at(org_apache_arrow_flatbuf_LargeBinary_table_t, vec, i
__flatbuffers_table_as_root(org_apache_arrow_flatbuf_LargeBinary)
+/** Logically the same as Utf8, but the internal representation uses a view
+ * struct that contains the string length and either the string's entire data
+ * inline (for small strings) or an inlined prefix, an index of another buffer,
+ * and an offset pointing to a slice in that buffer (for non-small strings).
+ *
+ * Since it uses a variable number of data buffers, each Field with this type
+ * must have a corresponding entry in `variadicBufferCounts`. */
+struct org_apache_arrow_flatbuf_Utf8View_table { uint8_t unused__; };
+
+static inline size_t org_apache_arrow_flatbuf_Utf8View_vec_len(org_apache_arrow_flatbuf_Utf8View_vec_t vec)
+__flatbuffers_vec_len(vec)
+static inline org_apache_arrow_flatbuf_Utf8View_table_t org_apache_arrow_flatbuf_Utf8View_vec_at(org_apache_arrow_flatbuf_Utf8View_vec_t vec, size_t i)
+__flatbuffers_offset_vec_at(org_apache_arrow_flatbuf_Utf8View_table_t, vec, i, 0)
+__flatbuffers_table_as_root(org_apache_arrow_flatbuf_Utf8View)
+
+
+/** Logically the same as Binary, but the internal representation uses a view
+ * struct that contains the string length and either the string's entire data
+ * inline (for small strings) or an inlined prefix, an index of another buffer,
+ * and an offset pointing to a slice in that buffer (for non-small strings).
+ *
+ * Since it uses a variable number of data buffers, each Field with this type
+ * must have a corresponding entry in `variadicBufferCounts`. */
+struct org_apache_arrow_flatbuf_BinaryView_table { uint8_t unused__; };
+
+static inline size_t org_apache_arrow_flatbuf_BinaryView_vec_len(org_apache_arrow_flatbuf_BinaryView_vec_t vec)
+__flatbuffers_vec_len(vec)
+static inline org_apache_arrow_flatbuf_BinaryView_table_t org_apache_arrow_flatbuf_BinaryView_vec_at(org_apache_arrow_flatbuf_BinaryView_vec_t vec, size_t i)
+__flatbuffers_offset_vec_at(org_apache_arrow_flatbuf_BinaryView_table_t, vec, i, 0)
+__flatbuffers_table_as_root(org_apache_arrow_flatbuf_BinaryView)
+
+
struct org_apache_arrow_flatbuf_FixedSizeBinary_table { uint8_t unused__; };
static inline size_t org_apache_arrow_flatbuf_FixedSizeBinary_vec_len(org_apache_arrow_flatbuf_FixedSizeBinary_vec_t vec)
@@ -2360,7 +2479,7 @@ __flatbuffers_define_scalar_field(1, org_apache_arrow_flatbuf_Time, bitWidth, fl
* no indication of how to map this information to a physical point in time.
* Naive date-times must be handled with care because of this missing
* information, and also because daylight saving time (DST) may make
- * some values ambiguous or non-existent. A naive date-time may be
+ * some values ambiguous or nonexistent. A naive date-time may be
* stored as a struct with Date and Time fields. However, it may also be
* encoded into a Timestamp column with an empty timezone. The timestamp
* values should be computed "as if" the timezone of the date-time values
@@ -2438,6 +2557,10 @@ __flatbuffers_define_union(flatbuffers_, org_apache_arrow_flatbuf_Type)
#define org_apache_arrow_flatbuf_Type_LargeUtf8 ((org_apache_arrow_flatbuf_Type_union_type_t)UINT8_C(20))
#define org_apache_arrow_flatbuf_Type_LargeList ((org_apache_arrow_flatbuf_Type_union_type_t)UINT8_C(21))
#define org_apache_arrow_flatbuf_Type_RunEndEncoded ((org_apache_arrow_flatbuf_Type_union_type_t)UINT8_C(22))
+#define org_apache_arrow_flatbuf_Type_BinaryView ((org_apache_arrow_flatbuf_Type_union_type_t)UINT8_C(23))
+#define org_apache_arrow_flatbuf_Type_Utf8View ((org_apache_arrow_flatbuf_Type_union_type_t)UINT8_C(24))
+#define org_apache_arrow_flatbuf_Type_ListView ((org_apache_arrow_flatbuf_Type_union_type_t)UINT8_C(25))
+#define org_apache_arrow_flatbuf_Type_LargeListView ((org_apache_arrow_flatbuf_Type_union_type_t)UINT8_C(26))
static inline const char *org_apache_arrow_flatbuf_Type_type_name(org_apache_arrow_flatbuf_Type_union_type_t type)
{
@@ -2465,6 +2588,10 @@ static inline const char *org_apache_arrow_flatbuf_Type_type_name(org_apache_arr
case org_apache_arrow_flatbuf_Type_LargeUtf8: return "LargeUtf8";
case org_apache_arrow_flatbuf_Type_LargeList: return "LargeList";
case org_apache_arrow_flatbuf_Type_RunEndEncoded: return "RunEndEncoded";
+ case org_apache_arrow_flatbuf_Type_BinaryView: return "BinaryView";
+ case org_apache_arrow_flatbuf_Type_Utf8View: return "Utf8View";
+ case org_apache_arrow_flatbuf_Type_ListView: return "ListView";
+ case org_apache_arrow_flatbuf_Type_LargeListView: return "LargeListView";
default: return "";
}
}
@@ -2495,6 +2622,10 @@ static inline int org_apache_arrow_flatbuf_Type_is_known_type(org_apache_arrow_f
case org_apache_arrow_flatbuf_Type_LargeUtf8: return 1;
case org_apache_arrow_flatbuf_Type_LargeList: return 1;
case org_apache_arrow_flatbuf_Type_RunEndEncoded: return 1;
+ case org_apache_arrow_flatbuf_Type_BinaryView: return 1;
+ case org_apache_arrow_flatbuf_Type_Utf8View: return 1;
+ case org_apache_arrow_flatbuf_Type_ListView: return 1;
+ case org_apache_arrow_flatbuf_Type_LargeListView: return 1;
default: return 0;
}
}
@@ -2586,7 +2717,7 @@ __flatbuffers_define_vector_field(3, org_apache_arrow_flatbuf_Schema, features,
#ifndef SCHEMA_BUILDER_H
#define SCHEMA_BUILDER_H
-/* Generated by flatcc 0.6.1 FlatBuffers schema compiler for C by dvide.com */
+/* Generated by flatcc 0.6.2 FlatBuffers schema compiler for C by dvide.com */
#ifndef SCHEMA_READER_H
#include "Schema_reader.h"
@@ -2677,6 +2808,16 @@ typedef flatbuffers_ref_t org_apache_arrow_flatbuf_LargeList_ref_t;
static org_apache_arrow_flatbuf_LargeList_ref_t org_apache_arrow_flatbuf_LargeList_clone(flatbuffers_builder_t *B, org_apache_arrow_flatbuf_LargeList_table_t t);
__flatbuffers_build_table(flatbuffers_, org_apache_arrow_flatbuf_LargeList, 0)
+static const flatbuffers_voffset_t __org_apache_arrow_flatbuf_ListView_required[] = { 0 };
+typedef flatbuffers_ref_t org_apache_arrow_flatbuf_ListView_ref_t;
+static org_apache_arrow_flatbuf_ListView_ref_t org_apache_arrow_flatbuf_ListView_clone(flatbuffers_builder_t *B, org_apache_arrow_flatbuf_ListView_table_t t);
+__flatbuffers_build_table(flatbuffers_, org_apache_arrow_flatbuf_ListView, 0)
+
+static const flatbuffers_voffset_t __org_apache_arrow_flatbuf_LargeListView_required[] = { 0 };
+typedef flatbuffers_ref_t org_apache_arrow_flatbuf_LargeListView_ref_t;
+static org_apache_arrow_flatbuf_LargeListView_ref_t org_apache_arrow_flatbuf_LargeListView_clone(flatbuffers_builder_t *B, org_apache_arrow_flatbuf_LargeListView_table_t t);
+__flatbuffers_build_table(flatbuffers_, org_apache_arrow_flatbuf_LargeListView, 0)
+
static const flatbuffers_voffset_t __org_apache_arrow_flatbuf_FixedSizeList_required[] = { 0 };
typedef flatbuffers_ref_t org_apache_arrow_flatbuf_FixedSizeList_ref_t;
static org_apache_arrow_flatbuf_FixedSizeList_ref_t org_apache_arrow_flatbuf_FixedSizeList_clone(flatbuffers_builder_t *B, org_apache_arrow_flatbuf_FixedSizeList_table_t t);
@@ -2722,6 +2863,16 @@ typedef flatbuffers_ref_t org_apache_arrow_flatbuf_LargeBinary_ref_t;
static org_apache_arrow_flatbuf_LargeBinary_ref_t org_apache_arrow_flatbuf_LargeBinary_clone(flatbuffers_builder_t *B, org_apache_arrow_flatbuf_LargeBinary_table_t t);
__flatbuffers_build_table(flatbuffers_, org_apache_arrow_flatbuf_LargeBinary, 0)
+static const flatbuffers_voffset_t __org_apache_arrow_flatbuf_Utf8View_required[] = { 0 };
+typedef flatbuffers_ref_t org_apache_arrow_flatbuf_Utf8View_ref_t;
+static org_apache_arrow_flatbuf_Utf8View_ref_t org_apache_arrow_flatbuf_Utf8View_clone(flatbuffers_builder_t *B, org_apache_arrow_flatbuf_Utf8View_table_t t);
+__flatbuffers_build_table(flatbuffers_, org_apache_arrow_flatbuf_Utf8View, 0)
+
+static const flatbuffers_voffset_t __org_apache_arrow_flatbuf_BinaryView_required[] = { 0 };
+typedef flatbuffers_ref_t org_apache_arrow_flatbuf_BinaryView_ref_t;
+static org_apache_arrow_flatbuf_BinaryView_ref_t org_apache_arrow_flatbuf_BinaryView_clone(flatbuffers_builder_t *B, org_apache_arrow_flatbuf_BinaryView_table_t t);
+__flatbuffers_build_table(flatbuffers_, org_apache_arrow_flatbuf_BinaryView, 0)
+
static const flatbuffers_voffset_t __org_apache_arrow_flatbuf_FixedSizeBinary_required[] = { 0 };
typedef flatbuffers_ref_t org_apache_arrow_flatbuf_FixedSizeBinary_ref_t;
static org_apache_arrow_flatbuf_FixedSizeBinary_ref_t org_apache_arrow_flatbuf_FixedSizeBinary_clone(flatbuffers_builder_t *B, org_apache_arrow_flatbuf_FixedSizeBinary_table_t t);
@@ -2807,6 +2958,16 @@ __flatbuffers_build_table_prolog(flatbuffers_, org_apache_arrow_flatbuf_List, or
static inline org_apache_arrow_flatbuf_LargeList_ref_t org_apache_arrow_flatbuf_LargeList_create(flatbuffers_builder_t *B __org_apache_arrow_flatbuf_LargeList_formal_args);
__flatbuffers_build_table_prolog(flatbuffers_, org_apache_arrow_flatbuf_LargeList, org_apache_arrow_flatbuf_LargeList_file_identifier, org_apache_arrow_flatbuf_LargeList_type_identifier)
+#define __org_apache_arrow_flatbuf_ListView_formal_args
+#define __org_apache_arrow_flatbuf_ListView_call_args
+static inline org_apache_arrow_flatbuf_ListView_ref_t org_apache_arrow_flatbuf_ListView_create(flatbuffers_builder_t *B __org_apache_arrow_flatbuf_ListView_formal_args);
+__flatbuffers_build_table_prolog(flatbuffers_, org_apache_arrow_flatbuf_ListView, org_apache_arrow_flatbuf_ListView_file_identifier, org_apache_arrow_flatbuf_ListView_type_identifier)
+
+#define __org_apache_arrow_flatbuf_LargeListView_formal_args
+#define __org_apache_arrow_flatbuf_LargeListView_call_args
+static inline org_apache_arrow_flatbuf_LargeListView_ref_t org_apache_arrow_flatbuf_LargeListView_create(flatbuffers_builder_t *B __org_apache_arrow_flatbuf_LargeListView_formal_args);
+__flatbuffers_build_table_prolog(flatbuffers_, org_apache_arrow_flatbuf_LargeListView, org_apache_arrow_flatbuf_LargeListView_file_identifier, org_apache_arrow_flatbuf_LargeListView_type_identifier)
+
#define __org_apache_arrow_flatbuf_FixedSizeList_formal_args , int32_t v0
#define __org_apache_arrow_flatbuf_FixedSizeList_call_args , v0
static inline org_apache_arrow_flatbuf_FixedSizeList_ref_t org_apache_arrow_flatbuf_FixedSizeList_create(flatbuffers_builder_t *B __org_apache_arrow_flatbuf_FixedSizeList_formal_args);
@@ -2852,6 +3013,16 @@ __flatbuffers_build_table_prolog(flatbuffers_, org_apache_arrow_flatbuf_LargeUtf
static inline org_apache_arrow_flatbuf_LargeBinary_ref_t org_apache_arrow_flatbuf_LargeBinary_create(flatbuffers_builder_t *B __org_apache_arrow_flatbuf_LargeBinary_formal_args);
__flatbuffers_build_table_prolog(flatbuffers_, org_apache_arrow_flatbuf_LargeBinary, org_apache_arrow_flatbuf_LargeBinary_file_identifier, org_apache_arrow_flatbuf_LargeBinary_type_identifier)
+#define __org_apache_arrow_flatbuf_Utf8View_formal_args
+#define __org_apache_arrow_flatbuf_Utf8View_call_args
+static inline org_apache_arrow_flatbuf_Utf8View_ref_t org_apache_arrow_flatbuf_Utf8View_create(flatbuffers_builder_t *B __org_apache_arrow_flatbuf_Utf8View_formal_args);
+__flatbuffers_build_table_prolog(flatbuffers_, org_apache_arrow_flatbuf_Utf8View, org_apache_arrow_flatbuf_Utf8View_file_identifier, org_apache_arrow_flatbuf_Utf8View_type_identifier)
+
+#define __org_apache_arrow_flatbuf_BinaryView_formal_args
+#define __org_apache_arrow_flatbuf_BinaryView_call_args
+static inline org_apache_arrow_flatbuf_BinaryView_ref_t org_apache_arrow_flatbuf_BinaryView_create(flatbuffers_builder_t *B __org_apache_arrow_flatbuf_BinaryView_formal_args);
+__flatbuffers_build_table_prolog(flatbuffers_, org_apache_arrow_flatbuf_BinaryView, org_apache_arrow_flatbuf_BinaryView_file_identifier, org_apache_arrow_flatbuf_BinaryView_type_identifier)
+
#define __org_apache_arrow_flatbuf_FixedSizeBinary_formal_args , int32_t v0
#define __org_apache_arrow_flatbuf_FixedSizeBinary_call_args , v0
static inline org_apache_arrow_flatbuf_FixedSizeBinary_ref_t org_apache_arrow_flatbuf_FixedSizeBinary_create(flatbuffers_builder_t *B __org_apache_arrow_flatbuf_FixedSizeBinary_formal_args);
@@ -2965,6 +3136,14 @@ static inline org_apache_arrow_flatbuf_Type_union_ref_t org_apache_arrow_flatbuf
{ org_apache_arrow_flatbuf_Type_union_ref_t uref; uref.type = org_apache_arrow_flatbuf_Type_LargeList; uref.value = ref; return uref; }
static inline org_apache_arrow_flatbuf_Type_union_ref_t org_apache_arrow_flatbuf_Type_as_RunEndEncoded(org_apache_arrow_flatbuf_RunEndEncoded_ref_t ref)
{ org_apache_arrow_flatbuf_Type_union_ref_t uref; uref.type = org_apache_arrow_flatbuf_Type_RunEndEncoded; uref.value = ref; return uref; }
+static inline org_apache_arrow_flatbuf_Type_union_ref_t org_apache_arrow_flatbuf_Type_as_BinaryView(org_apache_arrow_flatbuf_BinaryView_ref_t ref)
+{ org_apache_arrow_flatbuf_Type_union_ref_t uref; uref.type = org_apache_arrow_flatbuf_Type_BinaryView; uref.value = ref; return uref; }
+static inline org_apache_arrow_flatbuf_Type_union_ref_t org_apache_arrow_flatbuf_Type_as_Utf8View(org_apache_arrow_flatbuf_Utf8View_ref_t ref)
+{ org_apache_arrow_flatbuf_Type_union_ref_t uref; uref.type = org_apache_arrow_flatbuf_Type_Utf8View; uref.value = ref; return uref; }
+static inline org_apache_arrow_flatbuf_Type_union_ref_t org_apache_arrow_flatbuf_Type_as_ListView(org_apache_arrow_flatbuf_ListView_ref_t ref)
+{ org_apache_arrow_flatbuf_Type_union_ref_t uref; uref.type = org_apache_arrow_flatbuf_Type_ListView; uref.value = ref; return uref; }
+static inline org_apache_arrow_flatbuf_Type_union_ref_t org_apache_arrow_flatbuf_Type_as_LargeListView(org_apache_arrow_flatbuf_LargeListView_ref_t ref)
+{ org_apache_arrow_flatbuf_Type_union_ref_t uref; uref.type = org_apache_arrow_flatbuf_Type_LargeListView; uref.value = ref; return uref; }
__flatbuffers_build_union_vector(flatbuffers_, org_apache_arrow_flatbuf_Type)
static org_apache_arrow_flatbuf_Type_union_ref_t org_apache_arrow_flatbuf_Type_clone(flatbuffers_builder_t *B, org_apache_arrow_flatbuf_Type_union_t u)
@@ -2992,6 +3171,10 @@ static org_apache_arrow_flatbuf_Type_union_ref_t org_apache_arrow_flatbuf_Type_c
case 20: return org_apache_arrow_flatbuf_Type_as_LargeUtf8(org_apache_arrow_flatbuf_LargeUtf8_clone(B, (org_apache_arrow_flatbuf_LargeUtf8_table_t)u.value));
case 21: return org_apache_arrow_flatbuf_Type_as_LargeList(org_apache_arrow_flatbuf_LargeList_clone(B, (org_apache_arrow_flatbuf_LargeList_table_t)u.value));
case 22: return org_apache_arrow_flatbuf_Type_as_RunEndEncoded(org_apache_arrow_flatbuf_RunEndEncoded_clone(B, (org_apache_arrow_flatbuf_RunEndEncoded_table_t)u.value));
+ case 23: return org_apache_arrow_flatbuf_Type_as_BinaryView(org_apache_arrow_flatbuf_BinaryView_clone(B, (org_apache_arrow_flatbuf_BinaryView_table_t)u.value));
+ case 24: return org_apache_arrow_flatbuf_Type_as_Utf8View(org_apache_arrow_flatbuf_Utf8View_clone(B, (org_apache_arrow_flatbuf_Utf8View_table_t)u.value));
+ case 25: return org_apache_arrow_flatbuf_Type_as_ListView(org_apache_arrow_flatbuf_ListView_clone(B, (org_apache_arrow_flatbuf_ListView_table_t)u.value));
+ case 26: return org_apache_arrow_flatbuf_Type_as_LargeListView(org_apache_arrow_flatbuf_LargeListView_clone(B, (org_apache_arrow_flatbuf_LargeListView_table_t)u.value));
default: return org_apache_arrow_flatbuf_Type_as_NONE();
}
}
@@ -3068,6 +3251,42 @@ static org_apache_arrow_flatbuf_LargeList_ref_t org_apache_arrow_flatbuf_LargeLi
__flatbuffers_memoize_end(B, t, org_apache_arrow_flatbuf_LargeList_end(B));
}
+
+static inline org_apache_arrow_flatbuf_ListView_ref_t org_apache_arrow_flatbuf_ListView_create(flatbuffers_builder_t *B __org_apache_arrow_flatbuf_ListView_formal_args)
+{
+ if (org_apache_arrow_flatbuf_ListView_start(B)) {
+ return 0;
+ }
+ return org_apache_arrow_flatbuf_ListView_end(B);
+}
+
+static org_apache_arrow_flatbuf_ListView_ref_t org_apache_arrow_flatbuf_ListView_clone(flatbuffers_builder_t *B, org_apache_arrow_flatbuf_ListView_table_t t)
+{
+ __flatbuffers_memoize_begin(B, t);
+ if (org_apache_arrow_flatbuf_ListView_start(B)) {
+ return 0;
+ }
+ __flatbuffers_memoize_end(B, t, org_apache_arrow_flatbuf_ListView_end(B));
+}
+
+
+static inline org_apache_arrow_flatbuf_LargeListView_ref_t org_apache_arrow_flatbuf_LargeListView_create(flatbuffers_builder_t *B __org_apache_arrow_flatbuf_LargeListView_formal_args)
+{
+ if (org_apache_arrow_flatbuf_LargeListView_start(B)) {
+ return 0;
+ }
+ return org_apache_arrow_flatbuf_LargeListView_end(B);
+}
+
+static org_apache_arrow_flatbuf_LargeListView_ref_t org_apache_arrow_flatbuf_LargeListView_clone(flatbuffers_builder_t *B, org_apache_arrow_flatbuf_LargeListView_table_t t)
+{
+ __flatbuffers_memoize_begin(B, t);
+ if (org_apache_arrow_flatbuf_LargeListView_start(B)) {
+ return 0;
+ }
+ __flatbuffers_memoize_end(B, t, org_apache_arrow_flatbuf_LargeListView_end(B));
+}
+
__flatbuffers_build_scalar_field(0, flatbuffers_, org_apache_arrow_flatbuf_FixedSizeList_listSize, flatbuffers_int32, int32_t, 4, 4, INT32_C(0), org_apache_arrow_flatbuf_FixedSizeList)
static inline org_apache_arrow_flatbuf_FixedSizeList_ref_t org_apache_arrow_flatbuf_FixedSizeList_create(flatbuffers_builder_t *B __org_apache_arrow_flatbuf_FixedSizeList_formal_args)
@@ -3251,6 +3470,42 @@ static org_apache_arrow_flatbuf_LargeBinary_ref_t org_apache_arrow_flatbuf_Large
__flatbuffers_memoize_end(B, t, org_apache_arrow_flatbuf_LargeBinary_end(B));
}
+
+static inline org_apache_arrow_flatbuf_Utf8View_ref_t org_apache_arrow_flatbuf_Utf8View_create(flatbuffers_builder_t *B __org_apache_arrow_flatbuf_Utf8View_formal_args)
+{
+ if (org_apache_arrow_flatbuf_Utf8View_start(B)) {
+ return 0;
+ }
+ return org_apache_arrow_flatbuf_Utf8View_end(B);
+}
+
+static org_apache_arrow_flatbuf_Utf8View_ref_t org_apache_arrow_flatbuf_Utf8View_clone(flatbuffers_builder_t *B, org_apache_arrow_flatbuf_Utf8View_table_t t)
+{
+ __flatbuffers_memoize_begin(B, t);
+ if (org_apache_arrow_flatbuf_Utf8View_start(B)) {
+ return 0;
+ }
+ __flatbuffers_memoize_end(B, t, org_apache_arrow_flatbuf_Utf8View_end(B));
+}
+
+
+static inline org_apache_arrow_flatbuf_BinaryView_ref_t org_apache_arrow_flatbuf_BinaryView_create(flatbuffers_builder_t *B __org_apache_arrow_flatbuf_BinaryView_formal_args)
+{
+ if (org_apache_arrow_flatbuf_BinaryView_start(B)) {
+ return 0;
+ }
+ return org_apache_arrow_flatbuf_BinaryView_end(B);
+}
+
+static org_apache_arrow_flatbuf_BinaryView_ref_t org_apache_arrow_flatbuf_BinaryView_clone(flatbuffers_builder_t *B, org_apache_arrow_flatbuf_BinaryView_table_t t)
+{
+ __flatbuffers_memoize_begin(B, t);
+ if (org_apache_arrow_flatbuf_BinaryView_start(B)) {
+ return 0;
+ }
+ __flatbuffers_memoize_end(B, t, org_apache_arrow_flatbuf_BinaryView_end(B));
+}
+
__flatbuffers_build_scalar_field(0, flatbuffers_, org_apache_arrow_flatbuf_FixedSizeBinary_byteWidth, flatbuffers_int32, int32_t, 4, 4, INT32_C(0), org_apache_arrow_flatbuf_FixedSizeBinary)
static inline org_apache_arrow_flatbuf_FixedSizeBinary_ref_t org_apache_arrow_flatbuf_FixedSizeBinary_create(flatbuffers_builder_t *B __org_apache_arrow_flatbuf_FixedSizeBinary_formal_args)
@@ -3525,6 +3780,10 @@ __flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatb
__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_Field_type, org_apache_arrow_flatbuf_Type, LargeUtf8, org_apache_arrow_flatbuf_LargeUtf8)
__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_Field_type, org_apache_arrow_flatbuf_Type, LargeList, org_apache_arrow_flatbuf_LargeList)
__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_Field_type, org_apache_arrow_flatbuf_Type, RunEndEncoded, org_apache_arrow_flatbuf_RunEndEncoded)
+__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_Field_type, org_apache_arrow_flatbuf_Type, BinaryView, org_apache_arrow_flatbuf_BinaryView)
+__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_Field_type, org_apache_arrow_flatbuf_Type, Utf8View, org_apache_arrow_flatbuf_Utf8View)
+__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_Field_type, org_apache_arrow_flatbuf_Type, ListView, org_apache_arrow_flatbuf_ListView)
+__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_Field_type, org_apache_arrow_flatbuf_Type, LargeListView, org_apache_arrow_flatbuf_LargeListView)
__flatbuffers_build_table_field(4, flatbuffers_, org_apache_arrow_flatbuf_Field_dictionary, org_apache_arrow_flatbuf_DictionaryEncoding, org_apache_arrow_flatbuf_Field)
__flatbuffers_build_table_vector_field(5, flatbuffers_, org_apache_arrow_flatbuf_Field_children, org_apache_arrow_flatbuf_Field, org_apache_arrow_flatbuf_Field)
__flatbuffers_build_table_vector_field(6, flatbuffers_, org_apache_arrow_flatbuf_Field_custom_metadata, org_apache_arrow_flatbuf_KeyValue, org_apache_arrow_flatbuf_Field)
@@ -3594,7 +3853,7 @@ static org_apache_arrow_flatbuf_Schema_ref_t org_apache_arrow_flatbuf_Schema_clo
#ifndef SCHEMA_VERIFIER_H
#define SCHEMA_VERIFIER_H
-/* Generated by flatcc 0.6.1 FlatBuffers schema compiler for C by dvide.com */
+/* Generated by flatcc 0.6.2 FlatBuffers schema compiler for C by dvide.com */
#ifndef SCHEMA_READER_H
#include "Schema_reader.h"
@@ -3606,6 +3865,8 @@ static int org_apache_arrow_flatbuf_Null_verify_table(flatcc_table_verifier_desc
static int org_apache_arrow_flatbuf_Struct__verify_table(flatcc_table_verifier_descriptor_t *td);
static int org_apache_arrow_flatbuf_List_verify_table(flatcc_table_verifier_descriptor_t *td);
static int org_apache_arrow_flatbuf_LargeList_verify_table(flatcc_table_verifier_descriptor_t *td);
+static int org_apache_arrow_flatbuf_ListView_verify_table(flatcc_table_verifier_descriptor_t *td);
+static int org_apache_arrow_flatbuf_LargeListView_verify_table(flatcc_table_verifier_descriptor_t *td);
static int org_apache_arrow_flatbuf_FixedSizeList_verify_table(flatcc_table_verifier_descriptor_t *td);
static int org_apache_arrow_flatbuf_Map_verify_table(flatcc_table_verifier_descriptor_t *td);
static int org_apache_arrow_flatbuf_Union_verify_table(flatcc_table_verifier_descriptor_t *td);
@@ -3615,6 +3876,8 @@ static int org_apache_arrow_flatbuf_Utf8_verify_table(flatcc_table_verifier_desc
static int org_apache_arrow_flatbuf_Binary_verify_table(flatcc_table_verifier_descriptor_t *td);
static int org_apache_arrow_flatbuf_LargeUtf8_verify_table(flatcc_table_verifier_descriptor_t *td);
static int org_apache_arrow_flatbuf_LargeBinary_verify_table(flatcc_table_verifier_descriptor_t *td);
+static int org_apache_arrow_flatbuf_Utf8View_verify_table(flatcc_table_verifier_descriptor_t *td);
+static int org_apache_arrow_flatbuf_BinaryView_verify_table(flatcc_table_verifier_descriptor_t *td);
static int org_apache_arrow_flatbuf_FixedSizeBinary_verify_table(flatcc_table_verifier_descriptor_t *td);
static int org_apache_arrow_flatbuf_Bool_verify_table(flatcc_table_verifier_descriptor_t *td);
static int org_apache_arrow_flatbuf_RunEndEncoded_verify_table(flatcc_table_verifier_descriptor_t *td);
@@ -3654,6 +3917,10 @@ static int org_apache_arrow_flatbuf_Type_union_verifier(flatcc_union_verifier_de
case 20: return flatcc_verify_union_table(ud, org_apache_arrow_flatbuf_LargeUtf8_verify_table); /* LargeUtf8 */
case 21: return flatcc_verify_union_table(ud, org_apache_arrow_flatbuf_LargeList_verify_table); /* LargeList */
case 22: return flatcc_verify_union_table(ud, org_apache_arrow_flatbuf_RunEndEncoded_verify_table); /* RunEndEncoded */
+ case 23: return flatcc_verify_union_table(ud, org_apache_arrow_flatbuf_BinaryView_verify_table); /* BinaryView */
+ case 24: return flatcc_verify_union_table(ud, org_apache_arrow_flatbuf_Utf8View_verify_table); /* Utf8View */
+ case 25: return flatcc_verify_union_table(ud, org_apache_arrow_flatbuf_ListView_verify_table); /* ListView */
+ case 26: return flatcc_verify_union_table(ud, org_apache_arrow_flatbuf_LargeListView_verify_table); /* LargeListView */
default: return flatcc_verify_ok;
}
}
@@ -3663,21 +3930,41 @@ static inline int org_apache_arrow_flatbuf_Buffer_verify_as_root(const void *buf
return flatcc_verify_struct_as_root(buf, bufsiz, org_apache_arrow_flatbuf_Buffer_identifier, 16, 8);
}
+static inline int org_apache_arrow_flatbuf_Buffer_verify_as_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_struct_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_Buffer_identifier, 16, 8);
+}
+
static inline int org_apache_arrow_flatbuf_Buffer_verify_as_typed_root(const void *buf, size_t bufsiz)
{
return flatcc_verify_struct_as_typed_root(buf, bufsiz, org_apache_arrow_flatbuf_Buffer_type_hash, 16, 8);
}
+static inline int org_apache_arrow_flatbuf_Buffer_verify_as_typed_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_struct_as_typed_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_Buffer_type_hash, 16, 8);
+}
+
static inline int org_apache_arrow_flatbuf_Buffer_verify_as_root_with_type_hash(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
{
return flatcc_verify_struct_as_typed_root(buf, bufsiz, thash, 16, 8);
}
+static inline int org_apache_arrow_flatbuf_Buffer_verify_as_root_with_type_hash_and_size(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+{
+ return flatcc_verify_struct_as_typed_root_with_size(buf, bufsiz, thash, 16, 8);
+}
+
static inline int org_apache_arrow_flatbuf_Buffer_verify_as_root_with_identifier(const void *buf, size_t bufsiz, const char *fid)
{
return flatcc_verify_struct_as_root(buf, bufsiz, fid, 16, 8);
}
+static inline int org_apache_arrow_flatbuf_Buffer_verify_as_root_with_identifier_and_size(const void *buf, size_t bufsiz, const char *fid)
+{
+ return flatcc_verify_struct_as_root_with_size(buf, bufsiz, fid, 16, 8);
+}
+
static int org_apache_arrow_flatbuf_Null_verify_table(flatcc_table_verifier_descriptor_t *td)
{
return flatcc_verify_ok;
@@ -3688,21 +3975,41 @@ static inline int org_apache_arrow_flatbuf_Null_verify_as_root(const void *buf,
return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_Null_identifier, &org_apache_arrow_flatbuf_Null_verify_table);
}
+static inline int org_apache_arrow_flatbuf_Null_verify_as_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_Null_identifier, &org_apache_arrow_flatbuf_Null_verify_table);
+}
+
static inline int org_apache_arrow_flatbuf_Null_verify_as_typed_root(const void *buf, size_t bufsiz)
{
return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_Null_type_identifier, &org_apache_arrow_flatbuf_Null_verify_table);
}
+static inline int org_apache_arrow_flatbuf_Null_verify_as_typed_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_Null_type_identifier, &org_apache_arrow_flatbuf_Null_verify_table);
+}
+
static inline int org_apache_arrow_flatbuf_Null_verify_as_root_with_identifier(const void *buf, size_t bufsiz, const char *fid)
{
return flatcc_verify_table_as_root(buf, bufsiz, fid, &org_apache_arrow_flatbuf_Null_verify_table);
}
+static inline int org_apache_arrow_flatbuf_Null_verify_as_root_with_identifier_and_size(const void *buf, size_t bufsiz, const char *fid)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, fid, &org_apache_arrow_flatbuf_Null_verify_table);
+}
+
static inline int org_apache_arrow_flatbuf_Null_verify_as_root_with_type_hash(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
{
return flatcc_verify_table_as_typed_root(buf, bufsiz, thash, &org_apache_arrow_flatbuf_Null_verify_table);
}
+static inline int org_apache_arrow_flatbuf_Null_verify_as_root_with_type_hash_and_size(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+{
+ return flatcc_verify_table_as_typed_root_with_size(buf, bufsiz, thash, &org_apache_arrow_flatbuf_Null_verify_table);
+}
+
static int org_apache_arrow_flatbuf_Struct__verify_table(flatcc_table_verifier_descriptor_t *td)
{
return flatcc_verify_ok;
@@ -3713,21 +4020,41 @@ static inline int org_apache_arrow_flatbuf_Struct__verify_as_root(const void *bu
return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_Struct__identifier, &org_apache_arrow_flatbuf_Struct__verify_table);
}
+static inline int org_apache_arrow_flatbuf_Struct__verify_as_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_Struct__identifier, &org_apache_arrow_flatbuf_Struct__verify_table);
+}
+
static inline int org_apache_arrow_flatbuf_Struct__verify_as_typed_root(const void *buf, size_t bufsiz)
{
return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_Struct__type_identifier, &org_apache_arrow_flatbuf_Struct__verify_table);
}
+static inline int org_apache_arrow_flatbuf_Struct__verify_as_typed_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_Struct__type_identifier, &org_apache_arrow_flatbuf_Struct__verify_table);
+}
+
static inline int org_apache_arrow_flatbuf_Struct__verify_as_root_with_identifier(const void *buf, size_t bufsiz, const char *fid)
{
return flatcc_verify_table_as_root(buf, bufsiz, fid, &org_apache_arrow_flatbuf_Struct__verify_table);
}
+static inline int org_apache_arrow_flatbuf_Struct__verify_as_root_with_identifier_and_size(const void *buf, size_t bufsiz, const char *fid)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, fid, &org_apache_arrow_flatbuf_Struct__verify_table);
+}
+
static inline int org_apache_arrow_flatbuf_Struct__verify_as_root_with_type_hash(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
{
return flatcc_verify_table_as_typed_root(buf, bufsiz, thash, &org_apache_arrow_flatbuf_Struct__verify_table);
}
+static inline int org_apache_arrow_flatbuf_Struct__verify_as_root_with_type_hash_and_size(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+{
+ return flatcc_verify_table_as_typed_root_with_size(buf, bufsiz, thash, &org_apache_arrow_flatbuf_Struct__verify_table);
+}
+
static int org_apache_arrow_flatbuf_List_verify_table(flatcc_table_verifier_descriptor_t *td)
{
return flatcc_verify_ok;
@@ -3738,21 +4065,41 @@ static inline int org_apache_arrow_flatbuf_List_verify_as_root(const void *buf,
return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_List_identifier, &org_apache_arrow_flatbuf_List_verify_table);
}
+static inline int org_apache_arrow_flatbuf_List_verify_as_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_List_identifier, &org_apache_arrow_flatbuf_List_verify_table);
+}
+
static inline int org_apache_arrow_flatbuf_List_verify_as_typed_root(const void *buf, size_t bufsiz)
{
return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_List_type_identifier, &org_apache_arrow_flatbuf_List_verify_table);
}
+static inline int org_apache_arrow_flatbuf_List_verify_as_typed_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_List_type_identifier, &org_apache_arrow_flatbuf_List_verify_table);
+}
+
static inline int org_apache_arrow_flatbuf_List_verify_as_root_with_identifier(const void *buf, size_t bufsiz, const char *fid)
{
return flatcc_verify_table_as_root(buf, bufsiz, fid, &org_apache_arrow_flatbuf_List_verify_table);
}
+static inline int org_apache_arrow_flatbuf_List_verify_as_root_with_identifier_and_size(const void *buf, size_t bufsiz, const char *fid)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, fid, &org_apache_arrow_flatbuf_List_verify_table);
+}
+
static inline int org_apache_arrow_flatbuf_List_verify_as_root_with_type_hash(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
{
return flatcc_verify_table_as_typed_root(buf, bufsiz, thash, &org_apache_arrow_flatbuf_List_verify_table);
}
+static inline int org_apache_arrow_flatbuf_List_verify_as_root_with_type_hash_and_size(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+{
+ return flatcc_verify_table_as_typed_root_with_size(buf, bufsiz, thash, &org_apache_arrow_flatbuf_List_verify_table);
+}
+
static int org_apache_arrow_flatbuf_LargeList_verify_table(flatcc_table_verifier_descriptor_t *td)
{
return flatcc_verify_ok;
@@ -3763,21 +4110,131 @@ static inline int org_apache_arrow_flatbuf_LargeList_verify_as_root(const void *
return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_LargeList_identifier, &org_apache_arrow_flatbuf_LargeList_verify_table);
}
+static inline int org_apache_arrow_flatbuf_LargeList_verify_as_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_LargeList_identifier, &org_apache_arrow_flatbuf_LargeList_verify_table);
+}
+
static inline int org_apache_arrow_flatbuf_LargeList_verify_as_typed_root(const void *buf, size_t bufsiz)
{
return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_LargeList_type_identifier, &org_apache_arrow_flatbuf_LargeList_verify_table);
}
+static inline int org_apache_arrow_flatbuf_LargeList_verify_as_typed_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_LargeList_type_identifier, &org_apache_arrow_flatbuf_LargeList_verify_table);
+}
+
static inline int org_apache_arrow_flatbuf_LargeList_verify_as_root_with_identifier(const void *buf, size_t bufsiz, const char *fid)
{
return flatcc_verify_table_as_root(buf, bufsiz, fid, &org_apache_arrow_flatbuf_LargeList_verify_table);
}
+static inline int org_apache_arrow_flatbuf_LargeList_verify_as_root_with_identifier_and_size(const void *buf, size_t bufsiz, const char *fid)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, fid, &org_apache_arrow_flatbuf_LargeList_verify_table);
+}
+
static inline int org_apache_arrow_flatbuf_LargeList_verify_as_root_with_type_hash(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
{
return flatcc_verify_table_as_typed_root(buf, bufsiz, thash, &org_apache_arrow_flatbuf_LargeList_verify_table);
}
+static inline int org_apache_arrow_flatbuf_LargeList_verify_as_root_with_type_hash_and_size(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+{
+ return flatcc_verify_table_as_typed_root_with_size(buf, bufsiz, thash, &org_apache_arrow_flatbuf_LargeList_verify_table);
+}
+
+static int org_apache_arrow_flatbuf_ListView_verify_table(flatcc_table_verifier_descriptor_t *td)
+{
+ return flatcc_verify_ok;
+}
+
+static inline int org_apache_arrow_flatbuf_ListView_verify_as_root(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_ListView_identifier, &org_apache_arrow_flatbuf_ListView_verify_table);
+}
+
+static inline int org_apache_arrow_flatbuf_ListView_verify_as_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_ListView_identifier, &org_apache_arrow_flatbuf_ListView_verify_table);
+}
+
+static inline int org_apache_arrow_flatbuf_ListView_verify_as_typed_root(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_ListView_type_identifier, &org_apache_arrow_flatbuf_ListView_verify_table);
+}
+
+static inline int org_apache_arrow_flatbuf_ListView_verify_as_typed_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_ListView_type_identifier, &org_apache_arrow_flatbuf_ListView_verify_table);
+}
+
+static inline int org_apache_arrow_flatbuf_ListView_verify_as_root_with_identifier(const void *buf, size_t bufsiz, const char *fid)
+{
+ return flatcc_verify_table_as_root(buf, bufsiz, fid, &org_apache_arrow_flatbuf_ListView_verify_table);
+}
+
+static inline int org_apache_arrow_flatbuf_ListView_verify_as_root_with_identifier_and_size(const void *buf, size_t bufsiz, const char *fid)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, fid, &org_apache_arrow_flatbuf_ListView_verify_table);
+}
+
+static inline int org_apache_arrow_flatbuf_ListView_verify_as_root_with_type_hash(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+{
+ return flatcc_verify_table_as_typed_root(buf, bufsiz, thash, &org_apache_arrow_flatbuf_ListView_verify_table);
+}
+
+static inline int org_apache_arrow_flatbuf_ListView_verify_as_root_with_type_hash_and_size(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+{
+ return flatcc_verify_table_as_typed_root_with_size(buf, bufsiz, thash, &org_apache_arrow_flatbuf_ListView_verify_table);
+}
+
+static int org_apache_arrow_flatbuf_LargeListView_verify_table(flatcc_table_verifier_descriptor_t *td)
+{
+ return flatcc_verify_ok;
+}
+
+static inline int org_apache_arrow_flatbuf_LargeListView_verify_as_root(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_LargeListView_identifier, &org_apache_arrow_flatbuf_LargeListView_verify_table);
+}
+
+static inline int org_apache_arrow_flatbuf_LargeListView_verify_as_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_LargeListView_identifier, &org_apache_arrow_flatbuf_LargeListView_verify_table);
+}
+
+static inline int org_apache_arrow_flatbuf_LargeListView_verify_as_typed_root(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_LargeListView_type_identifier, &org_apache_arrow_flatbuf_LargeListView_verify_table);
+}
+
+static inline int org_apache_arrow_flatbuf_LargeListView_verify_as_typed_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_LargeListView_type_identifier, &org_apache_arrow_flatbuf_LargeListView_verify_table);
+}
+
+static inline int org_apache_arrow_flatbuf_LargeListView_verify_as_root_with_identifier(const void *buf, size_t bufsiz, const char *fid)
+{
+ return flatcc_verify_table_as_root(buf, bufsiz, fid, &org_apache_arrow_flatbuf_LargeListView_verify_table);
+}
+
+static inline int org_apache_arrow_flatbuf_LargeListView_verify_as_root_with_identifier_and_size(const void *buf, size_t bufsiz, const char *fid)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, fid, &org_apache_arrow_flatbuf_LargeListView_verify_table);
+}
+
+static inline int org_apache_arrow_flatbuf_LargeListView_verify_as_root_with_type_hash(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+{
+ return flatcc_verify_table_as_typed_root(buf, bufsiz, thash, &org_apache_arrow_flatbuf_LargeListView_verify_table);
+}
+
+static inline int org_apache_arrow_flatbuf_LargeListView_verify_as_root_with_type_hash_and_size(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+{
+ return flatcc_verify_table_as_typed_root_with_size(buf, bufsiz, thash, &org_apache_arrow_flatbuf_LargeListView_verify_table);
+}
+
static int org_apache_arrow_flatbuf_FixedSizeList_verify_table(flatcc_table_verifier_descriptor_t *td)
{
int ret;
@@ -3790,21 +4247,41 @@ static inline int org_apache_arrow_flatbuf_FixedSizeList_verify_as_root(const vo
return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_FixedSizeList_identifier, &org_apache_arrow_flatbuf_FixedSizeList_verify_table);
}
+static inline int org_apache_arrow_flatbuf_FixedSizeList_verify_as_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_FixedSizeList_identifier, &org_apache_arrow_flatbuf_FixedSizeList_verify_table);
+}
+
static inline int org_apache_arrow_flatbuf_FixedSizeList_verify_as_typed_root(const void *buf, size_t bufsiz)
{
return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_FixedSizeList_type_identifier, &org_apache_arrow_flatbuf_FixedSizeList_verify_table);
}
+static inline int org_apache_arrow_flatbuf_FixedSizeList_verify_as_typed_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_FixedSizeList_type_identifier, &org_apache_arrow_flatbuf_FixedSizeList_verify_table);
+}
+
static inline int org_apache_arrow_flatbuf_FixedSizeList_verify_as_root_with_identifier(const void *buf, size_t bufsiz, const char *fid)
{
return flatcc_verify_table_as_root(buf, bufsiz, fid, &org_apache_arrow_flatbuf_FixedSizeList_verify_table);
}
+static inline int org_apache_arrow_flatbuf_FixedSizeList_verify_as_root_with_identifier_and_size(const void *buf, size_t bufsiz, const char *fid)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, fid, &org_apache_arrow_flatbuf_FixedSizeList_verify_table);
+}
+
static inline int org_apache_arrow_flatbuf_FixedSizeList_verify_as_root_with_type_hash(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
{
return flatcc_verify_table_as_typed_root(buf, bufsiz, thash, &org_apache_arrow_flatbuf_FixedSizeList_verify_table);
}
+static inline int org_apache_arrow_flatbuf_FixedSizeList_verify_as_root_with_type_hash_and_size(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+{
+ return flatcc_verify_table_as_typed_root_with_size(buf, bufsiz, thash, &org_apache_arrow_flatbuf_FixedSizeList_verify_table);
+}
+
static int org_apache_arrow_flatbuf_Map_verify_table(flatcc_table_verifier_descriptor_t *td)
{
int ret;
@@ -3817,21 +4294,41 @@ static inline int org_apache_arrow_flatbuf_Map_verify_as_root(const void *buf, s
return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_Map_identifier, &org_apache_arrow_flatbuf_Map_verify_table);
}
+static inline int org_apache_arrow_flatbuf_Map_verify_as_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_Map_identifier, &org_apache_arrow_flatbuf_Map_verify_table);
+}
+
static inline int org_apache_arrow_flatbuf_Map_verify_as_typed_root(const void *buf, size_t bufsiz)
{
return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_Map_type_identifier, &org_apache_arrow_flatbuf_Map_verify_table);
}
+static inline int org_apache_arrow_flatbuf_Map_verify_as_typed_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_Map_type_identifier, &org_apache_arrow_flatbuf_Map_verify_table);
+}
+
static inline int org_apache_arrow_flatbuf_Map_verify_as_root_with_identifier(const void *buf, size_t bufsiz, const char *fid)
{
return flatcc_verify_table_as_root(buf, bufsiz, fid, &org_apache_arrow_flatbuf_Map_verify_table);
}
+static inline int org_apache_arrow_flatbuf_Map_verify_as_root_with_identifier_and_size(const void *buf, size_t bufsiz, const char *fid)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, fid, &org_apache_arrow_flatbuf_Map_verify_table);
+}
+
static inline int org_apache_arrow_flatbuf_Map_verify_as_root_with_type_hash(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
{
return flatcc_verify_table_as_typed_root(buf, bufsiz, thash, &org_apache_arrow_flatbuf_Map_verify_table);
}
+static inline int org_apache_arrow_flatbuf_Map_verify_as_root_with_type_hash_and_size(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+{
+ return flatcc_verify_table_as_typed_root_with_size(buf, bufsiz, thash, &org_apache_arrow_flatbuf_Map_verify_table);
+}
+
static int org_apache_arrow_flatbuf_Union_verify_table(flatcc_table_verifier_descriptor_t *td)
{
int ret;
@@ -3845,21 +4342,41 @@ static inline int org_apache_arrow_flatbuf_Union_verify_as_root(const void *buf,
return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_Union_identifier, &org_apache_arrow_flatbuf_Union_verify_table);
}
+static inline int org_apache_arrow_flatbuf_Union_verify_as_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_Union_identifier, &org_apache_arrow_flatbuf_Union_verify_table);
+}
+
static inline int org_apache_arrow_flatbuf_Union_verify_as_typed_root(const void *buf, size_t bufsiz)
{
return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_Union_type_identifier, &org_apache_arrow_flatbuf_Union_verify_table);
}
+static inline int org_apache_arrow_flatbuf_Union_verify_as_typed_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_Union_type_identifier, &org_apache_arrow_flatbuf_Union_verify_table);
+}
+
static inline int org_apache_arrow_flatbuf_Union_verify_as_root_with_identifier(const void *buf, size_t bufsiz, const char *fid)
{
return flatcc_verify_table_as_root(buf, bufsiz, fid, &org_apache_arrow_flatbuf_Union_verify_table);
}
+static inline int org_apache_arrow_flatbuf_Union_verify_as_root_with_identifier_and_size(const void *buf, size_t bufsiz, const char *fid)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, fid, &org_apache_arrow_flatbuf_Union_verify_table);
+}
+
static inline int org_apache_arrow_flatbuf_Union_verify_as_root_with_type_hash(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
{
return flatcc_verify_table_as_typed_root(buf, bufsiz, thash, &org_apache_arrow_flatbuf_Union_verify_table);
}
+static inline int org_apache_arrow_flatbuf_Union_verify_as_root_with_type_hash_and_size(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+{
+ return flatcc_verify_table_as_typed_root_with_size(buf, bufsiz, thash, &org_apache_arrow_flatbuf_Union_verify_table);
+}
+
static int org_apache_arrow_flatbuf_Int_verify_table(flatcc_table_verifier_descriptor_t *td)
{
int ret;
@@ -3873,21 +4390,41 @@ static inline int org_apache_arrow_flatbuf_Int_verify_as_root(const void *buf, s
return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_Int_identifier, &org_apache_arrow_flatbuf_Int_verify_table);
}
+static inline int org_apache_arrow_flatbuf_Int_verify_as_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_Int_identifier, &org_apache_arrow_flatbuf_Int_verify_table);
+}
+
static inline int org_apache_arrow_flatbuf_Int_verify_as_typed_root(const void *buf, size_t bufsiz)
{
return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_Int_type_identifier, &org_apache_arrow_flatbuf_Int_verify_table);
}
+static inline int org_apache_arrow_flatbuf_Int_verify_as_typed_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_Int_type_identifier, &org_apache_arrow_flatbuf_Int_verify_table);
+}
+
static inline int org_apache_arrow_flatbuf_Int_verify_as_root_with_identifier(const void *buf, size_t bufsiz, const char *fid)
{
return flatcc_verify_table_as_root(buf, bufsiz, fid, &org_apache_arrow_flatbuf_Int_verify_table);
}
+static inline int org_apache_arrow_flatbuf_Int_verify_as_root_with_identifier_and_size(const void *buf, size_t bufsiz, const char *fid)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, fid, &org_apache_arrow_flatbuf_Int_verify_table);
+}
+
static inline int org_apache_arrow_flatbuf_Int_verify_as_root_with_type_hash(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
{
return flatcc_verify_table_as_typed_root(buf, bufsiz, thash, &org_apache_arrow_flatbuf_Int_verify_table);
}
+static inline int org_apache_arrow_flatbuf_Int_verify_as_root_with_type_hash_and_size(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+{
+ return flatcc_verify_table_as_typed_root_with_size(buf, bufsiz, thash, &org_apache_arrow_flatbuf_Int_verify_table);
+}
+
static int org_apache_arrow_flatbuf_FloatingPoint_verify_table(flatcc_table_verifier_descriptor_t *td)
{
int ret;
@@ -3900,14 +4437,29 @@ static inline int org_apache_arrow_flatbuf_FloatingPoint_verify_as_root(const vo
return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_FloatingPoint_identifier, &org_apache_arrow_flatbuf_FloatingPoint_verify_table);
}
+static inline int org_apache_arrow_flatbuf_FloatingPoint_verify_as_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_FloatingPoint_identifier, &org_apache_arrow_flatbuf_FloatingPoint_verify_table);
+}
+
static inline int org_apache_arrow_flatbuf_FloatingPoint_verify_as_typed_root(const void *buf, size_t bufsiz)
{
return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_FloatingPoint_type_identifier, &org_apache_arrow_flatbuf_FloatingPoint_verify_table);
}
-static inline int org_apache_arrow_flatbuf_FloatingPoint_verify_as_root_with_identifier(const void *buf, size_t bufsiz, const char *fid)
+static inline int org_apache_arrow_flatbuf_FloatingPoint_verify_as_typed_root_with_size(const void *buf, size_t bufsiz)
{
- return flatcc_verify_table_as_root(buf, bufsiz, fid, &org_apache_arrow_flatbuf_FloatingPoint_verify_table);
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_FloatingPoint_type_identifier, &org_apache_arrow_flatbuf_FloatingPoint_verify_table);
+}
+
+static inline int org_apache_arrow_flatbuf_FloatingPoint_verify_as_root_with_identifier(const void *buf, size_t bufsiz, const char *fid)
+{
+ return flatcc_verify_table_as_root(buf, bufsiz, fid, &org_apache_arrow_flatbuf_FloatingPoint_verify_table);
+}
+
+static inline int org_apache_arrow_flatbuf_FloatingPoint_verify_as_root_with_identifier_and_size(const void *buf, size_t bufsiz, const char *fid)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, fid, &org_apache_arrow_flatbuf_FloatingPoint_verify_table);
}
static inline int org_apache_arrow_flatbuf_FloatingPoint_verify_as_root_with_type_hash(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
@@ -3915,6 +4467,11 @@ static inline int org_apache_arrow_flatbuf_FloatingPoint_verify_as_root_with_typ
return flatcc_verify_table_as_typed_root(buf, bufsiz, thash, &org_apache_arrow_flatbuf_FloatingPoint_verify_table);
}
+static inline int org_apache_arrow_flatbuf_FloatingPoint_verify_as_root_with_type_hash_and_size(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+{
+ return flatcc_verify_table_as_typed_root_with_size(buf, bufsiz, thash, &org_apache_arrow_flatbuf_FloatingPoint_verify_table);
+}
+
static int org_apache_arrow_flatbuf_Utf8_verify_table(flatcc_table_verifier_descriptor_t *td)
{
return flatcc_verify_ok;
@@ -3925,21 +4482,41 @@ static inline int org_apache_arrow_flatbuf_Utf8_verify_as_root(const void *buf,
return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_Utf8_identifier, &org_apache_arrow_flatbuf_Utf8_verify_table);
}
+static inline int org_apache_arrow_flatbuf_Utf8_verify_as_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_Utf8_identifier, &org_apache_arrow_flatbuf_Utf8_verify_table);
+}
+
static inline int org_apache_arrow_flatbuf_Utf8_verify_as_typed_root(const void *buf, size_t bufsiz)
{
return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_Utf8_type_identifier, &org_apache_arrow_flatbuf_Utf8_verify_table);
}
+static inline int org_apache_arrow_flatbuf_Utf8_verify_as_typed_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_Utf8_type_identifier, &org_apache_arrow_flatbuf_Utf8_verify_table);
+}
+
static inline int org_apache_arrow_flatbuf_Utf8_verify_as_root_with_identifier(const void *buf, size_t bufsiz, const char *fid)
{
return flatcc_verify_table_as_root(buf, bufsiz, fid, &org_apache_arrow_flatbuf_Utf8_verify_table);
}
+static inline int org_apache_arrow_flatbuf_Utf8_verify_as_root_with_identifier_and_size(const void *buf, size_t bufsiz, const char *fid)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, fid, &org_apache_arrow_flatbuf_Utf8_verify_table);
+}
+
static inline int org_apache_arrow_flatbuf_Utf8_verify_as_root_with_type_hash(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
{
return flatcc_verify_table_as_typed_root(buf, bufsiz, thash, &org_apache_arrow_flatbuf_Utf8_verify_table);
}
+static inline int org_apache_arrow_flatbuf_Utf8_verify_as_root_with_type_hash_and_size(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+{
+ return flatcc_verify_table_as_typed_root_with_size(buf, bufsiz, thash, &org_apache_arrow_flatbuf_Utf8_verify_table);
+}
+
static int org_apache_arrow_flatbuf_Binary_verify_table(flatcc_table_verifier_descriptor_t *td)
{
return flatcc_verify_ok;
@@ -3950,21 +4527,41 @@ static inline int org_apache_arrow_flatbuf_Binary_verify_as_root(const void *buf
return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_Binary_identifier, &org_apache_arrow_flatbuf_Binary_verify_table);
}
+static inline int org_apache_arrow_flatbuf_Binary_verify_as_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_Binary_identifier, &org_apache_arrow_flatbuf_Binary_verify_table);
+}
+
static inline int org_apache_arrow_flatbuf_Binary_verify_as_typed_root(const void *buf, size_t bufsiz)
{
return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_Binary_type_identifier, &org_apache_arrow_flatbuf_Binary_verify_table);
}
+static inline int org_apache_arrow_flatbuf_Binary_verify_as_typed_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_Binary_type_identifier, &org_apache_arrow_flatbuf_Binary_verify_table);
+}
+
static inline int org_apache_arrow_flatbuf_Binary_verify_as_root_with_identifier(const void *buf, size_t bufsiz, const char *fid)
{
return flatcc_verify_table_as_root(buf, bufsiz, fid, &org_apache_arrow_flatbuf_Binary_verify_table);
}
+static inline int org_apache_arrow_flatbuf_Binary_verify_as_root_with_identifier_and_size(const void *buf, size_t bufsiz, const char *fid)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, fid, &org_apache_arrow_flatbuf_Binary_verify_table);
+}
+
static inline int org_apache_arrow_flatbuf_Binary_verify_as_root_with_type_hash(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
{
return flatcc_verify_table_as_typed_root(buf, bufsiz, thash, &org_apache_arrow_flatbuf_Binary_verify_table);
}
+static inline int org_apache_arrow_flatbuf_Binary_verify_as_root_with_type_hash_and_size(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+{
+ return flatcc_verify_table_as_typed_root_with_size(buf, bufsiz, thash, &org_apache_arrow_flatbuf_Binary_verify_table);
+}
+
static int org_apache_arrow_flatbuf_LargeUtf8_verify_table(flatcc_table_verifier_descriptor_t *td)
{
return flatcc_verify_ok;
@@ -3975,21 +4572,41 @@ static inline int org_apache_arrow_flatbuf_LargeUtf8_verify_as_root(const void *
return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_LargeUtf8_identifier, &org_apache_arrow_flatbuf_LargeUtf8_verify_table);
}
+static inline int org_apache_arrow_flatbuf_LargeUtf8_verify_as_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_LargeUtf8_identifier, &org_apache_arrow_flatbuf_LargeUtf8_verify_table);
+}
+
static inline int org_apache_arrow_flatbuf_LargeUtf8_verify_as_typed_root(const void *buf, size_t bufsiz)
{
return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_LargeUtf8_type_identifier, &org_apache_arrow_flatbuf_LargeUtf8_verify_table);
}
+static inline int org_apache_arrow_flatbuf_LargeUtf8_verify_as_typed_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_LargeUtf8_type_identifier, &org_apache_arrow_flatbuf_LargeUtf8_verify_table);
+}
+
static inline int org_apache_arrow_flatbuf_LargeUtf8_verify_as_root_with_identifier(const void *buf, size_t bufsiz, const char *fid)
{
return flatcc_verify_table_as_root(buf, bufsiz, fid, &org_apache_arrow_flatbuf_LargeUtf8_verify_table);
}
+static inline int org_apache_arrow_flatbuf_LargeUtf8_verify_as_root_with_identifier_and_size(const void *buf, size_t bufsiz, const char *fid)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, fid, &org_apache_arrow_flatbuf_LargeUtf8_verify_table);
+}
+
static inline int org_apache_arrow_flatbuf_LargeUtf8_verify_as_root_with_type_hash(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
{
return flatcc_verify_table_as_typed_root(buf, bufsiz, thash, &org_apache_arrow_flatbuf_LargeUtf8_verify_table);
}
+static inline int org_apache_arrow_flatbuf_LargeUtf8_verify_as_root_with_type_hash_and_size(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+{
+ return flatcc_verify_table_as_typed_root_with_size(buf, bufsiz, thash, &org_apache_arrow_flatbuf_LargeUtf8_verify_table);
+}
+
static int org_apache_arrow_flatbuf_LargeBinary_verify_table(flatcc_table_verifier_descriptor_t *td)
{
return flatcc_verify_ok;
@@ -4000,21 +4617,131 @@ static inline int org_apache_arrow_flatbuf_LargeBinary_verify_as_root(const void
return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_LargeBinary_identifier, &org_apache_arrow_flatbuf_LargeBinary_verify_table);
}
+static inline int org_apache_arrow_flatbuf_LargeBinary_verify_as_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_LargeBinary_identifier, &org_apache_arrow_flatbuf_LargeBinary_verify_table);
+}
+
static inline int org_apache_arrow_flatbuf_LargeBinary_verify_as_typed_root(const void *buf, size_t bufsiz)
{
return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_LargeBinary_type_identifier, &org_apache_arrow_flatbuf_LargeBinary_verify_table);
}
+static inline int org_apache_arrow_flatbuf_LargeBinary_verify_as_typed_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_LargeBinary_type_identifier, &org_apache_arrow_flatbuf_LargeBinary_verify_table);
+}
+
static inline int org_apache_arrow_flatbuf_LargeBinary_verify_as_root_with_identifier(const void *buf, size_t bufsiz, const char *fid)
{
return flatcc_verify_table_as_root(buf, bufsiz, fid, &org_apache_arrow_flatbuf_LargeBinary_verify_table);
}
+static inline int org_apache_arrow_flatbuf_LargeBinary_verify_as_root_with_identifier_and_size(const void *buf, size_t bufsiz, const char *fid)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, fid, &org_apache_arrow_flatbuf_LargeBinary_verify_table);
+}
+
static inline int org_apache_arrow_flatbuf_LargeBinary_verify_as_root_with_type_hash(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
{
return flatcc_verify_table_as_typed_root(buf, bufsiz, thash, &org_apache_arrow_flatbuf_LargeBinary_verify_table);
}
+static inline int org_apache_arrow_flatbuf_LargeBinary_verify_as_root_with_type_hash_and_size(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+{
+ return flatcc_verify_table_as_typed_root_with_size(buf, bufsiz, thash, &org_apache_arrow_flatbuf_LargeBinary_verify_table);
+}
+
+static int org_apache_arrow_flatbuf_Utf8View_verify_table(flatcc_table_verifier_descriptor_t *td)
+{
+ return flatcc_verify_ok;
+}
+
+static inline int org_apache_arrow_flatbuf_Utf8View_verify_as_root(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_Utf8View_identifier, &org_apache_arrow_flatbuf_Utf8View_verify_table);
+}
+
+static inline int org_apache_arrow_flatbuf_Utf8View_verify_as_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_Utf8View_identifier, &org_apache_arrow_flatbuf_Utf8View_verify_table);
+}
+
+static inline int org_apache_arrow_flatbuf_Utf8View_verify_as_typed_root(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_Utf8View_type_identifier, &org_apache_arrow_flatbuf_Utf8View_verify_table);
+}
+
+static inline int org_apache_arrow_flatbuf_Utf8View_verify_as_typed_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_Utf8View_type_identifier, &org_apache_arrow_flatbuf_Utf8View_verify_table);
+}
+
+static inline int org_apache_arrow_flatbuf_Utf8View_verify_as_root_with_identifier(const void *buf, size_t bufsiz, const char *fid)
+{
+ return flatcc_verify_table_as_root(buf, bufsiz, fid, &org_apache_arrow_flatbuf_Utf8View_verify_table);
+}
+
+static inline int org_apache_arrow_flatbuf_Utf8View_verify_as_root_with_identifier_and_size(const void *buf, size_t bufsiz, const char *fid)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, fid, &org_apache_arrow_flatbuf_Utf8View_verify_table);
+}
+
+static inline int org_apache_arrow_flatbuf_Utf8View_verify_as_root_with_type_hash(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+{
+ return flatcc_verify_table_as_typed_root(buf, bufsiz, thash, &org_apache_arrow_flatbuf_Utf8View_verify_table);
+}
+
+static inline int org_apache_arrow_flatbuf_Utf8View_verify_as_root_with_type_hash_and_size(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+{
+ return flatcc_verify_table_as_typed_root_with_size(buf, bufsiz, thash, &org_apache_arrow_flatbuf_Utf8View_verify_table);
+}
+
+static int org_apache_arrow_flatbuf_BinaryView_verify_table(flatcc_table_verifier_descriptor_t *td)
+{
+ return flatcc_verify_ok;
+}
+
+static inline int org_apache_arrow_flatbuf_BinaryView_verify_as_root(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_BinaryView_identifier, &org_apache_arrow_flatbuf_BinaryView_verify_table);
+}
+
+static inline int org_apache_arrow_flatbuf_BinaryView_verify_as_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_BinaryView_identifier, &org_apache_arrow_flatbuf_BinaryView_verify_table);
+}
+
+static inline int org_apache_arrow_flatbuf_BinaryView_verify_as_typed_root(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_BinaryView_type_identifier, &org_apache_arrow_flatbuf_BinaryView_verify_table);
+}
+
+static inline int org_apache_arrow_flatbuf_BinaryView_verify_as_typed_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_BinaryView_type_identifier, &org_apache_arrow_flatbuf_BinaryView_verify_table);
+}
+
+static inline int org_apache_arrow_flatbuf_BinaryView_verify_as_root_with_identifier(const void *buf, size_t bufsiz, const char *fid)
+{
+ return flatcc_verify_table_as_root(buf, bufsiz, fid, &org_apache_arrow_flatbuf_BinaryView_verify_table);
+}
+
+static inline int org_apache_arrow_flatbuf_BinaryView_verify_as_root_with_identifier_and_size(const void *buf, size_t bufsiz, const char *fid)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, fid, &org_apache_arrow_flatbuf_BinaryView_verify_table);
+}
+
+static inline int org_apache_arrow_flatbuf_BinaryView_verify_as_root_with_type_hash(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+{
+ return flatcc_verify_table_as_typed_root(buf, bufsiz, thash, &org_apache_arrow_flatbuf_BinaryView_verify_table);
+}
+
+static inline int org_apache_arrow_flatbuf_BinaryView_verify_as_root_with_type_hash_and_size(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+{
+ return flatcc_verify_table_as_typed_root_with_size(buf, bufsiz, thash, &org_apache_arrow_flatbuf_BinaryView_verify_table);
+}
+
static int org_apache_arrow_flatbuf_FixedSizeBinary_verify_table(flatcc_table_verifier_descriptor_t *td)
{
int ret;
@@ -4027,21 +4754,41 @@ static inline int org_apache_arrow_flatbuf_FixedSizeBinary_verify_as_root(const
return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_FixedSizeBinary_identifier, &org_apache_arrow_flatbuf_FixedSizeBinary_verify_table);
}
+static inline int org_apache_arrow_flatbuf_FixedSizeBinary_verify_as_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_FixedSizeBinary_identifier, &org_apache_arrow_flatbuf_FixedSizeBinary_verify_table);
+}
+
static inline int org_apache_arrow_flatbuf_FixedSizeBinary_verify_as_typed_root(const void *buf, size_t bufsiz)
{
return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_FixedSizeBinary_type_identifier, &org_apache_arrow_flatbuf_FixedSizeBinary_verify_table);
}
+static inline int org_apache_arrow_flatbuf_FixedSizeBinary_verify_as_typed_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_FixedSizeBinary_type_identifier, &org_apache_arrow_flatbuf_FixedSizeBinary_verify_table);
+}
+
static inline int org_apache_arrow_flatbuf_FixedSizeBinary_verify_as_root_with_identifier(const void *buf, size_t bufsiz, const char *fid)
{
return flatcc_verify_table_as_root(buf, bufsiz, fid, &org_apache_arrow_flatbuf_FixedSizeBinary_verify_table);
}
+static inline int org_apache_arrow_flatbuf_FixedSizeBinary_verify_as_root_with_identifier_and_size(const void *buf, size_t bufsiz, const char *fid)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, fid, &org_apache_arrow_flatbuf_FixedSizeBinary_verify_table);
+}
+
static inline int org_apache_arrow_flatbuf_FixedSizeBinary_verify_as_root_with_type_hash(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
{
return flatcc_verify_table_as_typed_root(buf, bufsiz, thash, &org_apache_arrow_flatbuf_FixedSizeBinary_verify_table);
}
+static inline int org_apache_arrow_flatbuf_FixedSizeBinary_verify_as_root_with_type_hash_and_size(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+{
+ return flatcc_verify_table_as_typed_root_with_size(buf, bufsiz, thash, &org_apache_arrow_flatbuf_FixedSizeBinary_verify_table);
+}
+
static int org_apache_arrow_flatbuf_Bool_verify_table(flatcc_table_verifier_descriptor_t *td)
{
return flatcc_verify_ok;
@@ -4052,21 +4799,41 @@ static inline int org_apache_arrow_flatbuf_Bool_verify_as_root(const void *buf,
return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_Bool_identifier, &org_apache_arrow_flatbuf_Bool_verify_table);
}
+static inline int org_apache_arrow_flatbuf_Bool_verify_as_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_Bool_identifier, &org_apache_arrow_flatbuf_Bool_verify_table);
+}
+
static inline int org_apache_arrow_flatbuf_Bool_verify_as_typed_root(const void *buf, size_t bufsiz)
{
return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_Bool_type_identifier, &org_apache_arrow_flatbuf_Bool_verify_table);
}
+static inline int org_apache_arrow_flatbuf_Bool_verify_as_typed_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_Bool_type_identifier, &org_apache_arrow_flatbuf_Bool_verify_table);
+}
+
static inline int org_apache_arrow_flatbuf_Bool_verify_as_root_with_identifier(const void *buf, size_t bufsiz, const char *fid)
{
return flatcc_verify_table_as_root(buf, bufsiz, fid, &org_apache_arrow_flatbuf_Bool_verify_table);
}
+static inline int org_apache_arrow_flatbuf_Bool_verify_as_root_with_identifier_and_size(const void *buf, size_t bufsiz, const char *fid)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, fid, &org_apache_arrow_flatbuf_Bool_verify_table);
+}
+
static inline int org_apache_arrow_flatbuf_Bool_verify_as_root_with_type_hash(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
{
return flatcc_verify_table_as_typed_root(buf, bufsiz, thash, &org_apache_arrow_flatbuf_Bool_verify_table);
}
+static inline int org_apache_arrow_flatbuf_Bool_verify_as_root_with_type_hash_and_size(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+{
+ return flatcc_verify_table_as_typed_root_with_size(buf, bufsiz, thash, &org_apache_arrow_flatbuf_Bool_verify_table);
+}
+
static int org_apache_arrow_flatbuf_RunEndEncoded_verify_table(flatcc_table_verifier_descriptor_t *td)
{
return flatcc_verify_ok;
@@ -4077,21 +4844,41 @@ static inline int org_apache_arrow_flatbuf_RunEndEncoded_verify_as_root(const vo
return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_RunEndEncoded_identifier, &org_apache_arrow_flatbuf_RunEndEncoded_verify_table);
}
+static inline int org_apache_arrow_flatbuf_RunEndEncoded_verify_as_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_RunEndEncoded_identifier, &org_apache_arrow_flatbuf_RunEndEncoded_verify_table);
+}
+
static inline int org_apache_arrow_flatbuf_RunEndEncoded_verify_as_typed_root(const void *buf, size_t bufsiz)
{
return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_RunEndEncoded_type_identifier, &org_apache_arrow_flatbuf_RunEndEncoded_verify_table);
}
+static inline int org_apache_arrow_flatbuf_RunEndEncoded_verify_as_typed_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_RunEndEncoded_type_identifier, &org_apache_arrow_flatbuf_RunEndEncoded_verify_table);
+}
+
static inline int org_apache_arrow_flatbuf_RunEndEncoded_verify_as_root_with_identifier(const void *buf, size_t bufsiz, const char *fid)
{
return flatcc_verify_table_as_root(buf, bufsiz, fid, &org_apache_arrow_flatbuf_RunEndEncoded_verify_table);
}
+static inline int org_apache_arrow_flatbuf_RunEndEncoded_verify_as_root_with_identifier_and_size(const void *buf, size_t bufsiz, const char *fid)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, fid, &org_apache_arrow_flatbuf_RunEndEncoded_verify_table);
+}
+
static inline int org_apache_arrow_flatbuf_RunEndEncoded_verify_as_root_with_type_hash(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
{
return flatcc_verify_table_as_typed_root(buf, bufsiz, thash, &org_apache_arrow_flatbuf_RunEndEncoded_verify_table);
}
+static inline int org_apache_arrow_flatbuf_RunEndEncoded_verify_as_root_with_type_hash_and_size(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+{
+ return flatcc_verify_table_as_typed_root_with_size(buf, bufsiz, thash, &org_apache_arrow_flatbuf_RunEndEncoded_verify_table);
+}
+
static int org_apache_arrow_flatbuf_Decimal_verify_table(flatcc_table_verifier_descriptor_t *td)
{
int ret;
@@ -4106,21 +4893,41 @@ static inline int org_apache_arrow_flatbuf_Decimal_verify_as_root(const void *bu
return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_Decimal_identifier, &org_apache_arrow_flatbuf_Decimal_verify_table);
}
+static inline int org_apache_arrow_flatbuf_Decimal_verify_as_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_Decimal_identifier, &org_apache_arrow_flatbuf_Decimal_verify_table);
+}
+
static inline int org_apache_arrow_flatbuf_Decimal_verify_as_typed_root(const void *buf, size_t bufsiz)
{
return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_Decimal_type_identifier, &org_apache_arrow_flatbuf_Decimal_verify_table);
}
+static inline int org_apache_arrow_flatbuf_Decimal_verify_as_typed_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_Decimal_type_identifier, &org_apache_arrow_flatbuf_Decimal_verify_table);
+}
+
static inline int org_apache_arrow_flatbuf_Decimal_verify_as_root_with_identifier(const void *buf, size_t bufsiz, const char *fid)
{
return flatcc_verify_table_as_root(buf, bufsiz, fid, &org_apache_arrow_flatbuf_Decimal_verify_table);
}
+static inline int org_apache_arrow_flatbuf_Decimal_verify_as_root_with_identifier_and_size(const void *buf, size_t bufsiz, const char *fid)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, fid, &org_apache_arrow_flatbuf_Decimal_verify_table);
+}
+
static inline int org_apache_arrow_flatbuf_Decimal_verify_as_root_with_type_hash(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
{
return flatcc_verify_table_as_typed_root(buf, bufsiz, thash, &org_apache_arrow_flatbuf_Decimal_verify_table);
}
+static inline int org_apache_arrow_flatbuf_Decimal_verify_as_root_with_type_hash_and_size(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+{
+ return flatcc_verify_table_as_typed_root_with_size(buf, bufsiz, thash, &org_apache_arrow_flatbuf_Decimal_verify_table);
+}
+
static int org_apache_arrow_flatbuf_Date_verify_table(flatcc_table_verifier_descriptor_t *td)
{
int ret;
@@ -4133,21 +4940,41 @@ static inline int org_apache_arrow_flatbuf_Date_verify_as_root(const void *buf,
return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_Date_identifier, &org_apache_arrow_flatbuf_Date_verify_table);
}
+static inline int org_apache_arrow_flatbuf_Date_verify_as_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_Date_identifier, &org_apache_arrow_flatbuf_Date_verify_table);
+}
+
static inline int org_apache_arrow_flatbuf_Date_verify_as_typed_root(const void *buf, size_t bufsiz)
{
return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_Date_type_identifier, &org_apache_arrow_flatbuf_Date_verify_table);
}
+static inline int org_apache_arrow_flatbuf_Date_verify_as_typed_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_Date_type_identifier, &org_apache_arrow_flatbuf_Date_verify_table);
+}
+
static inline int org_apache_arrow_flatbuf_Date_verify_as_root_with_identifier(const void *buf, size_t bufsiz, const char *fid)
{
return flatcc_verify_table_as_root(buf, bufsiz, fid, &org_apache_arrow_flatbuf_Date_verify_table);
}
+static inline int org_apache_arrow_flatbuf_Date_verify_as_root_with_identifier_and_size(const void *buf, size_t bufsiz, const char *fid)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, fid, &org_apache_arrow_flatbuf_Date_verify_table);
+}
+
static inline int org_apache_arrow_flatbuf_Date_verify_as_root_with_type_hash(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
{
return flatcc_verify_table_as_typed_root(buf, bufsiz, thash, &org_apache_arrow_flatbuf_Date_verify_table);
}
+static inline int org_apache_arrow_flatbuf_Date_verify_as_root_with_type_hash_and_size(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+{
+ return flatcc_verify_table_as_typed_root_with_size(buf, bufsiz, thash, &org_apache_arrow_flatbuf_Date_verify_table);
+}
+
static int org_apache_arrow_flatbuf_Time_verify_table(flatcc_table_verifier_descriptor_t *td)
{
int ret;
@@ -4161,21 +4988,41 @@ static inline int org_apache_arrow_flatbuf_Time_verify_as_root(const void *buf,
return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_Time_identifier, &org_apache_arrow_flatbuf_Time_verify_table);
}
+static inline int org_apache_arrow_flatbuf_Time_verify_as_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_Time_identifier, &org_apache_arrow_flatbuf_Time_verify_table);
+}
+
static inline int org_apache_arrow_flatbuf_Time_verify_as_typed_root(const void *buf, size_t bufsiz)
{
return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_Time_type_identifier, &org_apache_arrow_flatbuf_Time_verify_table);
}
+static inline int org_apache_arrow_flatbuf_Time_verify_as_typed_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_Time_type_identifier, &org_apache_arrow_flatbuf_Time_verify_table);
+}
+
static inline int org_apache_arrow_flatbuf_Time_verify_as_root_with_identifier(const void *buf, size_t bufsiz, const char *fid)
{
return flatcc_verify_table_as_root(buf, bufsiz, fid, &org_apache_arrow_flatbuf_Time_verify_table);
}
+static inline int org_apache_arrow_flatbuf_Time_verify_as_root_with_identifier_and_size(const void *buf, size_t bufsiz, const char *fid)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, fid, &org_apache_arrow_flatbuf_Time_verify_table);
+}
+
static inline int org_apache_arrow_flatbuf_Time_verify_as_root_with_type_hash(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
{
return flatcc_verify_table_as_typed_root(buf, bufsiz, thash, &org_apache_arrow_flatbuf_Time_verify_table);
}
+static inline int org_apache_arrow_flatbuf_Time_verify_as_root_with_type_hash_and_size(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+{
+ return flatcc_verify_table_as_typed_root_with_size(buf, bufsiz, thash, &org_apache_arrow_flatbuf_Time_verify_table);
+}
+
static int org_apache_arrow_flatbuf_Timestamp_verify_table(flatcc_table_verifier_descriptor_t *td)
{
int ret;
@@ -4189,21 +5036,41 @@ static inline int org_apache_arrow_flatbuf_Timestamp_verify_as_root(const void *
return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_Timestamp_identifier, &org_apache_arrow_flatbuf_Timestamp_verify_table);
}
+static inline int org_apache_arrow_flatbuf_Timestamp_verify_as_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_Timestamp_identifier, &org_apache_arrow_flatbuf_Timestamp_verify_table);
+}
+
static inline int org_apache_arrow_flatbuf_Timestamp_verify_as_typed_root(const void *buf, size_t bufsiz)
{
return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_Timestamp_type_identifier, &org_apache_arrow_flatbuf_Timestamp_verify_table);
}
+static inline int org_apache_arrow_flatbuf_Timestamp_verify_as_typed_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_Timestamp_type_identifier, &org_apache_arrow_flatbuf_Timestamp_verify_table);
+}
+
static inline int org_apache_arrow_flatbuf_Timestamp_verify_as_root_with_identifier(const void *buf, size_t bufsiz, const char *fid)
{
return flatcc_verify_table_as_root(buf, bufsiz, fid, &org_apache_arrow_flatbuf_Timestamp_verify_table);
}
+static inline int org_apache_arrow_flatbuf_Timestamp_verify_as_root_with_identifier_and_size(const void *buf, size_t bufsiz, const char *fid)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, fid, &org_apache_arrow_flatbuf_Timestamp_verify_table);
+}
+
static inline int org_apache_arrow_flatbuf_Timestamp_verify_as_root_with_type_hash(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
{
return flatcc_verify_table_as_typed_root(buf, bufsiz, thash, &org_apache_arrow_flatbuf_Timestamp_verify_table);
}
+static inline int org_apache_arrow_flatbuf_Timestamp_verify_as_root_with_type_hash_and_size(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+{
+ return flatcc_verify_table_as_typed_root_with_size(buf, bufsiz, thash, &org_apache_arrow_flatbuf_Timestamp_verify_table);
+}
+
static int org_apache_arrow_flatbuf_Interval_verify_table(flatcc_table_verifier_descriptor_t *td)
{
int ret;
@@ -4216,21 +5083,41 @@ static inline int org_apache_arrow_flatbuf_Interval_verify_as_root(const void *b
return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_Interval_identifier, &org_apache_arrow_flatbuf_Interval_verify_table);
}
+static inline int org_apache_arrow_flatbuf_Interval_verify_as_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_Interval_identifier, &org_apache_arrow_flatbuf_Interval_verify_table);
+}
+
static inline int org_apache_arrow_flatbuf_Interval_verify_as_typed_root(const void *buf, size_t bufsiz)
{
return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_Interval_type_identifier, &org_apache_arrow_flatbuf_Interval_verify_table);
}
+static inline int org_apache_arrow_flatbuf_Interval_verify_as_typed_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_Interval_type_identifier, &org_apache_arrow_flatbuf_Interval_verify_table);
+}
+
static inline int org_apache_arrow_flatbuf_Interval_verify_as_root_with_identifier(const void *buf, size_t bufsiz, const char *fid)
{
return flatcc_verify_table_as_root(buf, bufsiz, fid, &org_apache_arrow_flatbuf_Interval_verify_table);
}
+static inline int org_apache_arrow_flatbuf_Interval_verify_as_root_with_identifier_and_size(const void *buf, size_t bufsiz, const char *fid)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, fid, &org_apache_arrow_flatbuf_Interval_verify_table);
+}
+
static inline int org_apache_arrow_flatbuf_Interval_verify_as_root_with_type_hash(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
{
return flatcc_verify_table_as_typed_root(buf, bufsiz, thash, &org_apache_arrow_flatbuf_Interval_verify_table);
}
+static inline int org_apache_arrow_flatbuf_Interval_verify_as_root_with_type_hash_and_size(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+{
+ return flatcc_verify_table_as_typed_root_with_size(buf, bufsiz, thash, &org_apache_arrow_flatbuf_Interval_verify_table);
+}
+
static int org_apache_arrow_flatbuf_Duration_verify_table(flatcc_table_verifier_descriptor_t *td)
{
int ret;
@@ -4243,21 +5130,41 @@ static inline int org_apache_arrow_flatbuf_Duration_verify_as_root(const void *b
return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_Duration_identifier, &org_apache_arrow_flatbuf_Duration_verify_table);
}
+static inline int org_apache_arrow_flatbuf_Duration_verify_as_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_Duration_identifier, &org_apache_arrow_flatbuf_Duration_verify_table);
+}
+
static inline int org_apache_arrow_flatbuf_Duration_verify_as_typed_root(const void *buf, size_t bufsiz)
{
return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_Duration_type_identifier, &org_apache_arrow_flatbuf_Duration_verify_table);
}
+static inline int org_apache_arrow_flatbuf_Duration_verify_as_typed_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_Duration_type_identifier, &org_apache_arrow_flatbuf_Duration_verify_table);
+}
+
static inline int org_apache_arrow_flatbuf_Duration_verify_as_root_with_identifier(const void *buf, size_t bufsiz, const char *fid)
{
return flatcc_verify_table_as_root(buf, bufsiz, fid, &org_apache_arrow_flatbuf_Duration_verify_table);
}
+static inline int org_apache_arrow_flatbuf_Duration_verify_as_root_with_identifier_and_size(const void *buf, size_t bufsiz, const char *fid)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, fid, &org_apache_arrow_flatbuf_Duration_verify_table);
+}
+
static inline int org_apache_arrow_flatbuf_Duration_verify_as_root_with_type_hash(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
{
return flatcc_verify_table_as_typed_root(buf, bufsiz, thash, &org_apache_arrow_flatbuf_Duration_verify_table);
}
+static inline int org_apache_arrow_flatbuf_Duration_verify_as_root_with_type_hash_and_size(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+{
+ return flatcc_verify_table_as_typed_root_with_size(buf, bufsiz, thash, &org_apache_arrow_flatbuf_Duration_verify_table);
+}
+
static int org_apache_arrow_flatbuf_KeyValue_verify_table(flatcc_table_verifier_descriptor_t *td)
{
int ret;
@@ -4271,21 +5178,41 @@ static inline int org_apache_arrow_flatbuf_KeyValue_verify_as_root(const void *b
return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_KeyValue_identifier, &org_apache_arrow_flatbuf_KeyValue_verify_table);
}
+static inline int org_apache_arrow_flatbuf_KeyValue_verify_as_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_KeyValue_identifier, &org_apache_arrow_flatbuf_KeyValue_verify_table);
+}
+
static inline int org_apache_arrow_flatbuf_KeyValue_verify_as_typed_root(const void *buf, size_t bufsiz)
{
return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_KeyValue_type_identifier, &org_apache_arrow_flatbuf_KeyValue_verify_table);
}
+static inline int org_apache_arrow_flatbuf_KeyValue_verify_as_typed_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_KeyValue_type_identifier, &org_apache_arrow_flatbuf_KeyValue_verify_table);
+}
+
static inline int org_apache_arrow_flatbuf_KeyValue_verify_as_root_with_identifier(const void *buf, size_t bufsiz, const char *fid)
{
return flatcc_verify_table_as_root(buf, bufsiz, fid, &org_apache_arrow_flatbuf_KeyValue_verify_table);
}
+static inline int org_apache_arrow_flatbuf_KeyValue_verify_as_root_with_identifier_and_size(const void *buf, size_t bufsiz, const char *fid)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, fid, &org_apache_arrow_flatbuf_KeyValue_verify_table);
+}
+
static inline int org_apache_arrow_flatbuf_KeyValue_verify_as_root_with_type_hash(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
{
return flatcc_verify_table_as_typed_root(buf, bufsiz, thash, &org_apache_arrow_flatbuf_KeyValue_verify_table);
}
+static inline int org_apache_arrow_flatbuf_KeyValue_verify_as_root_with_type_hash_and_size(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+{
+ return flatcc_verify_table_as_typed_root_with_size(buf, bufsiz, thash, &org_apache_arrow_flatbuf_KeyValue_verify_table);
+}
+
static int org_apache_arrow_flatbuf_DictionaryEncoding_verify_table(flatcc_table_verifier_descriptor_t *td)
{
int ret;
@@ -4301,21 +5228,41 @@ static inline int org_apache_arrow_flatbuf_DictionaryEncoding_verify_as_root(con
return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_DictionaryEncoding_identifier, &org_apache_arrow_flatbuf_DictionaryEncoding_verify_table);
}
+static inline int org_apache_arrow_flatbuf_DictionaryEncoding_verify_as_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_DictionaryEncoding_identifier, &org_apache_arrow_flatbuf_DictionaryEncoding_verify_table);
+}
+
static inline int org_apache_arrow_flatbuf_DictionaryEncoding_verify_as_typed_root(const void *buf, size_t bufsiz)
{
return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_DictionaryEncoding_type_identifier, &org_apache_arrow_flatbuf_DictionaryEncoding_verify_table);
}
+static inline int org_apache_arrow_flatbuf_DictionaryEncoding_verify_as_typed_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_DictionaryEncoding_type_identifier, &org_apache_arrow_flatbuf_DictionaryEncoding_verify_table);
+}
+
static inline int org_apache_arrow_flatbuf_DictionaryEncoding_verify_as_root_with_identifier(const void *buf, size_t bufsiz, const char *fid)
{
return flatcc_verify_table_as_root(buf, bufsiz, fid, &org_apache_arrow_flatbuf_DictionaryEncoding_verify_table);
}
+static inline int org_apache_arrow_flatbuf_DictionaryEncoding_verify_as_root_with_identifier_and_size(const void *buf, size_t bufsiz, const char *fid)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, fid, &org_apache_arrow_flatbuf_DictionaryEncoding_verify_table);
+}
+
static inline int org_apache_arrow_flatbuf_DictionaryEncoding_verify_as_root_with_type_hash(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
{
return flatcc_verify_table_as_typed_root(buf, bufsiz, thash, &org_apache_arrow_flatbuf_DictionaryEncoding_verify_table);
}
+static inline int org_apache_arrow_flatbuf_DictionaryEncoding_verify_as_root_with_type_hash_and_size(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+{
+ return flatcc_verify_table_as_typed_root_with_size(buf, bufsiz, thash, &org_apache_arrow_flatbuf_DictionaryEncoding_verify_table);
+}
+
static int org_apache_arrow_flatbuf_Field_verify_table(flatcc_table_verifier_descriptor_t *td)
{
int ret;
@@ -4333,21 +5280,41 @@ static inline int org_apache_arrow_flatbuf_Field_verify_as_root(const void *buf,
return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_Field_identifier, &org_apache_arrow_flatbuf_Field_verify_table);
}
+static inline int org_apache_arrow_flatbuf_Field_verify_as_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_Field_identifier, &org_apache_arrow_flatbuf_Field_verify_table);
+}
+
static inline int org_apache_arrow_flatbuf_Field_verify_as_typed_root(const void *buf, size_t bufsiz)
{
return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_Field_type_identifier, &org_apache_arrow_flatbuf_Field_verify_table);
}
+static inline int org_apache_arrow_flatbuf_Field_verify_as_typed_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_Field_type_identifier, &org_apache_arrow_flatbuf_Field_verify_table);
+}
+
static inline int org_apache_arrow_flatbuf_Field_verify_as_root_with_identifier(const void *buf, size_t bufsiz, const char *fid)
{
return flatcc_verify_table_as_root(buf, bufsiz, fid, &org_apache_arrow_flatbuf_Field_verify_table);
}
+static inline int org_apache_arrow_flatbuf_Field_verify_as_root_with_identifier_and_size(const void *buf, size_t bufsiz, const char *fid)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, fid, &org_apache_arrow_flatbuf_Field_verify_table);
+}
+
static inline int org_apache_arrow_flatbuf_Field_verify_as_root_with_type_hash(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
{
return flatcc_verify_table_as_typed_root(buf, bufsiz, thash, &org_apache_arrow_flatbuf_Field_verify_table);
}
+static inline int org_apache_arrow_flatbuf_Field_verify_as_root_with_type_hash_and_size(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+{
+ return flatcc_verify_table_as_typed_root_with_size(buf, bufsiz, thash, &org_apache_arrow_flatbuf_Field_verify_table);
+}
+
static int org_apache_arrow_flatbuf_Schema_verify_table(flatcc_table_verifier_descriptor_t *td)
{
int ret;
@@ -4363,27 +5330,47 @@ static inline int org_apache_arrow_flatbuf_Schema_verify_as_root(const void *buf
return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_Schema_identifier, &org_apache_arrow_flatbuf_Schema_verify_table);
}
+static inline int org_apache_arrow_flatbuf_Schema_verify_as_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_Schema_identifier, &org_apache_arrow_flatbuf_Schema_verify_table);
+}
+
static inline int org_apache_arrow_flatbuf_Schema_verify_as_typed_root(const void *buf, size_t bufsiz)
{
return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_Schema_type_identifier, &org_apache_arrow_flatbuf_Schema_verify_table);
}
+static inline int org_apache_arrow_flatbuf_Schema_verify_as_typed_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_Schema_type_identifier, &org_apache_arrow_flatbuf_Schema_verify_table);
+}
+
static inline int org_apache_arrow_flatbuf_Schema_verify_as_root_with_identifier(const void *buf, size_t bufsiz, const char *fid)
{
return flatcc_verify_table_as_root(buf, bufsiz, fid, &org_apache_arrow_flatbuf_Schema_verify_table);
}
+static inline int org_apache_arrow_flatbuf_Schema_verify_as_root_with_identifier_and_size(const void *buf, size_t bufsiz, const char *fid)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, fid, &org_apache_arrow_flatbuf_Schema_verify_table);
+}
+
static inline int org_apache_arrow_flatbuf_Schema_verify_as_root_with_type_hash(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
{
return flatcc_verify_table_as_typed_root(buf, bufsiz, thash, &org_apache_arrow_flatbuf_Schema_verify_table);
}
+static inline int org_apache_arrow_flatbuf_Schema_verify_as_root_with_type_hash_and_size(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+{
+ return flatcc_verify_table_as_typed_root_with_size(buf, bufsiz, thash, &org_apache_arrow_flatbuf_Schema_verify_table);
+}
+
#include "flatcc/flatcc_epilogue.h"
#endif /* SCHEMA_VERIFIER_H */
#ifndef FILE_READER_H
#define FILE_READER_H
-/* Generated by flatcc 0.6.1 FlatBuffers schema compiler for C by dvide.com */
+/* Generated by flatcc 0.6.2 FlatBuffers schema compiler for C by dvide.com */
#ifndef FLATBUFFERS_COMMON_READER_H
#include "flatbuffers_common_reader.h"
@@ -4488,7 +5475,7 @@ __flatbuffers_define_vector_field(4, org_apache_arrow_flatbuf_Footer, custom_met
#ifndef FILE_BUILDER_H
#define FILE_BUILDER_H
-/* Generated by flatcc 0.6.1 FlatBuffers schema compiler for C by dvide.com */
+/* Generated by flatcc 0.6.2 FlatBuffers schema compiler for C by dvide.com */
#ifndef FILE_READER_H
#include "File_reader.h"
@@ -4580,7 +5567,7 @@ static org_apache_arrow_flatbuf_Footer_ref_t org_apache_arrow_flatbuf_Footer_clo
#ifndef FILE_VERIFIER_H
#define FILE_VERIFIER_H
-/* Generated by flatcc 0.6.1 FlatBuffers schema compiler for C by dvide.com */
+/* Generated by flatcc 0.6.2 FlatBuffers schema compiler for C by dvide.com */
#ifndef FILE_READER_H
#include "File_reader.h"
@@ -4598,21 +5585,41 @@ static inline int org_apache_arrow_flatbuf_Block_verify_as_root(const void *buf,
return flatcc_verify_struct_as_root(buf, bufsiz, org_apache_arrow_flatbuf_Block_identifier, 24, 8);
}
+static inline int org_apache_arrow_flatbuf_Block_verify_as_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_struct_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_Block_identifier, 24, 8);
+}
+
static inline int org_apache_arrow_flatbuf_Block_verify_as_typed_root(const void *buf, size_t bufsiz)
{
return flatcc_verify_struct_as_typed_root(buf, bufsiz, org_apache_arrow_flatbuf_Block_type_hash, 24, 8);
}
+static inline int org_apache_arrow_flatbuf_Block_verify_as_typed_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_struct_as_typed_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_Block_type_hash, 24, 8);
+}
+
static inline int org_apache_arrow_flatbuf_Block_verify_as_root_with_type_hash(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
{
return flatcc_verify_struct_as_typed_root(buf, bufsiz, thash, 24, 8);
}
+static inline int org_apache_arrow_flatbuf_Block_verify_as_root_with_type_hash_and_size(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+{
+ return flatcc_verify_struct_as_typed_root_with_size(buf, bufsiz, thash, 24, 8);
+}
+
static inline int org_apache_arrow_flatbuf_Block_verify_as_root_with_identifier(const void *buf, size_t bufsiz, const char *fid)
{
return flatcc_verify_struct_as_root(buf, bufsiz, fid, 24, 8);
}
+static inline int org_apache_arrow_flatbuf_Block_verify_as_root_with_identifier_and_size(const void *buf, size_t bufsiz, const char *fid)
+{
+ return flatcc_verify_struct_as_root_with_size(buf, bufsiz, fid, 24, 8);
+}
+
static int org_apache_arrow_flatbuf_Footer_verify_table(flatcc_table_verifier_descriptor_t *td)
{
int ret;
@@ -4629,27 +5636,47 @@ static inline int org_apache_arrow_flatbuf_Footer_verify_as_root(const void *buf
return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_Footer_identifier, &org_apache_arrow_flatbuf_Footer_verify_table);
}
+static inline int org_apache_arrow_flatbuf_Footer_verify_as_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_Footer_identifier, &org_apache_arrow_flatbuf_Footer_verify_table);
+}
+
static inline int org_apache_arrow_flatbuf_Footer_verify_as_typed_root(const void *buf, size_t bufsiz)
{
return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_Footer_type_identifier, &org_apache_arrow_flatbuf_Footer_verify_table);
}
+static inline int org_apache_arrow_flatbuf_Footer_verify_as_typed_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_Footer_type_identifier, &org_apache_arrow_flatbuf_Footer_verify_table);
+}
+
static inline int org_apache_arrow_flatbuf_Footer_verify_as_root_with_identifier(const void *buf, size_t bufsiz, const char *fid)
{
return flatcc_verify_table_as_root(buf, bufsiz, fid, &org_apache_arrow_flatbuf_Footer_verify_table);
}
+static inline int org_apache_arrow_flatbuf_Footer_verify_as_root_with_identifier_and_size(const void *buf, size_t bufsiz, const char *fid)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, fid, &org_apache_arrow_flatbuf_Footer_verify_table);
+}
+
static inline int org_apache_arrow_flatbuf_Footer_verify_as_root_with_type_hash(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
{
return flatcc_verify_table_as_typed_root(buf, bufsiz, thash, &org_apache_arrow_flatbuf_Footer_verify_table);
}
+static inline int org_apache_arrow_flatbuf_Footer_verify_as_root_with_type_hash_and_size(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+{
+ return flatcc_verify_table_as_typed_root_with_size(buf, bufsiz, thash, &org_apache_arrow_flatbuf_Footer_verify_table);
+}
+
#include "flatcc/flatcc_epilogue.h"
#endif /* FILE_VERIFIER_H */
#ifndef SCHEMA_READER_H
#define SCHEMA_READER_H
-/* Generated by flatcc 0.6.1 FlatBuffers schema compiler for C by dvide.com */
+/* Generated by flatcc 0.6.2 FlatBuffers schema compiler for C by dvide.com */
#ifndef FLATBUFFERS_COMMON_READER_H
#include "flatbuffers_common_reader.h"
@@ -4688,6 +5715,14 @@ typedef const struct org_apache_arrow_flatbuf_LargeList_table *org_apache_arrow_
typedef struct org_apache_arrow_flatbuf_LargeList_table *org_apache_arrow_flatbuf_LargeList_mutable_table_t;
typedef const flatbuffers_uoffset_t *org_apache_arrow_flatbuf_LargeList_vec_t;
typedef flatbuffers_uoffset_t *org_apache_arrow_flatbuf_LargeList_mutable_vec_t;
+typedef const struct org_apache_arrow_flatbuf_ListView_table *org_apache_arrow_flatbuf_ListView_table_t;
+typedef struct org_apache_arrow_flatbuf_ListView_table *org_apache_arrow_flatbuf_ListView_mutable_table_t;
+typedef const flatbuffers_uoffset_t *org_apache_arrow_flatbuf_ListView_vec_t;
+typedef flatbuffers_uoffset_t *org_apache_arrow_flatbuf_ListView_mutable_vec_t;
+typedef const struct org_apache_arrow_flatbuf_LargeListView_table *org_apache_arrow_flatbuf_LargeListView_table_t;
+typedef struct org_apache_arrow_flatbuf_LargeListView_table *org_apache_arrow_flatbuf_LargeListView_mutable_table_t;
+typedef const flatbuffers_uoffset_t *org_apache_arrow_flatbuf_LargeListView_vec_t;
+typedef flatbuffers_uoffset_t *org_apache_arrow_flatbuf_LargeListView_mutable_vec_t;
typedef const struct org_apache_arrow_flatbuf_FixedSizeList_table *org_apache_arrow_flatbuf_FixedSizeList_table_t;
typedef struct org_apache_arrow_flatbuf_FixedSizeList_table *org_apache_arrow_flatbuf_FixedSizeList_mutable_table_t;
typedef const flatbuffers_uoffset_t *org_apache_arrow_flatbuf_FixedSizeList_vec_t;
@@ -4724,6 +5759,14 @@ typedef const struct org_apache_arrow_flatbuf_LargeBinary_table *org_apache_arro
typedef struct org_apache_arrow_flatbuf_LargeBinary_table *org_apache_arrow_flatbuf_LargeBinary_mutable_table_t;
typedef const flatbuffers_uoffset_t *org_apache_arrow_flatbuf_LargeBinary_vec_t;
typedef flatbuffers_uoffset_t *org_apache_arrow_flatbuf_LargeBinary_mutable_vec_t;
+typedef const struct org_apache_arrow_flatbuf_Utf8View_table *org_apache_arrow_flatbuf_Utf8View_table_t;
+typedef struct org_apache_arrow_flatbuf_Utf8View_table *org_apache_arrow_flatbuf_Utf8View_mutable_table_t;
+typedef const flatbuffers_uoffset_t *org_apache_arrow_flatbuf_Utf8View_vec_t;
+typedef flatbuffers_uoffset_t *org_apache_arrow_flatbuf_Utf8View_mutable_vec_t;
+typedef const struct org_apache_arrow_flatbuf_BinaryView_table *org_apache_arrow_flatbuf_BinaryView_table_t;
+typedef struct org_apache_arrow_flatbuf_BinaryView_table *org_apache_arrow_flatbuf_BinaryView_mutable_table_t;
+typedef const flatbuffers_uoffset_t *org_apache_arrow_flatbuf_BinaryView_vec_t;
+typedef flatbuffers_uoffset_t *org_apache_arrow_flatbuf_BinaryView_mutable_vec_t;
typedef const struct org_apache_arrow_flatbuf_FixedSizeBinary_table *org_apache_arrow_flatbuf_FixedSizeBinary_table_t;
typedef struct org_apache_arrow_flatbuf_FixedSizeBinary_table *org_apache_arrow_flatbuf_FixedSizeBinary_mutable_table_t;
typedef const flatbuffers_uoffset_t *org_apache_arrow_flatbuf_FixedSizeBinary_vec_t;
@@ -4824,6 +5867,30 @@ typedef flatbuffers_uoffset_t *org_apache_arrow_flatbuf_Schema_mutable_vec_t;
#ifndef org_apache_arrow_flatbuf_LargeList_file_extension
#define org_apache_arrow_flatbuf_LargeList_file_extension "bin"
#endif
+#ifndef org_apache_arrow_flatbuf_ListView_file_identifier
+#define org_apache_arrow_flatbuf_ListView_file_identifier 0
+#endif
+/* deprecated, use org_apache_arrow_flatbuf_ListView_file_identifier */
+#ifndef org_apache_arrow_flatbuf_ListView_identifier
+#define org_apache_arrow_flatbuf_ListView_identifier 0
+#endif
+#define org_apache_arrow_flatbuf_ListView_type_hash ((flatbuffers_thash_t)0x23d37919)
+#define org_apache_arrow_flatbuf_ListView_type_identifier "\x19\x79\xd3\x23"
+#ifndef org_apache_arrow_flatbuf_ListView_file_extension
+#define org_apache_arrow_flatbuf_ListView_file_extension "bin"
+#endif
+#ifndef org_apache_arrow_flatbuf_LargeListView_file_identifier
+#define org_apache_arrow_flatbuf_LargeListView_file_identifier 0
+#endif
+/* deprecated, use org_apache_arrow_flatbuf_LargeListView_file_identifier */
+#ifndef org_apache_arrow_flatbuf_LargeListView_identifier
+#define org_apache_arrow_flatbuf_LargeListView_identifier 0
+#endif
+#define org_apache_arrow_flatbuf_LargeListView_type_hash ((flatbuffers_thash_t)0x28efac02)
+#define org_apache_arrow_flatbuf_LargeListView_type_identifier "\x02\xac\xef\x28"
+#ifndef org_apache_arrow_flatbuf_LargeListView_file_extension
+#define org_apache_arrow_flatbuf_LargeListView_file_extension "bin"
+#endif
#ifndef org_apache_arrow_flatbuf_FixedSizeList_file_identifier
#define org_apache_arrow_flatbuf_FixedSizeList_file_identifier 0
#endif
@@ -4932,6 +5999,30 @@ typedef flatbuffers_uoffset_t *org_apache_arrow_flatbuf_Schema_mutable_vec_t;
#ifndef org_apache_arrow_flatbuf_LargeBinary_file_extension
#define org_apache_arrow_flatbuf_LargeBinary_file_extension "bin"
#endif
+#ifndef org_apache_arrow_flatbuf_Utf8View_file_identifier
+#define org_apache_arrow_flatbuf_Utf8View_file_identifier 0
+#endif
+/* deprecated, use org_apache_arrow_flatbuf_Utf8View_file_identifier */
+#ifndef org_apache_arrow_flatbuf_Utf8View_identifier
+#define org_apache_arrow_flatbuf_Utf8View_identifier 0
+#endif
+#define org_apache_arrow_flatbuf_Utf8View_type_hash ((flatbuffers_thash_t)0xab7692)
+#define org_apache_arrow_flatbuf_Utf8View_type_identifier "\x92\x76\xab\x00"
+#ifndef org_apache_arrow_flatbuf_Utf8View_file_extension
+#define org_apache_arrow_flatbuf_Utf8View_file_extension "bin"
+#endif
+#ifndef org_apache_arrow_flatbuf_BinaryView_file_identifier
+#define org_apache_arrow_flatbuf_BinaryView_file_identifier 0
+#endif
+/* deprecated, use org_apache_arrow_flatbuf_BinaryView_file_identifier */
+#ifndef org_apache_arrow_flatbuf_BinaryView_identifier
+#define org_apache_arrow_flatbuf_BinaryView_identifier 0
+#endif
+#define org_apache_arrow_flatbuf_BinaryView_type_hash ((flatbuffers_thash_t)0x18c52428)
+#define org_apache_arrow_flatbuf_BinaryView_type_identifier "\x28\x24\xc5\x18"
+#ifndef org_apache_arrow_flatbuf_BinaryView_file_extension
+#define org_apache_arrow_flatbuf_BinaryView_file_extension "bin"
+#endif
#ifndef org_apache_arrow_flatbuf_FixedSizeBinary_file_identifier
#define org_apache_arrow_flatbuf_FixedSizeBinary_file_identifier 0
#endif
@@ -5426,6 +6517,29 @@ __flatbuffers_offset_vec_at(org_apache_arrow_flatbuf_LargeList_table_t, vec, i,
__flatbuffers_table_as_root(org_apache_arrow_flatbuf_LargeList)
+/** Represents the same logical types that List can, but contains offsets and
+ * sizes allowing for writes in any order and sharing of child values among
+ * list values. */
+struct org_apache_arrow_flatbuf_ListView_table { uint8_t unused__; };
+
+static inline size_t org_apache_arrow_flatbuf_ListView_vec_len(org_apache_arrow_flatbuf_ListView_vec_t vec)
+__flatbuffers_vec_len(vec)
+static inline org_apache_arrow_flatbuf_ListView_table_t org_apache_arrow_flatbuf_ListView_vec_at(org_apache_arrow_flatbuf_ListView_vec_t vec, size_t i)
+__flatbuffers_offset_vec_at(org_apache_arrow_flatbuf_ListView_table_t, vec, i, 0)
+__flatbuffers_table_as_root(org_apache_arrow_flatbuf_ListView)
+
+
+/** Same as ListView, but with 64-bit offsets and sizes, allowing to represent
+ * extremely large data values. */
+struct org_apache_arrow_flatbuf_LargeListView_table { uint8_t unused__; };
+
+static inline size_t org_apache_arrow_flatbuf_LargeListView_vec_len(org_apache_arrow_flatbuf_LargeListView_vec_t vec)
+__flatbuffers_vec_len(vec)
+static inline org_apache_arrow_flatbuf_LargeListView_table_t org_apache_arrow_flatbuf_LargeListView_vec_at(org_apache_arrow_flatbuf_LargeListView_vec_t vec, size_t i)
+__flatbuffers_offset_vec_at(org_apache_arrow_flatbuf_LargeListView_table_t, vec, i, 0)
+__flatbuffers_table_as_root(org_apache_arrow_flatbuf_LargeListView)
+
+
struct org_apache_arrow_flatbuf_FixedSizeList_table { uint8_t unused__; };
static inline size_t org_apache_arrow_flatbuf_FixedSizeList_vec_len(org_apache_arrow_flatbuf_FixedSizeList_vec_t vec)
@@ -5551,6 +6665,38 @@ __flatbuffers_offset_vec_at(org_apache_arrow_flatbuf_LargeBinary_table_t, vec, i
__flatbuffers_table_as_root(org_apache_arrow_flatbuf_LargeBinary)
+/** Logically the same as Utf8, but the internal representation uses a view
+ * struct that contains the string length and either the string's entire data
+ * inline (for small strings) or an inlined prefix, an index of another buffer,
+ * and an offset pointing to a slice in that buffer (for non-small strings).
+ *
+ * Since it uses a variable number of data buffers, each Field with this type
+ * must have a corresponding entry in `variadicBufferCounts`. */
+struct org_apache_arrow_flatbuf_Utf8View_table { uint8_t unused__; };
+
+static inline size_t org_apache_arrow_flatbuf_Utf8View_vec_len(org_apache_arrow_flatbuf_Utf8View_vec_t vec)
+__flatbuffers_vec_len(vec)
+static inline org_apache_arrow_flatbuf_Utf8View_table_t org_apache_arrow_flatbuf_Utf8View_vec_at(org_apache_arrow_flatbuf_Utf8View_vec_t vec, size_t i)
+__flatbuffers_offset_vec_at(org_apache_arrow_flatbuf_Utf8View_table_t, vec, i, 0)
+__flatbuffers_table_as_root(org_apache_arrow_flatbuf_Utf8View)
+
+
+/** Logically the same as Binary, but the internal representation uses a view
+ * struct that contains the string length and either the string's entire data
+ * inline (for small strings) or an inlined prefix, an index of another buffer,
+ * and an offset pointing to a slice in that buffer (for non-small strings).
+ *
+ * Since it uses a variable number of data buffers, each Field with this type
+ * must have a corresponding entry in `variadicBufferCounts`. */
+struct org_apache_arrow_flatbuf_BinaryView_table { uint8_t unused__; };
+
+static inline size_t org_apache_arrow_flatbuf_BinaryView_vec_len(org_apache_arrow_flatbuf_BinaryView_vec_t vec)
+__flatbuffers_vec_len(vec)
+static inline org_apache_arrow_flatbuf_BinaryView_table_t org_apache_arrow_flatbuf_BinaryView_vec_at(org_apache_arrow_flatbuf_BinaryView_vec_t vec, size_t i)
+__flatbuffers_offset_vec_at(org_apache_arrow_flatbuf_BinaryView_table_t, vec, i, 0)
+__flatbuffers_table_as_root(org_apache_arrow_flatbuf_BinaryView)
+
+
struct org_apache_arrow_flatbuf_FixedSizeBinary_table { uint8_t unused__; };
static inline size_t org_apache_arrow_flatbuf_FixedSizeBinary_vec_len(org_apache_arrow_flatbuf_FixedSizeBinary_vec_t vec)
@@ -5745,7 +6891,7 @@ __flatbuffers_define_scalar_field(1, org_apache_arrow_flatbuf_Time, bitWidth, fl
* no indication of how to map this information to a physical point in time.
* Naive date-times must be handled with care because of this missing
* information, and also because daylight saving time (DST) may make
- * some values ambiguous or non-existent. A naive date-time may be
+ * some values ambiguous or nonexistent. A naive date-time may be
* stored as a struct with Date and Time fields. However, it may also be
* encoded into a Timestamp column with an empty timezone. The timestamp
* values should be computed "as if" the timezone of the date-time values
@@ -5823,6 +6969,10 @@ __flatbuffers_define_union(flatbuffers_, org_apache_arrow_flatbuf_Type)
#define org_apache_arrow_flatbuf_Type_LargeUtf8 ((org_apache_arrow_flatbuf_Type_union_type_t)UINT8_C(20))
#define org_apache_arrow_flatbuf_Type_LargeList ((org_apache_arrow_flatbuf_Type_union_type_t)UINT8_C(21))
#define org_apache_arrow_flatbuf_Type_RunEndEncoded ((org_apache_arrow_flatbuf_Type_union_type_t)UINT8_C(22))
+#define org_apache_arrow_flatbuf_Type_BinaryView ((org_apache_arrow_flatbuf_Type_union_type_t)UINT8_C(23))
+#define org_apache_arrow_flatbuf_Type_Utf8View ((org_apache_arrow_flatbuf_Type_union_type_t)UINT8_C(24))
+#define org_apache_arrow_flatbuf_Type_ListView ((org_apache_arrow_flatbuf_Type_union_type_t)UINT8_C(25))
+#define org_apache_arrow_flatbuf_Type_LargeListView ((org_apache_arrow_flatbuf_Type_union_type_t)UINT8_C(26))
static inline const char *org_apache_arrow_flatbuf_Type_type_name(org_apache_arrow_flatbuf_Type_union_type_t type)
{
@@ -5850,6 +7000,10 @@ static inline const char *org_apache_arrow_flatbuf_Type_type_name(org_apache_arr
case org_apache_arrow_flatbuf_Type_LargeUtf8: return "LargeUtf8";
case org_apache_arrow_flatbuf_Type_LargeList: return "LargeList";
case org_apache_arrow_flatbuf_Type_RunEndEncoded: return "RunEndEncoded";
+ case org_apache_arrow_flatbuf_Type_BinaryView: return "BinaryView";
+ case org_apache_arrow_flatbuf_Type_Utf8View: return "Utf8View";
+ case org_apache_arrow_flatbuf_Type_ListView: return "ListView";
+ case org_apache_arrow_flatbuf_Type_LargeListView: return "LargeListView";
default: return "";
}
}
@@ -5880,6 +7034,10 @@ static inline int org_apache_arrow_flatbuf_Type_is_known_type(org_apache_arrow_f
case org_apache_arrow_flatbuf_Type_LargeUtf8: return 1;
case org_apache_arrow_flatbuf_Type_LargeList: return 1;
case org_apache_arrow_flatbuf_Type_RunEndEncoded: return 1;
+ case org_apache_arrow_flatbuf_Type_BinaryView: return 1;
+ case org_apache_arrow_flatbuf_Type_Utf8View: return 1;
+ case org_apache_arrow_flatbuf_Type_ListView: return 1;
+ case org_apache_arrow_flatbuf_Type_LargeListView: return 1;
default: return 0;
}
}
@@ -5971,7 +7129,7 @@ __flatbuffers_define_vector_field(3, org_apache_arrow_flatbuf_Schema, features,
#ifndef SCHEMA_BUILDER_H
#define SCHEMA_BUILDER_H
-/* Generated by flatcc 0.6.1 FlatBuffers schema compiler for C by dvide.com */
+/* Generated by flatcc 0.6.2 FlatBuffers schema compiler for C by dvide.com */
#ifndef SCHEMA_READER_H
#include "Schema_reader.h"
@@ -6062,6 +7220,16 @@ typedef flatbuffers_ref_t org_apache_arrow_flatbuf_LargeList_ref_t;
static org_apache_arrow_flatbuf_LargeList_ref_t org_apache_arrow_flatbuf_LargeList_clone(flatbuffers_builder_t *B, org_apache_arrow_flatbuf_LargeList_table_t t);
__flatbuffers_build_table(flatbuffers_, org_apache_arrow_flatbuf_LargeList, 0)
+static const flatbuffers_voffset_t __org_apache_arrow_flatbuf_ListView_required[] = { 0 };
+typedef flatbuffers_ref_t org_apache_arrow_flatbuf_ListView_ref_t;
+static org_apache_arrow_flatbuf_ListView_ref_t org_apache_arrow_flatbuf_ListView_clone(flatbuffers_builder_t *B, org_apache_arrow_flatbuf_ListView_table_t t);
+__flatbuffers_build_table(flatbuffers_, org_apache_arrow_flatbuf_ListView, 0)
+
+static const flatbuffers_voffset_t __org_apache_arrow_flatbuf_LargeListView_required[] = { 0 };
+typedef flatbuffers_ref_t org_apache_arrow_flatbuf_LargeListView_ref_t;
+static org_apache_arrow_flatbuf_LargeListView_ref_t org_apache_arrow_flatbuf_LargeListView_clone(flatbuffers_builder_t *B, org_apache_arrow_flatbuf_LargeListView_table_t t);
+__flatbuffers_build_table(flatbuffers_, org_apache_arrow_flatbuf_LargeListView, 0)
+
static const flatbuffers_voffset_t __org_apache_arrow_flatbuf_FixedSizeList_required[] = { 0 };
typedef flatbuffers_ref_t org_apache_arrow_flatbuf_FixedSizeList_ref_t;
static org_apache_arrow_flatbuf_FixedSizeList_ref_t org_apache_arrow_flatbuf_FixedSizeList_clone(flatbuffers_builder_t *B, org_apache_arrow_flatbuf_FixedSizeList_table_t t);
@@ -6107,6 +7275,16 @@ typedef flatbuffers_ref_t org_apache_arrow_flatbuf_LargeBinary_ref_t;
static org_apache_arrow_flatbuf_LargeBinary_ref_t org_apache_arrow_flatbuf_LargeBinary_clone(flatbuffers_builder_t *B, org_apache_arrow_flatbuf_LargeBinary_table_t t);
__flatbuffers_build_table(flatbuffers_, org_apache_arrow_flatbuf_LargeBinary, 0)
+static const flatbuffers_voffset_t __org_apache_arrow_flatbuf_Utf8View_required[] = { 0 };
+typedef flatbuffers_ref_t org_apache_arrow_flatbuf_Utf8View_ref_t;
+static org_apache_arrow_flatbuf_Utf8View_ref_t org_apache_arrow_flatbuf_Utf8View_clone(flatbuffers_builder_t *B, org_apache_arrow_flatbuf_Utf8View_table_t t);
+__flatbuffers_build_table(flatbuffers_, org_apache_arrow_flatbuf_Utf8View, 0)
+
+static const flatbuffers_voffset_t __org_apache_arrow_flatbuf_BinaryView_required[] = { 0 };
+typedef flatbuffers_ref_t org_apache_arrow_flatbuf_BinaryView_ref_t;
+static org_apache_arrow_flatbuf_BinaryView_ref_t org_apache_arrow_flatbuf_BinaryView_clone(flatbuffers_builder_t *B, org_apache_arrow_flatbuf_BinaryView_table_t t);
+__flatbuffers_build_table(flatbuffers_, org_apache_arrow_flatbuf_BinaryView, 0)
+
static const flatbuffers_voffset_t __org_apache_arrow_flatbuf_FixedSizeBinary_required[] = { 0 };
typedef flatbuffers_ref_t org_apache_arrow_flatbuf_FixedSizeBinary_ref_t;
static org_apache_arrow_flatbuf_FixedSizeBinary_ref_t org_apache_arrow_flatbuf_FixedSizeBinary_clone(flatbuffers_builder_t *B, org_apache_arrow_flatbuf_FixedSizeBinary_table_t t);
@@ -6192,6 +7370,16 @@ __flatbuffers_build_table_prolog(flatbuffers_, org_apache_arrow_flatbuf_List, or
static inline org_apache_arrow_flatbuf_LargeList_ref_t org_apache_arrow_flatbuf_LargeList_create(flatbuffers_builder_t *B __org_apache_arrow_flatbuf_LargeList_formal_args);
__flatbuffers_build_table_prolog(flatbuffers_, org_apache_arrow_flatbuf_LargeList, org_apache_arrow_flatbuf_LargeList_file_identifier, org_apache_arrow_flatbuf_LargeList_type_identifier)
+#define __org_apache_arrow_flatbuf_ListView_formal_args
+#define __org_apache_arrow_flatbuf_ListView_call_args
+static inline org_apache_arrow_flatbuf_ListView_ref_t org_apache_arrow_flatbuf_ListView_create(flatbuffers_builder_t *B __org_apache_arrow_flatbuf_ListView_formal_args);
+__flatbuffers_build_table_prolog(flatbuffers_, org_apache_arrow_flatbuf_ListView, org_apache_arrow_flatbuf_ListView_file_identifier, org_apache_arrow_flatbuf_ListView_type_identifier)
+
+#define __org_apache_arrow_flatbuf_LargeListView_formal_args
+#define __org_apache_arrow_flatbuf_LargeListView_call_args
+static inline org_apache_arrow_flatbuf_LargeListView_ref_t org_apache_arrow_flatbuf_LargeListView_create(flatbuffers_builder_t *B __org_apache_arrow_flatbuf_LargeListView_formal_args);
+__flatbuffers_build_table_prolog(flatbuffers_, org_apache_arrow_flatbuf_LargeListView, org_apache_arrow_flatbuf_LargeListView_file_identifier, org_apache_arrow_flatbuf_LargeListView_type_identifier)
+
#define __org_apache_arrow_flatbuf_FixedSizeList_formal_args , int32_t v0
#define __org_apache_arrow_flatbuf_FixedSizeList_call_args , v0
static inline org_apache_arrow_flatbuf_FixedSizeList_ref_t org_apache_arrow_flatbuf_FixedSizeList_create(flatbuffers_builder_t *B __org_apache_arrow_flatbuf_FixedSizeList_formal_args);
@@ -6237,6 +7425,16 @@ __flatbuffers_build_table_prolog(flatbuffers_, org_apache_arrow_flatbuf_LargeUtf
static inline org_apache_arrow_flatbuf_LargeBinary_ref_t org_apache_arrow_flatbuf_LargeBinary_create(flatbuffers_builder_t *B __org_apache_arrow_flatbuf_LargeBinary_formal_args);
__flatbuffers_build_table_prolog(flatbuffers_, org_apache_arrow_flatbuf_LargeBinary, org_apache_arrow_flatbuf_LargeBinary_file_identifier, org_apache_arrow_flatbuf_LargeBinary_type_identifier)
+#define __org_apache_arrow_flatbuf_Utf8View_formal_args
+#define __org_apache_arrow_flatbuf_Utf8View_call_args
+static inline org_apache_arrow_flatbuf_Utf8View_ref_t org_apache_arrow_flatbuf_Utf8View_create(flatbuffers_builder_t *B __org_apache_arrow_flatbuf_Utf8View_formal_args);
+__flatbuffers_build_table_prolog(flatbuffers_, org_apache_arrow_flatbuf_Utf8View, org_apache_arrow_flatbuf_Utf8View_file_identifier, org_apache_arrow_flatbuf_Utf8View_type_identifier)
+
+#define __org_apache_arrow_flatbuf_BinaryView_formal_args
+#define __org_apache_arrow_flatbuf_BinaryView_call_args
+static inline org_apache_arrow_flatbuf_BinaryView_ref_t org_apache_arrow_flatbuf_BinaryView_create(flatbuffers_builder_t *B __org_apache_arrow_flatbuf_BinaryView_formal_args);
+__flatbuffers_build_table_prolog(flatbuffers_, org_apache_arrow_flatbuf_BinaryView, org_apache_arrow_flatbuf_BinaryView_file_identifier, org_apache_arrow_flatbuf_BinaryView_type_identifier)
+
#define __org_apache_arrow_flatbuf_FixedSizeBinary_formal_args , int32_t v0
#define __org_apache_arrow_flatbuf_FixedSizeBinary_call_args , v0
static inline org_apache_arrow_flatbuf_FixedSizeBinary_ref_t org_apache_arrow_flatbuf_FixedSizeBinary_create(flatbuffers_builder_t *B __org_apache_arrow_flatbuf_FixedSizeBinary_formal_args);
@@ -6350,6 +7548,14 @@ static inline org_apache_arrow_flatbuf_Type_union_ref_t org_apache_arrow_flatbuf
{ org_apache_arrow_flatbuf_Type_union_ref_t uref; uref.type = org_apache_arrow_flatbuf_Type_LargeList; uref.value = ref; return uref; }
static inline org_apache_arrow_flatbuf_Type_union_ref_t org_apache_arrow_flatbuf_Type_as_RunEndEncoded(org_apache_arrow_flatbuf_RunEndEncoded_ref_t ref)
{ org_apache_arrow_flatbuf_Type_union_ref_t uref; uref.type = org_apache_arrow_flatbuf_Type_RunEndEncoded; uref.value = ref; return uref; }
+static inline org_apache_arrow_flatbuf_Type_union_ref_t org_apache_arrow_flatbuf_Type_as_BinaryView(org_apache_arrow_flatbuf_BinaryView_ref_t ref)
+{ org_apache_arrow_flatbuf_Type_union_ref_t uref; uref.type = org_apache_arrow_flatbuf_Type_BinaryView; uref.value = ref; return uref; }
+static inline org_apache_arrow_flatbuf_Type_union_ref_t org_apache_arrow_flatbuf_Type_as_Utf8View(org_apache_arrow_flatbuf_Utf8View_ref_t ref)
+{ org_apache_arrow_flatbuf_Type_union_ref_t uref; uref.type = org_apache_arrow_flatbuf_Type_Utf8View; uref.value = ref; return uref; }
+static inline org_apache_arrow_flatbuf_Type_union_ref_t org_apache_arrow_flatbuf_Type_as_ListView(org_apache_arrow_flatbuf_ListView_ref_t ref)
+{ org_apache_arrow_flatbuf_Type_union_ref_t uref; uref.type = org_apache_arrow_flatbuf_Type_ListView; uref.value = ref; return uref; }
+static inline org_apache_arrow_flatbuf_Type_union_ref_t org_apache_arrow_flatbuf_Type_as_LargeListView(org_apache_arrow_flatbuf_LargeListView_ref_t ref)
+{ org_apache_arrow_flatbuf_Type_union_ref_t uref; uref.type = org_apache_arrow_flatbuf_Type_LargeListView; uref.value = ref; return uref; }
__flatbuffers_build_union_vector(flatbuffers_, org_apache_arrow_flatbuf_Type)
static org_apache_arrow_flatbuf_Type_union_ref_t org_apache_arrow_flatbuf_Type_clone(flatbuffers_builder_t *B, org_apache_arrow_flatbuf_Type_union_t u)
@@ -6377,6 +7583,10 @@ static org_apache_arrow_flatbuf_Type_union_ref_t org_apache_arrow_flatbuf_Type_c
case 20: return org_apache_arrow_flatbuf_Type_as_LargeUtf8(org_apache_arrow_flatbuf_LargeUtf8_clone(B, (org_apache_arrow_flatbuf_LargeUtf8_table_t)u.value));
case 21: return org_apache_arrow_flatbuf_Type_as_LargeList(org_apache_arrow_flatbuf_LargeList_clone(B, (org_apache_arrow_flatbuf_LargeList_table_t)u.value));
case 22: return org_apache_arrow_flatbuf_Type_as_RunEndEncoded(org_apache_arrow_flatbuf_RunEndEncoded_clone(B, (org_apache_arrow_flatbuf_RunEndEncoded_table_t)u.value));
+ case 23: return org_apache_arrow_flatbuf_Type_as_BinaryView(org_apache_arrow_flatbuf_BinaryView_clone(B, (org_apache_arrow_flatbuf_BinaryView_table_t)u.value));
+ case 24: return org_apache_arrow_flatbuf_Type_as_Utf8View(org_apache_arrow_flatbuf_Utf8View_clone(B, (org_apache_arrow_flatbuf_Utf8View_table_t)u.value));
+ case 25: return org_apache_arrow_flatbuf_Type_as_ListView(org_apache_arrow_flatbuf_ListView_clone(B, (org_apache_arrow_flatbuf_ListView_table_t)u.value));
+ case 26: return org_apache_arrow_flatbuf_Type_as_LargeListView(org_apache_arrow_flatbuf_LargeListView_clone(B, (org_apache_arrow_flatbuf_LargeListView_table_t)u.value));
default: return org_apache_arrow_flatbuf_Type_as_NONE();
}
}
@@ -6453,6 +7663,42 @@ static org_apache_arrow_flatbuf_LargeList_ref_t org_apache_arrow_flatbuf_LargeLi
__flatbuffers_memoize_end(B, t, org_apache_arrow_flatbuf_LargeList_end(B));
}
+
+static inline org_apache_arrow_flatbuf_ListView_ref_t org_apache_arrow_flatbuf_ListView_create(flatbuffers_builder_t *B __org_apache_arrow_flatbuf_ListView_formal_args)
+{
+ if (org_apache_arrow_flatbuf_ListView_start(B)) {
+ return 0;
+ }
+ return org_apache_arrow_flatbuf_ListView_end(B);
+}
+
+static org_apache_arrow_flatbuf_ListView_ref_t org_apache_arrow_flatbuf_ListView_clone(flatbuffers_builder_t *B, org_apache_arrow_flatbuf_ListView_table_t t)
+{
+ __flatbuffers_memoize_begin(B, t);
+ if (org_apache_arrow_flatbuf_ListView_start(B)) {
+ return 0;
+ }
+ __flatbuffers_memoize_end(B, t, org_apache_arrow_flatbuf_ListView_end(B));
+}
+
+
+static inline org_apache_arrow_flatbuf_LargeListView_ref_t org_apache_arrow_flatbuf_LargeListView_create(flatbuffers_builder_t *B __org_apache_arrow_flatbuf_LargeListView_formal_args)
+{
+ if (org_apache_arrow_flatbuf_LargeListView_start(B)) {
+ return 0;
+ }
+ return org_apache_arrow_flatbuf_LargeListView_end(B);
+}
+
+static org_apache_arrow_flatbuf_LargeListView_ref_t org_apache_arrow_flatbuf_LargeListView_clone(flatbuffers_builder_t *B, org_apache_arrow_flatbuf_LargeListView_table_t t)
+{
+ __flatbuffers_memoize_begin(B, t);
+ if (org_apache_arrow_flatbuf_LargeListView_start(B)) {
+ return 0;
+ }
+ __flatbuffers_memoize_end(B, t, org_apache_arrow_flatbuf_LargeListView_end(B));
+}
+
__flatbuffers_build_scalar_field(0, flatbuffers_, org_apache_arrow_flatbuf_FixedSizeList_listSize, flatbuffers_int32, int32_t, 4, 4, INT32_C(0), org_apache_arrow_flatbuf_FixedSizeList)
static inline org_apache_arrow_flatbuf_FixedSizeList_ref_t org_apache_arrow_flatbuf_FixedSizeList_create(flatbuffers_builder_t *B __org_apache_arrow_flatbuf_FixedSizeList_formal_args)
@@ -6636,6 +7882,42 @@ static org_apache_arrow_flatbuf_LargeBinary_ref_t org_apache_arrow_flatbuf_Large
__flatbuffers_memoize_end(B, t, org_apache_arrow_flatbuf_LargeBinary_end(B));
}
+
+static inline org_apache_arrow_flatbuf_Utf8View_ref_t org_apache_arrow_flatbuf_Utf8View_create(flatbuffers_builder_t *B __org_apache_arrow_flatbuf_Utf8View_formal_args)
+{
+ if (org_apache_arrow_flatbuf_Utf8View_start(B)) {
+ return 0;
+ }
+ return org_apache_arrow_flatbuf_Utf8View_end(B);
+}
+
+static org_apache_arrow_flatbuf_Utf8View_ref_t org_apache_arrow_flatbuf_Utf8View_clone(flatbuffers_builder_t *B, org_apache_arrow_flatbuf_Utf8View_table_t t)
+{
+ __flatbuffers_memoize_begin(B, t);
+ if (org_apache_arrow_flatbuf_Utf8View_start(B)) {
+ return 0;
+ }
+ __flatbuffers_memoize_end(B, t, org_apache_arrow_flatbuf_Utf8View_end(B));
+}
+
+
+static inline org_apache_arrow_flatbuf_BinaryView_ref_t org_apache_arrow_flatbuf_BinaryView_create(flatbuffers_builder_t *B __org_apache_arrow_flatbuf_BinaryView_formal_args)
+{
+ if (org_apache_arrow_flatbuf_BinaryView_start(B)) {
+ return 0;
+ }
+ return org_apache_arrow_flatbuf_BinaryView_end(B);
+}
+
+static org_apache_arrow_flatbuf_BinaryView_ref_t org_apache_arrow_flatbuf_BinaryView_clone(flatbuffers_builder_t *B, org_apache_arrow_flatbuf_BinaryView_table_t t)
+{
+ __flatbuffers_memoize_begin(B, t);
+ if (org_apache_arrow_flatbuf_BinaryView_start(B)) {
+ return 0;
+ }
+ __flatbuffers_memoize_end(B, t, org_apache_arrow_flatbuf_BinaryView_end(B));
+}
+
__flatbuffers_build_scalar_field(0, flatbuffers_, org_apache_arrow_flatbuf_FixedSizeBinary_byteWidth, flatbuffers_int32, int32_t, 4, 4, INT32_C(0), org_apache_arrow_flatbuf_FixedSizeBinary)
static inline org_apache_arrow_flatbuf_FixedSizeBinary_ref_t org_apache_arrow_flatbuf_FixedSizeBinary_create(flatbuffers_builder_t *B __org_apache_arrow_flatbuf_FixedSizeBinary_formal_args)
@@ -6910,6 +8192,10 @@ __flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatb
__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_Field_type, org_apache_arrow_flatbuf_Type, LargeUtf8, org_apache_arrow_flatbuf_LargeUtf8)
__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_Field_type, org_apache_arrow_flatbuf_Type, LargeList, org_apache_arrow_flatbuf_LargeList)
__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_Field_type, org_apache_arrow_flatbuf_Type, RunEndEncoded, org_apache_arrow_flatbuf_RunEndEncoded)
+__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_Field_type, org_apache_arrow_flatbuf_Type, BinaryView, org_apache_arrow_flatbuf_BinaryView)
+__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_Field_type, org_apache_arrow_flatbuf_Type, Utf8View, org_apache_arrow_flatbuf_Utf8View)
+__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_Field_type, org_apache_arrow_flatbuf_Type, ListView, org_apache_arrow_flatbuf_ListView)
+__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_Field_type, org_apache_arrow_flatbuf_Type, LargeListView, org_apache_arrow_flatbuf_LargeListView)
__flatbuffers_build_table_field(4, flatbuffers_, org_apache_arrow_flatbuf_Field_dictionary, org_apache_arrow_flatbuf_DictionaryEncoding, org_apache_arrow_flatbuf_Field)
__flatbuffers_build_table_vector_field(5, flatbuffers_, org_apache_arrow_flatbuf_Field_children, org_apache_arrow_flatbuf_Field, org_apache_arrow_flatbuf_Field)
__flatbuffers_build_table_vector_field(6, flatbuffers_, org_apache_arrow_flatbuf_Field_custom_metadata, org_apache_arrow_flatbuf_KeyValue, org_apache_arrow_flatbuf_Field)
@@ -6979,7 +8265,7 @@ static org_apache_arrow_flatbuf_Schema_ref_t org_apache_arrow_flatbuf_Schema_clo
#ifndef SCHEMA_VERIFIER_H
#define SCHEMA_VERIFIER_H
-/* Generated by flatcc 0.6.1 FlatBuffers schema compiler for C by dvide.com */
+/* Generated by flatcc 0.6.2 FlatBuffers schema compiler for C by dvide.com */
#ifndef SCHEMA_READER_H
#include "Schema_reader.h"
@@ -6991,6 +8277,8 @@ static int org_apache_arrow_flatbuf_Null_verify_table(flatcc_table_verifier_desc
static int org_apache_arrow_flatbuf_Struct__verify_table(flatcc_table_verifier_descriptor_t *td);
static int org_apache_arrow_flatbuf_List_verify_table(flatcc_table_verifier_descriptor_t *td);
static int org_apache_arrow_flatbuf_LargeList_verify_table(flatcc_table_verifier_descriptor_t *td);
+static int org_apache_arrow_flatbuf_ListView_verify_table(flatcc_table_verifier_descriptor_t *td);
+static int org_apache_arrow_flatbuf_LargeListView_verify_table(flatcc_table_verifier_descriptor_t *td);
static int org_apache_arrow_flatbuf_FixedSizeList_verify_table(flatcc_table_verifier_descriptor_t *td);
static int org_apache_arrow_flatbuf_Map_verify_table(flatcc_table_verifier_descriptor_t *td);
static int org_apache_arrow_flatbuf_Union_verify_table(flatcc_table_verifier_descriptor_t *td);
@@ -7000,6 +8288,8 @@ static int org_apache_arrow_flatbuf_Utf8_verify_table(flatcc_table_verifier_desc
static int org_apache_arrow_flatbuf_Binary_verify_table(flatcc_table_verifier_descriptor_t *td);
static int org_apache_arrow_flatbuf_LargeUtf8_verify_table(flatcc_table_verifier_descriptor_t *td);
static int org_apache_arrow_flatbuf_LargeBinary_verify_table(flatcc_table_verifier_descriptor_t *td);
+static int org_apache_arrow_flatbuf_Utf8View_verify_table(flatcc_table_verifier_descriptor_t *td);
+static int org_apache_arrow_flatbuf_BinaryView_verify_table(flatcc_table_verifier_descriptor_t *td);
static int org_apache_arrow_flatbuf_FixedSizeBinary_verify_table(flatcc_table_verifier_descriptor_t *td);
static int org_apache_arrow_flatbuf_Bool_verify_table(flatcc_table_verifier_descriptor_t *td);
static int org_apache_arrow_flatbuf_RunEndEncoded_verify_table(flatcc_table_verifier_descriptor_t *td);
@@ -7039,6 +8329,10 @@ static int org_apache_arrow_flatbuf_Type_union_verifier(flatcc_union_verifier_de
case 20: return flatcc_verify_union_table(ud, org_apache_arrow_flatbuf_LargeUtf8_verify_table); /* LargeUtf8 */
case 21: return flatcc_verify_union_table(ud, org_apache_arrow_flatbuf_LargeList_verify_table); /* LargeList */
case 22: return flatcc_verify_union_table(ud, org_apache_arrow_flatbuf_RunEndEncoded_verify_table); /* RunEndEncoded */
+ case 23: return flatcc_verify_union_table(ud, org_apache_arrow_flatbuf_BinaryView_verify_table); /* BinaryView */
+ case 24: return flatcc_verify_union_table(ud, org_apache_arrow_flatbuf_Utf8View_verify_table); /* Utf8View */
+ case 25: return flatcc_verify_union_table(ud, org_apache_arrow_flatbuf_ListView_verify_table); /* ListView */
+ case 26: return flatcc_verify_union_table(ud, org_apache_arrow_flatbuf_LargeListView_verify_table); /* LargeListView */
default: return flatcc_verify_ok;
}
}
@@ -7048,21 +8342,41 @@ static inline int org_apache_arrow_flatbuf_Buffer_verify_as_root(const void *buf
return flatcc_verify_struct_as_root(buf, bufsiz, org_apache_arrow_flatbuf_Buffer_identifier, 16, 8);
}
+static inline int org_apache_arrow_flatbuf_Buffer_verify_as_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_struct_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_Buffer_identifier, 16, 8);
+}
+
static inline int org_apache_arrow_flatbuf_Buffer_verify_as_typed_root(const void *buf, size_t bufsiz)
{
return flatcc_verify_struct_as_typed_root(buf, bufsiz, org_apache_arrow_flatbuf_Buffer_type_hash, 16, 8);
}
+static inline int org_apache_arrow_flatbuf_Buffer_verify_as_typed_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_struct_as_typed_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_Buffer_type_hash, 16, 8);
+}
+
static inline int org_apache_arrow_flatbuf_Buffer_verify_as_root_with_type_hash(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
{
return flatcc_verify_struct_as_typed_root(buf, bufsiz, thash, 16, 8);
}
+static inline int org_apache_arrow_flatbuf_Buffer_verify_as_root_with_type_hash_and_size(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+{
+ return flatcc_verify_struct_as_typed_root_with_size(buf, bufsiz, thash, 16, 8);
+}
+
static inline int org_apache_arrow_flatbuf_Buffer_verify_as_root_with_identifier(const void *buf, size_t bufsiz, const char *fid)
{
return flatcc_verify_struct_as_root(buf, bufsiz, fid, 16, 8);
}
+static inline int org_apache_arrow_flatbuf_Buffer_verify_as_root_with_identifier_and_size(const void *buf, size_t bufsiz, const char *fid)
+{
+ return flatcc_verify_struct_as_root_with_size(buf, bufsiz, fid, 16, 8);
+}
+
static int org_apache_arrow_flatbuf_Null_verify_table(flatcc_table_verifier_descriptor_t *td)
{
return flatcc_verify_ok;
@@ -7073,21 +8387,41 @@ static inline int org_apache_arrow_flatbuf_Null_verify_as_root(const void *buf,
return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_Null_identifier, &org_apache_arrow_flatbuf_Null_verify_table);
}
+static inline int org_apache_arrow_flatbuf_Null_verify_as_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_Null_identifier, &org_apache_arrow_flatbuf_Null_verify_table);
+}
+
static inline int org_apache_arrow_flatbuf_Null_verify_as_typed_root(const void *buf, size_t bufsiz)
{
return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_Null_type_identifier, &org_apache_arrow_flatbuf_Null_verify_table);
}
+static inline int org_apache_arrow_flatbuf_Null_verify_as_typed_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_Null_type_identifier, &org_apache_arrow_flatbuf_Null_verify_table);
+}
+
static inline int org_apache_arrow_flatbuf_Null_verify_as_root_with_identifier(const void *buf, size_t bufsiz, const char *fid)
{
return flatcc_verify_table_as_root(buf, bufsiz, fid, &org_apache_arrow_flatbuf_Null_verify_table);
}
+static inline int org_apache_arrow_flatbuf_Null_verify_as_root_with_identifier_and_size(const void *buf, size_t bufsiz, const char *fid)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, fid, &org_apache_arrow_flatbuf_Null_verify_table);
+}
+
static inline int org_apache_arrow_flatbuf_Null_verify_as_root_with_type_hash(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
{
return flatcc_verify_table_as_typed_root(buf, bufsiz, thash, &org_apache_arrow_flatbuf_Null_verify_table);
}
+static inline int org_apache_arrow_flatbuf_Null_verify_as_root_with_type_hash_and_size(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+{
+ return flatcc_verify_table_as_typed_root_with_size(buf, bufsiz, thash, &org_apache_arrow_flatbuf_Null_verify_table);
+}
+
static int org_apache_arrow_flatbuf_Struct__verify_table(flatcc_table_verifier_descriptor_t *td)
{
return flatcc_verify_ok;
@@ -7098,21 +8432,41 @@ static inline int org_apache_arrow_flatbuf_Struct__verify_as_root(const void *bu
return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_Struct__identifier, &org_apache_arrow_flatbuf_Struct__verify_table);
}
+static inline int org_apache_arrow_flatbuf_Struct__verify_as_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_Struct__identifier, &org_apache_arrow_flatbuf_Struct__verify_table);
+}
+
static inline int org_apache_arrow_flatbuf_Struct__verify_as_typed_root(const void *buf, size_t bufsiz)
{
return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_Struct__type_identifier, &org_apache_arrow_flatbuf_Struct__verify_table);
}
+static inline int org_apache_arrow_flatbuf_Struct__verify_as_typed_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_Struct__type_identifier, &org_apache_arrow_flatbuf_Struct__verify_table);
+}
+
static inline int org_apache_arrow_flatbuf_Struct__verify_as_root_with_identifier(const void *buf, size_t bufsiz, const char *fid)
{
return flatcc_verify_table_as_root(buf, bufsiz, fid, &org_apache_arrow_flatbuf_Struct__verify_table);
}
+static inline int org_apache_arrow_flatbuf_Struct__verify_as_root_with_identifier_and_size(const void *buf, size_t bufsiz, const char *fid)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, fid, &org_apache_arrow_flatbuf_Struct__verify_table);
+}
+
static inline int org_apache_arrow_flatbuf_Struct__verify_as_root_with_type_hash(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
{
return flatcc_verify_table_as_typed_root(buf, bufsiz, thash, &org_apache_arrow_flatbuf_Struct__verify_table);
}
+static inline int org_apache_arrow_flatbuf_Struct__verify_as_root_with_type_hash_and_size(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+{
+ return flatcc_verify_table_as_typed_root_with_size(buf, bufsiz, thash, &org_apache_arrow_flatbuf_Struct__verify_table);
+}
+
static int org_apache_arrow_flatbuf_List_verify_table(flatcc_table_verifier_descriptor_t *td)
{
return flatcc_verify_ok;
@@ -7123,21 +8477,41 @@ static inline int org_apache_arrow_flatbuf_List_verify_as_root(const void *buf,
return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_List_identifier, &org_apache_arrow_flatbuf_List_verify_table);
}
+static inline int org_apache_arrow_flatbuf_List_verify_as_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_List_identifier, &org_apache_arrow_flatbuf_List_verify_table);
+}
+
static inline int org_apache_arrow_flatbuf_List_verify_as_typed_root(const void *buf, size_t bufsiz)
{
return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_List_type_identifier, &org_apache_arrow_flatbuf_List_verify_table);
}
+static inline int org_apache_arrow_flatbuf_List_verify_as_typed_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_List_type_identifier, &org_apache_arrow_flatbuf_List_verify_table);
+}
+
static inline int org_apache_arrow_flatbuf_List_verify_as_root_with_identifier(const void *buf, size_t bufsiz, const char *fid)
{
return flatcc_verify_table_as_root(buf, bufsiz, fid, &org_apache_arrow_flatbuf_List_verify_table);
}
+static inline int org_apache_arrow_flatbuf_List_verify_as_root_with_identifier_and_size(const void *buf, size_t bufsiz, const char *fid)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, fid, &org_apache_arrow_flatbuf_List_verify_table);
+}
+
static inline int org_apache_arrow_flatbuf_List_verify_as_root_with_type_hash(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
{
return flatcc_verify_table_as_typed_root(buf, bufsiz, thash, &org_apache_arrow_flatbuf_List_verify_table);
}
+static inline int org_apache_arrow_flatbuf_List_verify_as_root_with_type_hash_and_size(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+{
+ return flatcc_verify_table_as_typed_root_with_size(buf, bufsiz, thash, &org_apache_arrow_flatbuf_List_verify_table);
+}
+
static int org_apache_arrow_flatbuf_LargeList_verify_table(flatcc_table_verifier_descriptor_t *td)
{
return flatcc_verify_ok;
@@ -7148,1690 +8522,1271 @@ static inline int org_apache_arrow_flatbuf_LargeList_verify_as_root(const void *
return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_LargeList_identifier, &org_apache_arrow_flatbuf_LargeList_verify_table);
}
+static inline int org_apache_arrow_flatbuf_LargeList_verify_as_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_LargeList_identifier, &org_apache_arrow_flatbuf_LargeList_verify_table);
+}
+
static inline int org_apache_arrow_flatbuf_LargeList_verify_as_typed_root(const void *buf, size_t bufsiz)
{
return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_LargeList_type_identifier, &org_apache_arrow_flatbuf_LargeList_verify_table);
}
+static inline int org_apache_arrow_flatbuf_LargeList_verify_as_typed_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_LargeList_type_identifier, &org_apache_arrow_flatbuf_LargeList_verify_table);
+}
+
static inline int org_apache_arrow_flatbuf_LargeList_verify_as_root_with_identifier(const void *buf, size_t bufsiz, const char *fid)
{
return flatcc_verify_table_as_root(buf, bufsiz, fid, &org_apache_arrow_flatbuf_LargeList_verify_table);
}
-static inline int org_apache_arrow_flatbuf_LargeList_verify_as_root_with_type_hash(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+static inline int org_apache_arrow_flatbuf_LargeList_verify_as_root_with_identifier_and_size(const void *buf, size_t bufsiz, const char *fid)
{
- return flatcc_verify_table_as_typed_root(buf, bufsiz, thash, &org_apache_arrow_flatbuf_LargeList_verify_table);
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, fid, &org_apache_arrow_flatbuf_LargeList_verify_table);
}
-static int org_apache_arrow_flatbuf_FixedSizeList_verify_table(flatcc_table_verifier_descriptor_t *td)
+static inline int org_apache_arrow_flatbuf_LargeList_verify_as_root_with_type_hash(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
{
- int ret;
- if ((ret = flatcc_verify_field(td, 0, 4, 4) /* listSize */)) return ret;
- return flatcc_verify_ok;
+ return flatcc_verify_table_as_typed_root(buf, bufsiz, thash, &org_apache_arrow_flatbuf_LargeList_verify_table);
}
-static inline int org_apache_arrow_flatbuf_FixedSizeList_verify_as_root(const void *buf, size_t bufsiz)
+static inline int org_apache_arrow_flatbuf_LargeList_verify_as_root_with_type_hash_and_size(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
{
- return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_FixedSizeList_identifier, &org_apache_arrow_flatbuf_FixedSizeList_verify_table);
+ return flatcc_verify_table_as_typed_root_with_size(buf, bufsiz, thash, &org_apache_arrow_flatbuf_LargeList_verify_table);
}
-static inline int org_apache_arrow_flatbuf_FixedSizeList_verify_as_typed_root(const void *buf, size_t bufsiz)
+static int org_apache_arrow_flatbuf_ListView_verify_table(flatcc_table_verifier_descriptor_t *td)
{
- return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_FixedSizeList_type_identifier, &org_apache_arrow_flatbuf_FixedSizeList_verify_table);
+ return flatcc_verify_ok;
}
-static inline int org_apache_arrow_flatbuf_FixedSizeList_verify_as_root_with_identifier(const void *buf, size_t bufsiz, const char *fid)
+static inline int org_apache_arrow_flatbuf_ListView_verify_as_root(const void *buf, size_t bufsiz)
{
- return flatcc_verify_table_as_root(buf, bufsiz, fid, &org_apache_arrow_flatbuf_FixedSizeList_verify_table);
+ return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_ListView_identifier, &org_apache_arrow_flatbuf_ListView_verify_table);
}
-static inline int org_apache_arrow_flatbuf_FixedSizeList_verify_as_root_with_type_hash(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+static inline int org_apache_arrow_flatbuf_ListView_verify_as_root_with_size(const void *buf, size_t bufsiz)
{
- return flatcc_verify_table_as_typed_root(buf, bufsiz, thash, &org_apache_arrow_flatbuf_FixedSizeList_verify_table);
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_ListView_identifier, &org_apache_arrow_flatbuf_ListView_verify_table);
}
-static int org_apache_arrow_flatbuf_Map_verify_table(flatcc_table_verifier_descriptor_t *td)
+static inline int org_apache_arrow_flatbuf_ListView_verify_as_typed_root(const void *buf, size_t bufsiz)
{
- int ret;
- if ((ret = flatcc_verify_field(td, 0, 1, 1) /* keysSorted */)) return ret;
- return flatcc_verify_ok;
+ return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_ListView_type_identifier, &org_apache_arrow_flatbuf_ListView_verify_table);
}
-static inline int org_apache_arrow_flatbuf_Map_verify_as_root(const void *buf, size_t bufsiz)
+static inline int org_apache_arrow_flatbuf_ListView_verify_as_typed_root_with_size(const void *buf, size_t bufsiz)
{
- return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_Map_identifier, &org_apache_arrow_flatbuf_Map_verify_table);
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_ListView_type_identifier, &org_apache_arrow_flatbuf_ListView_verify_table);
}
-static inline int org_apache_arrow_flatbuf_Map_verify_as_typed_root(const void *buf, size_t bufsiz)
+static inline int org_apache_arrow_flatbuf_ListView_verify_as_root_with_identifier(const void *buf, size_t bufsiz, const char *fid)
{
- return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_Map_type_identifier, &org_apache_arrow_flatbuf_Map_verify_table);
+ return flatcc_verify_table_as_root(buf, bufsiz, fid, &org_apache_arrow_flatbuf_ListView_verify_table);
}
-static inline int org_apache_arrow_flatbuf_Map_verify_as_root_with_identifier(const void *buf, size_t bufsiz, const char *fid)
+static inline int org_apache_arrow_flatbuf_ListView_verify_as_root_with_identifier_and_size(const void *buf, size_t bufsiz, const char *fid)
{
- return flatcc_verify_table_as_root(buf, bufsiz, fid, &org_apache_arrow_flatbuf_Map_verify_table);
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, fid, &org_apache_arrow_flatbuf_ListView_verify_table);
}
-static inline int org_apache_arrow_flatbuf_Map_verify_as_root_with_type_hash(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+static inline int org_apache_arrow_flatbuf_ListView_verify_as_root_with_type_hash(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
{
- return flatcc_verify_table_as_typed_root(buf, bufsiz, thash, &org_apache_arrow_flatbuf_Map_verify_table);
+ return flatcc_verify_table_as_typed_root(buf, bufsiz, thash, &org_apache_arrow_flatbuf_ListView_verify_table);
}
-static int org_apache_arrow_flatbuf_Union_verify_table(flatcc_table_verifier_descriptor_t *td)
+static inline int org_apache_arrow_flatbuf_ListView_verify_as_root_with_type_hash_and_size(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
{
- int ret;
- if ((ret = flatcc_verify_field(td, 0, 2, 2) /* mode */)) return ret;
- if ((ret = flatcc_verify_vector_field(td, 1, 0, 4, 4, INT64_C(1073741823)) /* typeIds */)) return ret;
- return flatcc_verify_ok;
+ return flatcc_verify_table_as_typed_root_with_size(buf, bufsiz, thash, &org_apache_arrow_flatbuf_ListView_verify_table);
}
-static inline int org_apache_arrow_flatbuf_Union_verify_as_root(const void *buf, size_t bufsiz)
+static int org_apache_arrow_flatbuf_LargeListView_verify_table(flatcc_table_verifier_descriptor_t *td)
{
- return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_Union_identifier, &org_apache_arrow_flatbuf_Union_verify_table);
+ return flatcc_verify_ok;
}
-static inline int org_apache_arrow_flatbuf_Union_verify_as_typed_root(const void *buf, size_t bufsiz)
+static inline int org_apache_arrow_flatbuf_LargeListView_verify_as_root(const void *buf, size_t bufsiz)
{
- return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_Union_type_identifier, &org_apache_arrow_flatbuf_Union_verify_table);
+ return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_LargeListView_identifier, &org_apache_arrow_flatbuf_LargeListView_verify_table);
}
-static inline int org_apache_arrow_flatbuf_Union_verify_as_root_with_identifier(const void *buf, size_t bufsiz, const char *fid)
+static inline int org_apache_arrow_flatbuf_LargeListView_verify_as_root_with_size(const void *buf, size_t bufsiz)
{
- return flatcc_verify_table_as_root(buf, bufsiz, fid, &org_apache_arrow_flatbuf_Union_verify_table);
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_LargeListView_identifier, &org_apache_arrow_flatbuf_LargeListView_verify_table);
}
-static inline int org_apache_arrow_flatbuf_Union_verify_as_root_with_type_hash(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+static inline int org_apache_arrow_flatbuf_LargeListView_verify_as_typed_root(const void *buf, size_t bufsiz)
{
- return flatcc_verify_table_as_typed_root(buf, bufsiz, thash, &org_apache_arrow_flatbuf_Union_verify_table);
+ return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_LargeListView_type_identifier, &org_apache_arrow_flatbuf_LargeListView_verify_table);
}
-static int org_apache_arrow_flatbuf_Int_verify_table(flatcc_table_verifier_descriptor_t *td)
+static inline int org_apache_arrow_flatbuf_LargeListView_verify_as_typed_root_with_size(const void *buf, size_t bufsiz)
{
- int ret;
- if ((ret = flatcc_verify_field(td, 0, 4, 4) /* bitWidth */)) return ret;
- if ((ret = flatcc_verify_field(td, 1, 1, 1) /* is_signed */)) return ret;
- return flatcc_verify_ok;
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_LargeListView_type_identifier, &org_apache_arrow_flatbuf_LargeListView_verify_table);
}
-static inline int org_apache_arrow_flatbuf_Int_verify_as_root(const void *buf, size_t bufsiz)
+static inline int org_apache_arrow_flatbuf_LargeListView_verify_as_root_with_identifier(const void *buf, size_t bufsiz, const char *fid)
{
- return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_Int_identifier, &org_apache_arrow_flatbuf_Int_verify_table);
+ return flatcc_verify_table_as_root(buf, bufsiz, fid, &org_apache_arrow_flatbuf_LargeListView_verify_table);
}
-static inline int org_apache_arrow_flatbuf_Int_verify_as_typed_root(const void *buf, size_t bufsiz)
+static inline int org_apache_arrow_flatbuf_LargeListView_verify_as_root_with_identifier_and_size(const void *buf, size_t bufsiz, const char *fid)
{
- return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_Int_type_identifier, &org_apache_arrow_flatbuf_Int_verify_table);
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, fid, &org_apache_arrow_flatbuf_LargeListView_verify_table);
}
-static inline int org_apache_arrow_flatbuf_Int_verify_as_root_with_identifier(const void *buf, size_t bufsiz, const char *fid)
+static inline int org_apache_arrow_flatbuf_LargeListView_verify_as_root_with_type_hash(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
{
- return flatcc_verify_table_as_root(buf, bufsiz, fid, &org_apache_arrow_flatbuf_Int_verify_table);
+ return flatcc_verify_table_as_typed_root(buf, bufsiz, thash, &org_apache_arrow_flatbuf_LargeListView_verify_table);
}
-static inline int org_apache_arrow_flatbuf_Int_verify_as_root_with_type_hash(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+static inline int org_apache_arrow_flatbuf_LargeListView_verify_as_root_with_type_hash_and_size(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
{
- return flatcc_verify_table_as_typed_root(buf, bufsiz, thash, &org_apache_arrow_flatbuf_Int_verify_table);
+ return flatcc_verify_table_as_typed_root_with_size(buf, bufsiz, thash, &org_apache_arrow_flatbuf_LargeListView_verify_table);
}
-static int org_apache_arrow_flatbuf_FloatingPoint_verify_table(flatcc_table_verifier_descriptor_t *td)
+static int org_apache_arrow_flatbuf_FixedSizeList_verify_table(flatcc_table_verifier_descriptor_t *td)
{
int ret;
- if ((ret = flatcc_verify_field(td, 0, 2, 2) /* precision */)) return ret;
+ if ((ret = flatcc_verify_field(td, 0, 4, 4) /* listSize */)) return ret;
return flatcc_verify_ok;
}
-static inline int org_apache_arrow_flatbuf_FloatingPoint_verify_as_root(const void *buf, size_t bufsiz)
+static inline int org_apache_arrow_flatbuf_FixedSizeList_verify_as_root(const void *buf, size_t bufsiz)
{
- return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_FloatingPoint_identifier, &org_apache_arrow_flatbuf_FloatingPoint_verify_table);
+ return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_FixedSizeList_identifier, &org_apache_arrow_flatbuf_FixedSizeList_verify_table);
}
-static inline int org_apache_arrow_flatbuf_FloatingPoint_verify_as_typed_root(const void *buf, size_t bufsiz)
+static inline int org_apache_arrow_flatbuf_FixedSizeList_verify_as_root_with_size(const void *buf, size_t bufsiz)
{
- return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_FloatingPoint_type_identifier, &org_apache_arrow_flatbuf_FloatingPoint_verify_table);
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_FixedSizeList_identifier, &org_apache_arrow_flatbuf_FixedSizeList_verify_table);
}
-static inline int org_apache_arrow_flatbuf_FloatingPoint_verify_as_root_with_identifier(const void *buf, size_t bufsiz, const char *fid)
+static inline int org_apache_arrow_flatbuf_FixedSizeList_verify_as_typed_root(const void *buf, size_t bufsiz)
{
- return flatcc_verify_table_as_root(buf, bufsiz, fid, &org_apache_arrow_flatbuf_FloatingPoint_verify_table);
+ return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_FixedSizeList_type_identifier, &org_apache_arrow_flatbuf_FixedSizeList_verify_table);
}
-static inline int org_apache_arrow_flatbuf_FloatingPoint_verify_as_root_with_type_hash(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+static inline int org_apache_arrow_flatbuf_FixedSizeList_verify_as_typed_root_with_size(const void *buf, size_t bufsiz)
{
- return flatcc_verify_table_as_typed_root(buf, bufsiz, thash, &org_apache_arrow_flatbuf_FloatingPoint_verify_table);
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_FixedSizeList_type_identifier, &org_apache_arrow_flatbuf_FixedSizeList_verify_table);
}
-static int org_apache_arrow_flatbuf_Utf8_verify_table(flatcc_table_verifier_descriptor_t *td)
+static inline int org_apache_arrow_flatbuf_FixedSizeList_verify_as_root_with_identifier(const void *buf, size_t bufsiz, const char *fid)
{
- return flatcc_verify_ok;
+ return flatcc_verify_table_as_root(buf, bufsiz, fid, &org_apache_arrow_flatbuf_FixedSizeList_verify_table);
}
-static inline int org_apache_arrow_flatbuf_Utf8_verify_as_root(const void *buf, size_t bufsiz)
+static inline int org_apache_arrow_flatbuf_FixedSizeList_verify_as_root_with_identifier_and_size(const void *buf, size_t bufsiz, const char *fid)
{
- return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_Utf8_identifier, &org_apache_arrow_flatbuf_Utf8_verify_table);
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, fid, &org_apache_arrow_flatbuf_FixedSizeList_verify_table);
}
-static inline int org_apache_arrow_flatbuf_Utf8_verify_as_typed_root(const void *buf, size_t bufsiz)
+static inline int org_apache_arrow_flatbuf_FixedSizeList_verify_as_root_with_type_hash(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
{
- return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_Utf8_type_identifier, &org_apache_arrow_flatbuf_Utf8_verify_table);
+ return flatcc_verify_table_as_typed_root(buf, bufsiz, thash, &org_apache_arrow_flatbuf_FixedSizeList_verify_table);
}
-static inline int org_apache_arrow_flatbuf_Utf8_verify_as_root_with_identifier(const void *buf, size_t bufsiz, const char *fid)
+static inline int org_apache_arrow_flatbuf_FixedSizeList_verify_as_root_with_type_hash_and_size(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
{
- return flatcc_verify_table_as_root(buf, bufsiz, fid, &org_apache_arrow_flatbuf_Utf8_verify_table);
+ return flatcc_verify_table_as_typed_root_with_size(buf, bufsiz, thash, &org_apache_arrow_flatbuf_FixedSizeList_verify_table);
}
-static inline int org_apache_arrow_flatbuf_Utf8_verify_as_root_with_type_hash(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+static int org_apache_arrow_flatbuf_Map_verify_table(flatcc_table_verifier_descriptor_t *td)
{
- return flatcc_verify_table_as_typed_root(buf, bufsiz, thash, &org_apache_arrow_flatbuf_Utf8_verify_table);
+ int ret;
+ if ((ret = flatcc_verify_field(td, 0, 1, 1) /* keysSorted */)) return ret;
+ return flatcc_verify_ok;
}
-static int org_apache_arrow_flatbuf_Binary_verify_table(flatcc_table_verifier_descriptor_t *td)
+static inline int org_apache_arrow_flatbuf_Map_verify_as_root(const void *buf, size_t bufsiz)
{
- return flatcc_verify_ok;
+ return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_Map_identifier, &org_apache_arrow_flatbuf_Map_verify_table);
}
-static inline int org_apache_arrow_flatbuf_Binary_verify_as_root(const void *buf, size_t bufsiz)
+static inline int org_apache_arrow_flatbuf_Map_verify_as_root_with_size(const void *buf, size_t bufsiz)
{
- return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_Binary_identifier, &org_apache_arrow_flatbuf_Binary_verify_table);
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_Map_identifier, &org_apache_arrow_flatbuf_Map_verify_table);
}
-static inline int org_apache_arrow_flatbuf_Binary_verify_as_typed_root(const void *buf, size_t bufsiz)
+static inline int org_apache_arrow_flatbuf_Map_verify_as_typed_root(const void *buf, size_t bufsiz)
{
- return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_Binary_type_identifier, &org_apache_arrow_flatbuf_Binary_verify_table);
+ return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_Map_type_identifier, &org_apache_arrow_flatbuf_Map_verify_table);
}
-static inline int org_apache_arrow_flatbuf_Binary_verify_as_root_with_identifier(const void *buf, size_t bufsiz, const char *fid)
+static inline int org_apache_arrow_flatbuf_Map_verify_as_typed_root_with_size(const void *buf, size_t bufsiz)
{
- return flatcc_verify_table_as_root(buf, bufsiz, fid, &org_apache_arrow_flatbuf_Binary_verify_table);
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_Map_type_identifier, &org_apache_arrow_flatbuf_Map_verify_table);
}
-static inline int org_apache_arrow_flatbuf_Binary_verify_as_root_with_type_hash(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+static inline int org_apache_arrow_flatbuf_Map_verify_as_root_with_identifier(const void *buf, size_t bufsiz, const char *fid)
{
- return flatcc_verify_table_as_typed_root(buf, bufsiz, thash, &org_apache_arrow_flatbuf_Binary_verify_table);
+ return flatcc_verify_table_as_root(buf, bufsiz, fid, &org_apache_arrow_flatbuf_Map_verify_table);
}
-static int org_apache_arrow_flatbuf_LargeUtf8_verify_table(flatcc_table_verifier_descriptor_t *td)
+static inline int org_apache_arrow_flatbuf_Map_verify_as_root_with_identifier_and_size(const void *buf, size_t bufsiz, const char *fid)
{
- return flatcc_verify_ok;
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, fid, &org_apache_arrow_flatbuf_Map_verify_table);
}
-static inline int org_apache_arrow_flatbuf_LargeUtf8_verify_as_root(const void *buf, size_t bufsiz)
+static inline int org_apache_arrow_flatbuf_Map_verify_as_root_with_type_hash(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
{
- return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_LargeUtf8_identifier, &org_apache_arrow_flatbuf_LargeUtf8_verify_table);
+ return flatcc_verify_table_as_typed_root(buf, bufsiz, thash, &org_apache_arrow_flatbuf_Map_verify_table);
}
-static inline int org_apache_arrow_flatbuf_LargeUtf8_verify_as_typed_root(const void *buf, size_t bufsiz)
+static inline int org_apache_arrow_flatbuf_Map_verify_as_root_with_type_hash_and_size(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
{
- return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_LargeUtf8_type_identifier, &org_apache_arrow_flatbuf_LargeUtf8_verify_table);
+ return flatcc_verify_table_as_typed_root_with_size(buf, bufsiz, thash, &org_apache_arrow_flatbuf_Map_verify_table);
}
-static inline int org_apache_arrow_flatbuf_LargeUtf8_verify_as_root_with_identifier(const void *buf, size_t bufsiz, const char *fid)
+static int org_apache_arrow_flatbuf_Union_verify_table(flatcc_table_verifier_descriptor_t *td)
{
- return flatcc_verify_table_as_root(buf, bufsiz, fid, &org_apache_arrow_flatbuf_LargeUtf8_verify_table);
+ int ret;
+ if ((ret = flatcc_verify_field(td, 0, 2, 2) /* mode */)) return ret;
+ if ((ret = flatcc_verify_vector_field(td, 1, 0, 4, 4, INT64_C(1073741823)) /* typeIds */)) return ret;
+ return flatcc_verify_ok;
}
-static inline int org_apache_arrow_flatbuf_LargeUtf8_verify_as_root_with_type_hash(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+static inline int org_apache_arrow_flatbuf_Union_verify_as_root(const void *buf, size_t bufsiz)
{
- return flatcc_verify_table_as_typed_root(buf, bufsiz, thash, &org_apache_arrow_flatbuf_LargeUtf8_verify_table);
+ return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_Union_identifier, &org_apache_arrow_flatbuf_Union_verify_table);
}
-static int org_apache_arrow_flatbuf_LargeBinary_verify_table(flatcc_table_verifier_descriptor_t *td)
+static inline int org_apache_arrow_flatbuf_Union_verify_as_root_with_size(const void *buf, size_t bufsiz)
{
- return flatcc_verify_ok;
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_Union_identifier, &org_apache_arrow_flatbuf_Union_verify_table);
}
-static inline int org_apache_arrow_flatbuf_LargeBinary_verify_as_root(const void *buf, size_t bufsiz)
+static inline int org_apache_arrow_flatbuf_Union_verify_as_typed_root(const void *buf, size_t bufsiz)
{
- return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_LargeBinary_identifier, &org_apache_arrow_flatbuf_LargeBinary_verify_table);
+ return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_Union_type_identifier, &org_apache_arrow_flatbuf_Union_verify_table);
}
-static inline int org_apache_arrow_flatbuf_LargeBinary_verify_as_typed_root(const void *buf, size_t bufsiz)
+static inline int org_apache_arrow_flatbuf_Union_verify_as_typed_root_with_size(const void *buf, size_t bufsiz)
{
- return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_LargeBinary_type_identifier, &org_apache_arrow_flatbuf_LargeBinary_verify_table);
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_Union_type_identifier, &org_apache_arrow_flatbuf_Union_verify_table);
}
-static inline int org_apache_arrow_flatbuf_LargeBinary_verify_as_root_with_identifier(const void *buf, size_t bufsiz, const char *fid)
+static inline int org_apache_arrow_flatbuf_Union_verify_as_root_with_identifier(const void *buf, size_t bufsiz, const char *fid)
{
- return flatcc_verify_table_as_root(buf, bufsiz, fid, &org_apache_arrow_flatbuf_LargeBinary_verify_table);
+ return flatcc_verify_table_as_root(buf, bufsiz, fid, &org_apache_arrow_flatbuf_Union_verify_table);
}
-static inline int org_apache_arrow_flatbuf_LargeBinary_verify_as_root_with_type_hash(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+static inline int org_apache_arrow_flatbuf_Union_verify_as_root_with_identifier_and_size(const void *buf, size_t bufsiz, const char *fid)
{
- return flatcc_verify_table_as_typed_root(buf, bufsiz, thash, &org_apache_arrow_flatbuf_LargeBinary_verify_table);
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, fid, &org_apache_arrow_flatbuf_Union_verify_table);
}
-static int org_apache_arrow_flatbuf_FixedSizeBinary_verify_table(flatcc_table_verifier_descriptor_t *td)
+static inline int org_apache_arrow_flatbuf_Union_verify_as_root_with_type_hash(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
{
- int ret;
- if ((ret = flatcc_verify_field(td, 0, 4, 4) /* byteWidth */)) return ret;
- return flatcc_verify_ok;
+ return flatcc_verify_table_as_typed_root(buf, bufsiz, thash, &org_apache_arrow_flatbuf_Union_verify_table);
}
-static inline int org_apache_arrow_flatbuf_FixedSizeBinary_verify_as_root(const void *buf, size_t bufsiz)
+static inline int org_apache_arrow_flatbuf_Union_verify_as_root_with_type_hash_and_size(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
{
- return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_FixedSizeBinary_identifier, &org_apache_arrow_flatbuf_FixedSizeBinary_verify_table);
+ return flatcc_verify_table_as_typed_root_with_size(buf, bufsiz, thash, &org_apache_arrow_flatbuf_Union_verify_table);
}
-static inline int org_apache_arrow_flatbuf_FixedSizeBinary_verify_as_typed_root(const void *buf, size_t bufsiz)
+static int org_apache_arrow_flatbuf_Int_verify_table(flatcc_table_verifier_descriptor_t *td)
{
- return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_FixedSizeBinary_type_identifier, &org_apache_arrow_flatbuf_FixedSizeBinary_verify_table);
+ int ret;
+ if ((ret = flatcc_verify_field(td, 0, 4, 4) /* bitWidth */)) return ret;
+ if ((ret = flatcc_verify_field(td, 1, 1, 1) /* is_signed */)) return ret;
+ return flatcc_verify_ok;
}
-static inline int org_apache_arrow_flatbuf_FixedSizeBinary_verify_as_root_with_identifier(const void *buf, size_t bufsiz, const char *fid)
+static inline int org_apache_arrow_flatbuf_Int_verify_as_root(const void *buf, size_t bufsiz)
{
- return flatcc_verify_table_as_root(buf, bufsiz, fid, &org_apache_arrow_flatbuf_FixedSizeBinary_verify_table);
+ return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_Int_identifier, &org_apache_arrow_flatbuf_Int_verify_table);
}
-static inline int org_apache_arrow_flatbuf_FixedSizeBinary_verify_as_root_with_type_hash(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+static inline int org_apache_arrow_flatbuf_Int_verify_as_root_with_size(const void *buf, size_t bufsiz)
{
- return flatcc_verify_table_as_typed_root(buf, bufsiz, thash, &org_apache_arrow_flatbuf_FixedSizeBinary_verify_table);
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_Int_identifier, &org_apache_arrow_flatbuf_Int_verify_table);
}
-static int org_apache_arrow_flatbuf_Bool_verify_table(flatcc_table_verifier_descriptor_t *td)
+static inline int org_apache_arrow_flatbuf_Int_verify_as_typed_root(const void *buf, size_t bufsiz)
{
- return flatcc_verify_ok;
+ return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_Int_type_identifier, &org_apache_arrow_flatbuf_Int_verify_table);
}
-static inline int org_apache_arrow_flatbuf_Bool_verify_as_root(const void *buf, size_t bufsiz)
+static inline int org_apache_arrow_flatbuf_Int_verify_as_typed_root_with_size(const void *buf, size_t bufsiz)
{
- return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_Bool_identifier, &org_apache_arrow_flatbuf_Bool_verify_table);
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_Int_type_identifier, &org_apache_arrow_flatbuf_Int_verify_table);
}
-static inline int org_apache_arrow_flatbuf_Bool_verify_as_typed_root(const void *buf, size_t bufsiz)
+static inline int org_apache_arrow_flatbuf_Int_verify_as_root_with_identifier(const void *buf, size_t bufsiz, const char *fid)
{
- return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_Bool_type_identifier, &org_apache_arrow_flatbuf_Bool_verify_table);
+ return flatcc_verify_table_as_root(buf, bufsiz, fid, &org_apache_arrow_flatbuf_Int_verify_table);
}
-static inline int org_apache_arrow_flatbuf_Bool_verify_as_root_with_identifier(const void *buf, size_t bufsiz, const char *fid)
+static inline int org_apache_arrow_flatbuf_Int_verify_as_root_with_identifier_and_size(const void *buf, size_t bufsiz, const char *fid)
{
- return flatcc_verify_table_as_root(buf, bufsiz, fid, &org_apache_arrow_flatbuf_Bool_verify_table);
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, fid, &org_apache_arrow_flatbuf_Int_verify_table);
}
-static inline int org_apache_arrow_flatbuf_Bool_verify_as_root_with_type_hash(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+static inline int org_apache_arrow_flatbuf_Int_verify_as_root_with_type_hash(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
{
- return flatcc_verify_table_as_typed_root(buf, bufsiz, thash, &org_apache_arrow_flatbuf_Bool_verify_table);
+ return flatcc_verify_table_as_typed_root(buf, bufsiz, thash, &org_apache_arrow_flatbuf_Int_verify_table);
}
-static int org_apache_arrow_flatbuf_RunEndEncoded_verify_table(flatcc_table_verifier_descriptor_t *td)
+static inline int org_apache_arrow_flatbuf_Int_verify_as_root_with_type_hash_and_size(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
{
- return flatcc_verify_ok;
+ return flatcc_verify_table_as_typed_root_with_size(buf, bufsiz, thash, &org_apache_arrow_flatbuf_Int_verify_table);
}
-static inline int org_apache_arrow_flatbuf_RunEndEncoded_verify_as_root(const void *buf, size_t bufsiz)
+static int org_apache_arrow_flatbuf_FloatingPoint_verify_table(flatcc_table_verifier_descriptor_t *td)
{
- return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_RunEndEncoded_identifier, &org_apache_arrow_flatbuf_RunEndEncoded_verify_table);
+ int ret;
+ if ((ret = flatcc_verify_field(td, 0, 2, 2) /* precision */)) return ret;
+ return flatcc_verify_ok;
}
-static inline int org_apache_arrow_flatbuf_RunEndEncoded_verify_as_typed_root(const void *buf, size_t bufsiz)
+static inline int org_apache_arrow_flatbuf_FloatingPoint_verify_as_root(const void *buf, size_t bufsiz)
{
- return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_RunEndEncoded_type_identifier, &org_apache_arrow_flatbuf_RunEndEncoded_verify_table);
+ return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_FloatingPoint_identifier, &org_apache_arrow_flatbuf_FloatingPoint_verify_table);
}
-static inline int org_apache_arrow_flatbuf_RunEndEncoded_verify_as_root_with_identifier(const void *buf, size_t bufsiz, const char *fid)
+static inline int org_apache_arrow_flatbuf_FloatingPoint_verify_as_root_with_size(const void *buf, size_t bufsiz)
{
- return flatcc_verify_table_as_root(buf, bufsiz, fid, &org_apache_arrow_flatbuf_RunEndEncoded_verify_table);
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_FloatingPoint_identifier, &org_apache_arrow_flatbuf_FloatingPoint_verify_table);
}
-static inline int org_apache_arrow_flatbuf_RunEndEncoded_verify_as_root_with_type_hash(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+static inline int org_apache_arrow_flatbuf_FloatingPoint_verify_as_typed_root(const void *buf, size_t bufsiz)
{
- return flatcc_verify_table_as_typed_root(buf, bufsiz, thash, &org_apache_arrow_flatbuf_RunEndEncoded_verify_table);
+ return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_FloatingPoint_type_identifier, &org_apache_arrow_flatbuf_FloatingPoint_verify_table);
}
-static int org_apache_arrow_flatbuf_Decimal_verify_table(flatcc_table_verifier_descriptor_t *td)
+static inline int org_apache_arrow_flatbuf_FloatingPoint_verify_as_typed_root_with_size(const void *buf, size_t bufsiz)
{
- int ret;
- if ((ret = flatcc_verify_field(td, 0, 4, 4) /* precision */)) return ret;
- if ((ret = flatcc_verify_field(td, 1, 4, 4) /* scale */)) return ret;
- if ((ret = flatcc_verify_field(td, 2, 4, 4) /* bitWidth */)) return ret;
- return flatcc_verify_ok;
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_FloatingPoint_type_identifier, &org_apache_arrow_flatbuf_FloatingPoint_verify_table);
}
-static inline int org_apache_arrow_flatbuf_Decimal_verify_as_root(const void *buf, size_t bufsiz)
+static inline int org_apache_arrow_flatbuf_FloatingPoint_verify_as_root_with_identifier(const void *buf, size_t bufsiz, const char *fid)
{
- return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_Decimal_identifier, &org_apache_arrow_flatbuf_Decimal_verify_table);
+ return flatcc_verify_table_as_root(buf, bufsiz, fid, &org_apache_arrow_flatbuf_FloatingPoint_verify_table);
}
-static inline int org_apache_arrow_flatbuf_Decimal_verify_as_typed_root(const void *buf, size_t bufsiz)
+static inline int org_apache_arrow_flatbuf_FloatingPoint_verify_as_root_with_identifier_and_size(const void *buf, size_t bufsiz, const char *fid)
{
- return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_Decimal_type_identifier, &org_apache_arrow_flatbuf_Decimal_verify_table);
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, fid, &org_apache_arrow_flatbuf_FloatingPoint_verify_table);
}
-static inline int org_apache_arrow_flatbuf_Decimal_verify_as_root_with_identifier(const void *buf, size_t bufsiz, const char *fid)
+static inline int org_apache_arrow_flatbuf_FloatingPoint_verify_as_root_with_type_hash(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
{
- return flatcc_verify_table_as_root(buf, bufsiz, fid, &org_apache_arrow_flatbuf_Decimal_verify_table);
+ return flatcc_verify_table_as_typed_root(buf, bufsiz, thash, &org_apache_arrow_flatbuf_FloatingPoint_verify_table);
}
-static inline int org_apache_arrow_flatbuf_Decimal_verify_as_root_with_type_hash(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+static inline int org_apache_arrow_flatbuf_FloatingPoint_verify_as_root_with_type_hash_and_size(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
{
- return flatcc_verify_table_as_typed_root(buf, bufsiz, thash, &org_apache_arrow_flatbuf_Decimal_verify_table);
+ return flatcc_verify_table_as_typed_root_with_size(buf, bufsiz, thash, &org_apache_arrow_flatbuf_FloatingPoint_verify_table);
}
-static int org_apache_arrow_flatbuf_Date_verify_table(flatcc_table_verifier_descriptor_t *td)
+static int org_apache_arrow_flatbuf_Utf8_verify_table(flatcc_table_verifier_descriptor_t *td)
{
- int ret;
- if ((ret = flatcc_verify_field(td, 0, 2, 2) /* unit */)) return ret;
return flatcc_verify_ok;
}
-static inline int org_apache_arrow_flatbuf_Date_verify_as_root(const void *buf, size_t bufsiz)
+static inline int org_apache_arrow_flatbuf_Utf8_verify_as_root(const void *buf, size_t bufsiz)
{
- return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_Date_identifier, &org_apache_arrow_flatbuf_Date_verify_table);
+ return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_Utf8_identifier, &org_apache_arrow_flatbuf_Utf8_verify_table);
}
-static inline int org_apache_arrow_flatbuf_Date_verify_as_typed_root(const void *buf, size_t bufsiz)
+static inline int org_apache_arrow_flatbuf_Utf8_verify_as_root_with_size(const void *buf, size_t bufsiz)
{
- return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_Date_type_identifier, &org_apache_arrow_flatbuf_Date_verify_table);
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_Utf8_identifier, &org_apache_arrow_flatbuf_Utf8_verify_table);
}
-static inline int org_apache_arrow_flatbuf_Date_verify_as_root_with_identifier(const void *buf, size_t bufsiz, const char *fid)
+static inline int org_apache_arrow_flatbuf_Utf8_verify_as_typed_root(const void *buf, size_t bufsiz)
{
- return flatcc_verify_table_as_root(buf, bufsiz, fid, &org_apache_arrow_flatbuf_Date_verify_table);
+ return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_Utf8_type_identifier, &org_apache_arrow_flatbuf_Utf8_verify_table);
}
-static inline int org_apache_arrow_flatbuf_Date_verify_as_root_with_type_hash(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+static inline int org_apache_arrow_flatbuf_Utf8_verify_as_typed_root_with_size(const void *buf, size_t bufsiz)
{
- return flatcc_verify_table_as_typed_root(buf, bufsiz, thash, &org_apache_arrow_flatbuf_Date_verify_table);
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_Utf8_type_identifier, &org_apache_arrow_flatbuf_Utf8_verify_table);
}
-static int org_apache_arrow_flatbuf_Time_verify_table(flatcc_table_verifier_descriptor_t *td)
+static inline int org_apache_arrow_flatbuf_Utf8_verify_as_root_with_identifier(const void *buf, size_t bufsiz, const char *fid)
{
- int ret;
- if ((ret = flatcc_verify_field(td, 0, 2, 2) /* unit */)) return ret;
- if ((ret = flatcc_verify_field(td, 1, 4, 4) /* bitWidth */)) return ret;
- return flatcc_verify_ok;
+ return flatcc_verify_table_as_root(buf, bufsiz, fid, &org_apache_arrow_flatbuf_Utf8_verify_table);
}
-static inline int org_apache_arrow_flatbuf_Time_verify_as_root(const void *buf, size_t bufsiz)
+static inline int org_apache_arrow_flatbuf_Utf8_verify_as_root_with_identifier_and_size(const void *buf, size_t bufsiz, const char *fid)
{
- return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_Time_identifier, &org_apache_arrow_flatbuf_Time_verify_table);
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, fid, &org_apache_arrow_flatbuf_Utf8_verify_table);
}
-static inline int org_apache_arrow_flatbuf_Time_verify_as_typed_root(const void *buf, size_t bufsiz)
+static inline int org_apache_arrow_flatbuf_Utf8_verify_as_root_with_type_hash(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
{
- return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_Time_type_identifier, &org_apache_arrow_flatbuf_Time_verify_table);
+ return flatcc_verify_table_as_typed_root(buf, bufsiz, thash, &org_apache_arrow_flatbuf_Utf8_verify_table);
}
-static inline int org_apache_arrow_flatbuf_Time_verify_as_root_with_identifier(const void *buf, size_t bufsiz, const char *fid)
+static inline int org_apache_arrow_flatbuf_Utf8_verify_as_root_with_type_hash_and_size(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
{
- return flatcc_verify_table_as_root(buf, bufsiz, fid, &org_apache_arrow_flatbuf_Time_verify_table);
+ return flatcc_verify_table_as_typed_root_with_size(buf, bufsiz, thash, &org_apache_arrow_flatbuf_Utf8_verify_table);
}
-static inline int org_apache_arrow_flatbuf_Time_verify_as_root_with_type_hash(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+static int org_apache_arrow_flatbuf_Binary_verify_table(flatcc_table_verifier_descriptor_t *td)
{
- return flatcc_verify_table_as_typed_root(buf, bufsiz, thash, &org_apache_arrow_flatbuf_Time_verify_table);
+ return flatcc_verify_ok;
}
-static int org_apache_arrow_flatbuf_Timestamp_verify_table(flatcc_table_verifier_descriptor_t *td)
+static inline int org_apache_arrow_flatbuf_Binary_verify_as_root(const void *buf, size_t bufsiz)
{
- int ret;
- if ((ret = flatcc_verify_field(td, 0, 2, 2) /* unit */)) return ret;
- if ((ret = flatcc_verify_string_field(td, 1, 0) /* timezone */)) return ret;
- return flatcc_verify_ok;
+ return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_Binary_identifier, &org_apache_arrow_flatbuf_Binary_verify_table);
}
-static inline int org_apache_arrow_flatbuf_Timestamp_verify_as_root(const void *buf, size_t bufsiz)
+static inline int org_apache_arrow_flatbuf_Binary_verify_as_root_with_size(const void *buf, size_t bufsiz)
{
- return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_Timestamp_identifier, &org_apache_arrow_flatbuf_Timestamp_verify_table);
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_Binary_identifier, &org_apache_arrow_flatbuf_Binary_verify_table);
}
-static inline int org_apache_arrow_flatbuf_Timestamp_verify_as_typed_root(const void *buf, size_t bufsiz)
+static inline int org_apache_arrow_flatbuf_Binary_verify_as_typed_root(const void *buf, size_t bufsiz)
{
- return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_Timestamp_type_identifier, &org_apache_arrow_flatbuf_Timestamp_verify_table);
+ return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_Binary_type_identifier, &org_apache_arrow_flatbuf_Binary_verify_table);
}
-static inline int org_apache_arrow_flatbuf_Timestamp_verify_as_root_with_identifier(const void *buf, size_t bufsiz, const char *fid)
+static inline int org_apache_arrow_flatbuf_Binary_verify_as_typed_root_with_size(const void *buf, size_t bufsiz)
{
- return flatcc_verify_table_as_root(buf, bufsiz, fid, &org_apache_arrow_flatbuf_Timestamp_verify_table);
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_Binary_type_identifier, &org_apache_arrow_flatbuf_Binary_verify_table);
}
-static inline int org_apache_arrow_flatbuf_Timestamp_verify_as_root_with_type_hash(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+static inline int org_apache_arrow_flatbuf_Binary_verify_as_root_with_identifier(const void *buf, size_t bufsiz, const char *fid)
{
- return flatcc_verify_table_as_typed_root(buf, bufsiz, thash, &org_apache_arrow_flatbuf_Timestamp_verify_table);
+ return flatcc_verify_table_as_root(buf, bufsiz, fid, &org_apache_arrow_flatbuf_Binary_verify_table);
}
-static int org_apache_arrow_flatbuf_Interval_verify_table(flatcc_table_verifier_descriptor_t *td)
+static inline int org_apache_arrow_flatbuf_Binary_verify_as_root_with_identifier_and_size(const void *buf, size_t bufsiz, const char *fid)
{
- int ret;
- if ((ret = flatcc_verify_field(td, 0, 2, 2) /* unit */)) return ret;
- return flatcc_verify_ok;
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, fid, &org_apache_arrow_flatbuf_Binary_verify_table);
}
-static inline int org_apache_arrow_flatbuf_Interval_verify_as_root(const void *buf, size_t bufsiz)
+static inline int org_apache_arrow_flatbuf_Binary_verify_as_root_with_type_hash(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
{
- return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_Interval_identifier, &org_apache_arrow_flatbuf_Interval_verify_table);
+ return flatcc_verify_table_as_typed_root(buf, bufsiz, thash, &org_apache_arrow_flatbuf_Binary_verify_table);
}
-static inline int org_apache_arrow_flatbuf_Interval_verify_as_typed_root(const void *buf, size_t bufsiz)
+static inline int org_apache_arrow_flatbuf_Binary_verify_as_root_with_type_hash_and_size(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
{
- return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_Interval_type_identifier, &org_apache_arrow_flatbuf_Interval_verify_table);
+ return flatcc_verify_table_as_typed_root_with_size(buf, bufsiz, thash, &org_apache_arrow_flatbuf_Binary_verify_table);
}
-static inline int org_apache_arrow_flatbuf_Interval_verify_as_root_with_identifier(const void *buf, size_t bufsiz, const char *fid)
+static int org_apache_arrow_flatbuf_LargeUtf8_verify_table(flatcc_table_verifier_descriptor_t *td)
{
- return flatcc_verify_table_as_root(buf, bufsiz, fid, &org_apache_arrow_flatbuf_Interval_verify_table);
+ return flatcc_verify_ok;
}
-static inline int org_apache_arrow_flatbuf_Interval_verify_as_root_with_type_hash(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+static inline int org_apache_arrow_flatbuf_LargeUtf8_verify_as_root(const void *buf, size_t bufsiz)
{
- return flatcc_verify_table_as_typed_root(buf, bufsiz, thash, &org_apache_arrow_flatbuf_Interval_verify_table);
+ return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_LargeUtf8_identifier, &org_apache_arrow_flatbuf_LargeUtf8_verify_table);
}
-static int org_apache_arrow_flatbuf_Duration_verify_table(flatcc_table_verifier_descriptor_t *td)
+static inline int org_apache_arrow_flatbuf_LargeUtf8_verify_as_root_with_size(const void *buf, size_t bufsiz)
{
- int ret;
- if ((ret = flatcc_verify_field(td, 0, 2, 2) /* unit */)) return ret;
- return flatcc_verify_ok;
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_LargeUtf8_identifier, &org_apache_arrow_flatbuf_LargeUtf8_verify_table);
}
-static inline int org_apache_arrow_flatbuf_Duration_verify_as_root(const void *buf, size_t bufsiz)
+static inline int org_apache_arrow_flatbuf_LargeUtf8_verify_as_typed_root(const void *buf, size_t bufsiz)
{
- return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_Duration_identifier, &org_apache_arrow_flatbuf_Duration_verify_table);
+ return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_LargeUtf8_type_identifier, &org_apache_arrow_flatbuf_LargeUtf8_verify_table);
}
-static inline int org_apache_arrow_flatbuf_Duration_verify_as_typed_root(const void *buf, size_t bufsiz)
+static inline int org_apache_arrow_flatbuf_LargeUtf8_verify_as_typed_root_with_size(const void *buf, size_t bufsiz)
{
- return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_Duration_type_identifier, &org_apache_arrow_flatbuf_Duration_verify_table);
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_LargeUtf8_type_identifier, &org_apache_arrow_flatbuf_LargeUtf8_verify_table);
}
-static inline int org_apache_arrow_flatbuf_Duration_verify_as_root_with_identifier(const void *buf, size_t bufsiz, const char *fid)
+static inline int org_apache_arrow_flatbuf_LargeUtf8_verify_as_root_with_identifier(const void *buf, size_t bufsiz, const char *fid)
{
- return flatcc_verify_table_as_root(buf, bufsiz, fid, &org_apache_arrow_flatbuf_Duration_verify_table);
+ return flatcc_verify_table_as_root(buf, bufsiz, fid, &org_apache_arrow_flatbuf_LargeUtf8_verify_table);
}
-static inline int org_apache_arrow_flatbuf_Duration_verify_as_root_with_type_hash(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+static inline int org_apache_arrow_flatbuf_LargeUtf8_verify_as_root_with_identifier_and_size(const void *buf, size_t bufsiz, const char *fid)
{
- return flatcc_verify_table_as_typed_root(buf, bufsiz, thash, &org_apache_arrow_flatbuf_Duration_verify_table);
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, fid, &org_apache_arrow_flatbuf_LargeUtf8_verify_table);
}
-static int org_apache_arrow_flatbuf_KeyValue_verify_table(flatcc_table_verifier_descriptor_t *td)
+static inline int org_apache_arrow_flatbuf_LargeUtf8_verify_as_root_with_type_hash(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
{
- int ret;
- if ((ret = flatcc_verify_string_field(td, 0, 0) /* key */)) return ret;
- if ((ret = flatcc_verify_string_field(td, 1, 0) /* value */)) return ret;
- return flatcc_verify_ok;
+ return flatcc_verify_table_as_typed_root(buf, bufsiz, thash, &org_apache_arrow_flatbuf_LargeUtf8_verify_table);
}
-static inline int org_apache_arrow_flatbuf_KeyValue_verify_as_root(const void *buf, size_t bufsiz)
+static inline int org_apache_arrow_flatbuf_LargeUtf8_verify_as_root_with_type_hash_and_size(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
{
- return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_KeyValue_identifier, &org_apache_arrow_flatbuf_KeyValue_verify_table);
+ return flatcc_verify_table_as_typed_root_with_size(buf, bufsiz, thash, &org_apache_arrow_flatbuf_LargeUtf8_verify_table);
}
-static inline int org_apache_arrow_flatbuf_KeyValue_verify_as_typed_root(const void *buf, size_t bufsiz)
+static int org_apache_arrow_flatbuf_LargeBinary_verify_table(flatcc_table_verifier_descriptor_t *td)
{
- return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_KeyValue_type_identifier, &org_apache_arrow_flatbuf_KeyValue_verify_table);
+ return flatcc_verify_ok;
}
-static inline int org_apache_arrow_flatbuf_KeyValue_verify_as_root_with_identifier(const void *buf, size_t bufsiz, const char *fid)
+static inline int org_apache_arrow_flatbuf_LargeBinary_verify_as_root(const void *buf, size_t bufsiz)
{
- return flatcc_verify_table_as_root(buf, bufsiz, fid, &org_apache_arrow_flatbuf_KeyValue_verify_table);
+ return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_LargeBinary_identifier, &org_apache_arrow_flatbuf_LargeBinary_verify_table);
}
-static inline int org_apache_arrow_flatbuf_KeyValue_verify_as_root_with_type_hash(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+static inline int org_apache_arrow_flatbuf_LargeBinary_verify_as_root_with_size(const void *buf, size_t bufsiz)
{
- return flatcc_verify_table_as_typed_root(buf, bufsiz, thash, &org_apache_arrow_flatbuf_KeyValue_verify_table);
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_LargeBinary_identifier, &org_apache_arrow_flatbuf_LargeBinary_verify_table);
}
-static int org_apache_arrow_flatbuf_DictionaryEncoding_verify_table(flatcc_table_verifier_descriptor_t *td)
+static inline int org_apache_arrow_flatbuf_LargeBinary_verify_as_typed_root(const void *buf, size_t bufsiz)
{
- int ret;
- if ((ret = flatcc_verify_field(td, 0, 8, 8) /* id */)) return ret;
- if ((ret = flatcc_verify_table_field(td, 1, 0, &org_apache_arrow_flatbuf_Int_verify_table) /* indexType */)) return ret;
- if ((ret = flatcc_verify_field(td, 2, 1, 1) /* isOrdered */)) return ret;
- if ((ret = flatcc_verify_field(td, 3, 2, 2) /* dictionaryKind */)) return ret;
- return flatcc_verify_ok;
+ return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_LargeBinary_type_identifier, &org_apache_arrow_flatbuf_LargeBinary_verify_table);
}
-static inline int org_apache_arrow_flatbuf_DictionaryEncoding_verify_as_root(const void *buf, size_t bufsiz)
+static inline int org_apache_arrow_flatbuf_LargeBinary_verify_as_typed_root_with_size(const void *buf, size_t bufsiz)
{
- return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_DictionaryEncoding_identifier, &org_apache_arrow_flatbuf_DictionaryEncoding_verify_table);
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_LargeBinary_type_identifier, &org_apache_arrow_flatbuf_LargeBinary_verify_table);
}
-static inline int org_apache_arrow_flatbuf_DictionaryEncoding_verify_as_typed_root(const void *buf, size_t bufsiz)
+static inline int org_apache_arrow_flatbuf_LargeBinary_verify_as_root_with_identifier(const void *buf, size_t bufsiz, const char *fid)
{
- return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_DictionaryEncoding_type_identifier, &org_apache_arrow_flatbuf_DictionaryEncoding_verify_table);
+ return flatcc_verify_table_as_root(buf, bufsiz, fid, &org_apache_arrow_flatbuf_LargeBinary_verify_table);
}
-static inline int org_apache_arrow_flatbuf_DictionaryEncoding_verify_as_root_with_identifier(const void *buf, size_t bufsiz, const char *fid)
+static inline int org_apache_arrow_flatbuf_LargeBinary_verify_as_root_with_identifier_and_size(const void *buf, size_t bufsiz, const char *fid)
{
- return flatcc_verify_table_as_root(buf, bufsiz, fid, &org_apache_arrow_flatbuf_DictionaryEncoding_verify_table);
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, fid, &org_apache_arrow_flatbuf_LargeBinary_verify_table);
}
-static inline int org_apache_arrow_flatbuf_DictionaryEncoding_verify_as_root_with_type_hash(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+static inline int org_apache_arrow_flatbuf_LargeBinary_verify_as_root_with_type_hash(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
{
- return flatcc_verify_table_as_typed_root(buf, bufsiz, thash, &org_apache_arrow_flatbuf_DictionaryEncoding_verify_table);
+ return flatcc_verify_table_as_typed_root(buf, bufsiz, thash, &org_apache_arrow_flatbuf_LargeBinary_verify_table);
}
-static int org_apache_arrow_flatbuf_Field_verify_table(flatcc_table_verifier_descriptor_t *td)
+static inline int org_apache_arrow_flatbuf_LargeBinary_verify_as_root_with_type_hash_and_size(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+{
+ return flatcc_verify_table_as_typed_root_with_size(buf, bufsiz, thash, &org_apache_arrow_flatbuf_LargeBinary_verify_table);
+}
+
+static int org_apache_arrow_flatbuf_Utf8View_verify_table(flatcc_table_verifier_descriptor_t *td)
{
- int ret;
- if ((ret = flatcc_verify_string_field(td, 0, 0) /* name */)) return ret;
- if ((ret = flatcc_verify_field(td, 1, 1, 1) /* nullable */)) return ret;
- if ((ret = flatcc_verify_union_field(td, 3, 0, &org_apache_arrow_flatbuf_Type_union_verifier) /* type */)) return ret;
- if ((ret = flatcc_verify_table_field(td, 4, 0, &org_apache_arrow_flatbuf_DictionaryEncoding_verify_table) /* dictionary */)) return ret;
- if ((ret = flatcc_verify_table_vector_field(td, 5, 0, &org_apache_arrow_flatbuf_Field_verify_table) /* children */)) return ret;
- if ((ret = flatcc_verify_table_vector_field(td, 6, 0, &org_apache_arrow_flatbuf_KeyValue_verify_table) /* custom_metadata */)) return ret;
return flatcc_verify_ok;
}
-static inline int org_apache_arrow_flatbuf_Field_verify_as_root(const void *buf, size_t bufsiz)
+static inline int org_apache_arrow_flatbuf_Utf8View_verify_as_root(const void *buf, size_t bufsiz)
{
- return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_Field_identifier, &org_apache_arrow_flatbuf_Field_verify_table);
+ return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_Utf8View_identifier, &org_apache_arrow_flatbuf_Utf8View_verify_table);
}
-static inline int org_apache_arrow_flatbuf_Field_verify_as_typed_root(const void *buf, size_t bufsiz)
+static inline int org_apache_arrow_flatbuf_Utf8View_verify_as_root_with_size(const void *buf, size_t bufsiz)
{
- return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_Field_type_identifier, &org_apache_arrow_flatbuf_Field_verify_table);
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_Utf8View_identifier, &org_apache_arrow_flatbuf_Utf8View_verify_table);
}
-static inline int org_apache_arrow_flatbuf_Field_verify_as_root_with_identifier(const void *buf, size_t bufsiz, const char *fid)
+static inline int org_apache_arrow_flatbuf_Utf8View_verify_as_typed_root(const void *buf, size_t bufsiz)
{
- return flatcc_verify_table_as_root(buf, bufsiz, fid, &org_apache_arrow_flatbuf_Field_verify_table);
+ return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_Utf8View_type_identifier, &org_apache_arrow_flatbuf_Utf8View_verify_table);
}
-static inline int org_apache_arrow_flatbuf_Field_verify_as_root_with_type_hash(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+static inline int org_apache_arrow_flatbuf_Utf8View_verify_as_typed_root_with_size(const void *buf, size_t bufsiz)
{
- return flatcc_verify_table_as_typed_root(buf, bufsiz, thash, &org_apache_arrow_flatbuf_Field_verify_table);
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_Utf8View_type_identifier, &org_apache_arrow_flatbuf_Utf8View_verify_table);
}
-static int org_apache_arrow_flatbuf_Schema_verify_table(flatcc_table_verifier_descriptor_t *td)
+static inline int org_apache_arrow_flatbuf_Utf8View_verify_as_root_with_identifier(const void *buf, size_t bufsiz, const char *fid)
{
- int ret;
- if ((ret = flatcc_verify_field(td, 0, 2, 2) /* endianness */)) return ret;
- if ((ret = flatcc_verify_table_vector_field(td, 1, 0, &org_apache_arrow_flatbuf_Field_verify_table) /* fields */)) return ret;
- if ((ret = flatcc_verify_table_vector_field(td, 2, 0, &org_apache_arrow_flatbuf_KeyValue_verify_table) /* custom_metadata */)) return ret;
- if ((ret = flatcc_verify_vector_field(td, 3, 0, 8, 8, INT64_C(536870911)) /* features */)) return ret;
- return flatcc_verify_ok;
+ return flatcc_verify_table_as_root(buf, bufsiz, fid, &org_apache_arrow_flatbuf_Utf8View_verify_table);
}
-static inline int org_apache_arrow_flatbuf_Schema_verify_as_root(const void *buf, size_t bufsiz)
+static inline int org_apache_arrow_flatbuf_Utf8View_verify_as_root_with_identifier_and_size(const void *buf, size_t bufsiz, const char *fid)
{
- return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_Schema_identifier, &org_apache_arrow_flatbuf_Schema_verify_table);
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, fid, &org_apache_arrow_flatbuf_Utf8View_verify_table);
}
-static inline int org_apache_arrow_flatbuf_Schema_verify_as_typed_root(const void *buf, size_t bufsiz)
+static inline int org_apache_arrow_flatbuf_Utf8View_verify_as_root_with_type_hash(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
{
- return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_Schema_type_identifier, &org_apache_arrow_flatbuf_Schema_verify_table);
+ return flatcc_verify_table_as_typed_root(buf, bufsiz, thash, &org_apache_arrow_flatbuf_Utf8View_verify_table);
}
-static inline int org_apache_arrow_flatbuf_Schema_verify_as_root_with_identifier(const void *buf, size_t bufsiz, const char *fid)
+static inline int org_apache_arrow_flatbuf_Utf8View_verify_as_root_with_type_hash_and_size(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
{
- return flatcc_verify_table_as_root(buf, bufsiz, fid, &org_apache_arrow_flatbuf_Schema_verify_table);
+ return flatcc_verify_table_as_typed_root_with_size(buf, bufsiz, thash, &org_apache_arrow_flatbuf_Utf8View_verify_table);
}
-static inline int org_apache_arrow_flatbuf_Schema_verify_as_root_with_type_hash(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+static int org_apache_arrow_flatbuf_BinaryView_verify_table(flatcc_table_verifier_descriptor_t *td)
{
- return flatcc_verify_table_as_typed_root(buf, bufsiz, thash, &org_apache_arrow_flatbuf_Schema_verify_table);
+ return flatcc_verify_ok;
}
-#include "flatcc/flatcc_epilogue.h"
-#endif /* SCHEMA_VERIFIER_H */
-#ifndef TENSOR_READER_H
-#define TENSOR_READER_H
+static inline int org_apache_arrow_flatbuf_BinaryView_verify_as_root(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_BinaryView_identifier, &org_apache_arrow_flatbuf_BinaryView_verify_table);
+}
-/* Generated by flatcc 0.6.1 FlatBuffers schema compiler for C by dvide.com */
+static inline int org_apache_arrow_flatbuf_BinaryView_verify_as_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_BinaryView_identifier, &org_apache_arrow_flatbuf_BinaryView_verify_table);
+}
-#ifndef FLATBUFFERS_COMMON_READER_H
-#include "flatbuffers_common_reader.h"
-#endif
-#ifndef SCHEMA_READER_H
-#include "Schema_reader.h"
-#endif
-#include "flatcc/flatcc_flatbuffers.h"
-#ifndef __alignas_is_defined
-#include <stdalign.h>
-#endif
-#include "flatcc/flatcc_prologue.h"
-#ifndef flatbuffers_identifier
-#define flatbuffers_identifier 0
-#endif
-#ifndef flatbuffers_extension
-#define flatbuffers_extension "bin"
-#endif
+static inline int org_apache_arrow_flatbuf_BinaryView_verify_as_typed_root(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_BinaryView_type_identifier, &org_apache_arrow_flatbuf_BinaryView_verify_table);
+}
+static inline int org_apache_arrow_flatbuf_BinaryView_verify_as_typed_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_BinaryView_type_identifier, &org_apache_arrow_flatbuf_BinaryView_verify_table);
+}
-typedef const struct org_apache_arrow_flatbuf_TensorDim_table *org_apache_arrow_flatbuf_TensorDim_table_t;
-typedef struct org_apache_arrow_flatbuf_TensorDim_table *org_apache_arrow_flatbuf_TensorDim_mutable_table_t;
-typedef const flatbuffers_uoffset_t *org_apache_arrow_flatbuf_TensorDim_vec_t;
-typedef flatbuffers_uoffset_t *org_apache_arrow_flatbuf_TensorDim_mutable_vec_t;
-typedef const struct org_apache_arrow_flatbuf_Tensor_table *org_apache_arrow_flatbuf_Tensor_table_t;
-typedef struct org_apache_arrow_flatbuf_Tensor_table *org_apache_arrow_flatbuf_Tensor_mutable_table_t;
-typedef const flatbuffers_uoffset_t *org_apache_arrow_flatbuf_Tensor_vec_t;
-typedef flatbuffers_uoffset_t *org_apache_arrow_flatbuf_Tensor_mutable_vec_t;
-#ifndef org_apache_arrow_flatbuf_TensorDim_file_identifier
-#define org_apache_arrow_flatbuf_TensorDim_file_identifier 0
-#endif
-/* deprecated, use org_apache_arrow_flatbuf_TensorDim_file_identifier */
-#ifndef org_apache_arrow_flatbuf_TensorDim_identifier
-#define org_apache_arrow_flatbuf_TensorDim_identifier 0
-#endif
-#define org_apache_arrow_flatbuf_TensorDim_type_hash ((flatbuffers_thash_t)0xbc6d7b25)
-#define org_apache_arrow_flatbuf_TensorDim_type_identifier "\x25\x7b\x6d\xbc"
-#ifndef org_apache_arrow_flatbuf_TensorDim_file_extension
-#define org_apache_arrow_flatbuf_TensorDim_file_extension "bin"
-#endif
-#ifndef org_apache_arrow_flatbuf_Tensor_file_identifier
-#define org_apache_arrow_flatbuf_Tensor_file_identifier 0
-#endif
-/* deprecated, use org_apache_arrow_flatbuf_Tensor_file_identifier */
-#ifndef org_apache_arrow_flatbuf_Tensor_identifier
-#define org_apache_arrow_flatbuf_Tensor_identifier 0
-#endif
-#define org_apache_arrow_flatbuf_Tensor_type_hash ((flatbuffers_thash_t)0x1764df19)
-#define org_apache_arrow_flatbuf_Tensor_type_identifier "\x19\xdf\x64\x17"
-#ifndef org_apache_arrow_flatbuf_Tensor_file_extension
-#define org_apache_arrow_flatbuf_Tensor_file_extension "bin"
-#endif
+static inline int org_apache_arrow_flatbuf_BinaryView_verify_as_root_with_identifier(const void *buf, size_t bufsiz, const char *fid)
+{
+ return flatcc_verify_table_as_root(buf, bufsiz, fid, &org_apache_arrow_flatbuf_BinaryView_verify_table);
+}
+static inline int org_apache_arrow_flatbuf_BinaryView_verify_as_root_with_identifier_and_size(const void *buf, size_t bufsiz, const char *fid)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, fid, &org_apache_arrow_flatbuf_BinaryView_verify_table);
+}
+static inline int org_apache_arrow_flatbuf_BinaryView_verify_as_root_with_type_hash(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+{
+ return flatcc_verify_table_as_typed_root(buf, bufsiz, thash, &org_apache_arrow_flatbuf_BinaryView_verify_table);
+}
-/** ----------------------------------------------------------------------
- * Data structures for dense tensors
- * Shape data for a single axis in a tensor */
-struct org_apache_arrow_flatbuf_TensorDim_table { uint8_t unused__; };
+static inline int org_apache_arrow_flatbuf_BinaryView_verify_as_root_with_type_hash_and_size(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+{
+ return flatcc_verify_table_as_typed_root_with_size(buf, bufsiz, thash, &org_apache_arrow_flatbuf_BinaryView_verify_table);
+}
-static inline size_t org_apache_arrow_flatbuf_TensorDim_vec_len(org_apache_arrow_flatbuf_TensorDim_vec_t vec)
-__flatbuffers_vec_len(vec)
-static inline org_apache_arrow_flatbuf_TensorDim_table_t org_apache_arrow_flatbuf_TensorDim_vec_at(org_apache_arrow_flatbuf_TensorDim_vec_t vec, size_t i)
-__flatbuffers_offset_vec_at(org_apache_arrow_flatbuf_TensorDim_table_t, vec, i, 0)
-__flatbuffers_table_as_root(org_apache_arrow_flatbuf_TensorDim)
+static int org_apache_arrow_flatbuf_FixedSizeBinary_verify_table(flatcc_table_verifier_descriptor_t *td)
+{
+ int ret;
+ if ((ret = flatcc_verify_field(td, 0, 4, 4) /* byteWidth */)) return ret;
+ return flatcc_verify_ok;
+}
-/** Length of dimension */
-__flatbuffers_define_scalar_field(0, org_apache_arrow_flatbuf_TensorDim, size, flatbuffers_int64, int64_t, INT64_C(0))
-/** Name of the dimension, optional */
-__flatbuffers_define_string_field(1, org_apache_arrow_flatbuf_TensorDim, name, 0)
+static inline int org_apache_arrow_flatbuf_FixedSizeBinary_verify_as_root(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_FixedSizeBinary_identifier, &org_apache_arrow_flatbuf_FixedSizeBinary_verify_table);
+}
-struct org_apache_arrow_flatbuf_Tensor_table { uint8_t unused__; };
+static inline int org_apache_arrow_flatbuf_FixedSizeBinary_verify_as_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_FixedSizeBinary_identifier, &org_apache_arrow_flatbuf_FixedSizeBinary_verify_table);
+}
-static inline size_t org_apache_arrow_flatbuf_Tensor_vec_len(org_apache_arrow_flatbuf_Tensor_vec_t vec)
-__flatbuffers_vec_len(vec)
-static inline org_apache_arrow_flatbuf_Tensor_table_t org_apache_arrow_flatbuf_Tensor_vec_at(org_apache_arrow_flatbuf_Tensor_vec_t vec, size_t i)
-__flatbuffers_offset_vec_at(org_apache_arrow_flatbuf_Tensor_table_t, vec, i, 0)
-__flatbuffers_table_as_root(org_apache_arrow_flatbuf_Tensor)
+static inline int org_apache_arrow_flatbuf_FixedSizeBinary_verify_as_typed_root(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_FixedSizeBinary_type_identifier, &org_apache_arrow_flatbuf_FixedSizeBinary_verify_table);
+}
-/** The type of data contained in a value cell. Currently only fixed-width
- * value types are supported, no strings or nested types */
-__flatbuffers_define_union_field(flatbuffers_, 1, org_apache_arrow_flatbuf_Tensor, type, org_apache_arrow_flatbuf_Type, 1)
-/** The dimensions of the tensor, optionally named */
-__flatbuffers_define_vector_field(2, org_apache_arrow_flatbuf_Tensor, shape, org_apache_arrow_flatbuf_TensorDim_vec_t, 1)
-/** Non-negative byte offsets to advance one value cell along each dimension
- * If omitted, default to row-major order (C-like). */
-__flatbuffers_define_vector_field(3, org_apache_arrow_flatbuf_Tensor, strides, flatbuffers_int64_vec_t, 0)
-/** The location and size of the tensor's data */
-__flatbuffers_define_struct_field(4, org_apache_arrow_flatbuf_Tensor, data, org_apache_arrow_flatbuf_Buffer_struct_t, 1)
+static inline int org_apache_arrow_flatbuf_FixedSizeBinary_verify_as_typed_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_FixedSizeBinary_type_identifier, &org_apache_arrow_flatbuf_FixedSizeBinary_verify_table);
+}
+static inline int org_apache_arrow_flatbuf_FixedSizeBinary_verify_as_root_with_identifier(const void *buf, size_t bufsiz, const char *fid)
+{
+ return flatcc_verify_table_as_root(buf, bufsiz, fid, &org_apache_arrow_flatbuf_FixedSizeBinary_verify_table);
+}
-#include "flatcc/flatcc_epilogue.h"
-#endif /* TENSOR_READER_H */
-#ifndef TENSOR_BUILDER_H
-#define TENSOR_BUILDER_H
+static inline int org_apache_arrow_flatbuf_FixedSizeBinary_verify_as_root_with_identifier_and_size(const void *buf, size_t bufsiz, const char *fid)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, fid, &org_apache_arrow_flatbuf_FixedSizeBinary_verify_table);
+}
-/* Generated by flatcc 0.6.1 FlatBuffers schema compiler for C by dvide.com */
+static inline int org_apache_arrow_flatbuf_FixedSizeBinary_verify_as_root_with_type_hash(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+{
+ return flatcc_verify_table_as_typed_root(buf, bufsiz, thash, &org_apache_arrow_flatbuf_FixedSizeBinary_verify_table);
+}
-#ifndef TENSOR_READER_H
-#include "Tensor_reader.h"
-#endif
-#ifndef FLATBUFFERS_COMMON_BUILDER_H
-#include "flatbuffers_common_builder.h"
-#endif
-#ifndef SCHEMA_BUILDER_H
-#include "Schema_builder.h"
-#endif
-#include "flatcc/flatcc_prologue.h"
-#ifndef flatbuffers_identifier
-#define flatbuffers_identifier 0
-#endif
-#ifndef flatbuffers_extension
-#define flatbuffers_extension "bin"
-#endif
+static inline int org_apache_arrow_flatbuf_FixedSizeBinary_verify_as_root_with_type_hash_and_size(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+{
+ return flatcc_verify_table_as_typed_root_with_size(buf, bufsiz, thash, &org_apache_arrow_flatbuf_FixedSizeBinary_verify_table);
+}
-static const flatbuffers_voffset_t __org_apache_arrow_flatbuf_TensorDim_required[] = { 0 };
-typedef flatbuffers_ref_t org_apache_arrow_flatbuf_TensorDim_ref_t;
-static org_apache_arrow_flatbuf_TensorDim_ref_t org_apache_arrow_flatbuf_TensorDim_clone(flatbuffers_builder_t *B, org_apache_arrow_flatbuf_TensorDim_table_t t);
-__flatbuffers_build_table(flatbuffers_, org_apache_arrow_flatbuf_TensorDim, 2)
+static int org_apache_arrow_flatbuf_Bool_verify_table(flatcc_table_verifier_descriptor_t *td)
+{
+ return flatcc_verify_ok;
+}
-static const flatbuffers_voffset_t __org_apache_arrow_flatbuf_Tensor_required[] = { 1, 2, 4, 0 };
-typedef flatbuffers_ref_t org_apache_arrow_flatbuf_Tensor_ref_t;
-static org_apache_arrow_flatbuf_Tensor_ref_t org_apache_arrow_flatbuf_Tensor_clone(flatbuffers_builder_t *B, org_apache_arrow_flatbuf_Tensor_table_t t);
-__flatbuffers_build_table(flatbuffers_, org_apache_arrow_flatbuf_Tensor, 5)
+static inline int org_apache_arrow_flatbuf_Bool_verify_as_root(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_Bool_identifier, &org_apache_arrow_flatbuf_Bool_verify_table);
+}
-#define __org_apache_arrow_flatbuf_TensorDim_formal_args , int64_t v0, flatbuffers_string_ref_t v1
-#define __org_apache_arrow_flatbuf_TensorDim_call_args , v0, v1
-static inline org_apache_arrow_flatbuf_TensorDim_ref_t org_apache_arrow_flatbuf_TensorDim_create(flatbuffers_builder_t *B __org_apache_arrow_flatbuf_TensorDim_formal_args);
-__flatbuffers_build_table_prolog(flatbuffers_, org_apache_arrow_flatbuf_TensorDim, org_apache_arrow_flatbuf_TensorDim_file_identifier, org_apache_arrow_flatbuf_TensorDim_type_identifier)
+static inline int org_apache_arrow_flatbuf_Bool_verify_as_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_Bool_identifier, &org_apache_arrow_flatbuf_Bool_verify_table);
+}
-#define __org_apache_arrow_flatbuf_Tensor_formal_args , org_apache_arrow_flatbuf_Type_union_ref_t v1, org_apache_arrow_flatbuf_TensorDim_vec_ref_t v2, flatbuffers_int64_vec_ref_t v3, org_apache_arrow_flatbuf_Buffer_t *v4
-#define __org_apache_arrow_flatbuf_Tensor_call_args , v1, v2, v3, v4
-static inline org_apache_arrow_flatbuf_Tensor_ref_t org_apache_arrow_flatbuf_Tensor_create(flatbuffers_builder_t *B __org_apache_arrow_flatbuf_Tensor_formal_args);
-__flatbuffers_build_table_prolog(flatbuffers_, org_apache_arrow_flatbuf_Tensor, org_apache_arrow_flatbuf_Tensor_file_identifier, org_apache_arrow_flatbuf_Tensor_type_identifier)
+static inline int org_apache_arrow_flatbuf_Bool_verify_as_typed_root(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_Bool_type_identifier, &org_apache_arrow_flatbuf_Bool_verify_table);
+}
-__flatbuffers_build_scalar_field(0, flatbuffers_, org_apache_arrow_flatbuf_TensorDim_size, flatbuffers_int64, int64_t, 8, 8, INT64_C(0), org_apache_arrow_flatbuf_TensorDim)
-__flatbuffers_build_string_field(1, flatbuffers_, org_apache_arrow_flatbuf_TensorDim_name, org_apache_arrow_flatbuf_TensorDim)
+static inline int org_apache_arrow_flatbuf_Bool_verify_as_typed_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_Bool_type_identifier, &org_apache_arrow_flatbuf_Bool_verify_table);
+}
-static inline org_apache_arrow_flatbuf_TensorDim_ref_t org_apache_arrow_flatbuf_TensorDim_create(flatbuffers_builder_t *B __org_apache_arrow_flatbuf_TensorDim_formal_args)
+static inline int org_apache_arrow_flatbuf_Bool_verify_as_root_with_identifier(const void *buf, size_t bufsiz, const char *fid)
{
- if (org_apache_arrow_flatbuf_TensorDim_start(B)
- || org_apache_arrow_flatbuf_TensorDim_size_add(B, v0)
- || org_apache_arrow_flatbuf_TensorDim_name_add(B, v1)) {
- return 0;
- }
- return org_apache_arrow_flatbuf_TensorDim_end(B);
+ return flatcc_verify_table_as_root(buf, bufsiz, fid, &org_apache_arrow_flatbuf_Bool_verify_table);
}
-static org_apache_arrow_flatbuf_TensorDim_ref_t org_apache_arrow_flatbuf_TensorDim_clone(flatbuffers_builder_t *B, org_apache_arrow_flatbuf_TensorDim_table_t t)
+static inline int org_apache_arrow_flatbuf_Bool_verify_as_root_with_identifier_and_size(const void *buf, size_t bufsiz, const char *fid)
{
- __flatbuffers_memoize_begin(B, t);
- if (org_apache_arrow_flatbuf_TensorDim_start(B)
- || org_apache_arrow_flatbuf_TensorDim_size_pick(B, t)
- || org_apache_arrow_flatbuf_TensorDim_name_pick(B, t)) {
- return 0;
- }
- __flatbuffers_memoize_end(B, t, org_apache_arrow_flatbuf_TensorDim_end(B));
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, fid, &org_apache_arrow_flatbuf_Bool_verify_table);
}
-__flatbuffers_build_union_field(1, flatbuffers_, org_apache_arrow_flatbuf_Tensor_type, org_apache_arrow_flatbuf_Type, org_apache_arrow_flatbuf_Tensor)
-__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_Tensor_type, org_apache_arrow_flatbuf_Type, Null, org_apache_arrow_flatbuf_Null)
-__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_Tensor_type, org_apache_arrow_flatbuf_Type, Int, org_apache_arrow_flatbuf_Int)
-__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_Tensor_type, org_apache_arrow_flatbuf_Type, FloatingPoint, org_apache_arrow_flatbuf_FloatingPoint)
-__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_Tensor_type, org_apache_arrow_flatbuf_Type, Binary, org_apache_arrow_flatbuf_Binary)
-__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_Tensor_type, org_apache_arrow_flatbuf_Type, Utf8, org_apache_arrow_flatbuf_Utf8)
-__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_Tensor_type, org_apache_arrow_flatbuf_Type, Bool, org_apache_arrow_flatbuf_Bool)
-__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_Tensor_type, org_apache_arrow_flatbuf_Type, Decimal, org_apache_arrow_flatbuf_Decimal)
-__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_Tensor_type, org_apache_arrow_flatbuf_Type, Date, org_apache_arrow_flatbuf_Date)
-__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_Tensor_type, org_apache_arrow_flatbuf_Type, Time, org_apache_arrow_flatbuf_Time)
-__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_Tensor_type, org_apache_arrow_flatbuf_Type, Timestamp, org_apache_arrow_flatbuf_Timestamp)
-__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_Tensor_type, org_apache_arrow_flatbuf_Type, Interval, org_apache_arrow_flatbuf_Interval)
-__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_Tensor_type, org_apache_arrow_flatbuf_Type, List, org_apache_arrow_flatbuf_List)
-__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_Tensor_type, org_apache_arrow_flatbuf_Type, Struct_, org_apache_arrow_flatbuf_Struct_)
-__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_Tensor_type, org_apache_arrow_flatbuf_Type, Union, org_apache_arrow_flatbuf_Union)
-__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_Tensor_type, org_apache_arrow_flatbuf_Type, FixedSizeBinary, org_apache_arrow_flatbuf_FixedSizeBinary)
-__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_Tensor_type, org_apache_arrow_flatbuf_Type, FixedSizeList, org_apache_arrow_flatbuf_FixedSizeList)
-__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_Tensor_type, org_apache_arrow_flatbuf_Type, Map, org_apache_arrow_flatbuf_Map)
-__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_Tensor_type, org_apache_arrow_flatbuf_Type, Duration, org_apache_arrow_flatbuf_Duration)
-__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_Tensor_type, org_apache_arrow_flatbuf_Type, LargeBinary, org_apache_arrow_flatbuf_LargeBinary)
-__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_Tensor_type, org_apache_arrow_flatbuf_Type, LargeUtf8, org_apache_arrow_flatbuf_LargeUtf8)
-__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_Tensor_type, org_apache_arrow_flatbuf_Type, LargeList, org_apache_arrow_flatbuf_LargeList)
-__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_Tensor_type, org_apache_arrow_flatbuf_Type, RunEndEncoded, org_apache_arrow_flatbuf_RunEndEncoded)
-__flatbuffers_build_table_vector_field(2, flatbuffers_, org_apache_arrow_flatbuf_Tensor_shape, org_apache_arrow_flatbuf_TensorDim, org_apache_arrow_flatbuf_Tensor)
-__flatbuffers_build_vector_field(3, flatbuffers_, org_apache_arrow_flatbuf_Tensor_strides, flatbuffers_int64, int64_t, org_apache_arrow_flatbuf_Tensor)
-__flatbuffers_build_struct_field(4, flatbuffers_, org_apache_arrow_flatbuf_Tensor_data, org_apache_arrow_flatbuf_Buffer, 16, 8, org_apache_arrow_flatbuf_Tensor)
+static inline int org_apache_arrow_flatbuf_Bool_verify_as_root_with_type_hash(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+{
+ return flatcc_verify_table_as_typed_root(buf, bufsiz, thash, &org_apache_arrow_flatbuf_Bool_verify_table);
+}
-static inline org_apache_arrow_flatbuf_Tensor_ref_t org_apache_arrow_flatbuf_Tensor_create(flatbuffers_builder_t *B __org_apache_arrow_flatbuf_Tensor_formal_args)
+static inline int org_apache_arrow_flatbuf_Bool_verify_as_root_with_type_hash_and_size(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
{
- if (org_apache_arrow_flatbuf_Tensor_start(B)
- || org_apache_arrow_flatbuf_Tensor_data_add(B, v4)
- || org_apache_arrow_flatbuf_Tensor_type_add_value(B, v1)
- || org_apache_arrow_flatbuf_Tensor_shape_add(B, v2)
- || org_apache_arrow_flatbuf_Tensor_strides_add(B, v3)
- || org_apache_arrow_flatbuf_Tensor_type_add_type(B, v1.type)) {
- return 0;
- }
- return org_apache_arrow_flatbuf_Tensor_end(B);
+ return flatcc_verify_table_as_typed_root_with_size(buf, bufsiz, thash, &org_apache_arrow_flatbuf_Bool_verify_table);
}
-static org_apache_arrow_flatbuf_Tensor_ref_t org_apache_arrow_flatbuf_Tensor_clone(flatbuffers_builder_t *B, org_apache_arrow_flatbuf_Tensor_table_t t)
+static int org_apache_arrow_flatbuf_RunEndEncoded_verify_table(flatcc_table_verifier_descriptor_t *td)
{
- __flatbuffers_memoize_begin(B, t);
- if (org_apache_arrow_flatbuf_Tensor_start(B)
- || org_apache_arrow_flatbuf_Tensor_data_pick(B, t)
- || org_apache_arrow_flatbuf_Tensor_type_pick(B, t)
- || org_apache_arrow_flatbuf_Tensor_shape_pick(B, t)
- || org_apache_arrow_flatbuf_Tensor_strides_pick(B, t)) {
- return 0;
- }
- __flatbuffers_memoize_end(B, t, org_apache_arrow_flatbuf_Tensor_end(B));
+ return flatcc_verify_ok;
}
-#include "flatcc/flatcc_epilogue.h"
-#endif /* TENSOR_BUILDER_H */
-#ifndef TENSOR_VERIFIER_H
-#define TENSOR_VERIFIER_H
+static inline int org_apache_arrow_flatbuf_RunEndEncoded_verify_as_root(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_RunEndEncoded_identifier, &org_apache_arrow_flatbuf_RunEndEncoded_verify_table);
+}
-/* Generated by flatcc 0.6.1 FlatBuffers schema compiler for C by dvide.com */
+static inline int org_apache_arrow_flatbuf_RunEndEncoded_verify_as_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_RunEndEncoded_identifier, &org_apache_arrow_flatbuf_RunEndEncoded_verify_table);
+}
-#ifndef TENSOR_READER_H
-#include "Tensor_reader.h"
-#endif
-#include "flatcc/flatcc_verifier.h"
-#ifndef SCHEMA_VERIFIER_H
-#include "Schema_verifier.h"
-#endif
-#include "flatcc/flatcc_prologue.h"
+static inline int org_apache_arrow_flatbuf_RunEndEncoded_verify_as_typed_root(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_RunEndEncoded_type_identifier, &org_apache_arrow_flatbuf_RunEndEncoded_verify_table);
+}
-static int org_apache_arrow_flatbuf_TensorDim_verify_table(flatcc_table_verifier_descriptor_t *td);
-static int org_apache_arrow_flatbuf_Tensor_verify_table(flatcc_table_verifier_descriptor_t *td);
+static inline int org_apache_arrow_flatbuf_RunEndEncoded_verify_as_typed_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_RunEndEncoded_type_identifier, &org_apache_arrow_flatbuf_RunEndEncoded_verify_table);
+}
-static int org_apache_arrow_flatbuf_TensorDim_verify_table(flatcc_table_verifier_descriptor_t *td)
+static inline int org_apache_arrow_flatbuf_RunEndEncoded_verify_as_root_with_identifier(const void *buf, size_t bufsiz, const char *fid)
+{
+ return flatcc_verify_table_as_root(buf, bufsiz, fid, &org_apache_arrow_flatbuf_RunEndEncoded_verify_table);
+}
+
+static inline int org_apache_arrow_flatbuf_RunEndEncoded_verify_as_root_with_identifier_and_size(const void *buf, size_t bufsiz, const char *fid)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, fid, &org_apache_arrow_flatbuf_RunEndEncoded_verify_table);
+}
+
+static inline int org_apache_arrow_flatbuf_RunEndEncoded_verify_as_root_with_type_hash(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+{
+ return flatcc_verify_table_as_typed_root(buf, bufsiz, thash, &org_apache_arrow_flatbuf_RunEndEncoded_verify_table);
+}
+
+static inline int org_apache_arrow_flatbuf_RunEndEncoded_verify_as_root_with_type_hash_and_size(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+{
+ return flatcc_verify_table_as_typed_root_with_size(buf, bufsiz, thash, &org_apache_arrow_flatbuf_RunEndEncoded_verify_table);
+}
+
+static int org_apache_arrow_flatbuf_Decimal_verify_table(flatcc_table_verifier_descriptor_t *td)
{
int ret;
- if ((ret = flatcc_verify_field(td, 0, 8, 8) /* size */)) return ret;
- if ((ret = flatcc_verify_string_field(td, 1, 0) /* name */)) return ret;
+ if ((ret = flatcc_verify_field(td, 0, 4, 4) /* precision */)) return ret;
+ if ((ret = flatcc_verify_field(td, 1, 4, 4) /* scale */)) return ret;
+ if ((ret = flatcc_verify_field(td, 2, 4, 4) /* bitWidth */)) return ret;
return flatcc_verify_ok;
}
-static inline int org_apache_arrow_flatbuf_TensorDim_verify_as_root(const void *buf, size_t bufsiz)
+static inline int org_apache_arrow_flatbuf_Decimal_verify_as_root(const void *buf, size_t bufsiz)
{
- return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_TensorDim_identifier, &org_apache_arrow_flatbuf_TensorDim_verify_table);
+ return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_Decimal_identifier, &org_apache_arrow_flatbuf_Decimal_verify_table);
}
-static inline int org_apache_arrow_flatbuf_TensorDim_verify_as_typed_root(const void *buf, size_t bufsiz)
+static inline int org_apache_arrow_flatbuf_Decimal_verify_as_root_with_size(const void *buf, size_t bufsiz)
{
- return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_TensorDim_type_identifier, &org_apache_arrow_flatbuf_TensorDim_verify_table);
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_Decimal_identifier, &org_apache_arrow_flatbuf_Decimal_verify_table);
}
-static inline int org_apache_arrow_flatbuf_TensorDim_verify_as_root_with_identifier(const void *buf, size_t bufsiz, const char *fid)
+static inline int org_apache_arrow_flatbuf_Decimal_verify_as_typed_root(const void *buf, size_t bufsiz)
{
- return flatcc_verify_table_as_root(buf, bufsiz, fid, &org_apache_arrow_flatbuf_TensorDim_verify_table);
+ return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_Decimal_type_identifier, &org_apache_arrow_flatbuf_Decimal_verify_table);
}
-static inline int org_apache_arrow_flatbuf_TensorDim_verify_as_root_with_type_hash(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+static inline int org_apache_arrow_flatbuf_Decimal_verify_as_typed_root_with_size(const void *buf, size_t bufsiz)
{
- return flatcc_verify_table_as_typed_root(buf, bufsiz, thash, &org_apache_arrow_flatbuf_TensorDim_verify_table);
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_Decimal_type_identifier, &org_apache_arrow_flatbuf_Decimal_verify_table);
}
-static int org_apache_arrow_flatbuf_Tensor_verify_table(flatcc_table_verifier_descriptor_t *td)
+static inline int org_apache_arrow_flatbuf_Decimal_verify_as_root_with_identifier(const void *buf, size_t bufsiz, const char *fid)
{
- int ret;
- if ((ret = flatcc_verify_union_field(td, 1, 1, &org_apache_arrow_flatbuf_Type_union_verifier) /* type */)) return ret;
- if ((ret = flatcc_verify_table_vector_field(td, 2, 1, &org_apache_arrow_flatbuf_TensorDim_verify_table) /* shape */)) return ret;
- if ((ret = flatcc_verify_vector_field(td, 3, 0, 8, 8, INT64_C(536870911)) /* strides */)) return ret;
- if ((ret = flatcc_verify_field(td, 4, 16, 8) /* data */)) return ret;
- return flatcc_verify_ok;
+ return flatcc_verify_table_as_root(buf, bufsiz, fid, &org_apache_arrow_flatbuf_Decimal_verify_table);
}
-static inline int org_apache_arrow_flatbuf_Tensor_verify_as_root(const void *buf, size_t bufsiz)
+static inline int org_apache_arrow_flatbuf_Decimal_verify_as_root_with_identifier_and_size(const void *buf, size_t bufsiz, const char *fid)
{
- return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_Tensor_identifier, &org_apache_arrow_flatbuf_Tensor_verify_table);
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, fid, &org_apache_arrow_flatbuf_Decimal_verify_table);
}
-static inline int org_apache_arrow_flatbuf_Tensor_verify_as_typed_root(const void *buf, size_t bufsiz)
+static inline int org_apache_arrow_flatbuf_Decimal_verify_as_root_with_type_hash(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
{
- return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_Tensor_type_identifier, &org_apache_arrow_flatbuf_Tensor_verify_table);
+ return flatcc_verify_table_as_typed_root(buf, bufsiz, thash, &org_apache_arrow_flatbuf_Decimal_verify_table);
}
-static inline int org_apache_arrow_flatbuf_Tensor_verify_as_root_with_identifier(const void *buf, size_t bufsiz, const char *fid)
+static inline int org_apache_arrow_flatbuf_Decimal_verify_as_root_with_type_hash_and_size(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
{
- return flatcc_verify_table_as_root(buf, bufsiz, fid, &org_apache_arrow_flatbuf_Tensor_verify_table);
+ return flatcc_verify_table_as_typed_root_with_size(buf, bufsiz, thash, &org_apache_arrow_flatbuf_Decimal_verify_table);
}
-static inline int org_apache_arrow_flatbuf_Tensor_verify_as_root_with_type_hash(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+static int org_apache_arrow_flatbuf_Date_verify_table(flatcc_table_verifier_descriptor_t *td)
{
- return flatcc_verify_table_as_typed_root(buf, bufsiz, thash, &org_apache_arrow_flatbuf_Tensor_verify_table);
+ int ret;
+ if ((ret = flatcc_verify_field(td, 0, 2, 2) /* unit */)) return ret;
+ return flatcc_verify_ok;
}
-#include "flatcc/flatcc_epilogue.h"
-#endif /* TENSOR_VERIFIER_H */
-#ifndef SPARSETENSOR_READER_H
-#define SPARSETENSOR_READER_H
+static inline int org_apache_arrow_flatbuf_Date_verify_as_root(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_Date_identifier, &org_apache_arrow_flatbuf_Date_verify_table);
+}
-/* Generated by flatcc 0.6.1 FlatBuffers schema compiler for C by dvide.com */
+static inline int org_apache_arrow_flatbuf_Date_verify_as_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_Date_identifier, &org_apache_arrow_flatbuf_Date_verify_table);
+}
-#ifndef FLATBUFFERS_COMMON_READER_H
-#include "flatbuffers_common_reader.h"
-#endif
-#ifndef TENSOR_READER_H
-#include "Tensor_reader.h"
-#endif
-#include "flatcc/flatcc_flatbuffers.h"
-#ifndef __alignas_is_defined
-#include <stdalign.h>
-#endif
-#include "flatcc/flatcc_prologue.h"
-#ifndef flatbuffers_identifier
-#define flatbuffers_identifier 0
-#endif
-#ifndef flatbuffers_extension
-#define flatbuffers_extension "bin"
-#endif
+static inline int org_apache_arrow_flatbuf_Date_verify_as_typed_root(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_Date_type_identifier, &org_apache_arrow_flatbuf_Date_verify_table);
+}
+static inline int org_apache_arrow_flatbuf_Date_verify_as_typed_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_Date_type_identifier, &org_apache_arrow_flatbuf_Date_verify_table);
+}
-typedef const struct org_apache_arrow_flatbuf_SparseTensorIndexCOO_table *org_apache_arrow_flatbuf_SparseTensorIndexCOO_table_t;
-typedef struct org_apache_arrow_flatbuf_SparseTensorIndexCOO_table *org_apache_arrow_flatbuf_SparseTensorIndexCOO_mutable_table_t;
-typedef const flatbuffers_uoffset_t *org_apache_arrow_flatbuf_SparseTensorIndexCOO_vec_t;
-typedef flatbuffers_uoffset_t *org_apache_arrow_flatbuf_SparseTensorIndexCOO_mutable_vec_t;
-typedef const struct org_apache_arrow_flatbuf_SparseMatrixIndexCSX_table *org_apache_arrow_flatbuf_SparseMatrixIndexCSX_table_t;
-typedef struct org_apache_arrow_flatbuf_SparseMatrixIndexCSX_table *org_apache_arrow_flatbuf_SparseMatrixIndexCSX_mutable_table_t;
-typedef const flatbuffers_uoffset_t *org_apache_arrow_flatbuf_SparseMatrixIndexCSX_vec_t;
-typedef flatbuffers_uoffset_t *org_apache_arrow_flatbuf_SparseMatrixIndexCSX_mutable_vec_t;
-typedef const struct org_apache_arrow_flatbuf_SparseTensorIndexCSF_table *org_apache_arrow_flatbuf_SparseTensorIndexCSF_table_t;
-typedef struct org_apache_arrow_flatbuf_SparseTensorIndexCSF_table *org_apache_arrow_flatbuf_SparseTensorIndexCSF_mutable_table_t;
-typedef const flatbuffers_uoffset_t *org_apache_arrow_flatbuf_SparseTensorIndexCSF_vec_t;
-typedef flatbuffers_uoffset_t *org_apache_arrow_flatbuf_SparseTensorIndexCSF_mutable_vec_t;
-typedef const struct org_apache_arrow_flatbuf_SparseTensor_table *org_apache_arrow_flatbuf_SparseTensor_table_t;
-typedef struct org_apache_arrow_flatbuf_SparseTensor_table *org_apache_arrow_flatbuf_SparseTensor_mutable_table_t;
-typedef const flatbuffers_uoffset_t *org_apache_arrow_flatbuf_SparseTensor_vec_t;
-typedef flatbuffers_uoffset_t *org_apache_arrow_flatbuf_SparseTensor_mutable_vec_t;
-#ifndef org_apache_arrow_flatbuf_SparseTensorIndexCOO_file_identifier
-#define org_apache_arrow_flatbuf_SparseTensorIndexCOO_file_identifier 0
-#endif
-/* deprecated, use org_apache_arrow_flatbuf_SparseTensorIndexCOO_file_identifier */
-#ifndef org_apache_arrow_flatbuf_SparseTensorIndexCOO_identifier
-#define org_apache_arrow_flatbuf_SparseTensorIndexCOO_identifier 0
-#endif
-#define org_apache_arrow_flatbuf_SparseTensorIndexCOO_type_hash ((flatbuffers_thash_t)0x3b31385a)
-#define org_apache_arrow_flatbuf_SparseTensorIndexCOO_type_identifier "\x5a\x38\x31\x3b"
-#ifndef org_apache_arrow_flatbuf_SparseTensorIndexCOO_file_extension
-#define org_apache_arrow_flatbuf_SparseTensorIndexCOO_file_extension "bin"
-#endif
-#ifndef org_apache_arrow_flatbuf_SparseMatrixIndexCSX_file_identifier
-#define org_apache_arrow_flatbuf_SparseMatrixIndexCSX_file_identifier 0
-#endif
-/* deprecated, use org_apache_arrow_flatbuf_SparseMatrixIndexCSX_file_identifier */
-#ifndef org_apache_arrow_flatbuf_SparseMatrixIndexCSX_identifier
-#define org_apache_arrow_flatbuf_SparseMatrixIndexCSX_identifier 0
-#endif
-#define org_apache_arrow_flatbuf_SparseMatrixIndexCSX_type_hash ((flatbuffers_thash_t)0xec57ea87)
-#define org_apache_arrow_flatbuf_SparseMatrixIndexCSX_type_identifier "\x87\xea\x57\xec"
-#ifndef org_apache_arrow_flatbuf_SparseMatrixIndexCSX_file_extension
-#define org_apache_arrow_flatbuf_SparseMatrixIndexCSX_file_extension "bin"
-#endif
-#ifndef org_apache_arrow_flatbuf_SparseTensorIndexCSF_file_identifier
-#define org_apache_arrow_flatbuf_SparseTensorIndexCSF_file_identifier 0
-#endif
-/* deprecated, use org_apache_arrow_flatbuf_SparseTensorIndexCSF_file_identifier */
-#ifndef org_apache_arrow_flatbuf_SparseTensorIndexCSF_identifier
-#define org_apache_arrow_flatbuf_SparseTensorIndexCSF_identifier 0
-#endif
-#define org_apache_arrow_flatbuf_SparseTensorIndexCSF_type_hash ((flatbuffers_thash_t)0xf44edda9)
-#define org_apache_arrow_flatbuf_SparseTensorIndexCSF_type_identifier "\xa9\xdd\x4e\xf4"
-#ifndef org_apache_arrow_flatbuf_SparseTensorIndexCSF_file_extension
-#define org_apache_arrow_flatbuf_SparseTensorIndexCSF_file_extension "bin"
-#endif
-#ifndef org_apache_arrow_flatbuf_SparseTensor_file_identifier
-#define org_apache_arrow_flatbuf_SparseTensor_file_identifier 0
-#endif
-/* deprecated, use org_apache_arrow_flatbuf_SparseTensor_file_identifier */
-#ifndef org_apache_arrow_flatbuf_SparseTensor_identifier
-#define org_apache_arrow_flatbuf_SparseTensor_identifier 0
-#endif
-#define org_apache_arrow_flatbuf_SparseTensor_type_hash ((flatbuffers_thash_t)0xae6f7239)
-#define org_apache_arrow_flatbuf_SparseTensor_type_identifier "\x39\x72\x6f\xae"
-#ifndef org_apache_arrow_flatbuf_SparseTensor_file_extension
-#define org_apache_arrow_flatbuf_SparseTensor_file_extension "bin"
-#endif
+static inline int org_apache_arrow_flatbuf_Date_verify_as_root_with_identifier(const void *buf, size_t bufsiz, const char *fid)
+{
+ return flatcc_verify_table_as_root(buf, bufsiz, fid, &org_apache_arrow_flatbuf_Date_verify_table);
+}
-typedef int16_t org_apache_arrow_flatbuf_SparseMatrixCompressedAxis_enum_t;
-__flatbuffers_define_integer_type(org_apache_arrow_flatbuf_SparseMatrixCompressedAxis, org_apache_arrow_flatbuf_SparseMatrixCompressedAxis_enum_t, 16)
-#define org_apache_arrow_flatbuf_SparseMatrixCompressedAxis_Row ((org_apache_arrow_flatbuf_SparseMatrixCompressedAxis_enum_t)INT16_C(0))
-#define org_apache_arrow_flatbuf_SparseMatrixCompressedAxis_Column ((org_apache_arrow_flatbuf_SparseMatrixCompressedAxis_enum_t)INT16_C(1))
+static inline int org_apache_arrow_flatbuf_Date_verify_as_root_with_identifier_and_size(const void *buf, size_t bufsiz, const char *fid)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, fid, &org_apache_arrow_flatbuf_Date_verify_table);
+}
-static inline const char *org_apache_arrow_flatbuf_SparseMatrixCompressedAxis_name(org_apache_arrow_flatbuf_SparseMatrixCompressedAxis_enum_t value)
+static inline int org_apache_arrow_flatbuf_Date_verify_as_root_with_type_hash(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
{
- switch (value) {
- case org_apache_arrow_flatbuf_SparseMatrixCompressedAxis_Row: return "Row";
- case org_apache_arrow_flatbuf_SparseMatrixCompressedAxis_Column: return "Column";
- default: return "";
- }
+ return flatcc_verify_table_as_typed_root(buf, bufsiz, thash, &org_apache_arrow_flatbuf_Date_verify_table);
}
-static inline int org_apache_arrow_flatbuf_SparseMatrixCompressedAxis_is_known_value(org_apache_arrow_flatbuf_SparseMatrixCompressedAxis_enum_t value)
+static inline int org_apache_arrow_flatbuf_Date_verify_as_root_with_type_hash_and_size(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
{
- switch (value) {
- case org_apache_arrow_flatbuf_SparseMatrixCompressedAxis_Row: return 1;
- case org_apache_arrow_flatbuf_SparseMatrixCompressedAxis_Column: return 1;
- default: return 0;
- }
+ return flatcc_verify_table_as_typed_root_with_size(buf, bufsiz, thash, &org_apache_arrow_flatbuf_Date_verify_table);
}
+static int org_apache_arrow_flatbuf_Time_verify_table(flatcc_table_verifier_descriptor_t *td)
+{
+ int ret;
+ if ((ret = flatcc_verify_field(td, 0, 2, 2) /* unit */)) return ret;
+ if ((ret = flatcc_verify_field(td, 1, 4, 4) /* bitWidth */)) return ret;
+ return flatcc_verify_ok;
+}
+static inline int org_apache_arrow_flatbuf_Time_verify_as_root(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_Time_identifier, &org_apache_arrow_flatbuf_Time_verify_table);
+}
-/** ----------------------------------------------------------------------
- * EXPERIMENTAL: Data structures for sparse tensors
- * Coordinate (COO) format of sparse tensor index.
- *
- * COO's index list are represented as a NxM matrix,
- * where N is the number of non-zero values,
- * and M is the number of dimensions of a sparse tensor.
- *
- * indicesBuffer stores the location and size of the data of this indices
- * matrix. The value type and the stride of the indices matrix is
- * specified in indicesType and indicesStrides fields.
- *
- * For example, let X be a 2x3x4x5 tensor, and it has the following
- * 6 non-zero values:
- * ```text
- * X[0, 1, 2, 0] := 1
- * X[1, 1, 2, 3] := 2
- * X[0, 2, 1, 0] := 3
- * X[0, 1, 3, 0] := 4
- * X[0, 1, 2, 1] := 5
- * X[1, 2, 0, 4] := 6
- * ```
- * In COO format, the index matrix of X is the following 4x6 matrix:
- * ```text
- * [[0, 0, 0, 0, 1, 1],
- * [1, 1, 1, 2, 1, 2],
- * [2, 2, 3, 1, 2, 0],
- * [0, 1, 0, 0, 3, 4]]
- * ```
- * When isCanonical is true, the indices is sorted in lexicographical order
- * (row-major order), and it does not have duplicated entries. Otherwise,
- * the indices may not be sorted, or may have duplicated entries. */
-struct org_apache_arrow_flatbuf_SparseTensorIndexCOO_table { uint8_t unused__; };
-
-static inline size_t org_apache_arrow_flatbuf_SparseTensorIndexCOO_vec_len(org_apache_arrow_flatbuf_SparseTensorIndexCOO_vec_t vec)
-__flatbuffers_vec_len(vec)
-static inline org_apache_arrow_flatbuf_SparseTensorIndexCOO_table_t org_apache_arrow_flatbuf_SparseTensorIndexCOO_vec_at(org_apache_arrow_flatbuf_SparseTensorIndexCOO_vec_t vec, size_t i)
-__flatbuffers_offset_vec_at(org_apache_arrow_flatbuf_SparseTensorIndexCOO_table_t, vec, i, 0)
-__flatbuffers_table_as_root(org_apache_arrow_flatbuf_SparseTensorIndexCOO)
-
-/** The type of values in indicesBuffer */
-__flatbuffers_define_table_field(0, org_apache_arrow_flatbuf_SparseTensorIndexCOO, indicesType, org_apache_arrow_flatbuf_Int_table_t, 1)
-/** Non-negative byte offsets to advance one value cell along each dimension
- * If omitted, default to row-major order (C-like). */
-__flatbuffers_define_vector_field(1, org_apache_arrow_flatbuf_SparseTensorIndexCOO, indicesStrides, flatbuffers_int64_vec_t, 0)
-/** The location and size of the indices matrix's data */
-__flatbuffers_define_struct_field(2, org_apache_arrow_flatbuf_SparseTensorIndexCOO, indicesBuffer, org_apache_arrow_flatbuf_Buffer_struct_t, 1)
-/** This flag is true if and only if the indices matrix is sorted in
- * row-major order, and does not have duplicated entries.
- * This sort order is the same as of Tensorflow's SparseTensor,
- * but it is inverse order of SciPy's canonical coo_matrix
- * (SciPy employs column-major order for its coo_matrix). */
-__flatbuffers_define_scalar_field(3, org_apache_arrow_flatbuf_SparseTensorIndexCOO, isCanonical, flatbuffers_bool, flatbuffers_bool_t, UINT8_C(0))
+static inline int org_apache_arrow_flatbuf_Time_verify_as_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_Time_identifier, &org_apache_arrow_flatbuf_Time_verify_table);
+}
-/** Compressed Sparse format, that is matrix-specific. */
-struct org_apache_arrow_flatbuf_SparseMatrixIndexCSX_table { uint8_t unused__; };
+static inline int org_apache_arrow_flatbuf_Time_verify_as_typed_root(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_Time_type_identifier, &org_apache_arrow_flatbuf_Time_verify_table);
+}
-static inline size_t org_apache_arrow_flatbuf_SparseMatrixIndexCSX_vec_len(org_apache_arrow_flatbuf_SparseMatrixIndexCSX_vec_t vec)
-__flatbuffers_vec_len(vec)
-static inline org_apache_arrow_flatbuf_SparseMatrixIndexCSX_table_t org_apache_arrow_flatbuf_SparseMatrixIndexCSX_vec_at(org_apache_arrow_flatbuf_SparseMatrixIndexCSX_vec_t vec, size_t i)
-__flatbuffers_offset_vec_at(org_apache_arrow_flatbuf_SparseMatrixIndexCSX_table_t, vec, i, 0)
-__flatbuffers_table_as_root(org_apache_arrow_flatbuf_SparseMatrixIndexCSX)
+static inline int org_apache_arrow_flatbuf_Time_verify_as_typed_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_Time_type_identifier, &org_apache_arrow_flatbuf_Time_verify_table);
+}
-/** Which axis, row or column, is compressed */
-__flatbuffers_define_scalar_field(0, org_apache_arrow_flatbuf_SparseMatrixIndexCSX, compressedAxis, org_apache_arrow_flatbuf_SparseMatrixCompressedAxis, org_apache_arrow_flatbuf_SparseMatrixCompressedAxis_enum_t, INT16_C(0))
-/** The type of values in indptrBuffer */
-__flatbuffers_define_table_field(1, org_apache_arrow_flatbuf_SparseMatrixIndexCSX, indptrType, org_apache_arrow_flatbuf_Int_table_t, 1)
-/** indptrBuffer stores the location and size of indptr array that
- * represents the range of the rows.
- * The i-th row spans from `indptr[i]` to `indptr[i+1]` in the data.
- * The length of this array is 1 + (the number of rows), and the type
- * of index value is long.
- *
- * For example, let X be the following 6x4 matrix:
- * ```text
- * X := [[0, 1, 2, 0],
- * [0, 0, 3, 0],
- * [0, 4, 0, 5],
- * [0, 0, 0, 0],
- * [6, 0, 7, 8],
- * [0, 9, 0, 0]].
- * ```
- * The array of non-zero values in X is:
- * ```text
- * values(X) = [1, 2, 3, 4, 5, 6, 7, 8, 9].
- * ```
- * And the indptr of X is:
- * ```text
- * indptr(X) = [0, 2, 3, 5, 5, 8, 10].
- * ``` */
-__flatbuffers_define_struct_field(2, org_apache_arrow_flatbuf_SparseMatrixIndexCSX, indptrBuffer, org_apache_arrow_flatbuf_Buffer_struct_t, 1)
-/** The type of values in indicesBuffer */
-__flatbuffers_define_table_field(3, org_apache_arrow_flatbuf_SparseMatrixIndexCSX, indicesType, org_apache_arrow_flatbuf_Int_table_t, 1)
-/** indicesBuffer stores the location and size of the array that
- * contains the column indices of the corresponding non-zero values.
- * The type of index value is long.
- *
- * For example, the indices of the above X is:
- * ```text
- * indices(X) = [1, 2, 2, 1, 3, 0, 2, 3, 1].
- * ```
- * Note that the indices are sorted in lexicographical order for each row. */
-__flatbuffers_define_struct_field(4, org_apache_arrow_flatbuf_SparseMatrixIndexCSX, indicesBuffer, org_apache_arrow_flatbuf_Buffer_struct_t, 1)
+static inline int org_apache_arrow_flatbuf_Time_verify_as_root_with_identifier(const void *buf, size_t bufsiz, const char *fid)
+{
+ return flatcc_verify_table_as_root(buf, bufsiz, fid, &org_apache_arrow_flatbuf_Time_verify_table);
+}
-/** Compressed Sparse Fiber (CSF) sparse tensor index. */
-struct org_apache_arrow_flatbuf_SparseTensorIndexCSF_table { uint8_t unused__; };
+static inline int org_apache_arrow_flatbuf_Time_verify_as_root_with_identifier_and_size(const void *buf, size_t bufsiz, const char *fid)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, fid, &org_apache_arrow_flatbuf_Time_verify_table);
+}
-static inline size_t org_apache_arrow_flatbuf_SparseTensorIndexCSF_vec_len(org_apache_arrow_flatbuf_SparseTensorIndexCSF_vec_t vec)
-__flatbuffers_vec_len(vec)
-static inline org_apache_arrow_flatbuf_SparseTensorIndexCSF_table_t org_apache_arrow_flatbuf_SparseTensorIndexCSF_vec_at(org_apache_arrow_flatbuf_SparseTensorIndexCSF_vec_t vec, size_t i)
-__flatbuffers_offset_vec_at(org_apache_arrow_flatbuf_SparseTensorIndexCSF_table_t, vec, i, 0)
-__flatbuffers_table_as_root(org_apache_arrow_flatbuf_SparseTensorIndexCSF)
+static inline int org_apache_arrow_flatbuf_Time_verify_as_root_with_type_hash(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+{
+ return flatcc_verify_table_as_typed_root(buf, bufsiz, thash, &org_apache_arrow_flatbuf_Time_verify_table);
+}
-/** CSF is a generalization of compressed sparse row (CSR) index.
- * See [smith2017knl](http://shaden.io/pub-files/smith2017knl.pdf)
- *
- * CSF index recursively compresses each dimension of a tensor into a set
- * of prefix trees. Each path from a root to leaf forms one tensor
- * non-zero index. CSF is implemented with two arrays of buffers and one
- * arrays of integers.
- *
- * For example, let X be a 2x3x4x5 tensor and let it have the following
- * 8 non-zero values:
- * ```text
- * X[0, 0, 0, 1] := 1
- * X[0, 0, 0, 2] := 2
- * X[0, 1, 0, 0] := 3
- * X[0, 1, 0, 2] := 4
- * X[0, 1, 1, 0] := 5
- * X[1, 1, 1, 0] := 6
- * X[1, 1, 1, 1] := 7
- * X[1, 1, 1, 2] := 8
- * ```
- * As a prefix tree this would be represented as:
- * ```text
- * 0 1
- * / \ |
- * 0 1 1
- * / / \ |
- * 0 0 1 1
- * /| /| | /| |
- * 1 2 0 2 0 0 1 2
- * ```
- * The type of values in indptrBuffers */
-__flatbuffers_define_table_field(0, org_apache_arrow_flatbuf_SparseTensorIndexCSF, indptrType, org_apache_arrow_flatbuf_Int_table_t, 1)
-/** indptrBuffers stores the sparsity structure.
- * Each two consecutive dimensions in a tensor correspond to a buffer in
- * indptrBuffers. A pair of consecutive values at `indptrBuffers[dim][i]`
- * and `indptrBuffers[dim][i + 1]` signify a range of nodes in
- * `indicesBuffers[dim + 1]` who are children of `indicesBuffers[dim][i]` node.
- *
- * For example, the indptrBuffers for the above X is:
- * ```text
- * indptrBuffer(X) = [
- * [0, 2, 3],
- * [0, 1, 3, 4],
- * [0, 2, 4, 5, 8]
- * ].
- * ``` */
-__flatbuffers_define_vector_field(1, org_apache_arrow_flatbuf_SparseTensorIndexCSF, indptrBuffers, org_apache_arrow_flatbuf_Buffer_vec_t, 1)
-/** The type of values in indicesBuffers */
-__flatbuffers_define_table_field(2, org_apache_arrow_flatbuf_SparseTensorIndexCSF, indicesType, org_apache_arrow_flatbuf_Int_table_t, 1)
-/** indicesBuffers stores values of nodes.
- * Each tensor dimension corresponds to a buffer in indicesBuffers.
- * For example, the indicesBuffers for the above X is:
- * ```text
- * indicesBuffer(X) = [
- * [0, 1],
- * [0, 1, 1],
- * [0, 0, 1, 1],
- * [1, 2, 0, 2, 0, 0, 1, 2]
- * ].
- * ``` */
-__flatbuffers_define_vector_field(3, org_apache_arrow_flatbuf_SparseTensorIndexCSF, indicesBuffers, org_apache_arrow_flatbuf_Buffer_vec_t, 1)
-/** axisOrder stores the sequence in which dimensions were traversed to
- * produce the prefix tree.
- * For example, the axisOrder for the above X is:
- * ```text
- * axisOrder(X) = [0, 1, 2, 3].
- * ``` */
-__flatbuffers_define_vector_field(4, org_apache_arrow_flatbuf_SparseTensorIndexCSF, axisOrder, flatbuffers_int32_vec_t, 1)
-typedef uint8_t org_apache_arrow_flatbuf_SparseTensorIndex_union_type_t;
-__flatbuffers_define_integer_type(org_apache_arrow_flatbuf_SparseTensorIndex, org_apache_arrow_flatbuf_SparseTensorIndex_union_type_t, 8)
-__flatbuffers_define_union(flatbuffers_, org_apache_arrow_flatbuf_SparseTensorIndex)
-#define org_apache_arrow_flatbuf_SparseTensorIndex_NONE ((org_apache_arrow_flatbuf_SparseTensorIndex_union_type_t)UINT8_C(0))
-#define org_apache_arrow_flatbuf_SparseTensorIndex_SparseTensorIndexCOO ((org_apache_arrow_flatbuf_SparseTensorIndex_union_type_t)UINT8_C(1))
-#define org_apache_arrow_flatbuf_SparseTensorIndex_SparseMatrixIndexCSX ((org_apache_arrow_flatbuf_SparseTensorIndex_union_type_t)UINT8_C(2))
-#define org_apache_arrow_flatbuf_SparseTensorIndex_SparseTensorIndexCSF ((org_apache_arrow_flatbuf_SparseTensorIndex_union_type_t)UINT8_C(3))
+static inline int org_apache_arrow_flatbuf_Time_verify_as_root_with_type_hash_and_size(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+{
+ return flatcc_verify_table_as_typed_root_with_size(buf, bufsiz, thash, &org_apache_arrow_flatbuf_Time_verify_table);
+}
-static inline const char *org_apache_arrow_flatbuf_SparseTensorIndex_type_name(org_apache_arrow_flatbuf_SparseTensorIndex_union_type_t type)
+static int org_apache_arrow_flatbuf_Timestamp_verify_table(flatcc_table_verifier_descriptor_t *td)
{
- switch (type) {
- case org_apache_arrow_flatbuf_SparseTensorIndex_NONE: return "NONE";
- case org_apache_arrow_flatbuf_SparseTensorIndex_SparseTensorIndexCOO: return "SparseTensorIndexCOO";
- case org_apache_arrow_flatbuf_SparseTensorIndex_SparseMatrixIndexCSX: return "SparseMatrixIndexCSX";
- case org_apache_arrow_flatbuf_SparseTensorIndex_SparseTensorIndexCSF: return "SparseTensorIndexCSF";
- default: return "";
- }
+ int ret;
+ if ((ret = flatcc_verify_field(td, 0, 2, 2) /* unit */)) return ret;
+ if ((ret = flatcc_verify_string_field(td, 1, 0) /* timezone */)) return ret;
+ return flatcc_verify_ok;
}
-static inline int org_apache_arrow_flatbuf_SparseTensorIndex_is_known_type(org_apache_arrow_flatbuf_SparseTensorIndex_union_type_t type)
+static inline int org_apache_arrow_flatbuf_Timestamp_verify_as_root(const void *buf, size_t bufsiz)
{
- switch (type) {
- case org_apache_arrow_flatbuf_SparseTensorIndex_NONE: return 1;
- case org_apache_arrow_flatbuf_SparseTensorIndex_SparseTensorIndexCOO: return 1;
- case org_apache_arrow_flatbuf_SparseTensorIndex_SparseMatrixIndexCSX: return 1;
- case org_apache_arrow_flatbuf_SparseTensorIndex_SparseTensorIndexCSF: return 1;
- default: return 0;
- }
+ return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_Timestamp_identifier, &org_apache_arrow_flatbuf_Timestamp_verify_table);
}
+static inline int org_apache_arrow_flatbuf_Timestamp_verify_as_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_Timestamp_identifier, &org_apache_arrow_flatbuf_Timestamp_verify_table);
+}
-struct org_apache_arrow_flatbuf_SparseTensor_table { uint8_t unused__; };
+static inline int org_apache_arrow_flatbuf_Timestamp_verify_as_typed_root(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_Timestamp_type_identifier, &org_apache_arrow_flatbuf_Timestamp_verify_table);
+}
-static inline size_t org_apache_arrow_flatbuf_SparseTensor_vec_len(org_apache_arrow_flatbuf_SparseTensor_vec_t vec)
-__flatbuffers_vec_len(vec)
-static inline org_apache_arrow_flatbuf_SparseTensor_table_t org_apache_arrow_flatbuf_SparseTensor_vec_at(org_apache_arrow_flatbuf_SparseTensor_vec_t vec, size_t i)
-__flatbuffers_offset_vec_at(org_apache_arrow_flatbuf_SparseTensor_table_t, vec, i, 0)
-__flatbuffers_table_as_root(org_apache_arrow_flatbuf_SparseTensor)
+static inline int org_apache_arrow_flatbuf_Timestamp_verify_as_typed_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_Timestamp_type_identifier, &org_apache_arrow_flatbuf_Timestamp_verify_table);
+}
-/** The type of data contained in a value cell.
- * Currently only fixed-width value types are supported,
- * no strings or nested types. */
-__flatbuffers_define_union_field(flatbuffers_, 1, org_apache_arrow_flatbuf_SparseTensor, type, org_apache_arrow_flatbuf_Type, 1)
-/** The dimensions of the tensor, optionally named. */
-__flatbuffers_define_vector_field(2, org_apache_arrow_flatbuf_SparseTensor, shape, org_apache_arrow_flatbuf_TensorDim_vec_t, 1)
-/** The number of non-zero values in a sparse tensor. */
-__flatbuffers_define_scalar_field(3, org_apache_arrow_flatbuf_SparseTensor, non_zero_length, flatbuffers_int64, int64_t, INT64_C(0))
-/** Sparse tensor index */
-__flatbuffers_define_union_field(flatbuffers_, 5, org_apache_arrow_flatbuf_SparseTensor, sparseIndex, org_apache_arrow_flatbuf_SparseTensorIndex, 1)
-/** The location and size of the tensor's data */
-__flatbuffers_define_struct_field(6, org_apache_arrow_flatbuf_SparseTensor, data, org_apache_arrow_flatbuf_Buffer_struct_t, 1)
+static inline int org_apache_arrow_flatbuf_Timestamp_verify_as_root_with_identifier(const void *buf, size_t bufsiz, const char *fid)
+{
+ return flatcc_verify_table_as_root(buf, bufsiz, fid, &org_apache_arrow_flatbuf_Timestamp_verify_table);
+}
+static inline int org_apache_arrow_flatbuf_Timestamp_verify_as_root_with_identifier_and_size(const void *buf, size_t bufsiz, const char *fid)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, fid, &org_apache_arrow_flatbuf_Timestamp_verify_table);
+}
-#include "flatcc/flatcc_epilogue.h"
-#endif /* SPARSETENSOR_READER_H */
-#ifndef SPARSETENSOR_BUILDER_H
-#define SPARSETENSOR_BUILDER_H
-
-/* Generated by flatcc 0.6.1 FlatBuffers schema compiler for C by dvide.com */
+static inline int org_apache_arrow_flatbuf_Timestamp_verify_as_root_with_type_hash(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+{
+ return flatcc_verify_table_as_typed_root(buf, bufsiz, thash, &org_apache_arrow_flatbuf_Timestamp_verify_table);
+}
-#ifndef SPARSETENSOR_READER_H
-#include "SparseTensor_reader.h"
-#endif
-#ifndef FLATBUFFERS_COMMON_BUILDER_H
-#include "flatbuffers_common_builder.h"
-#endif
-#ifndef TENSOR_BUILDER_H
-#include "Tensor_builder.h"
-#endif
-#include "flatcc/flatcc_prologue.h"
-#ifndef flatbuffers_identifier
-#define flatbuffers_identifier 0
-#endif
-#ifndef flatbuffers_extension
-#define flatbuffers_extension "bin"
-#endif
+static inline int org_apache_arrow_flatbuf_Timestamp_verify_as_root_with_type_hash_and_size(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+{
+ return flatcc_verify_table_as_typed_root_with_size(buf, bufsiz, thash, &org_apache_arrow_flatbuf_Timestamp_verify_table);
+}
-#define __org_apache_arrow_flatbuf_SparseMatrixCompressedAxis_formal_args , org_apache_arrow_flatbuf_SparseMatrixCompressedAxis_enum_t v0
-#define __org_apache_arrow_flatbuf_SparseMatrixCompressedAxis_call_args , v0
-__flatbuffers_build_scalar(flatbuffers_, org_apache_arrow_flatbuf_SparseMatrixCompressedAxis, org_apache_arrow_flatbuf_SparseMatrixCompressedAxis_enum_t)
+static int org_apache_arrow_flatbuf_Interval_verify_table(flatcc_table_verifier_descriptor_t *td)
+{
+ int ret;
+ if ((ret = flatcc_verify_field(td, 0, 2, 2) /* unit */)) return ret;
+ return flatcc_verify_ok;
+}
-typedef flatbuffers_union_ref_t org_apache_arrow_flatbuf_SparseTensorIndex_union_ref_t;
-typedef flatbuffers_union_vec_ref_t org_apache_arrow_flatbuf_SparseTensorIndex_union_vec_ref_t;
-static org_apache_arrow_flatbuf_SparseTensorIndex_union_ref_t org_apache_arrow_flatbuf_SparseTensorIndex_clone(flatbuffers_builder_t *B, org_apache_arrow_flatbuf_SparseTensorIndex_union_t t);
+static inline int org_apache_arrow_flatbuf_Interval_verify_as_root(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_Interval_identifier, &org_apache_arrow_flatbuf_Interval_verify_table);
+}
-static const flatbuffers_voffset_t __org_apache_arrow_flatbuf_SparseTensorIndexCOO_required[] = { 0, 2, 0 };
-typedef flatbuffers_ref_t org_apache_arrow_flatbuf_SparseTensorIndexCOO_ref_t;
-static org_apache_arrow_flatbuf_SparseTensorIndexCOO_ref_t org_apache_arrow_flatbuf_SparseTensorIndexCOO_clone(flatbuffers_builder_t *B, org_apache_arrow_flatbuf_SparseTensorIndexCOO_table_t t);
-__flatbuffers_build_table(flatbuffers_, org_apache_arrow_flatbuf_SparseTensorIndexCOO, 4)
+static inline int org_apache_arrow_flatbuf_Interval_verify_as_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_Interval_identifier, &org_apache_arrow_flatbuf_Interval_verify_table);
+}
-static const flatbuffers_voffset_t __org_apache_arrow_flatbuf_SparseMatrixIndexCSX_required[] = { 1, 2, 3, 4, 0 };
-typedef flatbuffers_ref_t org_apache_arrow_flatbuf_SparseMatrixIndexCSX_ref_t;
-static org_apache_arrow_flatbuf_SparseMatrixIndexCSX_ref_t org_apache_arrow_flatbuf_SparseMatrixIndexCSX_clone(flatbuffers_builder_t *B, org_apache_arrow_flatbuf_SparseMatrixIndexCSX_table_t t);
-__flatbuffers_build_table(flatbuffers_, org_apache_arrow_flatbuf_SparseMatrixIndexCSX, 5)
+static inline int org_apache_arrow_flatbuf_Interval_verify_as_typed_root(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_Interval_type_identifier, &org_apache_arrow_flatbuf_Interval_verify_table);
+}
-static const flatbuffers_voffset_t __org_apache_arrow_flatbuf_SparseTensorIndexCSF_required[] = { 0, 1, 2, 3, 4, 0 };
-typedef flatbuffers_ref_t org_apache_arrow_flatbuf_SparseTensorIndexCSF_ref_t;
-static org_apache_arrow_flatbuf_SparseTensorIndexCSF_ref_t org_apache_arrow_flatbuf_SparseTensorIndexCSF_clone(flatbuffers_builder_t *B, org_apache_arrow_flatbuf_SparseTensorIndexCSF_table_t t);
-__flatbuffers_build_table(flatbuffers_, org_apache_arrow_flatbuf_SparseTensorIndexCSF, 5)
+static inline int org_apache_arrow_flatbuf_Interval_verify_as_typed_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_Interval_type_identifier, &org_apache_arrow_flatbuf_Interval_verify_table);
+}
-static const flatbuffers_voffset_t __org_apache_arrow_flatbuf_SparseTensor_required[] = { 1, 2, 5, 6, 0 };
-typedef flatbuffers_ref_t org_apache_arrow_flatbuf_SparseTensor_ref_t;
-static org_apache_arrow_flatbuf_SparseTensor_ref_t org_apache_arrow_flatbuf_SparseTensor_clone(flatbuffers_builder_t *B, org_apache_arrow_flatbuf_SparseTensor_table_t t);
-__flatbuffers_build_table(flatbuffers_, org_apache_arrow_flatbuf_SparseTensor, 7)
+static inline int org_apache_arrow_flatbuf_Interval_verify_as_root_with_identifier(const void *buf, size_t bufsiz, const char *fid)
+{
+ return flatcc_verify_table_as_root(buf, bufsiz, fid, &org_apache_arrow_flatbuf_Interval_verify_table);
+}
-#define __org_apache_arrow_flatbuf_SparseTensorIndexCOO_formal_args , org_apache_arrow_flatbuf_Int_ref_t v0, flatbuffers_int64_vec_ref_t v1, org_apache_arrow_flatbuf_Buffer_t *v2, flatbuffers_bool_t v3
-#define __org_apache_arrow_flatbuf_SparseTensorIndexCOO_call_args , v0, v1, v2, v3
-static inline org_apache_arrow_flatbuf_SparseTensorIndexCOO_ref_t org_apache_arrow_flatbuf_SparseTensorIndexCOO_create(flatbuffers_builder_t *B __org_apache_arrow_flatbuf_SparseTensorIndexCOO_formal_args);
-__flatbuffers_build_table_prolog(flatbuffers_, org_apache_arrow_flatbuf_SparseTensorIndexCOO, org_apache_arrow_flatbuf_SparseTensorIndexCOO_file_identifier, org_apache_arrow_flatbuf_SparseTensorIndexCOO_type_identifier)
+static inline int org_apache_arrow_flatbuf_Interval_verify_as_root_with_identifier_and_size(const void *buf, size_t bufsiz, const char *fid)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, fid, &org_apache_arrow_flatbuf_Interval_verify_table);
+}
-#define __org_apache_arrow_flatbuf_SparseMatrixIndexCSX_formal_args ,\
- org_apache_arrow_flatbuf_SparseMatrixCompressedAxis_enum_t v0, org_apache_arrow_flatbuf_Int_ref_t v1, org_apache_arrow_flatbuf_Buffer_t *v2, org_apache_arrow_flatbuf_Int_ref_t v3, org_apache_arrow_flatbuf_Buffer_t *v4
-#define __org_apache_arrow_flatbuf_SparseMatrixIndexCSX_call_args ,\
- v0, v1, v2, v3, v4
-static inline org_apache_arrow_flatbuf_SparseMatrixIndexCSX_ref_t org_apache_arrow_flatbuf_SparseMatrixIndexCSX_create(flatbuffers_builder_t *B __org_apache_arrow_flatbuf_SparseMatrixIndexCSX_formal_args);
-__flatbuffers_build_table_prolog(flatbuffers_, org_apache_arrow_flatbuf_SparseMatrixIndexCSX, org_apache_arrow_flatbuf_SparseMatrixIndexCSX_file_identifier, org_apache_arrow_flatbuf_SparseMatrixIndexCSX_type_identifier)
+static inline int org_apache_arrow_flatbuf_Interval_verify_as_root_with_type_hash(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+{
+ return flatcc_verify_table_as_typed_root(buf, bufsiz, thash, &org_apache_arrow_flatbuf_Interval_verify_table);
+}
-#define __org_apache_arrow_flatbuf_SparseTensorIndexCSF_formal_args ,\
- org_apache_arrow_flatbuf_Int_ref_t v0, org_apache_arrow_flatbuf_Buffer_vec_ref_t v1, org_apache_arrow_flatbuf_Int_ref_t v2, org_apache_arrow_flatbuf_Buffer_vec_ref_t v3, flatbuffers_int32_vec_ref_t v4
-#define __org_apache_arrow_flatbuf_SparseTensorIndexCSF_call_args ,\
- v0, v1, v2, v3, v4
-static inline org_apache_arrow_flatbuf_SparseTensorIndexCSF_ref_t org_apache_arrow_flatbuf_SparseTensorIndexCSF_create(flatbuffers_builder_t *B __org_apache_arrow_flatbuf_SparseTensorIndexCSF_formal_args);
-__flatbuffers_build_table_prolog(flatbuffers_, org_apache_arrow_flatbuf_SparseTensorIndexCSF, org_apache_arrow_flatbuf_SparseTensorIndexCSF_file_identifier, org_apache_arrow_flatbuf_SparseTensorIndexCSF_type_identifier)
+static inline int org_apache_arrow_flatbuf_Interval_verify_as_root_with_type_hash_and_size(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+{
+ return flatcc_verify_table_as_typed_root_with_size(buf, bufsiz, thash, &org_apache_arrow_flatbuf_Interval_verify_table);
+}
-#define __org_apache_arrow_flatbuf_SparseTensor_formal_args ,\
- org_apache_arrow_flatbuf_Type_union_ref_t v1, org_apache_arrow_flatbuf_TensorDim_vec_ref_t v2, int64_t v3, org_apache_arrow_flatbuf_SparseTensorIndex_union_ref_t v5, org_apache_arrow_flatbuf_Buffer_t *v6
-#define __org_apache_arrow_flatbuf_SparseTensor_call_args ,\
- v1, v2, v3, v5, v6
-static inline org_apache_arrow_flatbuf_SparseTensor_ref_t org_apache_arrow_flatbuf_SparseTensor_create(flatbuffers_builder_t *B __org_apache_arrow_flatbuf_SparseTensor_formal_args);
-__flatbuffers_build_table_prolog(flatbuffers_, org_apache_arrow_flatbuf_SparseTensor, org_apache_arrow_flatbuf_SparseTensor_file_identifier, org_apache_arrow_flatbuf_SparseTensor_type_identifier)
+static int org_apache_arrow_flatbuf_Duration_verify_table(flatcc_table_verifier_descriptor_t *td)
+{
+ int ret;
+ if ((ret = flatcc_verify_field(td, 0, 2, 2) /* unit */)) return ret;
+ return flatcc_verify_ok;
+}
-static inline org_apache_arrow_flatbuf_SparseTensorIndex_union_ref_t org_apache_arrow_flatbuf_SparseTensorIndex_as_NONE(void)
-{ org_apache_arrow_flatbuf_SparseTensorIndex_union_ref_t uref; uref.type = org_apache_arrow_flatbuf_SparseTensorIndex_NONE; uref.value = 0; return uref; }
-static inline org_apache_arrow_flatbuf_SparseTensorIndex_union_ref_t org_apache_arrow_flatbuf_SparseTensorIndex_as_SparseTensorIndexCOO(org_apache_arrow_flatbuf_SparseTensorIndexCOO_ref_t ref)
-{ org_apache_arrow_flatbuf_SparseTensorIndex_union_ref_t uref; uref.type = org_apache_arrow_flatbuf_SparseTensorIndex_SparseTensorIndexCOO; uref.value = ref; return uref; }
-static inline org_apache_arrow_flatbuf_SparseTensorIndex_union_ref_t org_apache_arrow_flatbuf_SparseTensorIndex_as_SparseMatrixIndexCSX(org_apache_arrow_flatbuf_SparseMatrixIndexCSX_ref_t ref)
-{ org_apache_arrow_flatbuf_SparseTensorIndex_union_ref_t uref; uref.type = org_apache_arrow_flatbuf_SparseTensorIndex_SparseMatrixIndexCSX; uref.value = ref; return uref; }
-static inline org_apache_arrow_flatbuf_SparseTensorIndex_union_ref_t org_apache_arrow_flatbuf_SparseTensorIndex_as_SparseTensorIndexCSF(org_apache_arrow_flatbuf_SparseTensorIndexCSF_ref_t ref)
-{ org_apache_arrow_flatbuf_SparseTensorIndex_union_ref_t uref; uref.type = org_apache_arrow_flatbuf_SparseTensorIndex_SparseTensorIndexCSF; uref.value = ref; return uref; }
-__flatbuffers_build_union_vector(flatbuffers_, org_apache_arrow_flatbuf_SparseTensorIndex)
+static inline int org_apache_arrow_flatbuf_Duration_verify_as_root(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_Duration_identifier, &org_apache_arrow_flatbuf_Duration_verify_table);
+}
-static org_apache_arrow_flatbuf_SparseTensorIndex_union_ref_t org_apache_arrow_flatbuf_SparseTensorIndex_clone(flatbuffers_builder_t *B, org_apache_arrow_flatbuf_SparseTensorIndex_union_t u)
+static inline int org_apache_arrow_flatbuf_Duration_verify_as_root_with_size(const void *buf, size_t bufsiz)
{
- switch (u.type) {
- case 1: return org_apache_arrow_flatbuf_SparseTensorIndex_as_SparseTensorIndexCOO(org_apache_arrow_flatbuf_SparseTensorIndexCOO_clone(B, (org_apache_arrow_flatbuf_SparseTensorIndexCOO_table_t)u.value));
- case 2: return org_apache_arrow_flatbuf_SparseTensorIndex_as_SparseMatrixIndexCSX(org_apache_arrow_flatbuf_SparseMatrixIndexCSX_clone(B, (org_apache_arrow_flatbuf_SparseMatrixIndexCSX_table_t)u.value));
- case 3: return org_apache_arrow_flatbuf_SparseTensorIndex_as_SparseTensorIndexCSF(org_apache_arrow_flatbuf_SparseTensorIndexCSF_clone(B, (org_apache_arrow_flatbuf_SparseTensorIndexCSF_table_t)u.value));
- default: return org_apache_arrow_flatbuf_SparseTensorIndex_as_NONE();
- }
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_Duration_identifier, &org_apache_arrow_flatbuf_Duration_verify_table);
}
-__flatbuffers_build_table_field(0, flatbuffers_, org_apache_arrow_flatbuf_SparseTensorIndexCOO_indicesType, org_apache_arrow_flatbuf_Int, org_apache_arrow_flatbuf_SparseTensorIndexCOO)
-__flatbuffers_build_vector_field(1, flatbuffers_, org_apache_arrow_flatbuf_SparseTensorIndexCOO_indicesStrides, flatbuffers_int64, int64_t, org_apache_arrow_flatbuf_SparseTensorIndexCOO)
-__flatbuffers_build_struct_field(2, flatbuffers_, org_apache_arrow_flatbuf_SparseTensorIndexCOO_indicesBuffer, org_apache_arrow_flatbuf_Buffer, 16, 8, org_apache_arrow_flatbuf_SparseTensorIndexCOO)
-__flatbuffers_build_scalar_field(3, flatbuffers_, org_apache_arrow_flatbuf_SparseTensorIndexCOO_isCanonical, flatbuffers_bool, flatbuffers_bool_t, 1, 1, UINT8_C(0), org_apache_arrow_flatbuf_SparseTensorIndexCOO)
+static inline int org_apache_arrow_flatbuf_Duration_verify_as_typed_root(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_Duration_type_identifier, &org_apache_arrow_flatbuf_Duration_verify_table);
+}
-static inline org_apache_arrow_flatbuf_SparseTensorIndexCOO_ref_t org_apache_arrow_flatbuf_SparseTensorIndexCOO_create(flatbuffers_builder_t *B __org_apache_arrow_flatbuf_SparseTensorIndexCOO_formal_args)
+static inline int org_apache_arrow_flatbuf_Duration_verify_as_typed_root_with_size(const void *buf, size_t bufsiz)
{
- if (org_apache_arrow_flatbuf_SparseTensorIndexCOO_start(B)
- || org_apache_arrow_flatbuf_SparseTensorIndexCOO_indicesBuffer_add(B, v2)
- || org_apache_arrow_flatbuf_SparseTensorIndexCOO_indicesType_add(B, v0)
- || org_apache_arrow_flatbuf_SparseTensorIndexCOO_indicesStrides_add(B, v1)
- || org_apache_arrow_flatbuf_SparseTensorIndexCOO_isCanonical_add(B, v3)) {
- return 0;
- }
- return org_apache_arrow_flatbuf_SparseTensorIndexCOO_end(B);
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_Duration_type_identifier, &org_apache_arrow_flatbuf_Duration_verify_table);
}
-static org_apache_arrow_flatbuf_SparseTensorIndexCOO_ref_t org_apache_arrow_flatbuf_SparseTensorIndexCOO_clone(flatbuffers_builder_t *B, org_apache_arrow_flatbuf_SparseTensorIndexCOO_table_t t)
+static inline int org_apache_arrow_flatbuf_Duration_verify_as_root_with_identifier(const void *buf, size_t bufsiz, const char *fid)
{
- __flatbuffers_memoize_begin(B, t);
- if (org_apache_arrow_flatbuf_SparseTensorIndexCOO_start(B)
- || org_apache_arrow_flatbuf_SparseTensorIndexCOO_indicesBuffer_pick(B, t)
- || org_apache_arrow_flatbuf_SparseTensorIndexCOO_indicesType_pick(B, t)
- || org_apache_arrow_flatbuf_SparseTensorIndexCOO_indicesStrides_pick(B, t)
- || org_apache_arrow_flatbuf_SparseTensorIndexCOO_isCanonical_pick(B, t)) {
- return 0;
- }
- __flatbuffers_memoize_end(B, t, org_apache_arrow_flatbuf_SparseTensorIndexCOO_end(B));
+ return flatcc_verify_table_as_root(buf, bufsiz, fid, &org_apache_arrow_flatbuf_Duration_verify_table);
}
-__flatbuffers_build_scalar_field(0, flatbuffers_, org_apache_arrow_flatbuf_SparseMatrixIndexCSX_compressedAxis, org_apache_arrow_flatbuf_SparseMatrixCompressedAxis, org_apache_arrow_flatbuf_SparseMatrixCompressedAxis_enum_t, 2, 2, INT16_C(0), org_apache_arrow_flatbuf_SparseMatrixIndexCSX)
-__flatbuffers_build_table_field(1, flatbuffers_, org_apache_arrow_flatbuf_SparseMatrixIndexCSX_indptrType, org_apache_arrow_flatbuf_Int, org_apache_arrow_flatbuf_SparseMatrixIndexCSX)
-__flatbuffers_build_struct_field(2, flatbuffers_, org_apache_arrow_flatbuf_SparseMatrixIndexCSX_indptrBuffer, org_apache_arrow_flatbuf_Buffer, 16, 8, org_apache_arrow_flatbuf_SparseMatrixIndexCSX)
-__flatbuffers_build_table_field(3, flatbuffers_, org_apache_arrow_flatbuf_SparseMatrixIndexCSX_indicesType, org_apache_arrow_flatbuf_Int, org_apache_arrow_flatbuf_SparseMatrixIndexCSX)
-__flatbuffers_build_struct_field(4, flatbuffers_, org_apache_arrow_flatbuf_SparseMatrixIndexCSX_indicesBuffer, org_apache_arrow_flatbuf_Buffer, 16, 8, org_apache_arrow_flatbuf_SparseMatrixIndexCSX)
+static inline int org_apache_arrow_flatbuf_Duration_verify_as_root_with_identifier_and_size(const void *buf, size_t bufsiz, const char *fid)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, fid, &org_apache_arrow_flatbuf_Duration_verify_table);
+}
-static inline org_apache_arrow_flatbuf_SparseMatrixIndexCSX_ref_t org_apache_arrow_flatbuf_SparseMatrixIndexCSX_create(flatbuffers_builder_t *B __org_apache_arrow_flatbuf_SparseMatrixIndexCSX_formal_args)
+static inline int org_apache_arrow_flatbuf_Duration_verify_as_root_with_type_hash(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
{
- if (org_apache_arrow_flatbuf_SparseMatrixIndexCSX_start(B)
- || org_apache_arrow_flatbuf_SparseMatrixIndexCSX_indptrBuffer_add(B, v2)
- || org_apache_arrow_flatbuf_SparseMatrixIndexCSX_indicesBuffer_add(B, v4)
- || org_apache_arrow_flatbuf_SparseMatrixIndexCSX_indptrType_add(B, v1)
- || org_apache_arrow_flatbuf_SparseMatrixIndexCSX_indicesType_add(B, v3)
- || org_apache_arrow_flatbuf_SparseMatrixIndexCSX_compressedAxis_add(B, v0)) {
- return 0;
- }
- return org_apache_arrow_flatbuf_SparseMatrixIndexCSX_end(B);
+ return flatcc_verify_table_as_typed_root(buf, bufsiz, thash, &org_apache_arrow_flatbuf_Duration_verify_table);
}
-static org_apache_arrow_flatbuf_SparseMatrixIndexCSX_ref_t org_apache_arrow_flatbuf_SparseMatrixIndexCSX_clone(flatbuffers_builder_t *B, org_apache_arrow_flatbuf_SparseMatrixIndexCSX_table_t t)
+static inline int org_apache_arrow_flatbuf_Duration_verify_as_root_with_type_hash_and_size(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
{
- __flatbuffers_memoize_begin(B, t);
- if (org_apache_arrow_flatbuf_SparseMatrixIndexCSX_start(B)
- || org_apache_arrow_flatbuf_SparseMatrixIndexCSX_indptrBuffer_pick(B, t)
- || org_apache_arrow_flatbuf_SparseMatrixIndexCSX_indicesBuffer_pick(B, t)
- || org_apache_arrow_flatbuf_SparseMatrixIndexCSX_indptrType_pick(B, t)
- || org_apache_arrow_flatbuf_SparseMatrixIndexCSX_indicesType_pick(B, t)
- || org_apache_arrow_flatbuf_SparseMatrixIndexCSX_compressedAxis_pick(B, t)) {
- return 0;
- }
- __flatbuffers_memoize_end(B, t, org_apache_arrow_flatbuf_SparseMatrixIndexCSX_end(B));
+ return flatcc_verify_table_as_typed_root_with_size(buf, bufsiz, thash, &org_apache_arrow_flatbuf_Duration_verify_table);
}
-__flatbuffers_build_table_field(0, flatbuffers_, org_apache_arrow_flatbuf_SparseTensorIndexCSF_indptrType, org_apache_arrow_flatbuf_Int, org_apache_arrow_flatbuf_SparseTensorIndexCSF)
-__flatbuffers_build_vector_field(1, flatbuffers_, org_apache_arrow_flatbuf_SparseTensorIndexCSF_indptrBuffers, org_apache_arrow_flatbuf_Buffer, org_apache_arrow_flatbuf_Buffer_t, org_apache_arrow_flatbuf_SparseTensorIndexCSF)
-__flatbuffers_build_table_field(2, flatbuffers_, org_apache_arrow_flatbuf_SparseTensorIndexCSF_indicesType, org_apache_arrow_flatbuf_Int, org_apache_arrow_flatbuf_SparseTensorIndexCSF)
-__flatbuffers_build_vector_field(3, flatbuffers_, org_apache_arrow_flatbuf_SparseTensorIndexCSF_indicesBuffers, org_apache_arrow_flatbuf_Buffer, org_apache_arrow_flatbuf_Buffer_t, org_apache_arrow_flatbuf_SparseTensorIndexCSF)
-__flatbuffers_build_vector_field(4, flatbuffers_, org_apache_arrow_flatbuf_SparseTensorIndexCSF_axisOrder, flatbuffers_int32, int32_t, org_apache_arrow_flatbuf_SparseTensorIndexCSF)
+static int org_apache_arrow_flatbuf_KeyValue_verify_table(flatcc_table_verifier_descriptor_t *td)
+{
+ int ret;
+ if ((ret = flatcc_verify_string_field(td, 0, 0) /* key */)) return ret;
+ if ((ret = flatcc_verify_string_field(td, 1, 0) /* value */)) return ret;
+ return flatcc_verify_ok;
+}
-static inline org_apache_arrow_flatbuf_SparseTensorIndexCSF_ref_t org_apache_arrow_flatbuf_SparseTensorIndexCSF_create(flatbuffers_builder_t *B __org_apache_arrow_flatbuf_SparseTensorIndexCSF_formal_args)
+static inline int org_apache_arrow_flatbuf_KeyValue_verify_as_root(const void *buf, size_t bufsiz)
{
- if (org_apache_arrow_flatbuf_SparseTensorIndexCSF_start(B)
- || org_apache_arrow_flatbuf_SparseTensorIndexCSF_indptrType_add(B, v0)
- || org_apache_arrow_flatbuf_SparseTensorIndexCSF_indptrBuffers_add(B, v1)
- || org_apache_arrow_flatbuf_SparseTensorIndexCSF_indicesType_add(B, v2)
- || org_apache_arrow_flatbuf_SparseTensorIndexCSF_indicesBuffers_add(B, v3)
- || org_apache_arrow_flatbuf_SparseTensorIndexCSF_axisOrder_add(B, v4)) {
- return 0;
- }
- return org_apache_arrow_flatbuf_SparseTensorIndexCSF_end(B);
+ return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_KeyValue_identifier, &org_apache_arrow_flatbuf_KeyValue_verify_table);
}
-static org_apache_arrow_flatbuf_SparseTensorIndexCSF_ref_t org_apache_arrow_flatbuf_SparseTensorIndexCSF_clone(flatbuffers_builder_t *B, org_apache_arrow_flatbuf_SparseTensorIndexCSF_table_t t)
+static inline int org_apache_arrow_flatbuf_KeyValue_verify_as_root_with_size(const void *buf, size_t bufsiz)
{
- __flatbuffers_memoize_begin(B, t);
- if (org_apache_arrow_flatbuf_SparseTensorIndexCSF_start(B)
- || org_apache_arrow_flatbuf_SparseTensorIndexCSF_indptrType_pick(B, t)
- || org_apache_arrow_flatbuf_SparseTensorIndexCSF_indptrBuffers_pick(B, t)
- || org_apache_arrow_flatbuf_SparseTensorIndexCSF_indicesType_pick(B, t)
- || org_apache_arrow_flatbuf_SparseTensorIndexCSF_indicesBuffers_pick(B, t)
- || org_apache_arrow_flatbuf_SparseTensorIndexCSF_axisOrder_pick(B, t)) {
- return 0;
- }
- __flatbuffers_memoize_end(B, t, org_apache_arrow_flatbuf_SparseTensorIndexCSF_end(B));
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_KeyValue_identifier, &org_apache_arrow_flatbuf_KeyValue_verify_table);
}
-__flatbuffers_build_union_field(1, flatbuffers_, org_apache_arrow_flatbuf_SparseTensor_type, org_apache_arrow_flatbuf_Type, org_apache_arrow_flatbuf_SparseTensor)
-__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_SparseTensor_type, org_apache_arrow_flatbuf_Type, Null, org_apache_arrow_flatbuf_Null)
-__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_SparseTensor_type, org_apache_arrow_flatbuf_Type, Int, org_apache_arrow_flatbuf_Int)
-__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_SparseTensor_type, org_apache_arrow_flatbuf_Type, FloatingPoint, org_apache_arrow_flatbuf_FloatingPoint)
-__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_SparseTensor_type, org_apache_arrow_flatbuf_Type, Binary, org_apache_arrow_flatbuf_Binary)
-__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_SparseTensor_type, org_apache_arrow_flatbuf_Type, Utf8, org_apache_arrow_flatbuf_Utf8)
-__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_SparseTensor_type, org_apache_arrow_flatbuf_Type, Bool, org_apache_arrow_flatbuf_Bool)
-__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_SparseTensor_type, org_apache_arrow_flatbuf_Type, Decimal, org_apache_arrow_flatbuf_Decimal)
-__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_SparseTensor_type, org_apache_arrow_flatbuf_Type, Date, org_apache_arrow_flatbuf_Date)
-__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_SparseTensor_type, org_apache_arrow_flatbuf_Type, Time, org_apache_arrow_flatbuf_Time)
-__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_SparseTensor_type, org_apache_arrow_flatbuf_Type, Timestamp, org_apache_arrow_flatbuf_Timestamp)
-__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_SparseTensor_type, org_apache_arrow_flatbuf_Type, Interval, org_apache_arrow_flatbuf_Interval)
-__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_SparseTensor_type, org_apache_arrow_flatbuf_Type, List, org_apache_arrow_flatbuf_List)
-__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_SparseTensor_type, org_apache_arrow_flatbuf_Type, Struct_, org_apache_arrow_flatbuf_Struct_)
-__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_SparseTensor_type, org_apache_arrow_flatbuf_Type, Union, org_apache_arrow_flatbuf_Union)
-__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_SparseTensor_type, org_apache_arrow_flatbuf_Type, FixedSizeBinary, org_apache_arrow_flatbuf_FixedSizeBinary)
-__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_SparseTensor_type, org_apache_arrow_flatbuf_Type, FixedSizeList, org_apache_arrow_flatbuf_FixedSizeList)
-__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_SparseTensor_type, org_apache_arrow_flatbuf_Type, Map, org_apache_arrow_flatbuf_Map)
-__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_SparseTensor_type, org_apache_arrow_flatbuf_Type, Duration, org_apache_arrow_flatbuf_Duration)
-__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_SparseTensor_type, org_apache_arrow_flatbuf_Type, LargeBinary, org_apache_arrow_flatbuf_LargeBinary)
-__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_SparseTensor_type, org_apache_arrow_flatbuf_Type, LargeUtf8, org_apache_arrow_flatbuf_LargeUtf8)
-__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_SparseTensor_type, org_apache_arrow_flatbuf_Type, LargeList, org_apache_arrow_flatbuf_LargeList)
-__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_SparseTensor_type, org_apache_arrow_flatbuf_Type, RunEndEncoded, org_apache_arrow_flatbuf_RunEndEncoded)
-__flatbuffers_build_table_vector_field(2, flatbuffers_, org_apache_arrow_flatbuf_SparseTensor_shape, org_apache_arrow_flatbuf_TensorDim, org_apache_arrow_flatbuf_SparseTensor)
-__flatbuffers_build_scalar_field(3, flatbuffers_, org_apache_arrow_flatbuf_SparseTensor_non_zero_length, flatbuffers_int64, int64_t, 8, 8, INT64_C(0), org_apache_arrow_flatbuf_SparseTensor)
-__flatbuffers_build_union_field(5, flatbuffers_, org_apache_arrow_flatbuf_SparseTensor_sparseIndex, org_apache_arrow_flatbuf_SparseTensorIndex, org_apache_arrow_flatbuf_SparseTensor)
-__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_SparseTensor_sparseIndex, org_apache_arrow_flatbuf_SparseTensorIndex, SparseTensorIndexCOO, org_apache_arrow_flatbuf_SparseTensorIndexCOO)
-__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_SparseTensor_sparseIndex, org_apache_arrow_flatbuf_SparseTensorIndex, SparseMatrixIndexCSX, org_apache_arrow_flatbuf_SparseMatrixIndexCSX)
-__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_SparseTensor_sparseIndex, org_apache_arrow_flatbuf_SparseTensorIndex, SparseTensorIndexCSF, org_apache_arrow_flatbuf_SparseTensorIndexCSF)
-__flatbuffers_build_struct_field(6, flatbuffers_, org_apache_arrow_flatbuf_SparseTensor_data, org_apache_arrow_flatbuf_Buffer, 16, 8, org_apache_arrow_flatbuf_SparseTensor)
+static inline int org_apache_arrow_flatbuf_KeyValue_verify_as_typed_root(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_KeyValue_type_identifier, &org_apache_arrow_flatbuf_KeyValue_verify_table);
+}
-static inline org_apache_arrow_flatbuf_SparseTensor_ref_t org_apache_arrow_flatbuf_SparseTensor_create(flatbuffers_builder_t *B __org_apache_arrow_flatbuf_SparseTensor_formal_args)
+static inline int org_apache_arrow_flatbuf_KeyValue_verify_as_typed_root_with_size(const void *buf, size_t bufsiz)
{
- if (org_apache_arrow_flatbuf_SparseTensor_start(B)
- || org_apache_arrow_flatbuf_SparseTensor_non_zero_length_add(B, v3)
- || org_apache_arrow_flatbuf_SparseTensor_data_add(B, v6)
- || org_apache_arrow_flatbuf_SparseTensor_type_add_value(B, v1)
- || org_apache_arrow_flatbuf_SparseTensor_shape_add(B, v2)
- || org_apache_arrow_flatbuf_SparseTensor_sparseIndex_add_value(B, v5)
- || org_apache_arrow_flatbuf_SparseTensor_type_add_type(B, v1.type)
- || org_apache_arrow_flatbuf_SparseTensor_sparseIndex_add_type(B, v5.type)) {
- return 0;
- }
- return org_apache_arrow_flatbuf_SparseTensor_end(B);
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_KeyValue_type_identifier, &org_apache_arrow_flatbuf_KeyValue_verify_table);
}
-static org_apache_arrow_flatbuf_SparseTensor_ref_t org_apache_arrow_flatbuf_SparseTensor_clone(flatbuffers_builder_t *B, org_apache_arrow_flatbuf_SparseTensor_table_t t)
+static inline int org_apache_arrow_flatbuf_KeyValue_verify_as_root_with_identifier(const void *buf, size_t bufsiz, const char *fid)
{
- __flatbuffers_memoize_begin(B, t);
- if (org_apache_arrow_flatbuf_SparseTensor_start(B)
- || org_apache_arrow_flatbuf_SparseTensor_non_zero_length_pick(B, t)
- || org_apache_arrow_flatbuf_SparseTensor_data_pick(B, t)
- || org_apache_arrow_flatbuf_SparseTensor_type_pick(B, t)
- || org_apache_arrow_flatbuf_SparseTensor_shape_pick(B, t)
- || org_apache_arrow_flatbuf_SparseTensor_sparseIndex_pick(B, t)) {
- return 0;
- }
- __flatbuffers_memoize_end(B, t, org_apache_arrow_flatbuf_SparseTensor_end(B));
+ return flatcc_verify_table_as_root(buf, bufsiz, fid, &org_apache_arrow_flatbuf_KeyValue_verify_table);
}
-#include "flatcc/flatcc_epilogue.h"
-#endif /* SPARSETENSOR_BUILDER_H */
-#ifndef SPARSETENSOR_VERIFIER_H
-#define SPARSETENSOR_VERIFIER_H
-
-/* Generated by flatcc 0.6.1 FlatBuffers schema compiler for C by dvide.com */
-
-#ifndef SPARSETENSOR_READER_H
-#include "SparseTensor_reader.h"
-#endif
-#include "flatcc/flatcc_verifier.h"
-#ifndef TENSOR_VERIFIER_H
-#include "Tensor_verifier.h"
-#endif
-#include "flatcc/flatcc_prologue.h"
+static inline int org_apache_arrow_flatbuf_KeyValue_verify_as_root_with_identifier_and_size(const void *buf, size_t bufsiz, const char *fid)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, fid, &org_apache_arrow_flatbuf_KeyValue_verify_table);
+}
-static int org_apache_arrow_flatbuf_SparseTensorIndexCOO_verify_table(flatcc_table_verifier_descriptor_t *td);
-static int org_apache_arrow_flatbuf_SparseMatrixIndexCSX_verify_table(flatcc_table_verifier_descriptor_t *td);
-static int org_apache_arrow_flatbuf_SparseTensorIndexCSF_verify_table(flatcc_table_verifier_descriptor_t *td);
-static int org_apache_arrow_flatbuf_SparseTensor_verify_table(flatcc_table_verifier_descriptor_t *td);
+static inline int org_apache_arrow_flatbuf_KeyValue_verify_as_root_with_type_hash(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+{
+ return flatcc_verify_table_as_typed_root(buf, bufsiz, thash, &org_apache_arrow_flatbuf_KeyValue_verify_table);
+}
-static int org_apache_arrow_flatbuf_SparseTensorIndex_union_verifier(flatcc_union_verifier_descriptor_t *ud)
+static inline int org_apache_arrow_flatbuf_KeyValue_verify_as_root_with_type_hash_and_size(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
{
- switch (ud->type) {
- case 1: return flatcc_verify_union_table(ud, org_apache_arrow_flatbuf_SparseTensorIndexCOO_verify_table); /* SparseTensorIndexCOO */
- case 2: return flatcc_verify_union_table(ud, org_apache_arrow_flatbuf_SparseMatrixIndexCSX_verify_table); /* SparseMatrixIndexCSX */
- case 3: return flatcc_verify_union_table(ud, org_apache_arrow_flatbuf_SparseTensorIndexCSF_verify_table); /* SparseTensorIndexCSF */
- default: return flatcc_verify_ok;
- }
+ return flatcc_verify_table_as_typed_root_with_size(buf, bufsiz, thash, &org_apache_arrow_flatbuf_KeyValue_verify_table);
}
-static int org_apache_arrow_flatbuf_SparseTensorIndexCOO_verify_table(flatcc_table_verifier_descriptor_t *td)
+static int org_apache_arrow_flatbuf_DictionaryEncoding_verify_table(flatcc_table_verifier_descriptor_t *td)
{
int ret;
- if ((ret = flatcc_verify_table_field(td, 0, 1, &org_apache_arrow_flatbuf_Int_verify_table) /* indicesType */)) return ret;
- if ((ret = flatcc_verify_vector_field(td, 1, 0, 8, 8, INT64_C(536870911)) /* indicesStrides */)) return ret;
- if ((ret = flatcc_verify_field(td, 2, 16, 8) /* indicesBuffer */)) return ret;
- if ((ret = flatcc_verify_field(td, 3, 1, 1) /* isCanonical */)) return ret;
+ if ((ret = flatcc_verify_field(td, 0, 8, 8) /* id */)) return ret;
+ if ((ret = flatcc_verify_table_field(td, 1, 0, &org_apache_arrow_flatbuf_Int_verify_table) /* indexType */)) return ret;
+ if ((ret = flatcc_verify_field(td, 2, 1, 1) /* isOrdered */)) return ret;
+ if ((ret = flatcc_verify_field(td, 3, 2, 2) /* dictionaryKind */)) return ret;
return flatcc_verify_ok;
}
-static inline int org_apache_arrow_flatbuf_SparseTensorIndexCOO_verify_as_root(const void *buf, size_t bufsiz)
+static inline int org_apache_arrow_flatbuf_DictionaryEncoding_verify_as_root(const void *buf, size_t bufsiz)
{
- return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_SparseTensorIndexCOO_identifier, &org_apache_arrow_flatbuf_SparseTensorIndexCOO_verify_table);
+ return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_DictionaryEncoding_identifier, &org_apache_arrow_flatbuf_DictionaryEncoding_verify_table);
}
-static inline int org_apache_arrow_flatbuf_SparseTensorIndexCOO_verify_as_typed_root(const void *buf, size_t bufsiz)
+static inline int org_apache_arrow_flatbuf_DictionaryEncoding_verify_as_root_with_size(const void *buf, size_t bufsiz)
{
- return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_SparseTensorIndexCOO_type_identifier, &org_apache_arrow_flatbuf_SparseTensorIndexCOO_verify_table);
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_DictionaryEncoding_identifier, &org_apache_arrow_flatbuf_DictionaryEncoding_verify_table);
}
-static inline int org_apache_arrow_flatbuf_SparseTensorIndexCOO_verify_as_root_with_identifier(const void *buf, size_t bufsiz, const char *fid)
+static inline int org_apache_arrow_flatbuf_DictionaryEncoding_verify_as_typed_root(const void *buf, size_t bufsiz)
{
- return flatcc_verify_table_as_root(buf, bufsiz, fid, &org_apache_arrow_flatbuf_SparseTensorIndexCOO_verify_table);
+ return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_DictionaryEncoding_type_identifier, &org_apache_arrow_flatbuf_DictionaryEncoding_verify_table);
}
-static inline int org_apache_arrow_flatbuf_SparseTensorIndexCOO_verify_as_root_with_type_hash(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+static inline int org_apache_arrow_flatbuf_DictionaryEncoding_verify_as_typed_root_with_size(const void *buf, size_t bufsiz)
{
- return flatcc_verify_table_as_typed_root(buf, bufsiz, thash, &org_apache_arrow_flatbuf_SparseTensorIndexCOO_verify_table);
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_DictionaryEncoding_type_identifier, &org_apache_arrow_flatbuf_DictionaryEncoding_verify_table);
}
-static int org_apache_arrow_flatbuf_SparseMatrixIndexCSX_verify_table(flatcc_table_verifier_descriptor_t *td)
+static inline int org_apache_arrow_flatbuf_DictionaryEncoding_verify_as_root_with_identifier(const void *buf, size_t bufsiz, const char *fid)
{
- int ret;
- if ((ret = flatcc_verify_field(td, 0, 2, 2) /* compressedAxis */)) return ret;
- if ((ret = flatcc_verify_table_field(td, 1, 1, &org_apache_arrow_flatbuf_Int_verify_table) /* indptrType */)) return ret;
- if ((ret = flatcc_verify_field(td, 2, 16, 8) /* indptrBuffer */)) return ret;
- if ((ret = flatcc_verify_table_field(td, 3, 1, &org_apache_arrow_flatbuf_Int_verify_table) /* indicesType */)) return ret;
- if ((ret = flatcc_verify_field(td, 4, 16, 8) /* indicesBuffer */)) return ret;
- return flatcc_verify_ok;
+ return flatcc_verify_table_as_root(buf, bufsiz, fid, &org_apache_arrow_flatbuf_DictionaryEncoding_verify_table);
}
-static inline int org_apache_arrow_flatbuf_SparseMatrixIndexCSX_verify_as_root(const void *buf, size_t bufsiz)
+static inline int org_apache_arrow_flatbuf_DictionaryEncoding_verify_as_root_with_identifier_and_size(const void *buf, size_t bufsiz, const char *fid)
{
- return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_SparseMatrixIndexCSX_identifier, &org_apache_arrow_flatbuf_SparseMatrixIndexCSX_verify_table);
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, fid, &org_apache_arrow_flatbuf_DictionaryEncoding_verify_table);
}
-static inline int org_apache_arrow_flatbuf_SparseMatrixIndexCSX_verify_as_typed_root(const void *buf, size_t bufsiz)
+static inline int org_apache_arrow_flatbuf_DictionaryEncoding_verify_as_root_with_type_hash(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
{
- return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_SparseMatrixIndexCSX_type_identifier, &org_apache_arrow_flatbuf_SparseMatrixIndexCSX_verify_table);
+ return flatcc_verify_table_as_typed_root(buf, bufsiz, thash, &org_apache_arrow_flatbuf_DictionaryEncoding_verify_table);
}
-static inline int org_apache_arrow_flatbuf_SparseMatrixIndexCSX_verify_as_root_with_identifier(const void *buf, size_t bufsiz, const char *fid)
+static inline int org_apache_arrow_flatbuf_DictionaryEncoding_verify_as_root_with_type_hash_and_size(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
{
- return flatcc_verify_table_as_root(buf, bufsiz, fid, &org_apache_arrow_flatbuf_SparseMatrixIndexCSX_verify_table);
+ return flatcc_verify_table_as_typed_root_with_size(buf, bufsiz, thash, &org_apache_arrow_flatbuf_DictionaryEncoding_verify_table);
}
-static inline int org_apache_arrow_flatbuf_SparseMatrixIndexCSX_verify_as_root_with_type_hash(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+static int org_apache_arrow_flatbuf_Field_verify_table(flatcc_table_verifier_descriptor_t *td)
{
- return flatcc_verify_table_as_typed_root(buf, bufsiz, thash, &org_apache_arrow_flatbuf_SparseMatrixIndexCSX_verify_table);
+ int ret;
+ if ((ret = flatcc_verify_string_field(td, 0, 0) /* name */)) return ret;
+ if ((ret = flatcc_verify_field(td, 1, 1, 1) /* nullable */)) return ret;
+ if ((ret = flatcc_verify_union_field(td, 3, 0, &org_apache_arrow_flatbuf_Type_union_verifier) /* type */)) return ret;
+ if ((ret = flatcc_verify_table_field(td, 4, 0, &org_apache_arrow_flatbuf_DictionaryEncoding_verify_table) /* dictionary */)) return ret;
+ if ((ret = flatcc_verify_table_vector_field(td, 5, 0, &org_apache_arrow_flatbuf_Field_verify_table) /* children */)) return ret;
+ if ((ret = flatcc_verify_table_vector_field(td, 6, 0, &org_apache_arrow_flatbuf_KeyValue_verify_table) /* custom_metadata */)) return ret;
+ return flatcc_verify_ok;
}
-static int org_apache_arrow_flatbuf_SparseTensorIndexCSF_verify_table(flatcc_table_verifier_descriptor_t *td)
+static inline int org_apache_arrow_flatbuf_Field_verify_as_root(const void *buf, size_t bufsiz)
{
- int ret;
- if ((ret = flatcc_verify_table_field(td, 0, 1, &org_apache_arrow_flatbuf_Int_verify_table) /* indptrType */)) return ret;
- if ((ret = flatcc_verify_vector_field(td, 1, 1, 16, 8, INT64_C(268435455)) /* indptrBuffers */)) return ret;
- if ((ret = flatcc_verify_table_field(td, 2, 1, &org_apache_arrow_flatbuf_Int_verify_table) /* indicesType */)) return ret;
- if ((ret = flatcc_verify_vector_field(td, 3, 1, 16, 8, INT64_C(268435455)) /* indicesBuffers */)) return ret;
- if ((ret = flatcc_verify_vector_field(td, 4, 1, 4, 4, INT64_C(1073741823)) /* axisOrder */)) return ret;
- return flatcc_verify_ok;
+ return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_Field_identifier, &org_apache_arrow_flatbuf_Field_verify_table);
}
-static inline int org_apache_arrow_flatbuf_SparseTensorIndexCSF_verify_as_root(const void *buf, size_t bufsiz)
+static inline int org_apache_arrow_flatbuf_Field_verify_as_root_with_size(const void *buf, size_t bufsiz)
{
- return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_SparseTensorIndexCSF_identifier, &org_apache_arrow_flatbuf_SparseTensorIndexCSF_verify_table);
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_Field_identifier, &org_apache_arrow_flatbuf_Field_verify_table);
}
-static inline int org_apache_arrow_flatbuf_SparseTensorIndexCSF_verify_as_typed_root(const void *buf, size_t bufsiz)
+static inline int org_apache_arrow_flatbuf_Field_verify_as_typed_root(const void *buf, size_t bufsiz)
{
- return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_SparseTensorIndexCSF_type_identifier, &org_apache_arrow_flatbuf_SparseTensorIndexCSF_verify_table);
+ return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_Field_type_identifier, &org_apache_arrow_flatbuf_Field_verify_table);
}
-static inline int org_apache_arrow_flatbuf_SparseTensorIndexCSF_verify_as_root_with_identifier(const void *buf, size_t bufsiz, const char *fid)
+static inline int org_apache_arrow_flatbuf_Field_verify_as_typed_root_with_size(const void *buf, size_t bufsiz)
{
- return flatcc_verify_table_as_root(buf, bufsiz, fid, &org_apache_arrow_flatbuf_SparseTensorIndexCSF_verify_table);
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_Field_type_identifier, &org_apache_arrow_flatbuf_Field_verify_table);
}
-static inline int org_apache_arrow_flatbuf_SparseTensorIndexCSF_verify_as_root_with_type_hash(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+static inline int org_apache_arrow_flatbuf_Field_verify_as_root_with_identifier(const void *buf, size_t bufsiz, const char *fid)
{
- return flatcc_verify_table_as_typed_root(buf, bufsiz, thash, &org_apache_arrow_flatbuf_SparseTensorIndexCSF_verify_table);
+ return flatcc_verify_table_as_root(buf, bufsiz, fid, &org_apache_arrow_flatbuf_Field_verify_table);
}
-static int org_apache_arrow_flatbuf_SparseTensor_verify_table(flatcc_table_verifier_descriptor_t *td)
+static inline int org_apache_arrow_flatbuf_Field_verify_as_root_with_identifier_and_size(const void *buf, size_t bufsiz, const char *fid)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, fid, &org_apache_arrow_flatbuf_Field_verify_table);
+}
+
+static inline int org_apache_arrow_flatbuf_Field_verify_as_root_with_type_hash(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+{
+ return flatcc_verify_table_as_typed_root(buf, bufsiz, thash, &org_apache_arrow_flatbuf_Field_verify_table);
+}
+
+static inline int org_apache_arrow_flatbuf_Field_verify_as_root_with_type_hash_and_size(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+{
+ return flatcc_verify_table_as_typed_root_with_size(buf, bufsiz, thash, &org_apache_arrow_flatbuf_Field_verify_table);
+}
+
+static int org_apache_arrow_flatbuf_Schema_verify_table(flatcc_table_verifier_descriptor_t *td)
{
int ret;
- if ((ret = flatcc_verify_union_field(td, 1, 1, &org_apache_arrow_flatbuf_Type_union_verifier) /* type */)) return ret;
- if ((ret = flatcc_verify_table_vector_field(td, 2, 1, &org_apache_arrow_flatbuf_TensorDim_verify_table) /* shape */)) return ret;
- if ((ret = flatcc_verify_field(td, 3, 8, 8) /* non_zero_length */)) return ret;
- if ((ret = flatcc_verify_union_field(td, 5, 1, &org_apache_arrow_flatbuf_SparseTensorIndex_union_verifier) /* sparseIndex */)) return ret;
- if ((ret = flatcc_verify_field(td, 6, 16, 8) /* data */)) return ret;
+ if ((ret = flatcc_verify_field(td, 0, 2, 2) /* endianness */)) return ret;
+ if ((ret = flatcc_verify_table_vector_field(td, 1, 0, &org_apache_arrow_flatbuf_Field_verify_table) /* fields */)) return ret;
+ if ((ret = flatcc_verify_table_vector_field(td, 2, 0, &org_apache_arrow_flatbuf_KeyValue_verify_table) /* custom_metadata */)) return ret;
+ if ((ret = flatcc_verify_vector_field(td, 3, 0, 8, 8, INT64_C(536870911)) /* features */)) return ret;
return flatcc_verify_ok;
}
-static inline int org_apache_arrow_flatbuf_SparseTensor_verify_as_root(const void *buf, size_t bufsiz)
+static inline int org_apache_arrow_flatbuf_Schema_verify_as_root(const void *buf, size_t bufsiz)
{
- return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_SparseTensor_identifier, &org_apache_arrow_flatbuf_SparseTensor_verify_table);
+ return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_Schema_identifier, &org_apache_arrow_flatbuf_Schema_verify_table);
}
-static inline int org_apache_arrow_flatbuf_SparseTensor_verify_as_typed_root(const void *buf, size_t bufsiz)
+static inline int org_apache_arrow_flatbuf_Schema_verify_as_root_with_size(const void *buf, size_t bufsiz)
{
- return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_SparseTensor_type_identifier, &org_apache_arrow_flatbuf_SparseTensor_verify_table);
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_Schema_identifier, &org_apache_arrow_flatbuf_Schema_verify_table);
}
-static inline int org_apache_arrow_flatbuf_SparseTensor_verify_as_root_with_identifier(const void *buf, size_t bufsiz, const char *fid)
+static inline int org_apache_arrow_flatbuf_Schema_verify_as_typed_root(const void *buf, size_t bufsiz)
{
- return flatcc_verify_table_as_root(buf, bufsiz, fid, &org_apache_arrow_flatbuf_SparseTensor_verify_table);
+ return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_Schema_type_identifier, &org_apache_arrow_flatbuf_Schema_verify_table);
}
-static inline int org_apache_arrow_flatbuf_SparseTensor_verify_as_root_with_type_hash(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+static inline int org_apache_arrow_flatbuf_Schema_verify_as_typed_root_with_size(const void *buf, size_t bufsiz)
{
- return flatcc_verify_table_as_typed_root(buf, bufsiz, thash, &org_apache_arrow_flatbuf_SparseTensor_verify_table);
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_Schema_type_identifier, &org_apache_arrow_flatbuf_Schema_verify_table);
+}
+
+static inline int org_apache_arrow_flatbuf_Schema_verify_as_root_with_identifier(const void *buf, size_t bufsiz, const char *fid)
+{
+ return flatcc_verify_table_as_root(buf, bufsiz, fid, &org_apache_arrow_flatbuf_Schema_verify_table);
+}
+
+static inline int org_apache_arrow_flatbuf_Schema_verify_as_root_with_identifier_and_size(const void *buf, size_t bufsiz, const char *fid)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, fid, &org_apache_arrow_flatbuf_Schema_verify_table);
+}
+
+static inline int org_apache_arrow_flatbuf_Schema_verify_as_root_with_type_hash(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+{
+ return flatcc_verify_table_as_typed_root(buf, bufsiz, thash, &org_apache_arrow_flatbuf_Schema_verify_table);
+}
+
+static inline int org_apache_arrow_flatbuf_Schema_verify_as_root_with_type_hash_and_size(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+{
+ return flatcc_verify_table_as_typed_root_with_size(buf, bufsiz, thash, &org_apache_arrow_flatbuf_Schema_verify_table);
}
#include "flatcc/flatcc_epilogue.h"
-#endif /* SPARSETENSOR_VERIFIER_H */
-#ifndef MESSAGE_READER_H
-#define MESSAGE_READER_H
+#endif /* SCHEMA_VERIFIER_H */
+#ifndef TENSOR_READER_H
+#define TENSOR_READER_H
-/* Generated by flatcc 0.6.1 FlatBuffers schema compiler for C by dvide.com */
+/* Generated by flatcc 0.6.2 FlatBuffers schema compiler for C by dvide.com */
#ifndef FLATBUFFERS_COMMON_READER_H
#include "flatbuffers_common_reader.h"
#endif
-#ifndef TENSOR_READER_H
-#include "Tensor_reader.h"
-#endif
-#ifndef SPARSETENSOR_READER_H
-#include "SparseTensor_reader.h"
-#endif
#ifndef SCHEMA_READER_H
#include "Schema_reader.h"
#endif
@@ -8847,319 +9802,336 @@ static inline int org_apache_arrow_flatbuf_SparseTensor_verify_as_root_with_type
#define flatbuffers_extension "bin"
#endif
-typedef struct org_apache_arrow_flatbuf_FieldNode org_apache_arrow_flatbuf_FieldNode_t;
-typedef const org_apache_arrow_flatbuf_FieldNode_t *org_apache_arrow_flatbuf_FieldNode_struct_t;
-typedef org_apache_arrow_flatbuf_FieldNode_t *org_apache_arrow_flatbuf_FieldNode_mutable_struct_t;
-typedef const org_apache_arrow_flatbuf_FieldNode_t *org_apache_arrow_flatbuf_FieldNode_vec_t;
-typedef org_apache_arrow_flatbuf_FieldNode_t *org_apache_arrow_flatbuf_FieldNode_mutable_vec_t;
-typedef const struct org_apache_arrow_flatbuf_BodyCompression_table *org_apache_arrow_flatbuf_BodyCompression_table_t;
-typedef struct org_apache_arrow_flatbuf_BodyCompression_table *org_apache_arrow_flatbuf_BodyCompression_mutable_table_t;
-typedef const flatbuffers_uoffset_t *org_apache_arrow_flatbuf_BodyCompression_vec_t;
-typedef flatbuffers_uoffset_t *org_apache_arrow_flatbuf_BodyCompression_mutable_vec_t;
-typedef const struct org_apache_arrow_flatbuf_RecordBatch_table *org_apache_arrow_flatbuf_RecordBatch_table_t;
-typedef struct org_apache_arrow_flatbuf_RecordBatch_table *org_apache_arrow_flatbuf_RecordBatch_mutable_table_t;
-typedef const flatbuffers_uoffset_t *org_apache_arrow_flatbuf_RecordBatch_vec_t;
-typedef flatbuffers_uoffset_t *org_apache_arrow_flatbuf_RecordBatch_mutable_vec_t;
-typedef const struct org_apache_arrow_flatbuf_DictionaryBatch_table *org_apache_arrow_flatbuf_DictionaryBatch_table_t;
-typedef struct org_apache_arrow_flatbuf_DictionaryBatch_table *org_apache_arrow_flatbuf_DictionaryBatch_mutable_table_t;
-typedef const flatbuffers_uoffset_t *org_apache_arrow_flatbuf_DictionaryBatch_vec_t;
-typedef flatbuffers_uoffset_t *org_apache_arrow_flatbuf_DictionaryBatch_mutable_vec_t;
-typedef const struct org_apache_arrow_flatbuf_Message_table *org_apache_arrow_flatbuf_Message_table_t;
-typedef struct org_apache_arrow_flatbuf_Message_table *org_apache_arrow_flatbuf_Message_mutable_table_t;
-typedef const flatbuffers_uoffset_t *org_apache_arrow_flatbuf_Message_vec_t;
-typedef flatbuffers_uoffset_t *org_apache_arrow_flatbuf_Message_mutable_vec_t;
-#ifndef org_apache_arrow_flatbuf_FieldNode_file_identifier
-#define org_apache_arrow_flatbuf_FieldNode_file_identifier 0
+typedef const struct org_apache_arrow_flatbuf_TensorDim_table *org_apache_arrow_flatbuf_TensorDim_table_t;
+typedef struct org_apache_arrow_flatbuf_TensorDim_table *org_apache_arrow_flatbuf_TensorDim_mutable_table_t;
+typedef const flatbuffers_uoffset_t *org_apache_arrow_flatbuf_TensorDim_vec_t;
+typedef flatbuffers_uoffset_t *org_apache_arrow_flatbuf_TensorDim_mutable_vec_t;
+typedef const struct org_apache_arrow_flatbuf_Tensor_table *org_apache_arrow_flatbuf_Tensor_table_t;
+typedef struct org_apache_arrow_flatbuf_Tensor_table *org_apache_arrow_flatbuf_Tensor_mutable_table_t;
+typedef const flatbuffers_uoffset_t *org_apache_arrow_flatbuf_Tensor_vec_t;
+typedef flatbuffers_uoffset_t *org_apache_arrow_flatbuf_Tensor_mutable_vec_t;
+#ifndef org_apache_arrow_flatbuf_TensorDim_file_identifier
+#define org_apache_arrow_flatbuf_TensorDim_file_identifier 0
#endif
-/* deprecated, use org_apache_arrow_flatbuf_FieldNode_file_identifier */
-#ifndef org_apache_arrow_flatbuf_FieldNode_identifier
-#define org_apache_arrow_flatbuf_FieldNode_identifier 0
+/* deprecated, use org_apache_arrow_flatbuf_TensorDim_file_identifier */
+#ifndef org_apache_arrow_flatbuf_TensorDim_identifier
+#define org_apache_arrow_flatbuf_TensorDim_identifier 0
#endif
-#define org_apache_arrow_flatbuf_FieldNode_type_hash ((flatbuffers_thash_t)0x931857b8)
-#define org_apache_arrow_flatbuf_FieldNode_type_identifier "\xb8\x57\x18\x93"
-#ifndef org_apache_arrow_flatbuf_FieldNode_file_extension
-#define org_apache_arrow_flatbuf_FieldNode_file_extension "bin"
+#define org_apache_arrow_flatbuf_TensorDim_type_hash ((flatbuffers_thash_t)0xbc6d7b25)
+#define org_apache_arrow_flatbuf_TensorDim_type_identifier "\x25\x7b\x6d\xbc"
+#ifndef org_apache_arrow_flatbuf_TensorDim_file_extension
+#define org_apache_arrow_flatbuf_TensorDim_file_extension "bin"
#endif
-#ifndef org_apache_arrow_flatbuf_BodyCompression_file_identifier
-#define org_apache_arrow_flatbuf_BodyCompression_file_identifier 0
+#ifndef org_apache_arrow_flatbuf_Tensor_file_identifier
+#define org_apache_arrow_flatbuf_Tensor_file_identifier 0
#endif
-/* deprecated, use org_apache_arrow_flatbuf_BodyCompression_file_identifier */
-#ifndef org_apache_arrow_flatbuf_BodyCompression_identifier
-#define org_apache_arrow_flatbuf_BodyCompression_identifier 0
+/* deprecated, use org_apache_arrow_flatbuf_Tensor_file_identifier */
+#ifndef org_apache_arrow_flatbuf_Tensor_identifier
+#define org_apache_arrow_flatbuf_Tensor_identifier 0
#endif
-#define org_apache_arrow_flatbuf_BodyCompression_type_hash ((flatbuffers_thash_t)0xbc821116)
-#define org_apache_arrow_flatbuf_BodyCompression_type_identifier "\x16\x11\x82\xbc"
-#ifndef org_apache_arrow_flatbuf_BodyCompression_file_extension
-#define org_apache_arrow_flatbuf_BodyCompression_file_extension "bin"
+#define org_apache_arrow_flatbuf_Tensor_type_hash ((flatbuffers_thash_t)0x1764df19)
+#define org_apache_arrow_flatbuf_Tensor_type_identifier "\x19\xdf\x64\x17"
+#ifndef org_apache_arrow_flatbuf_Tensor_file_extension
+#define org_apache_arrow_flatbuf_Tensor_file_extension "bin"
#endif
-#ifndef org_apache_arrow_flatbuf_RecordBatch_file_identifier
-#define org_apache_arrow_flatbuf_RecordBatch_file_identifier 0
-#endif
-/* deprecated, use org_apache_arrow_flatbuf_RecordBatch_file_identifier */
-#ifndef org_apache_arrow_flatbuf_RecordBatch_identifier
-#define org_apache_arrow_flatbuf_RecordBatch_identifier 0
-#endif
-#define org_apache_arrow_flatbuf_RecordBatch_type_hash ((flatbuffers_thash_t)0x43c558b)
-#define org_apache_arrow_flatbuf_RecordBatch_type_identifier "\x8b\x55\x3c\x04"
-#ifndef org_apache_arrow_flatbuf_RecordBatch_file_extension
-#define org_apache_arrow_flatbuf_RecordBatch_file_extension "bin"
-#endif
-#ifndef org_apache_arrow_flatbuf_DictionaryBatch_file_identifier
-#define org_apache_arrow_flatbuf_DictionaryBatch_file_identifier 0
-#endif
-/* deprecated, use org_apache_arrow_flatbuf_DictionaryBatch_file_identifier */
-#ifndef org_apache_arrow_flatbuf_DictionaryBatch_identifier
-#define org_apache_arrow_flatbuf_DictionaryBatch_identifier 0
+
+
+
+/** ----------------------------------------------------------------------
+ * Data structures for dense tensors
+ * Shape data for a single axis in a tensor */
+struct org_apache_arrow_flatbuf_TensorDim_table { uint8_t unused__; };
+
+static inline size_t org_apache_arrow_flatbuf_TensorDim_vec_len(org_apache_arrow_flatbuf_TensorDim_vec_t vec)
+__flatbuffers_vec_len(vec)
+static inline org_apache_arrow_flatbuf_TensorDim_table_t org_apache_arrow_flatbuf_TensorDim_vec_at(org_apache_arrow_flatbuf_TensorDim_vec_t vec, size_t i)
+__flatbuffers_offset_vec_at(org_apache_arrow_flatbuf_TensorDim_table_t, vec, i, 0)
+__flatbuffers_table_as_root(org_apache_arrow_flatbuf_TensorDim)
+
+/** Length of dimension */
+__flatbuffers_define_scalar_field(0, org_apache_arrow_flatbuf_TensorDim, size, flatbuffers_int64, int64_t, INT64_C(0))
+/** Name of the dimension, optional */
+__flatbuffers_define_string_field(1, org_apache_arrow_flatbuf_TensorDim, name, 0)
+
+struct org_apache_arrow_flatbuf_Tensor_table { uint8_t unused__; };
+
+static inline size_t org_apache_arrow_flatbuf_Tensor_vec_len(org_apache_arrow_flatbuf_Tensor_vec_t vec)
+__flatbuffers_vec_len(vec)
+static inline org_apache_arrow_flatbuf_Tensor_table_t org_apache_arrow_flatbuf_Tensor_vec_at(org_apache_arrow_flatbuf_Tensor_vec_t vec, size_t i)
+__flatbuffers_offset_vec_at(org_apache_arrow_flatbuf_Tensor_table_t, vec, i, 0)
+__flatbuffers_table_as_root(org_apache_arrow_flatbuf_Tensor)
+
+/** The type of data contained in a value cell. Currently only fixed-width
+ * value types are supported, no strings or nested types */
+__flatbuffers_define_union_field(flatbuffers_, 1, org_apache_arrow_flatbuf_Tensor, type, org_apache_arrow_flatbuf_Type, 1)
+/** The dimensions of the tensor, optionally named */
+__flatbuffers_define_vector_field(2, org_apache_arrow_flatbuf_Tensor, shape, org_apache_arrow_flatbuf_TensorDim_vec_t, 1)
+/** Non-negative byte offsets to advance one value cell along each dimension
+ * If omitted, default to row-major order (C-like). */
+__flatbuffers_define_vector_field(3, org_apache_arrow_flatbuf_Tensor, strides, flatbuffers_int64_vec_t, 0)
+/** The location and size of the tensor's data */
+__flatbuffers_define_struct_field(4, org_apache_arrow_flatbuf_Tensor, data, org_apache_arrow_flatbuf_Buffer_struct_t, 1)
+
+
+#include "flatcc/flatcc_epilogue.h"
+#endif /* TENSOR_READER_H */
+#ifndef TENSOR_BUILDER_H
+#define TENSOR_BUILDER_H
+
+/* Generated by flatcc 0.6.2 FlatBuffers schema compiler for C by dvide.com */
+
+#ifndef TENSOR_READER_H
+#include "Tensor_reader.h"
#endif
-#define org_apache_arrow_flatbuf_DictionaryBatch_type_hash ((flatbuffers_thash_t)0x5c6da7bc)
-#define org_apache_arrow_flatbuf_DictionaryBatch_type_identifier "\xbc\xa7\x6d\x5c"
-#ifndef org_apache_arrow_flatbuf_DictionaryBatch_file_extension
-#define org_apache_arrow_flatbuf_DictionaryBatch_file_extension "bin"
+#ifndef FLATBUFFERS_COMMON_BUILDER_H
+#include "flatbuffers_common_builder.h"
#endif
-#ifndef org_apache_arrow_flatbuf_Message_file_identifier
-#define org_apache_arrow_flatbuf_Message_file_identifier 0
+#ifndef SCHEMA_BUILDER_H
+#include "Schema_builder.h"
#endif
-/* deprecated, use org_apache_arrow_flatbuf_Message_file_identifier */
-#ifndef org_apache_arrow_flatbuf_Message_identifier
-#define org_apache_arrow_flatbuf_Message_identifier 0
+#include "flatcc/flatcc_prologue.h"
+#ifndef flatbuffers_identifier
+#define flatbuffers_identifier 0
#endif
-#define org_apache_arrow_flatbuf_Message_type_hash ((flatbuffers_thash_t)0xc3efd227)
-#define org_apache_arrow_flatbuf_Message_type_identifier "\x27\xd2\xef\xc3"
-#ifndef org_apache_arrow_flatbuf_Message_file_extension
-#define org_apache_arrow_flatbuf_Message_file_extension "bin"
+#ifndef flatbuffers_extension
+#define flatbuffers_extension "bin"
#endif
-typedef int8_t org_apache_arrow_flatbuf_CompressionType_enum_t;
-__flatbuffers_define_integer_type(org_apache_arrow_flatbuf_CompressionType, org_apache_arrow_flatbuf_CompressionType_enum_t, 8)
-#define org_apache_arrow_flatbuf_CompressionType_LZ4_FRAME ((org_apache_arrow_flatbuf_CompressionType_enum_t)INT8_C(0))
-#define org_apache_arrow_flatbuf_CompressionType_ZSTD ((org_apache_arrow_flatbuf_CompressionType_enum_t)INT8_C(1))
+static const flatbuffers_voffset_t __org_apache_arrow_flatbuf_TensorDim_required[] = { 0 };
+typedef flatbuffers_ref_t org_apache_arrow_flatbuf_TensorDim_ref_t;
+static org_apache_arrow_flatbuf_TensorDim_ref_t org_apache_arrow_flatbuf_TensorDim_clone(flatbuffers_builder_t *B, org_apache_arrow_flatbuf_TensorDim_table_t t);
+__flatbuffers_build_table(flatbuffers_, org_apache_arrow_flatbuf_TensorDim, 2)
-static inline const char *org_apache_arrow_flatbuf_CompressionType_name(org_apache_arrow_flatbuf_CompressionType_enum_t value)
+static const flatbuffers_voffset_t __org_apache_arrow_flatbuf_Tensor_required[] = { 1, 2, 4, 0 };
+typedef flatbuffers_ref_t org_apache_arrow_flatbuf_Tensor_ref_t;
+static org_apache_arrow_flatbuf_Tensor_ref_t org_apache_arrow_flatbuf_Tensor_clone(flatbuffers_builder_t *B, org_apache_arrow_flatbuf_Tensor_table_t t);
+__flatbuffers_build_table(flatbuffers_, org_apache_arrow_flatbuf_Tensor, 5)
+
+#define __org_apache_arrow_flatbuf_TensorDim_formal_args , int64_t v0, flatbuffers_string_ref_t v1
+#define __org_apache_arrow_flatbuf_TensorDim_call_args , v0, v1
+static inline org_apache_arrow_flatbuf_TensorDim_ref_t org_apache_arrow_flatbuf_TensorDim_create(flatbuffers_builder_t *B __org_apache_arrow_flatbuf_TensorDim_formal_args);
+__flatbuffers_build_table_prolog(flatbuffers_, org_apache_arrow_flatbuf_TensorDim, org_apache_arrow_flatbuf_TensorDim_file_identifier, org_apache_arrow_flatbuf_TensorDim_type_identifier)
+
+#define __org_apache_arrow_flatbuf_Tensor_formal_args , org_apache_arrow_flatbuf_Type_union_ref_t v1, org_apache_arrow_flatbuf_TensorDim_vec_ref_t v2, flatbuffers_int64_vec_ref_t v3, org_apache_arrow_flatbuf_Buffer_t *v4
+#define __org_apache_arrow_flatbuf_Tensor_call_args , v1, v2, v3, v4
+static inline org_apache_arrow_flatbuf_Tensor_ref_t org_apache_arrow_flatbuf_Tensor_create(flatbuffers_builder_t *B __org_apache_arrow_flatbuf_Tensor_formal_args);
+__flatbuffers_build_table_prolog(flatbuffers_, org_apache_arrow_flatbuf_Tensor, org_apache_arrow_flatbuf_Tensor_file_identifier, org_apache_arrow_flatbuf_Tensor_type_identifier)
+
+__flatbuffers_build_scalar_field(0, flatbuffers_, org_apache_arrow_flatbuf_TensorDim_size, flatbuffers_int64, int64_t, 8, 8, INT64_C(0), org_apache_arrow_flatbuf_TensorDim)
+__flatbuffers_build_string_field(1, flatbuffers_, org_apache_arrow_flatbuf_TensorDim_name, org_apache_arrow_flatbuf_TensorDim)
+
+static inline org_apache_arrow_flatbuf_TensorDim_ref_t org_apache_arrow_flatbuf_TensorDim_create(flatbuffers_builder_t *B __org_apache_arrow_flatbuf_TensorDim_formal_args)
{
- switch (value) {
- case org_apache_arrow_flatbuf_CompressionType_LZ4_FRAME: return "LZ4_FRAME";
- case org_apache_arrow_flatbuf_CompressionType_ZSTD: return "ZSTD";
- default: return "";
+ if (org_apache_arrow_flatbuf_TensorDim_start(B)
+ || org_apache_arrow_flatbuf_TensorDim_size_add(B, v0)
+ || org_apache_arrow_flatbuf_TensorDim_name_add(B, v1)) {
+ return 0;
}
+ return org_apache_arrow_flatbuf_TensorDim_end(B);
}
-static inline int org_apache_arrow_flatbuf_CompressionType_is_known_value(org_apache_arrow_flatbuf_CompressionType_enum_t value)
+static org_apache_arrow_flatbuf_TensorDim_ref_t org_apache_arrow_flatbuf_TensorDim_clone(flatbuffers_builder_t *B, org_apache_arrow_flatbuf_TensorDim_table_t t)
{
- switch (value) {
- case org_apache_arrow_flatbuf_CompressionType_LZ4_FRAME: return 1;
- case org_apache_arrow_flatbuf_CompressionType_ZSTD: return 1;
- default: return 0;
+ __flatbuffers_memoize_begin(B, t);
+ if (org_apache_arrow_flatbuf_TensorDim_start(B)
+ || org_apache_arrow_flatbuf_TensorDim_size_pick(B, t)
+ || org_apache_arrow_flatbuf_TensorDim_name_pick(B, t)) {
+ return 0;
}
+ __flatbuffers_memoize_end(B, t, org_apache_arrow_flatbuf_TensorDim_end(B));
}
-/** Provided for forward compatibility in case we need to support different
- * strategies for compressing the IPC message body (like whole-body
- * compression rather than buffer-level) in the future */
-typedef int8_t org_apache_arrow_flatbuf_BodyCompressionMethod_enum_t;
-__flatbuffers_define_integer_type(org_apache_arrow_flatbuf_BodyCompressionMethod, org_apache_arrow_flatbuf_BodyCompressionMethod_enum_t, 8)
-/** Each constituent buffer is first compressed with the indicated
- * compressor, and then written with the uncompressed length in the first 8
- * bytes as a 64-bit little-endian signed integer followed by the compressed
- * buffer bytes (and then padding as required by the protocol). The
- * uncompressed length may be set to -1 to indicate that the data that
- * follows is not compressed, which can be useful for cases where
- * compression does not yield appreciable savings. */
-#define org_apache_arrow_flatbuf_BodyCompressionMethod_BUFFER ((org_apache_arrow_flatbuf_BodyCompressionMethod_enum_t)INT8_C(0))
+__flatbuffers_build_union_field(1, flatbuffers_, org_apache_arrow_flatbuf_Tensor_type, org_apache_arrow_flatbuf_Type, org_apache_arrow_flatbuf_Tensor)
+__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_Tensor_type, org_apache_arrow_flatbuf_Type, Null, org_apache_arrow_flatbuf_Null)
+__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_Tensor_type, org_apache_arrow_flatbuf_Type, Int, org_apache_arrow_flatbuf_Int)
+__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_Tensor_type, org_apache_arrow_flatbuf_Type, FloatingPoint, org_apache_arrow_flatbuf_FloatingPoint)
+__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_Tensor_type, org_apache_arrow_flatbuf_Type, Binary, org_apache_arrow_flatbuf_Binary)
+__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_Tensor_type, org_apache_arrow_flatbuf_Type, Utf8, org_apache_arrow_flatbuf_Utf8)
+__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_Tensor_type, org_apache_arrow_flatbuf_Type, Bool, org_apache_arrow_flatbuf_Bool)
+__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_Tensor_type, org_apache_arrow_flatbuf_Type, Decimal, org_apache_arrow_flatbuf_Decimal)
+__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_Tensor_type, org_apache_arrow_flatbuf_Type, Date, org_apache_arrow_flatbuf_Date)
+__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_Tensor_type, org_apache_arrow_flatbuf_Type, Time, org_apache_arrow_flatbuf_Time)
+__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_Tensor_type, org_apache_arrow_flatbuf_Type, Timestamp, org_apache_arrow_flatbuf_Timestamp)
+__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_Tensor_type, org_apache_arrow_flatbuf_Type, Interval, org_apache_arrow_flatbuf_Interval)
+__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_Tensor_type, org_apache_arrow_flatbuf_Type, List, org_apache_arrow_flatbuf_List)
+__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_Tensor_type, org_apache_arrow_flatbuf_Type, Struct_, org_apache_arrow_flatbuf_Struct_)
+__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_Tensor_type, org_apache_arrow_flatbuf_Type, Union, org_apache_arrow_flatbuf_Union)
+__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_Tensor_type, org_apache_arrow_flatbuf_Type, FixedSizeBinary, org_apache_arrow_flatbuf_FixedSizeBinary)
+__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_Tensor_type, org_apache_arrow_flatbuf_Type, FixedSizeList, org_apache_arrow_flatbuf_FixedSizeList)
+__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_Tensor_type, org_apache_arrow_flatbuf_Type, Map, org_apache_arrow_flatbuf_Map)
+__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_Tensor_type, org_apache_arrow_flatbuf_Type, Duration, org_apache_arrow_flatbuf_Duration)
+__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_Tensor_type, org_apache_arrow_flatbuf_Type, LargeBinary, org_apache_arrow_flatbuf_LargeBinary)
+__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_Tensor_type, org_apache_arrow_flatbuf_Type, LargeUtf8, org_apache_arrow_flatbuf_LargeUtf8)
+__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_Tensor_type, org_apache_arrow_flatbuf_Type, LargeList, org_apache_arrow_flatbuf_LargeList)
+__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_Tensor_type, org_apache_arrow_flatbuf_Type, RunEndEncoded, org_apache_arrow_flatbuf_RunEndEncoded)
+__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_Tensor_type, org_apache_arrow_flatbuf_Type, BinaryView, org_apache_arrow_flatbuf_BinaryView)
+__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_Tensor_type, org_apache_arrow_flatbuf_Type, Utf8View, org_apache_arrow_flatbuf_Utf8View)
+__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_Tensor_type, org_apache_arrow_flatbuf_Type, ListView, org_apache_arrow_flatbuf_ListView)
+__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_Tensor_type, org_apache_arrow_flatbuf_Type, LargeListView, org_apache_arrow_flatbuf_LargeListView)
+__flatbuffers_build_table_vector_field(2, flatbuffers_, org_apache_arrow_flatbuf_Tensor_shape, org_apache_arrow_flatbuf_TensorDim, org_apache_arrow_flatbuf_Tensor)
+__flatbuffers_build_vector_field(3, flatbuffers_, org_apache_arrow_flatbuf_Tensor_strides, flatbuffers_int64, int64_t, org_apache_arrow_flatbuf_Tensor)
+__flatbuffers_build_struct_field(4, flatbuffers_, org_apache_arrow_flatbuf_Tensor_data, org_apache_arrow_flatbuf_Buffer, 16, 8, org_apache_arrow_flatbuf_Tensor)
-static inline const char *org_apache_arrow_flatbuf_BodyCompressionMethod_name(org_apache_arrow_flatbuf_BodyCompressionMethod_enum_t value)
+static inline org_apache_arrow_flatbuf_Tensor_ref_t org_apache_arrow_flatbuf_Tensor_create(flatbuffers_builder_t *B __org_apache_arrow_flatbuf_Tensor_formal_args)
{
- switch (value) {
- case org_apache_arrow_flatbuf_BodyCompressionMethod_BUFFER: return "BUFFER";
- default: return "";
+ if (org_apache_arrow_flatbuf_Tensor_start(B)
+ || org_apache_arrow_flatbuf_Tensor_data_add(B, v4)
+ || org_apache_arrow_flatbuf_Tensor_type_add_value(B, v1)
+ || org_apache_arrow_flatbuf_Tensor_shape_add(B, v2)
+ || org_apache_arrow_flatbuf_Tensor_strides_add(B, v3)
+ || org_apache_arrow_flatbuf_Tensor_type_add_type(B, v1.type)) {
+ return 0;
}
+ return org_apache_arrow_flatbuf_Tensor_end(B);
}
-static inline int org_apache_arrow_flatbuf_BodyCompressionMethod_is_known_value(org_apache_arrow_flatbuf_BodyCompressionMethod_enum_t value)
+static org_apache_arrow_flatbuf_Tensor_ref_t org_apache_arrow_flatbuf_Tensor_clone(flatbuffers_builder_t *B, org_apache_arrow_flatbuf_Tensor_table_t t)
{
- switch (value) {
- case org_apache_arrow_flatbuf_BodyCompressionMethod_BUFFER: return 1;
- default: return 0;
+ __flatbuffers_memoize_begin(B, t);
+ if (org_apache_arrow_flatbuf_Tensor_start(B)
+ || org_apache_arrow_flatbuf_Tensor_data_pick(B, t)
+ || org_apache_arrow_flatbuf_Tensor_type_pick(B, t)
+ || org_apache_arrow_flatbuf_Tensor_shape_pick(B, t)
+ || org_apache_arrow_flatbuf_Tensor_strides_pick(B, t)) {
+ return 0;
}
+ __flatbuffers_memoize_end(B, t, org_apache_arrow_flatbuf_Tensor_end(B));
}
+#include "flatcc/flatcc_epilogue.h"
+#endif /* TENSOR_BUILDER_H */
+#ifndef TENSOR_VERIFIER_H
+#define TENSOR_VERIFIER_H
-/** ----------------------------------------------------------------------
- * Data structures for describing a table row batch (a collection of
- * equal-length Arrow arrays)
- * Metadata about a field at some level of a nested type tree (but not
- * its children).
- *
- * For example, a List<Int16> with values `[[1, 2, 3], null, [4], [5, 6], null]`
- * would have {length: 5, null_count: 2} for its List node, and {length: 6,
- * null_count: 0} for its Int16 node, as separate FieldNode structs */
-struct org_apache_arrow_flatbuf_FieldNode {
- /** The number of value slots in the Arrow array at this level of a nested
- * tree */
- alignas(8) int64_t length;
- /** The number of observed nulls. Fields with null_count == 0 may choose not
- * to write their physical validity bitmap out as a materialized buffer,
- * instead setting the length of the bitmap buffer to 0. */
- alignas(8) int64_t null_count;
-};
-static_assert(sizeof(org_apache_arrow_flatbuf_FieldNode_t) == 16, "struct size mismatch");
-
-static inline const org_apache_arrow_flatbuf_FieldNode_t *org_apache_arrow_flatbuf_FieldNode__const_ptr_add(const org_apache_arrow_flatbuf_FieldNode_t *p, size_t i) { return p + i; }
-static inline org_apache_arrow_flatbuf_FieldNode_t *org_apache_arrow_flatbuf_FieldNode__ptr_add(org_apache_arrow_flatbuf_FieldNode_t *p, size_t i) { return p + i; }
-static inline org_apache_arrow_flatbuf_FieldNode_struct_t org_apache_arrow_flatbuf_FieldNode_vec_at(org_apache_arrow_flatbuf_FieldNode_vec_t vec, size_t i)
-__flatbuffers_struct_vec_at(vec, i)
-static inline size_t org_apache_arrow_flatbuf_FieldNode__size(void) { return 16; }
-static inline size_t org_apache_arrow_flatbuf_FieldNode_vec_len(org_apache_arrow_flatbuf_FieldNode_vec_t vec)
-__flatbuffers_vec_len(vec)
-__flatbuffers_struct_as_root(org_apache_arrow_flatbuf_FieldNode)
+/* Generated by flatcc 0.6.2 FlatBuffers schema compiler for C by dvide.com */
-__flatbuffers_define_struct_scalar_field(org_apache_arrow_flatbuf_FieldNode, length, flatbuffers_int64, int64_t)
-__flatbuffers_define_struct_scalar_field(org_apache_arrow_flatbuf_FieldNode, null_count, flatbuffers_int64, int64_t)
+#ifndef TENSOR_READER_H
+#include "Tensor_reader.h"
+#endif
+#include "flatcc/flatcc_verifier.h"
+#ifndef SCHEMA_VERIFIER_H
+#include "Schema_verifier.h"
+#endif
+#include "flatcc/flatcc_prologue.h"
+static int org_apache_arrow_flatbuf_TensorDim_verify_table(flatcc_table_verifier_descriptor_t *td);
+static int org_apache_arrow_flatbuf_Tensor_verify_table(flatcc_table_verifier_descriptor_t *td);
-/** Optional compression for the memory buffers constituting IPC message
- * bodies. Intended for use with RecordBatch but could be used for other
- * message types */
-struct org_apache_arrow_flatbuf_BodyCompression_table { uint8_t unused__; };
+static int org_apache_arrow_flatbuf_TensorDim_verify_table(flatcc_table_verifier_descriptor_t *td)
+{
+ int ret;
+ if ((ret = flatcc_verify_field(td, 0, 8, 8) /* size */)) return ret;
+ if ((ret = flatcc_verify_string_field(td, 1, 0) /* name */)) return ret;
+ return flatcc_verify_ok;
+}
-static inline size_t org_apache_arrow_flatbuf_BodyCompression_vec_len(org_apache_arrow_flatbuf_BodyCompression_vec_t vec)
-__flatbuffers_vec_len(vec)
-static inline org_apache_arrow_flatbuf_BodyCompression_table_t org_apache_arrow_flatbuf_BodyCompression_vec_at(org_apache_arrow_flatbuf_BodyCompression_vec_t vec, size_t i)
-__flatbuffers_offset_vec_at(org_apache_arrow_flatbuf_BodyCompression_table_t, vec, i, 0)
-__flatbuffers_table_as_root(org_apache_arrow_flatbuf_BodyCompression)
+static inline int org_apache_arrow_flatbuf_TensorDim_verify_as_root(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_TensorDim_identifier, &org_apache_arrow_flatbuf_TensorDim_verify_table);
+}
-/** Compressor library.
- * For LZ4_FRAME, each compressed buffer must consist of a single frame. */
-__flatbuffers_define_scalar_field(0, org_apache_arrow_flatbuf_BodyCompression, codec, org_apache_arrow_flatbuf_CompressionType, org_apache_arrow_flatbuf_CompressionType_enum_t, INT8_C(0))
-/** Indicates the way the record batch body was compressed */
-__flatbuffers_define_scalar_field(1, org_apache_arrow_flatbuf_BodyCompression, method, org_apache_arrow_flatbuf_BodyCompressionMethod, org_apache_arrow_flatbuf_BodyCompressionMethod_enum_t, INT8_C(0))
+static inline int org_apache_arrow_flatbuf_TensorDim_verify_as_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_TensorDim_identifier, &org_apache_arrow_flatbuf_TensorDim_verify_table);
+}
-/** A data header describing the shared memory layout of a "record" or "row"
- * batch. Some systems call this a "row batch" internally and others a "record
- * batch". */
-struct org_apache_arrow_flatbuf_RecordBatch_table { uint8_t unused__; };
+static inline int org_apache_arrow_flatbuf_TensorDim_verify_as_typed_root(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_TensorDim_type_identifier, &org_apache_arrow_flatbuf_TensorDim_verify_table);
+}
-static inline size_t org_apache_arrow_flatbuf_RecordBatch_vec_len(org_apache_arrow_flatbuf_RecordBatch_vec_t vec)
-__flatbuffers_vec_len(vec)
-static inline org_apache_arrow_flatbuf_RecordBatch_table_t org_apache_arrow_flatbuf_RecordBatch_vec_at(org_apache_arrow_flatbuf_RecordBatch_vec_t vec, size_t i)
-__flatbuffers_offset_vec_at(org_apache_arrow_flatbuf_RecordBatch_table_t, vec, i, 0)
-__flatbuffers_table_as_root(org_apache_arrow_flatbuf_RecordBatch)
+static inline int org_apache_arrow_flatbuf_TensorDim_verify_as_typed_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_TensorDim_type_identifier, &org_apache_arrow_flatbuf_TensorDim_verify_table);
+}
-/** number of records / rows. The arrays in the batch should all have this
- * length */
-__flatbuffers_define_scalar_field(0, org_apache_arrow_flatbuf_RecordBatch, length, flatbuffers_int64, int64_t, INT64_C(0))
-/** Nodes correspond to the pre-ordered flattened logical schema */
-__flatbuffers_define_vector_field(1, org_apache_arrow_flatbuf_RecordBatch, nodes, org_apache_arrow_flatbuf_FieldNode_vec_t, 0)
-/** Buffers correspond to the pre-ordered flattened buffer tree
- *
- * The number of buffers appended to this list depends on the schema. For
- * example, most primitive arrays will have 2 buffers, 1 for the validity
- * bitmap and 1 for the values. For struct arrays, there will only be a
- * single buffer for the validity (nulls) bitmap */
-__flatbuffers_define_vector_field(2, org_apache_arrow_flatbuf_RecordBatch, buffers, org_apache_arrow_flatbuf_Buffer_vec_t, 0)
-/** Optional compression of the message body */
-__flatbuffers_define_table_field(3, org_apache_arrow_flatbuf_RecordBatch, compression, org_apache_arrow_flatbuf_BodyCompression_table_t, 0)
+static inline int org_apache_arrow_flatbuf_TensorDim_verify_as_root_with_identifier(const void *buf, size_t bufsiz, const char *fid)
+{
+ return flatcc_verify_table_as_root(buf, bufsiz, fid, &org_apache_arrow_flatbuf_TensorDim_verify_table);
+}
-/** For sending dictionary encoding information. Any Field can be
- * dictionary-encoded, but in this case none of its children may be
- * dictionary-encoded.
- * There is one vector / column per dictionary, but that vector / column
- * may be spread across multiple dictionary batches by using the isDelta
- * flag */
-struct org_apache_arrow_flatbuf_DictionaryBatch_table { uint8_t unused__; };
+static inline int org_apache_arrow_flatbuf_TensorDim_verify_as_root_with_identifier_and_size(const void *buf, size_t bufsiz, const char *fid)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, fid, &org_apache_arrow_flatbuf_TensorDim_verify_table);
+}
-static inline size_t org_apache_arrow_flatbuf_DictionaryBatch_vec_len(org_apache_arrow_flatbuf_DictionaryBatch_vec_t vec)
-__flatbuffers_vec_len(vec)
-static inline org_apache_arrow_flatbuf_DictionaryBatch_table_t org_apache_arrow_flatbuf_DictionaryBatch_vec_at(org_apache_arrow_flatbuf_DictionaryBatch_vec_t vec, size_t i)
-__flatbuffers_offset_vec_at(org_apache_arrow_flatbuf_DictionaryBatch_table_t, vec, i, 0)
-__flatbuffers_table_as_root(org_apache_arrow_flatbuf_DictionaryBatch)
+static inline int org_apache_arrow_flatbuf_TensorDim_verify_as_root_with_type_hash(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+{
+ return flatcc_verify_table_as_typed_root(buf, bufsiz, thash, &org_apache_arrow_flatbuf_TensorDim_verify_table);
+}
-__flatbuffers_define_scalar_field(0, org_apache_arrow_flatbuf_DictionaryBatch, id, flatbuffers_int64, int64_t, INT64_C(0))
-__flatbuffers_define_table_field(1, org_apache_arrow_flatbuf_DictionaryBatch, data, org_apache_arrow_flatbuf_RecordBatch_table_t, 0)
-/** If isDelta is true the values in the dictionary are to be appended to a
- * dictionary with the indicated id. If isDelta is false this dictionary
- * should replace the existing dictionary. */
-__flatbuffers_define_scalar_field(2, org_apache_arrow_flatbuf_DictionaryBatch, isDelta, flatbuffers_bool, flatbuffers_bool_t, UINT8_C(0))
-/** ----------------------------------------------------------------------
- * The root Message type
- * This union enables us to easily send different message types without
- * redundant storage, and in the future we can easily add new message types.
- *
- * Arrow implementations do not need to implement all of the message types,
- * which may include experimental metadata types. For maximum compatibility,
- * it is best to send data using RecordBatch */
-typedef uint8_t org_apache_arrow_flatbuf_MessageHeader_union_type_t;
-__flatbuffers_define_integer_type(org_apache_arrow_flatbuf_MessageHeader, org_apache_arrow_flatbuf_MessageHeader_union_type_t, 8)
-__flatbuffers_define_union(flatbuffers_, org_apache_arrow_flatbuf_MessageHeader)
-#define org_apache_arrow_flatbuf_MessageHeader_NONE ((org_apache_arrow_flatbuf_MessageHeader_union_type_t)UINT8_C(0))
-#define org_apache_arrow_flatbuf_MessageHeader_Schema ((org_apache_arrow_flatbuf_MessageHeader_union_type_t)UINT8_C(1))
-#define org_apache_arrow_flatbuf_MessageHeader_DictionaryBatch ((org_apache_arrow_flatbuf_MessageHeader_union_type_t)UINT8_C(2))
-#define org_apache_arrow_flatbuf_MessageHeader_RecordBatch ((org_apache_arrow_flatbuf_MessageHeader_union_type_t)UINT8_C(3))
-#define org_apache_arrow_flatbuf_MessageHeader_Tensor ((org_apache_arrow_flatbuf_MessageHeader_union_type_t)UINT8_C(4))
-#define org_apache_arrow_flatbuf_MessageHeader_SparseTensor ((org_apache_arrow_flatbuf_MessageHeader_union_type_t)UINT8_C(5))
+static inline int org_apache_arrow_flatbuf_TensorDim_verify_as_root_with_type_hash_and_size(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+{
+ return flatcc_verify_table_as_typed_root_with_size(buf, bufsiz, thash, &org_apache_arrow_flatbuf_TensorDim_verify_table);
+}
-static inline const char *org_apache_arrow_flatbuf_MessageHeader_type_name(org_apache_arrow_flatbuf_MessageHeader_union_type_t type)
+static int org_apache_arrow_flatbuf_Tensor_verify_table(flatcc_table_verifier_descriptor_t *td)
{
- switch (type) {
- case org_apache_arrow_flatbuf_MessageHeader_NONE: return "NONE";
- case org_apache_arrow_flatbuf_MessageHeader_Schema: return "Schema";
- case org_apache_arrow_flatbuf_MessageHeader_DictionaryBatch: return "DictionaryBatch";
- case org_apache_arrow_flatbuf_MessageHeader_RecordBatch: return "RecordBatch";
- case org_apache_arrow_flatbuf_MessageHeader_Tensor: return "Tensor";
- case org_apache_arrow_flatbuf_MessageHeader_SparseTensor: return "SparseTensor";
- default: return "";
- }
+ int ret;
+ if ((ret = flatcc_verify_union_field(td, 1, 1, &org_apache_arrow_flatbuf_Type_union_verifier) /* type */)) return ret;
+ if ((ret = flatcc_verify_table_vector_field(td, 2, 1, &org_apache_arrow_flatbuf_TensorDim_verify_table) /* shape */)) return ret;
+ if ((ret = flatcc_verify_vector_field(td, 3, 0, 8, 8, INT64_C(536870911)) /* strides */)) return ret;
+ if ((ret = flatcc_verify_field(td, 4, 16, 8) /* data */)) return ret;
+ return flatcc_verify_ok;
}
-static inline int org_apache_arrow_flatbuf_MessageHeader_is_known_type(org_apache_arrow_flatbuf_MessageHeader_union_type_t type)
+static inline int org_apache_arrow_flatbuf_Tensor_verify_as_root(const void *buf, size_t bufsiz)
{
- switch (type) {
- case org_apache_arrow_flatbuf_MessageHeader_NONE: return 1;
- case org_apache_arrow_flatbuf_MessageHeader_Schema: return 1;
- case org_apache_arrow_flatbuf_MessageHeader_DictionaryBatch: return 1;
- case org_apache_arrow_flatbuf_MessageHeader_RecordBatch: return 1;
- case org_apache_arrow_flatbuf_MessageHeader_Tensor: return 1;
- case org_apache_arrow_flatbuf_MessageHeader_SparseTensor: return 1;
- default: return 0;
- }
+ return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_Tensor_identifier, &org_apache_arrow_flatbuf_Tensor_verify_table);
}
+static inline int org_apache_arrow_flatbuf_Tensor_verify_as_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_Tensor_identifier, &org_apache_arrow_flatbuf_Tensor_verify_table);
+}
-struct org_apache_arrow_flatbuf_Message_table { uint8_t unused__; };
+static inline int org_apache_arrow_flatbuf_Tensor_verify_as_typed_root(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_Tensor_type_identifier, &org_apache_arrow_flatbuf_Tensor_verify_table);
+}
-static inline size_t org_apache_arrow_flatbuf_Message_vec_len(org_apache_arrow_flatbuf_Message_vec_t vec)
-__flatbuffers_vec_len(vec)
-static inline org_apache_arrow_flatbuf_Message_table_t org_apache_arrow_flatbuf_Message_vec_at(org_apache_arrow_flatbuf_Message_vec_t vec, size_t i)
-__flatbuffers_offset_vec_at(org_apache_arrow_flatbuf_Message_table_t, vec, i, 0)
-__flatbuffers_table_as_root(org_apache_arrow_flatbuf_Message)
+static inline int org_apache_arrow_flatbuf_Tensor_verify_as_typed_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_Tensor_type_identifier, &org_apache_arrow_flatbuf_Tensor_verify_table);
+}
-__flatbuffers_define_scalar_field(0, org_apache_arrow_flatbuf_Message, version, org_apache_arrow_flatbuf_MetadataVersion, org_apache_arrow_flatbuf_MetadataVersion_enum_t, INT16_C(0))
-__flatbuffers_define_union_field(flatbuffers_, 2, org_apache_arrow_flatbuf_Message, header, org_apache_arrow_flatbuf_MessageHeader, 0)
-__flatbuffers_define_scalar_field(3, org_apache_arrow_flatbuf_Message, bodyLength, flatbuffers_int64, int64_t, INT64_C(0))
-__flatbuffers_define_vector_field(4, org_apache_arrow_flatbuf_Message, custom_metadata, org_apache_arrow_flatbuf_KeyValue_vec_t, 0)
+static inline int org_apache_arrow_flatbuf_Tensor_verify_as_root_with_identifier(const void *buf, size_t bufsiz, const char *fid)
+{
+ return flatcc_verify_table_as_root(buf, bufsiz, fid, &org_apache_arrow_flatbuf_Tensor_verify_table);
+}
+
+static inline int org_apache_arrow_flatbuf_Tensor_verify_as_root_with_identifier_and_size(const void *buf, size_t bufsiz, const char *fid)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, fid, &org_apache_arrow_flatbuf_Tensor_verify_table);
+}
+static inline int org_apache_arrow_flatbuf_Tensor_verify_as_root_with_type_hash(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+{
+ return flatcc_verify_table_as_typed_root(buf, bufsiz, thash, &org_apache_arrow_flatbuf_Tensor_verify_table);
+}
+
+static inline int org_apache_arrow_flatbuf_Tensor_verify_as_root_with_type_hash_and_size(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+{
+ return flatcc_verify_table_as_typed_root_with_size(buf, bufsiz, thash, &org_apache_arrow_flatbuf_Tensor_verify_table);
+}
#include "flatcc/flatcc_epilogue.h"
-#endif /* MESSAGE_READER_H */
-#ifndef MESSAGE_BUILDER_H
-#define MESSAGE_BUILDER_H
+#endif /* TENSOR_VERIFIER_H */
+#ifndef SPARSETENSOR_READER_H
+#define SPARSETENSOR_READER_H
-/* Generated by flatcc 0.6.1 FlatBuffers schema compiler for C by dvide.com */
+/* Generated by flatcc 0.6.2 FlatBuffers schema compiler for C by dvide.com */
-#ifndef MESSAGE_READER_H
-#include "Message_reader.h"
-#endif
-#ifndef FLATBUFFERS_COMMON_BUILDER_H
-#include "flatbuffers_common_builder.h"
-#endif
-#ifndef TENSOR_BUILDER_H
-#include "Tensor_builder.h"
+#ifndef FLATBUFFERS_COMMON_READER_H
+#include "flatbuffers_common_reader.h"
#endif
-#ifndef SPARSETENSOR_BUILDER_H
-#include "SparseTensor_builder.h"
+#ifndef TENSOR_READER_H
+#include "Tensor_reader.h"
#endif
-#ifndef SCHEMA_BUILDER_H
-#include "Schema_builder.h"
+#include "flatcc/flatcc_flatbuffers.h"
+#ifndef __alignas_is_defined
+#include <stdalign.h>
#endif
#include "flatcc/flatcc_prologue.h"
#ifndef flatbuffers_identifier
@@ -9169,3153 +10141,5171 @@ __flatbuffers_define_vector_field(4, org_apache_arrow_flatbuf_Message, custom_me
#define flatbuffers_extension "bin"
#endif
-#define __org_apache_arrow_flatbuf_CompressionType_formal_args , org_apache_arrow_flatbuf_CompressionType_enum_t v0
-#define __org_apache_arrow_flatbuf_CompressionType_call_args , v0
-__flatbuffers_build_scalar(flatbuffers_, org_apache_arrow_flatbuf_CompressionType, org_apache_arrow_flatbuf_CompressionType_enum_t)
-#define __org_apache_arrow_flatbuf_BodyCompressionMethod_formal_args , org_apache_arrow_flatbuf_BodyCompressionMethod_enum_t v0
-#define __org_apache_arrow_flatbuf_BodyCompressionMethod_call_args , v0
-__flatbuffers_build_scalar(flatbuffers_, org_apache_arrow_flatbuf_BodyCompressionMethod, org_apache_arrow_flatbuf_BodyCompressionMethod_enum_t)
-
-#define __org_apache_arrow_flatbuf_FieldNode_formal_args , int64_t v0, int64_t v1
-#define __org_apache_arrow_flatbuf_FieldNode_call_args , v0, v1
-static inline org_apache_arrow_flatbuf_FieldNode_t *org_apache_arrow_flatbuf_FieldNode_assign(org_apache_arrow_flatbuf_FieldNode_t *p, int64_t v0, int64_t v1)
-{ p->length = v0; p->null_count = v1;
- return p; }
-static inline org_apache_arrow_flatbuf_FieldNode_t *org_apache_arrow_flatbuf_FieldNode_copy(org_apache_arrow_flatbuf_FieldNode_t *p, const org_apache_arrow_flatbuf_FieldNode_t *p2)
-{ p->length = p2->length; p->null_count = p2->null_count;
- return p; }
-static inline org_apache_arrow_flatbuf_FieldNode_t *org_apache_arrow_flatbuf_FieldNode_assign_to_pe(org_apache_arrow_flatbuf_FieldNode_t *p, int64_t v0, int64_t v1)
-{ flatbuffers_int64_assign_to_pe(&p->length, v0); flatbuffers_int64_assign_to_pe(&p->null_count, v1);
- return p; }
-static inline org_apache_arrow_flatbuf_FieldNode_t *org_apache_arrow_flatbuf_FieldNode_copy_to_pe(org_apache_arrow_flatbuf_FieldNode_t *p, const org_apache_arrow_flatbuf_FieldNode_t *p2)
-{ flatbuffers_int64_copy_to_pe(&p->length, &p2->length); flatbuffers_int64_copy_to_pe(&p->null_count, &p2->null_count);
- return p; }
-static inline org_apache_arrow_flatbuf_FieldNode_t *org_apache_arrow_flatbuf_FieldNode_assign_from_pe(org_apache_arrow_flatbuf_FieldNode_t *p, int64_t v0, int64_t v1)
-{ flatbuffers_int64_assign_from_pe(&p->length, v0); flatbuffers_int64_assign_from_pe(&p->null_count, v1);
- return p; }
-static inline org_apache_arrow_flatbuf_FieldNode_t *org_apache_arrow_flatbuf_FieldNode_copy_from_pe(org_apache_arrow_flatbuf_FieldNode_t *p, const org_apache_arrow_flatbuf_FieldNode_t *p2)
-{ flatbuffers_int64_copy_from_pe(&p->length, &p2->length); flatbuffers_int64_copy_from_pe(&p->null_count, &p2->null_count);
- return p; }
-__flatbuffers_build_struct(flatbuffers_, org_apache_arrow_flatbuf_FieldNode, 16, 8, org_apache_arrow_flatbuf_FieldNode_file_identifier, org_apache_arrow_flatbuf_FieldNode_type_identifier)
-__flatbuffers_define_fixed_array_primitives(flatbuffers_, org_apache_arrow_flatbuf_FieldNode, org_apache_arrow_flatbuf_FieldNode_t)
-
-typedef flatbuffers_union_ref_t org_apache_arrow_flatbuf_MessageHeader_union_ref_t;
-typedef flatbuffers_union_vec_ref_t org_apache_arrow_flatbuf_MessageHeader_union_vec_ref_t;
-static org_apache_arrow_flatbuf_MessageHeader_union_ref_t org_apache_arrow_flatbuf_MessageHeader_clone(flatbuffers_builder_t *B, org_apache_arrow_flatbuf_MessageHeader_union_t t);
-
-static const flatbuffers_voffset_t __org_apache_arrow_flatbuf_BodyCompression_required[] = { 0 };
-typedef flatbuffers_ref_t org_apache_arrow_flatbuf_BodyCompression_ref_t;
-static org_apache_arrow_flatbuf_BodyCompression_ref_t org_apache_arrow_flatbuf_BodyCompression_clone(flatbuffers_builder_t *B, org_apache_arrow_flatbuf_BodyCompression_table_t t);
-__flatbuffers_build_table(flatbuffers_, org_apache_arrow_flatbuf_BodyCompression, 2)
-
-static const flatbuffers_voffset_t __org_apache_arrow_flatbuf_RecordBatch_required[] = { 0 };
-typedef flatbuffers_ref_t org_apache_arrow_flatbuf_RecordBatch_ref_t;
-static org_apache_arrow_flatbuf_RecordBatch_ref_t org_apache_arrow_flatbuf_RecordBatch_clone(flatbuffers_builder_t *B, org_apache_arrow_flatbuf_RecordBatch_table_t t);
-__flatbuffers_build_table(flatbuffers_, org_apache_arrow_flatbuf_RecordBatch, 4)
-
-static const flatbuffers_voffset_t __org_apache_arrow_flatbuf_DictionaryBatch_required[] = { 0 };
-typedef flatbuffers_ref_t org_apache_arrow_flatbuf_DictionaryBatch_ref_t;
-static org_apache_arrow_flatbuf_DictionaryBatch_ref_t org_apache_arrow_flatbuf_DictionaryBatch_clone(flatbuffers_builder_t *B, org_apache_arrow_flatbuf_DictionaryBatch_table_t t);
-__flatbuffers_build_table(flatbuffers_, org_apache_arrow_flatbuf_DictionaryBatch, 3)
-
-static const flatbuffers_voffset_t __org_apache_arrow_flatbuf_Message_required[] = { 0 };
-typedef flatbuffers_ref_t org_apache_arrow_flatbuf_Message_ref_t;
-static org_apache_arrow_flatbuf_Message_ref_t org_apache_arrow_flatbuf_Message_clone(flatbuffers_builder_t *B, org_apache_arrow_flatbuf_Message_table_t t);
-__flatbuffers_build_table(flatbuffers_, org_apache_arrow_flatbuf_Message, 5)
-
-#define __org_apache_arrow_flatbuf_BodyCompression_formal_args , org_apache_arrow_flatbuf_CompressionType_enum_t v0, org_apache_arrow_flatbuf_BodyCompressionMethod_enum_t v1
-#define __org_apache_arrow_flatbuf_BodyCompression_call_args , v0, v1
-static inline org_apache_arrow_flatbuf_BodyCompression_ref_t org_apache_arrow_flatbuf_BodyCompression_create(flatbuffers_builder_t *B __org_apache_arrow_flatbuf_BodyCompression_formal_args);
-__flatbuffers_build_table_prolog(flatbuffers_, org_apache_arrow_flatbuf_BodyCompression, org_apache_arrow_flatbuf_BodyCompression_file_identifier, org_apache_arrow_flatbuf_BodyCompression_type_identifier)
-
-#define __org_apache_arrow_flatbuf_RecordBatch_formal_args , int64_t v0, org_apache_arrow_flatbuf_FieldNode_vec_ref_t v1, org_apache_arrow_flatbuf_Buffer_vec_ref_t v2, org_apache_arrow_flatbuf_BodyCompression_ref_t v3
-#define __org_apache_arrow_flatbuf_RecordBatch_call_args , v0, v1, v2, v3
-static inline org_apache_arrow_flatbuf_RecordBatch_ref_t org_apache_arrow_flatbuf_RecordBatch_create(flatbuffers_builder_t *B __org_apache_arrow_flatbuf_RecordBatch_formal_args);
-__flatbuffers_build_table_prolog(flatbuffers_, org_apache_arrow_flatbuf_RecordBatch, org_apache_arrow_flatbuf_RecordBatch_file_identifier, org_apache_arrow_flatbuf_RecordBatch_type_identifier)
-
-#define __org_apache_arrow_flatbuf_DictionaryBatch_formal_args , int64_t v0, org_apache_arrow_flatbuf_RecordBatch_ref_t v1, flatbuffers_bool_t v2
-#define __org_apache_arrow_flatbuf_DictionaryBatch_call_args , v0, v1, v2
-static inline org_apache_arrow_flatbuf_DictionaryBatch_ref_t org_apache_arrow_flatbuf_DictionaryBatch_create(flatbuffers_builder_t *B __org_apache_arrow_flatbuf_DictionaryBatch_formal_args);
-__flatbuffers_build_table_prolog(flatbuffers_, org_apache_arrow_flatbuf_DictionaryBatch, org_apache_arrow_flatbuf_DictionaryBatch_file_identifier, org_apache_arrow_flatbuf_DictionaryBatch_type_identifier)
-
-#define __org_apache_arrow_flatbuf_Message_formal_args , org_apache_arrow_flatbuf_MetadataVersion_enum_t v0, org_apache_arrow_flatbuf_MessageHeader_union_ref_t v2, int64_t v3, org_apache_arrow_flatbuf_KeyValue_vec_ref_t v4
-#define __org_apache_arrow_flatbuf_Message_call_args , v0, v2, v3, v4
-static inline org_apache_arrow_flatbuf_Message_ref_t org_apache_arrow_flatbuf_Message_create(flatbuffers_builder_t *B __org_apache_arrow_flatbuf_Message_formal_args);
-__flatbuffers_build_table_prolog(flatbuffers_, org_apache_arrow_flatbuf_Message, org_apache_arrow_flatbuf_Message_file_identifier, org_apache_arrow_flatbuf_Message_type_identifier)
-static inline org_apache_arrow_flatbuf_MessageHeader_union_ref_t org_apache_arrow_flatbuf_MessageHeader_as_NONE(void)
-{ org_apache_arrow_flatbuf_MessageHeader_union_ref_t uref; uref.type = org_apache_arrow_flatbuf_MessageHeader_NONE; uref.value = 0; return uref; }
-static inline org_apache_arrow_flatbuf_MessageHeader_union_ref_t org_apache_arrow_flatbuf_MessageHeader_as_Schema(org_apache_arrow_flatbuf_Schema_ref_t ref)
-{ org_apache_arrow_flatbuf_MessageHeader_union_ref_t uref; uref.type = org_apache_arrow_flatbuf_MessageHeader_Schema; uref.value = ref; return uref; }
-static inline org_apache_arrow_flatbuf_MessageHeader_union_ref_t org_apache_arrow_flatbuf_MessageHeader_as_DictionaryBatch(org_apache_arrow_flatbuf_DictionaryBatch_ref_t ref)
-{ org_apache_arrow_flatbuf_MessageHeader_union_ref_t uref; uref.type = org_apache_arrow_flatbuf_MessageHeader_DictionaryBatch; uref.value = ref; return uref; }
-static inline org_apache_arrow_flatbuf_MessageHeader_union_ref_t org_apache_arrow_flatbuf_MessageHeader_as_RecordBatch(org_apache_arrow_flatbuf_RecordBatch_ref_t ref)
-{ org_apache_arrow_flatbuf_MessageHeader_union_ref_t uref; uref.type = org_apache_arrow_flatbuf_MessageHeader_RecordBatch; uref.value = ref; return uref; }
-static inline org_apache_arrow_flatbuf_MessageHeader_union_ref_t org_apache_arrow_flatbuf_MessageHeader_as_Tensor(org_apache_arrow_flatbuf_Tensor_ref_t ref)
-{ org_apache_arrow_flatbuf_MessageHeader_union_ref_t uref; uref.type = org_apache_arrow_flatbuf_MessageHeader_Tensor; uref.value = ref; return uref; }
-static inline org_apache_arrow_flatbuf_MessageHeader_union_ref_t org_apache_arrow_flatbuf_MessageHeader_as_SparseTensor(org_apache_arrow_flatbuf_SparseTensor_ref_t ref)
-{ org_apache_arrow_flatbuf_MessageHeader_union_ref_t uref; uref.type = org_apache_arrow_flatbuf_MessageHeader_SparseTensor; uref.value = ref; return uref; }
-__flatbuffers_build_union_vector(flatbuffers_, org_apache_arrow_flatbuf_MessageHeader)
-
-static org_apache_arrow_flatbuf_MessageHeader_union_ref_t org_apache_arrow_flatbuf_MessageHeader_clone(flatbuffers_builder_t *B, org_apache_arrow_flatbuf_MessageHeader_union_t u)
-{
- switch (u.type) {
- case 1: return org_apache_arrow_flatbuf_MessageHeader_as_Schema(org_apache_arrow_flatbuf_Schema_clone(B, (org_apache_arrow_flatbuf_Schema_table_t)u.value));
- case 2: return org_apache_arrow_flatbuf_MessageHeader_as_DictionaryBatch(org_apache_arrow_flatbuf_DictionaryBatch_clone(B, (org_apache_arrow_flatbuf_DictionaryBatch_table_t)u.value));
- case 3: return org_apache_arrow_flatbuf_MessageHeader_as_RecordBatch(org_apache_arrow_flatbuf_RecordBatch_clone(B, (org_apache_arrow_flatbuf_RecordBatch_table_t)u.value));
- case 4: return org_apache_arrow_flatbuf_MessageHeader_as_Tensor(org_apache_arrow_flatbuf_Tensor_clone(B, (org_apache_arrow_flatbuf_Tensor_table_t)u.value));
- case 5: return org_apache_arrow_flatbuf_MessageHeader_as_SparseTensor(org_apache_arrow_flatbuf_SparseTensor_clone(B, (org_apache_arrow_flatbuf_SparseTensor_table_t)u.value));
- default: return org_apache_arrow_flatbuf_MessageHeader_as_NONE();
- }
-}
-
-__flatbuffers_build_scalar_field(0, flatbuffers_, org_apache_arrow_flatbuf_BodyCompression_codec, org_apache_arrow_flatbuf_CompressionType, org_apache_arrow_flatbuf_CompressionType_enum_t, 1, 1, INT8_C(0), org_apache_arrow_flatbuf_BodyCompression)
-__flatbuffers_build_scalar_field(1, flatbuffers_, org_apache_arrow_flatbuf_BodyCompression_method, org_apache_arrow_flatbuf_BodyCompressionMethod, org_apache_arrow_flatbuf_BodyCompressionMethod_enum_t, 1, 1, INT8_C(0), org_apache_arrow_flatbuf_BodyCompression)
-
-static inline org_apache_arrow_flatbuf_BodyCompression_ref_t org_apache_arrow_flatbuf_BodyCompression_create(flatbuffers_builder_t *B __org_apache_arrow_flatbuf_BodyCompression_formal_args)
-{
- if (org_apache_arrow_flatbuf_BodyCompression_start(B)
- || org_apache_arrow_flatbuf_BodyCompression_codec_add(B, v0)
- || org_apache_arrow_flatbuf_BodyCompression_method_add(B, v1)) {
- return 0;
- }
- return org_apache_arrow_flatbuf_BodyCompression_end(B);
-}
-
-static org_apache_arrow_flatbuf_BodyCompression_ref_t org_apache_arrow_flatbuf_BodyCompression_clone(flatbuffers_builder_t *B, org_apache_arrow_flatbuf_BodyCompression_table_t t)
-{
- __flatbuffers_memoize_begin(B, t);
- if (org_apache_arrow_flatbuf_BodyCompression_start(B)
- || org_apache_arrow_flatbuf_BodyCompression_codec_pick(B, t)
- || org_apache_arrow_flatbuf_BodyCompression_method_pick(B, t)) {
- return 0;
- }
- __flatbuffers_memoize_end(B, t, org_apache_arrow_flatbuf_BodyCompression_end(B));
-}
+typedef const struct org_apache_arrow_flatbuf_SparseTensorIndexCOO_table *org_apache_arrow_flatbuf_SparseTensorIndexCOO_table_t;
+typedef struct org_apache_arrow_flatbuf_SparseTensorIndexCOO_table *org_apache_arrow_flatbuf_SparseTensorIndexCOO_mutable_table_t;
+typedef const flatbuffers_uoffset_t *org_apache_arrow_flatbuf_SparseTensorIndexCOO_vec_t;
+typedef flatbuffers_uoffset_t *org_apache_arrow_flatbuf_SparseTensorIndexCOO_mutable_vec_t;
+typedef const struct org_apache_arrow_flatbuf_SparseMatrixIndexCSX_table *org_apache_arrow_flatbuf_SparseMatrixIndexCSX_table_t;
+typedef struct org_apache_arrow_flatbuf_SparseMatrixIndexCSX_table *org_apache_arrow_flatbuf_SparseMatrixIndexCSX_mutable_table_t;
+typedef const flatbuffers_uoffset_t *org_apache_arrow_flatbuf_SparseMatrixIndexCSX_vec_t;
+typedef flatbuffers_uoffset_t *org_apache_arrow_flatbuf_SparseMatrixIndexCSX_mutable_vec_t;
+typedef const struct org_apache_arrow_flatbuf_SparseTensorIndexCSF_table *org_apache_arrow_flatbuf_SparseTensorIndexCSF_table_t;
+typedef struct org_apache_arrow_flatbuf_SparseTensorIndexCSF_table *org_apache_arrow_flatbuf_SparseTensorIndexCSF_mutable_table_t;
+typedef const flatbuffers_uoffset_t *org_apache_arrow_flatbuf_SparseTensorIndexCSF_vec_t;
+typedef flatbuffers_uoffset_t *org_apache_arrow_flatbuf_SparseTensorIndexCSF_mutable_vec_t;
+typedef const struct org_apache_arrow_flatbuf_SparseTensor_table *org_apache_arrow_flatbuf_SparseTensor_table_t;
+typedef struct org_apache_arrow_flatbuf_SparseTensor_table *org_apache_arrow_flatbuf_SparseTensor_mutable_table_t;
+typedef const flatbuffers_uoffset_t *org_apache_arrow_flatbuf_SparseTensor_vec_t;
+typedef flatbuffers_uoffset_t *org_apache_arrow_flatbuf_SparseTensor_mutable_vec_t;
+#ifndef org_apache_arrow_flatbuf_SparseTensorIndexCOO_file_identifier
+#define org_apache_arrow_flatbuf_SparseTensorIndexCOO_file_identifier 0
+#endif
+/* deprecated, use org_apache_arrow_flatbuf_SparseTensorIndexCOO_file_identifier */
+#ifndef org_apache_arrow_flatbuf_SparseTensorIndexCOO_identifier
+#define org_apache_arrow_flatbuf_SparseTensorIndexCOO_identifier 0
+#endif
+#define org_apache_arrow_flatbuf_SparseTensorIndexCOO_type_hash ((flatbuffers_thash_t)0x3b31385a)
+#define org_apache_arrow_flatbuf_SparseTensorIndexCOO_type_identifier "\x5a\x38\x31\x3b"
+#ifndef org_apache_arrow_flatbuf_SparseTensorIndexCOO_file_extension
+#define org_apache_arrow_flatbuf_SparseTensorIndexCOO_file_extension "bin"
+#endif
+#ifndef org_apache_arrow_flatbuf_SparseMatrixIndexCSX_file_identifier
+#define org_apache_arrow_flatbuf_SparseMatrixIndexCSX_file_identifier 0
+#endif
+/* deprecated, use org_apache_arrow_flatbuf_SparseMatrixIndexCSX_file_identifier */
+#ifndef org_apache_arrow_flatbuf_SparseMatrixIndexCSX_identifier
+#define org_apache_arrow_flatbuf_SparseMatrixIndexCSX_identifier 0
+#endif
+#define org_apache_arrow_flatbuf_SparseMatrixIndexCSX_type_hash ((flatbuffers_thash_t)0xec57ea87)
+#define org_apache_arrow_flatbuf_SparseMatrixIndexCSX_type_identifier "\x87\xea\x57\xec"
+#ifndef org_apache_arrow_flatbuf_SparseMatrixIndexCSX_file_extension
+#define org_apache_arrow_flatbuf_SparseMatrixIndexCSX_file_extension "bin"
+#endif
+#ifndef org_apache_arrow_flatbuf_SparseTensorIndexCSF_file_identifier
+#define org_apache_arrow_flatbuf_SparseTensorIndexCSF_file_identifier 0
+#endif
+/* deprecated, use org_apache_arrow_flatbuf_SparseTensorIndexCSF_file_identifier */
+#ifndef org_apache_arrow_flatbuf_SparseTensorIndexCSF_identifier
+#define org_apache_arrow_flatbuf_SparseTensorIndexCSF_identifier 0
+#endif
+#define org_apache_arrow_flatbuf_SparseTensorIndexCSF_type_hash ((flatbuffers_thash_t)0xf44edda9)
+#define org_apache_arrow_flatbuf_SparseTensorIndexCSF_type_identifier "\xa9\xdd\x4e\xf4"
+#ifndef org_apache_arrow_flatbuf_SparseTensorIndexCSF_file_extension
+#define org_apache_arrow_flatbuf_SparseTensorIndexCSF_file_extension "bin"
+#endif
+#ifndef org_apache_arrow_flatbuf_SparseTensor_file_identifier
+#define org_apache_arrow_flatbuf_SparseTensor_file_identifier 0
+#endif
+/* deprecated, use org_apache_arrow_flatbuf_SparseTensor_file_identifier */
+#ifndef org_apache_arrow_flatbuf_SparseTensor_identifier
+#define org_apache_arrow_flatbuf_SparseTensor_identifier 0
+#endif
+#define org_apache_arrow_flatbuf_SparseTensor_type_hash ((flatbuffers_thash_t)0xae6f7239)
+#define org_apache_arrow_flatbuf_SparseTensor_type_identifier "\x39\x72\x6f\xae"
+#ifndef org_apache_arrow_flatbuf_SparseTensor_file_extension
+#define org_apache_arrow_flatbuf_SparseTensor_file_extension "bin"
+#endif
-__flatbuffers_build_scalar_field(0, flatbuffers_, org_apache_arrow_flatbuf_RecordBatch_length, flatbuffers_int64, int64_t, 8, 8, INT64_C(0), org_apache_arrow_flatbuf_RecordBatch)
-__flatbuffers_build_vector_field(1, flatbuffers_, org_apache_arrow_flatbuf_RecordBatch_nodes, org_apache_arrow_flatbuf_FieldNode, org_apache_arrow_flatbuf_FieldNode_t, org_apache_arrow_flatbuf_RecordBatch)
-__flatbuffers_build_vector_field(2, flatbuffers_, org_apache_arrow_flatbuf_RecordBatch_buffers, org_apache_arrow_flatbuf_Buffer, org_apache_arrow_flatbuf_Buffer_t, org_apache_arrow_flatbuf_RecordBatch)
-__flatbuffers_build_table_field(3, flatbuffers_, org_apache_arrow_flatbuf_RecordBatch_compression, org_apache_arrow_flatbuf_BodyCompression, org_apache_arrow_flatbuf_RecordBatch)
+typedef int16_t org_apache_arrow_flatbuf_SparseMatrixCompressedAxis_enum_t;
+__flatbuffers_define_integer_type(org_apache_arrow_flatbuf_SparseMatrixCompressedAxis, org_apache_arrow_flatbuf_SparseMatrixCompressedAxis_enum_t, 16)
+#define org_apache_arrow_flatbuf_SparseMatrixCompressedAxis_Row ((org_apache_arrow_flatbuf_SparseMatrixCompressedAxis_enum_t)INT16_C(0))
+#define org_apache_arrow_flatbuf_SparseMatrixCompressedAxis_Column ((org_apache_arrow_flatbuf_SparseMatrixCompressedAxis_enum_t)INT16_C(1))
-static inline org_apache_arrow_flatbuf_RecordBatch_ref_t org_apache_arrow_flatbuf_RecordBatch_create(flatbuffers_builder_t *B __org_apache_arrow_flatbuf_RecordBatch_formal_args)
+static inline const char *org_apache_arrow_flatbuf_SparseMatrixCompressedAxis_name(org_apache_arrow_flatbuf_SparseMatrixCompressedAxis_enum_t value)
{
- if (org_apache_arrow_flatbuf_RecordBatch_start(B)
- || org_apache_arrow_flatbuf_RecordBatch_length_add(B, v0)
- || org_apache_arrow_flatbuf_RecordBatch_nodes_add(B, v1)
- || org_apache_arrow_flatbuf_RecordBatch_buffers_add(B, v2)
- || org_apache_arrow_flatbuf_RecordBatch_compression_add(B, v3)) {
- return 0;
+ switch (value) {
+ case org_apache_arrow_flatbuf_SparseMatrixCompressedAxis_Row: return "Row";
+ case org_apache_arrow_flatbuf_SparseMatrixCompressedAxis_Column: return "Column";
+ default: return "";
}
- return org_apache_arrow_flatbuf_RecordBatch_end(B);
}
-static org_apache_arrow_flatbuf_RecordBatch_ref_t org_apache_arrow_flatbuf_RecordBatch_clone(flatbuffers_builder_t *B, org_apache_arrow_flatbuf_RecordBatch_table_t t)
+static inline int org_apache_arrow_flatbuf_SparseMatrixCompressedAxis_is_known_value(org_apache_arrow_flatbuf_SparseMatrixCompressedAxis_enum_t value)
{
- __flatbuffers_memoize_begin(B, t);
- if (org_apache_arrow_flatbuf_RecordBatch_start(B)
- || org_apache_arrow_flatbuf_RecordBatch_length_pick(B, t)
- || org_apache_arrow_flatbuf_RecordBatch_nodes_pick(B, t)
- || org_apache_arrow_flatbuf_RecordBatch_buffers_pick(B, t)
- || org_apache_arrow_flatbuf_RecordBatch_compression_pick(B, t)) {
- return 0;
+ switch (value) {
+ case org_apache_arrow_flatbuf_SparseMatrixCompressedAxis_Row: return 1;
+ case org_apache_arrow_flatbuf_SparseMatrixCompressedAxis_Column: return 1;
+ default: return 0;
}
- __flatbuffers_memoize_end(B, t, org_apache_arrow_flatbuf_RecordBatch_end(B));
}
-__flatbuffers_build_scalar_field(0, flatbuffers_, org_apache_arrow_flatbuf_DictionaryBatch_id, flatbuffers_int64, int64_t, 8, 8, INT64_C(0), org_apache_arrow_flatbuf_DictionaryBatch)
-__flatbuffers_build_table_field(1, flatbuffers_, org_apache_arrow_flatbuf_DictionaryBatch_data, org_apache_arrow_flatbuf_RecordBatch, org_apache_arrow_flatbuf_DictionaryBatch)
-__flatbuffers_build_scalar_field(2, flatbuffers_, org_apache_arrow_flatbuf_DictionaryBatch_isDelta, flatbuffers_bool, flatbuffers_bool_t, 1, 1, UINT8_C(0), org_apache_arrow_flatbuf_DictionaryBatch)
-
-static inline org_apache_arrow_flatbuf_DictionaryBatch_ref_t org_apache_arrow_flatbuf_DictionaryBatch_create(flatbuffers_builder_t *B __org_apache_arrow_flatbuf_DictionaryBatch_formal_args)
-{
- if (org_apache_arrow_flatbuf_DictionaryBatch_start(B)
- || org_apache_arrow_flatbuf_DictionaryBatch_id_add(B, v0)
- || org_apache_arrow_flatbuf_DictionaryBatch_data_add(B, v1)
- || org_apache_arrow_flatbuf_DictionaryBatch_isDelta_add(B, v2)) {
- return 0;
- }
- return org_apache_arrow_flatbuf_DictionaryBatch_end(B);
-}
-static org_apache_arrow_flatbuf_DictionaryBatch_ref_t org_apache_arrow_flatbuf_DictionaryBatch_clone(flatbuffers_builder_t *B, org_apache_arrow_flatbuf_DictionaryBatch_table_t t)
-{
- __flatbuffers_memoize_begin(B, t);
- if (org_apache_arrow_flatbuf_DictionaryBatch_start(B)
- || org_apache_arrow_flatbuf_DictionaryBatch_id_pick(B, t)
- || org_apache_arrow_flatbuf_DictionaryBatch_data_pick(B, t)
- || org_apache_arrow_flatbuf_DictionaryBatch_isDelta_pick(B, t)) {
- return 0;
- }
- __flatbuffers_memoize_end(B, t, org_apache_arrow_flatbuf_DictionaryBatch_end(B));
-}
-__flatbuffers_build_scalar_field(0, flatbuffers_, org_apache_arrow_flatbuf_Message_version, org_apache_arrow_flatbuf_MetadataVersion, org_apache_arrow_flatbuf_MetadataVersion_enum_t, 2, 2, INT16_C(0), org_apache_arrow_flatbuf_Message)
-__flatbuffers_build_union_field(2, flatbuffers_, org_apache_arrow_flatbuf_Message_header, org_apache_arrow_flatbuf_MessageHeader, org_apache_arrow_flatbuf_Message)
-__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_Message_header, org_apache_arrow_flatbuf_MessageHeader, Schema, org_apache_arrow_flatbuf_Schema)
-__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_Message_header, org_apache_arrow_flatbuf_MessageHeader, DictionaryBatch, org_apache_arrow_flatbuf_DictionaryBatch)
-__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_Message_header, org_apache_arrow_flatbuf_MessageHeader, RecordBatch, org_apache_arrow_flatbuf_RecordBatch)
-__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_Message_header, org_apache_arrow_flatbuf_MessageHeader, Tensor, org_apache_arrow_flatbuf_Tensor)
-__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_Message_header, org_apache_arrow_flatbuf_MessageHeader, SparseTensor, org_apache_arrow_flatbuf_SparseTensor)
-__flatbuffers_build_scalar_field(3, flatbuffers_, org_apache_arrow_flatbuf_Message_bodyLength, flatbuffers_int64, int64_t, 8, 8, INT64_C(0), org_apache_arrow_flatbuf_Message)
-__flatbuffers_build_table_vector_field(4, flatbuffers_, org_apache_arrow_flatbuf_Message_custom_metadata, org_apache_arrow_flatbuf_KeyValue, org_apache_arrow_flatbuf_Message)
+/** ----------------------------------------------------------------------
+ * EXPERIMENTAL: Data structures for sparse tensors
+ * Coordinate (COO) format of sparse tensor index.
+ *
+ * COO's index list are represented as a NxM matrix,
+ * where N is the number of non-zero values,
+ * and M is the number of dimensions of a sparse tensor.
+ *
+ * indicesBuffer stores the location and size of the data of this indices
+ * matrix. The value type and the stride of the indices matrix is
+ * specified in indicesType and indicesStrides fields.
+ *
+ * For example, let X be a 2x3x4x5 tensor, and it has the following
+ * 6 non-zero values:
+ * ```text
+ * X[0, 1, 2, 0] := 1
+ * X[1, 1, 2, 3] := 2
+ * X[0, 2, 1, 0] := 3
+ * X[0, 1, 3, 0] := 4
+ * X[0, 1, 2, 1] := 5
+ * X[1, 2, 0, 4] := 6
+ * ```
+ * In COO format, the index matrix of X is the following 4x6 matrix:
+ * ```text
+ * [[0, 0, 0, 0, 1, 1],
+ * [1, 1, 1, 2, 1, 2],
+ * [2, 2, 3, 1, 2, 0],
+ * [0, 1, 0, 0, 3, 4]]
+ * ```
+ * When isCanonical is true, the indices is sorted in lexicographical order
+ * (row-major order), and it does not have duplicated entries. Otherwise,
+ * the indices may not be sorted, or may have duplicated entries. */
+struct org_apache_arrow_flatbuf_SparseTensorIndexCOO_table { uint8_t unused__; };
-static inline org_apache_arrow_flatbuf_Message_ref_t org_apache_arrow_flatbuf_Message_create(flatbuffers_builder_t *B __org_apache_arrow_flatbuf_Message_formal_args)
-{
- if (org_apache_arrow_flatbuf_Message_start(B)
- || org_apache_arrow_flatbuf_Message_bodyLength_add(B, v3)
- || org_apache_arrow_flatbuf_Message_header_add_value(B, v2)
- || org_apache_arrow_flatbuf_Message_custom_metadata_add(B, v4)
- || org_apache_arrow_flatbuf_Message_version_add(B, v0)
- || org_apache_arrow_flatbuf_Message_header_add_type(B, v2.type)) {
- return 0;
- }
- return org_apache_arrow_flatbuf_Message_end(B);
-}
+static inline size_t org_apache_arrow_flatbuf_SparseTensorIndexCOO_vec_len(org_apache_arrow_flatbuf_SparseTensorIndexCOO_vec_t vec)
+__flatbuffers_vec_len(vec)
+static inline org_apache_arrow_flatbuf_SparseTensorIndexCOO_table_t org_apache_arrow_flatbuf_SparseTensorIndexCOO_vec_at(org_apache_arrow_flatbuf_SparseTensorIndexCOO_vec_t vec, size_t i)
+__flatbuffers_offset_vec_at(org_apache_arrow_flatbuf_SparseTensorIndexCOO_table_t, vec, i, 0)
+__flatbuffers_table_as_root(org_apache_arrow_flatbuf_SparseTensorIndexCOO)
-static org_apache_arrow_flatbuf_Message_ref_t org_apache_arrow_flatbuf_Message_clone(flatbuffers_builder_t *B, org_apache_arrow_flatbuf_Message_table_t t)
-{
- __flatbuffers_memoize_begin(B, t);
- if (org_apache_arrow_flatbuf_Message_start(B)
- || org_apache_arrow_flatbuf_Message_bodyLength_pick(B, t)
- || org_apache_arrow_flatbuf_Message_header_pick(B, t)
- || org_apache_arrow_flatbuf_Message_custom_metadata_pick(B, t)
- || org_apache_arrow_flatbuf_Message_version_pick(B, t)) {
- return 0;
- }
- __flatbuffers_memoize_end(B, t, org_apache_arrow_flatbuf_Message_end(B));
-}
+/** The type of values in indicesBuffer */
+__flatbuffers_define_table_field(0, org_apache_arrow_flatbuf_SparseTensorIndexCOO, indicesType, org_apache_arrow_flatbuf_Int_table_t, 1)
+/** Non-negative byte offsets to advance one value cell along each dimension
+ * If omitted, default to row-major order (C-like). */
+__flatbuffers_define_vector_field(1, org_apache_arrow_flatbuf_SparseTensorIndexCOO, indicesStrides, flatbuffers_int64_vec_t, 0)
+/** The location and size of the indices matrix's data */
+__flatbuffers_define_struct_field(2, org_apache_arrow_flatbuf_SparseTensorIndexCOO, indicesBuffer, org_apache_arrow_flatbuf_Buffer_struct_t, 1)
+/** This flag is true if and only if the indices matrix is sorted in
+ * row-major order, and does not have duplicated entries.
+ * This sort order is the same as of Tensorflow's SparseTensor,
+ * but it is inverse order of SciPy's canonical coo_matrix
+ * (SciPy employs column-major order for its coo_matrix). */
+__flatbuffers_define_scalar_field(3, org_apache_arrow_flatbuf_SparseTensorIndexCOO, isCanonical, flatbuffers_bool, flatbuffers_bool_t, UINT8_C(0))
-#include "flatcc/flatcc_epilogue.h"
-#endif /* MESSAGE_BUILDER_H */
-#ifndef MESSAGE_VERIFIER_H
-#define MESSAGE_VERIFIER_H
+/** Compressed Sparse format, that is matrix-specific. */
+struct org_apache_arrow_flatbuf_SparseMatrixIndexCSX_table { uint8_t unused__; };
-/* Generated by flatcc 0.6.1 FlatBuffers schema compiler for C by dvide.com */
+static inline size_t org_apache_arrow_flatbuf_SparseMatrixIndexCSX_vec_len(org_apache_arrow_flatbuf_SparseMatrixIndexCSX_vec_t vec)
+__flatbuffers_vec_len(vec)
+static inline org_apache_arrow_flatbuf_SparseMatrixIndexCSX_table_t org_apache_arrow_flatbuf_SparseMatrixIndexCSX_vec_at(org_apache_arrow_flatbuf_SparseMatrixIndexCSX_vec_t vec, size_t i)
+__flatbuffers_offset_vec_at(org_apache_arrow_flatbuf_SparseMatrixIndexCSX_table_t, vec, i, 0)
+__flatbuffers_table_as_root(org_apache_arrow_flatbuf_SparseMatrixIndexCSX)
-#ifndef MESSAGE_READER_H
-#include "Message_reader.h"
-#endif
-#include "flatcc/flatcc_verifier.h"
-#ifndef TENSOR_VERIFIER_H
-#include "Tensor_verifier.h"
-#endif
-#ifndef SPARSETENSOR_VERIFIER_H
-#include "SparseTensor_verifier.h"
-#endif
-#ifndef SCHEMA_VERIFIER_H
-#include "Schema_verifier.h"
-#endif
-#include "flatcc/flatcc_prologue.h"
+/** Which axis, row or column, is compressed */
+__flatbuffers_define_scalar_field(0, org_apache_arrow_flatbuf_SparseMatrixIndexCSX, compressedAxis, org_apache_arrow_flatbuf_SparseMatrixCompressedAxis, org_apache_arrow_flatbuf_SparseMatrixCompressedAxis_enum_t, INT16_C(0))
+/** The type of values in indptrBuffer */
+__flatbuffers_define_table_field(1, org_apache_arrow_flatbuf_SparseMatrixIndexCSX, indptrType, org_apache_arrow_flatbuf_Int_table_t, 1)
+/** indptrBuffer stores the location and size of indptr array that
+ * represents the range of the rows.
+ * The i-th row spans from `indptr[i]` to `indptr[i+1]` in the data.
+ * The length of this array is 1 + (the number of rows), and the type
+ * of index value is long.
+ *
+ * For example, let X be the following 6x4 matrix:
+ * ```text
+ * X := [[0, 1, 2, 0],
+ * [0, 0, 3, 0],
+ * [0, 4, 0, 5],
+ * [0, 0, 0, 0],
+ * [6, 0, 7, 8],
+ * [0, 9, 0, 0]].
+ * ```
+ * The array of non-zero values in X is:
+ * ```text
+ * values(X) = [1, 2, 3, 4, 5, 6, 7, 8, 9].
+ * ```
+ * And the indptr of X is:
+ * ```text
+ * indptr(X) = [0, 2, 3, 5, 5, 8, 10].
+ * ``` */
+__flatbuffers_define_struct_field(2, org_apache_arrow_flatbuf_SparseMatrixIndexCSX, indptrBuffer, org_apache_arrow_flatbuf_Buffer_struct_t, 1)
+/** The type of values in indicesBuffer */
+__flatbuffers_define_table_field(3, org_apache_arrow_flatbuf_SparseMatrixIndexCSX, indicesType, org_apache_arrow_flatbuf_Int_table_t, 1)
+/** indicesBuffer stores the location and size of the array that
+ * contains the column indices of the corresponding non-zero values.
+ * The type of index value is long.
+ *
+ * For example, the indices of the above X is:
+ * ```text
+ * indices(X) = [1, 2, 2, 1, 3, 0, 2, 3, 1].
+ * ```
+ * Note that the indices are sorted in lexicographical order for each row. */
+__flatbuffers_define_struct_field(4, org_apache_arrow_flatbuf_SparseMatrixIndexCSX, indicesBuffer, org_apache_arrow_flatbuf_Buffer_struct_t, 1)
-static int org_apache_arrow_flatbuf_BodyCompression_verify_table(flatcc_table_verifier_descriptor_t *td);
-static int org_apache_arrow_flatbuf_RecordBatch_verify_table(flatcc_table_verifier_descriptor_t *td);
-static int org_apache_arrow_flatbuf_DictionaryBatch_verify_table(flatcc_table_verifier_descriptor_t *td);
-static int org_apache_arrow_flatbuf_Message_verify_table(flatcc_table_verifier_descriptor_t *td);
+/** Compressed Sparse Fiber (CSF) sparse tensor index. */
+struct org_apache_arrow_flatbuf_SparseTensorIndexCSF_table { uint8_t unused__; };
-static int org_apache_arrow_flatbuf_MessageHeader_union_verifier(flatcc_union_verifier_descriptor_t *ud)
-{
- switch (ud->type) {
- case 1: return flatcc_verify_union_table(ud, org_apache_arrow_flatbuf_Schema_verify_table); /* Schema */
- case 2: return flatcc_verify_union_table(ud, org_apache_arrow_flatbuf_DictionaryBatch_verify_table); /* DictionaryBatch */
- case 3: return flatcc_verify_union_table(ud, org_apache_arrow_flatbuf_RecordBatch_verify_table); /* RecordBatch */
- case 4: return flatcc_verify_union_table(ud, org_apache_arrow_flatbuf_Tensor_verify_table); /* Tensor */
- case 5: return flatcc_verify_union_table(ud, org_apache_arrow_flatbuf_SparseTensor_verify_table); /* SparseTensor */
- default: return flatcc_verify_ok;
- }
-}
+static inline size_t org_apache_arrow_flatbuf_SparseTensorIndexCSF_vec_len(org_apache_arrow_flatbuf_SparseTensorIndexCSF_vec_t vec)
+__flatbuffers_vec_len(vec)
+static inline org_apache_arrow_flatbuf_SparseTensorIndexCSF_table_t org_apache_arrow_flatbuf_SparseTensorIndexCSF_vec_at(org_apache_arrow_flatbuf_SparseTensorIndexCSF_vec_t vec, size_t i)
+__flatbuffers_offset_vec_at(org_apache_arrow_flatbuf_SparseTensorIndexCSF_table_t, vec, i, 0)
+__flatbuffers_table_as_root(org_apache_arrow_flatbuf_SparseTensorIndexCSF)
-static inline int org_apache_arrow_flatbuf_FieldNode_verify_as_root(const void *buf, size_t bufsiz)
-{
- return flatcc_verify_struct_as_root(buf, bufsiz, org_apache_arrow_flatbuf_FieldNode_identifier, 16, 8);
-}
+/** CSF is a generalization of compressed sparse row (CSR) index.
+ * See [smith2017knl](http://shaden.io/pub-files/smith2017knl.pdf)
+ *
+ * CSF index recursively compresses each dimension of a tensor into a set
+ * of prefix trees. Each path from a root to leaf forms one tensor
+ * non-zero index. CSF is implemented with two arrays of buffers and one
+ * arrays of integers.
+ *
+ * For example, let X be a 2x3x4x5 tensor and let it have the following
+ * 8 non-zero values:
+ * ```text
+ * X[0, 0, 0, 1] := 1
+ * X[0, 0, 0, 2] := 2
+ * X[0, 1, 0, 0] := 3
+ * X[0, 1, 0, 2] := 4
+ * X[0, 1, 1, 0] := 5
+ * X[1, 1, 1, 0] := 6
+ * X[1, 1, 1, 1] := 7
+ * X[1, 1, 1, 2] := 8
+ * ```
+ * As a prefix tree this would be represented as:
+ * ```text
+ * 0 1
+ * / \ |
+ * 0 1 1
+ * / / \ |
+ * 0 0 1 1
+ * /| /| | /| |
+ * 1 2 0 2 0 0 1 2
+ * ```
+ * The type of values in indptrBuffers */
+__flatbuffers_define_table_field(0, org_apache_arrow_flatbuf_SparseTensorIndexCSF, indptrType, org_apache_arrow_flatbuf_Int_table_t, 1)
+/** indptrBuffers stores the sparsity structure.
+ * Each two consecutive dimensions in a tensor correspond to a buffer in
+ * indptrBuffers. A pair of consecutive values at `indptrBuffers[dim][i]`
+ * and `indptrBuffers[dim][i + 1]` signify a range of nodes in
+ * `indicesBuffers[dim + 1]` who are children of `indicesBuffers[dim][i]` node.
+ *
+ * For example, the indptrBuffers for the above X is:
+ * ```text
+ * indptrBuffer(X) = [
+ * [0, 2, 3],
+ * [0, 1, 3, 4],
+ * [0, 2, 4, 5, 8]
+ * ].
+ * ``` */
+__flatbuffers_define_vector_field(1, org_apache_arrow_flatbuf_SparseTensorIndexCSF, indptrBuffers, org_apache_arrow_flatbuf_Buffer_vec_t, 1)
+/** The type of values in indicesBuffers */
+__flatbuffers_define_table_field(2, org_apache_arrow_flatbuf_SparseTensorIndexCSF, indicesType, org_apache_arrow_flatbuf_Int_table_t, 1)
+/** indicesBuffers stores values of nodes.
+ * Each tensor dimension corresponds to a buffer in indicesBuffers.
+ * For example, the indicesBuffers for the above X is:
+ * ```text
+ * indicesBuffer(X) = [
+ * [0, 1],
+ * [0, 1, 1],
+ * [0, 0, 1, 1],
+ * [1, 2, 0, 2, 0, 0, 1, 2]
+ * ].
+ * ``` */
+__flatbuffers_define_vector_field(3, org_apache_arrow_flatbuf_SparseTensorIndexCSF, indicesBuffers, org_apache_arrow_flatbuf_Buffer_vec_t, 1)
+/** axisOrder stores the sequence in which dimensions were traversed to
+ * produce the prefix tree.
+ * For example, the axisOrder for the above X is:
+ * ```text
+ * axisOrder(X) = [0, 1, 2, 3].
+ * ``` */
+__flatbuffers_define_vector_field(4, org_apache_arrow_flatbuf_SparseTensorIndexCSF, axisOrder, flatbuffers_int32_vec_t, 1)
+typedef uint8_t org_apache_arrow_flatbuf_SparseTensorIndex_union_type_t;
+__flatbuffers_define_integer_type(org_apache_arrow_flatbuf_SparseTensorIndex, org_apache_arrow_flatbuf_SparseTensorIndex_union_type_t, 8)
+__flatbuffers_define_union(flatbuffers_, org_apache_arrow_flatbuf_SparseTensorIndex)
+#define org_apache_arrow_flatbuf_SparseTensorIndex_NONE ((org_apache_arrow_flatbuf_SparseTensorIndex_union_type_t)UINT8_C(0))
+#define org_apache_arrow_flatbuf_SparseTensorIndex_SparseTensorIndexCOO ((org_apache_arrow_flatbuf_SparseTensorIndex_union_type_t)UINT8_C(1))
+#define org_apache_arrow_flatbuf_SparseTensorIndex_SparseMatrixIndexCSX ((org_apache_arrow_flatbuf_SparseTensorIndex_union_type_t)UINT8_C(2))
+#define org_apache_arrow_flatbuf_SparseTensorIndex_SparseTensorIndexCSF ((org_apache_arrow_flatbuf_SparseTensorIndex_union_type_t)UINT8_C(3))
-static inline int org_apache_arrow_flatbuf_FieldNode_verify_as_typed_root(const void *buf, size_t bufsiz)
+static inline const char *org_apache_arrow_flatbuf_SparseTensorIndex_type_name(org_apache_arrow_flatbuf_SparseTensorIndex_union_type_t type)
{
- return flatcc_verify_struct_as_typed_root(buf, bufsiz, org_apache_arrow_flatbuf_FieldNode_type_hash, 16, 8);
+ switch (type) {
+ case org_apache_arrow_flatbuf_SparseTensorIndex_NONE: return "NONE";
+ case org_apache_arrow_flatbuf_SparseTensorIndex_SparseTensorIndexCOO: return "SparseTensorIndexCOO";
+ case org_apache_arrow_flatbuf_SparseTensorIndex_SparseMatrixIndexCSX: return "SparseMatrixIndexCSX";
+ case org_apache_arrow_flatbuf_SparseTensorIndex_SparseTensorIndexCSF: return "SparseTensorIndexCSF";
+ default: return "";
+ }
}
-static inline int org_apache_arrow_flatbuf_FieldNode_verify_as_root_with_type_hash(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+static inline int org_apache_arrow_flatbuf_SparseTensorIndex_is_known_type(org_apache_arrow_flatbuf_SparseTensorIndex_union_type_t type)
{
- return flatcc_verify_struct_as_typed_root(buf, bufsiz, thash, 16, 8);
+ switch (type) {
+ case org_apache_arrow_flatbuf_SparseTensorIndex_NONE: return 1;
+ case org_apache_arrow_flatbuf_SparseTensorIndex_SparseTensorIndexCOO: return 1;
+ case org_apache_arrow_flatbuf_SparseTensorIndex_SparseMatrixIndexCSX: return 1;
+ case org_apache_arrow_flatbuf_SparseTensorIndex_SparseTensorIndexCSF: return 1;
+ default: return 0;
+ }
}
-static inline int org_apache_arrow_flatbuf_FieldNode_verify_as_root_with_identifier(const void *buf, size_t bufsiz, const char *fid)
-{
- return flatcc_verify_struct_as_root(buf, bufsiz, fid, 16, 8);
-}
-static int org_apache_arrow_flatbuf_BodyCompression_verify_table(flatcc_table_verifier_descriptor_t *td)
-{
- int ret;
- if ((ret = flatcc_verify_field(td, 0, 1, 1) /* codec */)) return ret;
- if ((ret = flatcc_verify_field(td, 1, 1, 1) /* method */)) return ret;
- return flatcc_verify_ok;
-}
+struct org_apache_arrow_flatbuf_SparseTensor_table { uint8_t unused__; };
-static inline int org_apache_arrow_flatbuf_BodyCompression_verify_as_root(const void *buf, size_t bufsiz)
-{
- return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_BodyCompression_identifier, &org_apache_arrow_flatbuf_BodyCompression_verify_table);
-}
+static inline size_t org_apache_arrow_flatbuf_SparseTensor_vec_len(org_apache_arrow_flatbuf_SparseTensor_vec_t vec)
+__flatbuffers_vec_len(vec)
+static inline org_apache_arrow_flatbuf_SparseTensor_table_t org_apache_arrow_flatbuf_SparseTensor_vec_at(org_apache_arrow_flatbuf_SparseTensor_vec_t vec, size_t i)
+__flatbuffers_offset_vec_at(org_apache_arrow_flatbuf_SparseTensor_table_t, vec, i, 0)
+__flatbuffers_table_as_root(org_apache_arrow_flatbuf_SparseTensor)
-static inline int org_apache_arrow_flatbuf_BodyCompression_verify_as_typed_root(const void *buf, size_t bufsiz)
-{
- return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_BodyCompression_type_identifier, &org_apache_arrow_flatbuf_BodyCompression_verify_table);
-}
+/** The type of data contained in a value cell.
+ * Currently only fixed-width value types are supported,
+ * no strings or nested types. */
+__flatbuffers_define_union_field(flatbuffers_, 1, org_apache_arrow_flatbuf_SparseTensor, type, org_apache_arrow_flatbuf_Type, 1)
+/** The dimensions of the tensor, optionally named. */
+__flatbuffers_define_vector_field(2, org_apache_arrow_flatbuf_SparseTensor, shape, org_apache_arrow_flatbuf_TensorDim_vec_t, 1)
+/** The number of non-zero values in a sparse tensor. */
+__flatbuffers_define_scalar_field(3, org_apache_arrow_flatbuf_SparseTensor, non_zero_length, flatbuffers_int64, int64_t, INT64_C(0))
+/** Sparse tensor index */
+__flatbuffers_define_union_field(flatbuffers_, 5, org_apache_arrow_flatbuf_SparseTensor, sparseIndex, org_apache_arrow_flatbuf_SparseTensorIndex, 1)
+/** The location and size of the tensor's data */
+__flatbuffers_define_struct_field(6, org_apache_arrow_flatbuf_SparseTensor, data, org_apache_arrow_flatbuf_Buffer_struct_t, 1)
-static inline int org_apache_arrow_flatbuf_BodyCompression_verify_as_root_with_identifier(const void *buf, size_t bufsiz, const char *fid)
-{
- return flatcc_verify_table_as_root(buf, bufsiz, fid, &org_apache_arrow_flatbuf_BodyCompression_verify_table);
-}
-static inline int org_apache_arrow_flatbuf_BodyCompression_verify_as_root_with_type_hash(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
-{
- return flatcc_verify_table_as_typed_root(buf, bufsiz, thash, &org_apache_arrow_flatbuf_BodyCompression_verify_table);
-}
+#include "flatcc/flatcc_epilogue.h"
+#endif /* SPARSETENSOR_READER_H */
+#ifndef SPARSETENSOR_BUILDER_H
+#define SPARSETENSOR_BUILDER_H
-static int org_apache_arrow_flatbuf_RecordBatch_verify_table(flatcc_table_verifier_descriptor_t *td)
-{
- int ret;
- if ((ret = flatcc_verify_field(td, 0, 8, 8) /* length */)) return ret;
- if ((ret = flatcc_verify_vector_field(td, 1, 0, 16, 8, INT64_C(268435455)) /* nodes */)) return ret;
- if ((ret = flatcc_verify_vector_field(td, 2, 0, 16, 8, INT64_C(268435455)) /* buffers */)) return ret;
- if ((ret = flatcc_verify_table_field(td, 3, 0, &org_apache_arrow_flatbuf_BodyCompression_verify_table) /* compression */)) return ret;
- return flatcc_verify_ok;
-}
+/* Generated by flatcc 0.6.2 FlatBuffers schema compiler for C by dvide.com */
-static inline int org_apache_arrow_flatbuf_RecordBatch_verify_as_root(const void *buf, size_t bufsiz)
-{
- return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_RecordBatch_identifier, &org_apache_arrow_flatbuf_RecordBatch_verify_table);
-}
+#ifndef SPARSETENSOR_READER_H
+#include "SparseTensor_reader.h"
+#endif
+#ifndef FLATBUFFERS_COMMON_BUILDER_H
+#include "flatbuffers_common_builder.h"
+#endif
+#ifndef TENSOR_BUILDER_H
+#include "Tensor_builder.h"
+#endif
+#include "flatcc/flatcc_prologue.h"
+#ifndef flatbuffers_identifier
+#define flatbuffers_identifier 0
+#endif
+#ifndef flatbuffers_extension
+#define flatbuffers_extension "bin"
+#endif
-static inline int org_apache_arrow_flatbuf_RecordBatch_verify_as_typed_root(const void *buf, size_t bufsiz)
-{
- return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_RecordBatch_type_identifier, &org_apache_arrow_flatbuf_RecordBatch_verify_table);
-}
+#define __org_apache_arrow_flatbuf_SparseMatrixCompressedAxis_formal_args , org_apache_arrow_flatbuf_SparseMatrixCompressedAxis_enum_t v0
+#define __org_apache_arrow_flatbuf_SparseMatrixCompressedAxis_call_args , v0
+__flatbuffers_build_scalar(flatbuffers_, org_apache_arrow_flatbuf_SparseMatrixCompressedAxis, org_apache_arrow_flatbuf_SparseMatrixCompressedAxis_enum_t)
-static inline int org_apache_arrow_flatbuf_RecordBatch_verify_as_root_with_identifier(const void *buf, size_t bufsiz, const char *fid)
-{
- return flatcc_verify_table_as_root(buf, bufsiz, fid, &org_apache_arrow_flatbuf_RecordBatch_verify_table);
-}
+typedef flatbuffers_union_ref_t org_apache_arrow_flatbuf_SparseTensorIndex_union_ref_t;
+typedef flatbuffers_union_vec_ref_t org_apache_arrow_flatbuf_SparseTensorIndex_union_vec_ref_t;
+static org_apache_arrow_flatbuf_SparseTensorIndex_union_ref_t org_apache_arrow_flatbuf_SparseTensorIndex_clone(flatbuffers_builder_t *B, org_apache_arrow_flatbuf_SparseTensorIndex_union_t t);
-static inline int org_apache_arrow_flatbuf_RecordBatch_verify_as_root_with_type_hash(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
-{
- return flatcc_verify_table_as_typed_root(buf, bufsiz, thash, &org_apache_arrow_flatbuf_RecordBatch_verify_table);
-}
+static const flatbuffers_voffset_t __org_apache_arrow_flatbuf_SparseTensorIndexCOO_required[] = { 0, 2, 0 };
+typedef flatbuffers_ref_t org_apache_arrow_flatbuf_SparseTensorIndexCOO_ref_t;
+static org_apache_arrow_flatbuf_SparseTensorIndexCOO_ref_t org_apache_arrow_flatbuf_SparseTensorIndexCOO_clone(flatbuffers_builder_t *B, org_apache_arrow_flatbuf_SparseTensorIndexCOO_table_t t);
+__flatbuffers_build_table(flatbuffers_, org_apache_arrow_flatbuf_SparseTensorIndexCOO, 4)
-static int org_apache_arrow_flatbuf_DictionaryBatch_verify_table(flatcc_table_verifier_descriptor_t *td)
-{
- int ret;
- if ((ret = flatcc_verify_field(td, 0, 8, 8) /* id */)) return ret;
- if ((ret = flatcc_verify_table_field(td, 1, 0, &org_apache_arrow_flatbuf_RecordBatch_verify_table) /* data */)) return ret;
- if ((ret = flatcc_verify_field(td, 2, 1, 1) /* isDelta */)) return ret;
- return flatcc_verify_ok;
-}
+static const flatbuffers_voffset_t __org_apache_arrow_flatbuf_SparseMatrixIndexCSX_required[] = { 1, 2, 3, 4, 0 };
+typedef flatbuffers_ref_t org_apache_arrow_flatbuf_SparseMatrixIndexCSX_ref_t;
+static org_apache_arrow_flatbuf_SparseMatrixIndexCSX_ref_t org_apache_arrow_flatbuf_SparseMatrixIndexCSX_clone(flatbuffers_builder_t *B, org_apache_arrow_flatbuf_SparseMatrixIndexCSX_table_t t);
+__flatbuffers_build_table(flatbuffers_, org_apache_arrow_flatbuf_SparseMatrixIndexCSX, 5)
-static inline int org_apache_arrow_flatbuf_DictionaryBatch_verify_as_root(const void *buf, size_t bufsiz)
+static const flatbuffers_voffset_t __org_apache_arrow_flatbuf_SparseTensorIndexCSF_required[] = { 0, 1, 2, 3, 4, 0 };
+typedef flatbuffers_ref_t org_apache_arrow_flatbuf_SparseTensorIndexCSF_ref_t;
+static org_apache_arrow_flatbuf_SparseTensorIndexCSF_ref_t org_apache_arrow_flatbuf_SparseTensorIndexCSF_clone(flatbuffers_builder_t *B, org_apache_arrow_flatbuf_SparseTensorIndexCSF_table_t t);
+__flatbuffers_build_table(flatbuffers_, org_apache_arrow_flatbuf_SparseTensorIndexCSF, 5)
+
+static const flatbuffers_voffset_t __org_apache_arrow_flatbuf_SparseTensor_required[] = { 1, 2, 5, 6, 0 };
+typedef flatbuffers_ref_t org_apache_arrow_flatbuf_SparseTensor_ref_t;
+static org_apache_arrow_flatbuf_SparseTensor_ref_t org_apache_arrow_flatbuf_SparseTensor_clone(flatbuffers_builder_t *B, org_apache_arrow_flatbuf_SparseTensor_table_t t);
+__flatbuffers_build_table(flatbuffers_, org_apache_arrow_flatbuf_SparseTensor, 7)
+
+#define __org_apache_arrow_flatbuf_SparseTensorIndexCOO_formal_args , org_apache_arrow_flatbuf_Int_ref_t v0, flatbuffers_int64_vec_ref_t v1, org_apache_arrow_flatbuf_Buffer_t *v2, flatbuffers_bool_t v3
+#define __org_apache_arrow_flatbuf_SparseTensorIndexCOO_call_args , v0, v1, v2, v3
+static inline org_apache_arrow_flatbuf_SparseTensorIndexCOO_ref_t org_apache_arrow_flatbuf_SparseTensorIndexCOO_create(flatbuffers_builder_t *B __org_apache_arrow_flatbuf_SparseTensorIndexCOO_formal_args);
+__flatbuffers_build_table_prolog(flatbuffers_, org_apache_arrow_flatbuf_SparseTensorIndexCOO, org_apache_arrow_flatbuf_SparseTensorIndexCOO_file_identifier, org_apache_arrow_flatbuf_SparseTensorIndexCOO_type_identifier)
+
+#define __org_apache_arrow_flatbuf_SparseMatrixIndexCSX_formal_args ,\
+ org_apache_arrow_flatbuf_SparseMatrixCompressedAxis_enum_t v0, org_apache_arrow_flatbuf_Int_ref_t v1, org_apache_arrow_flatbuf_Buffer_t *v2, org_apache_arrow_flatbuf_Int_ref_t v3, org_apache_arrow_flatbuf_Buffer_t *v4
+#define __org_apache_arrow_flatbuf_SparseMatrixIndexCSX_call_args ,\
+ v0, v1, v2, v3, v4
+static inline org_apache_arrow_flatbuf_SparseMatrixIndexCSX_ref_t org_apache_arrow_flatbuf_SparseMatrixIndexCSX_create(flatbuffers_builder_t *B __org_apache_arrow_flatbuf_SparseMatrixIndexCSX_formal_args);
+__flatbuffers_build_table_prolog(flatbuffers_, org_apache_arrow_flatbuf_SparseMatrixIndexCSX, org_apache_arrow_flatbuf_SparseMatrixIndexCSX_file_identifier, org_apache_arrow_flatbuf_SparseMatrixIndexCSX_type_identifier)
+
+#define __org_apache_arrow_flatbuf_SparseTensorIndexCSF_formal_args ,\
+ org_apache_arrow_flatbuf_Int_ref_t v0, org_apache_arrow_flatbuf_Buffer_vec_ref_t v1, org_apache_arrow_flatbuf_Int_ref_t v2, org_apache_arrow_flatbuf_Buffer_vec_ref_t v3, flatbuffers_int32_vec_ref_t v4
+#define __org_apache_arrow_flatbuf_SparseTensorIndexCSF_call_args ,\
+ v0, v1, v2, v3, v4
+static inline org_apache_arrow_flatbuf_SparseTensorIndexCSF_ref_t org_apache_arrow_flatbuf_SparseTensorIndexCSF_create(flatbuffers_builder_t *B __org_apache_arrow_flatbuf_SparseTensorIndexCSF_formal_args);
+__flatbuffers_build_table_prolog(flatbuffers_, org_apache_arrow_flatbuf_SparseTensorIndexCSF, org_apache_arrow_flatbuf_SparseTensorIndexCSF_file_identifier, org_apache_arrow_flatbuf_SparseTensorIndexCSF_type_identifier)
+
+#define __org_apache_arrow_flatbuf_SparseTensor_formal_args ,\
+ org_apache_arrow_flatbuf_Type_union_ref_t v1, org_apache_arrow_flatbuf_TensorDim_vec_ref_t v2, int64_t v3, org_apache_arrow_flatbuf_SparseTensorIndex_union_ref_t v5, org_apache_arrow_flatbuf_Buffer_t *v6
+#define __org_apache_arrow_flatbuf_SparseTensor_call_args ,\
+ v1, v2, v3, v5, v6
+static inline org_apache_arrow_flatbuf_SparseTensor_ref_t org_apache_arrow_flatbuf_SparseTensor_create(flatbuffers_builder_t *B __org_apache_arrow_flatbuf_SparseTensor_formal_args);
+__flatbuffers_build_table_prolog(flatbuffers_, org_apache_arrow_flatbuf_SparseTensor, org_apache_arrow_flatbuf_SparseTensor_file_identifier, org_apache_arrow_flatbuf_SparseTensor_type_identifier)
+
+static inline org_apache_arrow_flatbuf_SparseTensorIndex_union_ref_t org_apache_arrow_flatbuf_SparseTensorIndex_as_NONE(void)
+{ org_apache_arrow_flatbuf_SparseTensorIndex_union_ref_t uref; uref.type = org_apache_arrow_flatbuf_SparseTensorIndex_NONE; uref.value = 0; return uref; }
+static inline org_apache_arrow_flatbuf_SparseTensorIndex_union_ref_t org_apache_arrow_flatbuf_SparseTensorIndex_as_SparseTensorIndexCOO(org_apache_arrow_flatbuf_SparseTensorIndexCOO_ref_t ref)
+{ org_apache_arrow_flatbuf_SparseTensorIndex_union_ref_t uref; uref.type = org_apache_arrow_flatbuf_SparseTensorIndex_SparseTensorIndexCOO; uref.value = ref; return uref; }
+static inline org_apache_arrow_flatbuf_SparseTensorIndex_union_ref_t org_apache_arrow_flatbuf_SparseTensorIndex_as_SparseMatrixIndexCSX(org_apache_arrow_flatbuf_SparseMatrixIndexCSX_ref_t ref)
+{ org_apache_arrow_flatbuf_SparseTensorIndex_union_ref_t uref; uref.type = org_apache_arrow_flatbuf_SparseTensorIndex_SparseMatrixIndexCSX; uref.value = ref; return uref; }
+static inline org_apache_arrow_flatbuf_SparseTensorIndex_union_ref_t org_apache_arrow_flatbuf_SparseTensorIndex_as_SparseTensorIndexCSF(org_apache_arrow_flatbuf_SparseTensorIndexCSF_ref_t ref)
+{ org_apache_arrow_flatbuf_SparseTensorIndex_union_ref_t uref; uref.type = org_apache_arrow_flatbuf_SparseTensorIndex_SparseTensorIndexCSF; uref.value = ref; return uref; }
+__flatbuffers_build_union_vector(flatbuffers_, org_apache_arrow_flatbuf_SparseTensorIndex)
+
+static org_apache_arrow_flatbuf_SparseTensorIndex_union_ref_t org_apache_arrow_flatbuf_SparseTensorIndex_clone(flatbuffers_builder_t *B, org_apache_arrow_flatbuf_SparseTensorIndex_union_t u)
{
- return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_DictionaryBatch_identifier, &org_apache_arrow_flatbuf_DictionaryBatch_verify_table);
+ switch (u.type) {
+ case 1: return org_apache_arrow_flatbuf_SparseTensorIndex_as_SparseTensorIndexCOO(org_apache_arrow_flatbuf_SparseTensorIndexCOO_clone(B, (org_apache_arrow_flatbuf_SparseTensorIndexCOO_table_t)u.value));
+ case 2: return org_apache_arrow_flatbuf_SparseTensorIndex_as_SparseMatrixIndexCSX(org_apache_arrow_flatbuf_SparseMatrixIndexCSX_clone(B, (org_apache_arrow_flatbuf_SparseMatrixIndexCSX_table_t)u.value));
+ case 3: return org_apache_arrow_flatbuf_SparseTensorIndex_as_SparseTensorIndexCSF(org_apache_arrow_flatbuf_SparseTensorIndexCSF_clone(B, (org_apache_arrow_flatbuf_SparseTensorIndexCSF_table_t)u.value));
+ default: return org_apache_arrow_flatbuf_SparseTensorIndex_as_NONE();
+ }
}
-static inline int org_apache_arrow_flatbuf_DictionaryBatch_verify_as_typed_root(const void *buf, size_t bufsiz)
+__flatbuffers_build_table_field(0, flatbuffers_, org_apache_arrow_flatbuf_SparseTensorIndexCOO_indicesType, org_apache_arrow_flatbuf_Int, org_apache_arrow_flatbuf_SparseTensorIndexCOO)
+__flatbuffers_build_vector_field(1, flatbuffers_, org_apache_arrow_flatbuf_SparseTensorIndexCOO_indicesStrides, flatbuffers_int64, int64_t, org_apache_arrow_flatbuf_SparseTensorIndexCOO)
+__flatbuffers_build_struct_field(2, flatbuffers_, org_apache_arrow_flatbuf_SparseTensorIndexCOO_indicesBuffer, org_apache_arrow_flatbuf_Buffer, 16, 8, org_apache_arrow_flatbuf_SparseTensorIndexCOO)
+__flatbuffers_build_scalar_field(3, flatbuffers_, org_apache_arrow_flatbuf_SparseTensorIndexCOO_isCanonical, flatbuffers_bool, flatbuffers_bool_t, 1, 1, UINT8_C(0), org_apache_arrow_flatbuf_SparseTensorIndexCOO)
+
+static inline org_apache_arrow_flatbuf_SparseTensorIndexCOO_ref_t org_apache_arrow_flatbuf_SparseTensorIndexCOO_create(flatbuffers_builder_t *B __org_apache_arrow_flatbuf_SparseTensorIndexCOO_formal_args)
{
- return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_DictionaryBatch_type_identifier, &org_apache_arrow_flatbuf_DictionaryBatch_verify_table);
+ if (org_apache_arrow_flatbuf_SparseTensorIndexCOO_start(B)
+ || org_apache_arrow_flatbuf_SparseTensorIndexCOO_indicesBuffer_add(B, v2)
+ || org_apache_arrow_flatbuf_SparseTensorIndexCOO_indicesType_add(B, v0)
+ || org_apache_arrow_flatbuf_SparseTensorIndexCOO_indicesStrides_add(B, v1)
+ || org_apache_arrow_flatbuf_SparseTensorIndexCOO_isCanonical_add(B, v3)) {
+ return 0;
+ }
+ return org_apache_arrow_flatbuf_SparseTensorIndexCOO_end(B);
}
-static inline int org_apache_arrow_flatbuf_DictionaryBatch_verify_as_root_with_identifier(const void *buf, size_t bufsiz, const char *fid)
+static org_apache_arrow_flatbuf_SparseTensorIndexCOO_ref_t org_apache_arrow_flatbuf_SparseTensorIndexCOO_clone(flatbuffers_builder_t *B, org_apache_arrow_flatbuf_SparseTensorIndexCOO_table_t t)
{
- return flatcc_verify_table_as_root(buf, bufsiz, fid, &org_apache_arrow_flatbuf_DictionaryBatch_verify_table);
+ __flatbuffers_memoize_begin(B, t);
+ if (org_apache_arrow_flatbuf_SparseTensorIndexCOO_start(B)
+ || org_apache_arrow_flatbuf_SparseTensorIndexCOO_indicesBuffer_pick(B, t)
+ || org_apache_arrow_flatbuf_SparseTensorIndexCOO_indicesType_pick(B, t)
+ || org_apache_arrow_flatbuf_SparseTensorIndexCOO_indicesStrides_pick(B, t)
+ || org_apache_arrow_flatbuf_SparseTensorIndexCOO_isCanonical_pick(B, t)) {
+ return 0;
+ }
+ __flatbuffers_memoize_end(B, t, org_apache_arrow_flatbuf_SparseTensorIndexCOO_end(B));
}
-static inline int org_apache_arrow_flatbuf_DictionaryBatch_verify_as_root_with_type_hash(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+__flatbuffers_build_scalar_field(0, flatbuffers_, org_apache_arrow_flatbuf_SparseMatrixIndexCSX_compressedAxis, org_apache_arrow_flatbuf_SparseMatrixCompressedAxis, org_apache_arrow_flatbuf_SparseMatrixCompressedAxis_enum_t, 2, 2, INT16_C(0), org_apache_arrow_flatbuf_SparseMatrixIndexCSX)
+__flatbuffers_build_table_field(1, flatbuffers_, org_apache_arrow_flatbuf_SparseMatrixIndexCSX_indptrType, org_apache_arrow_flatbuf_Int, org_apache_arrow_flatbuf_SparseMatrixIndexCSX)
+__flatbuffers_build_struct_field(2, flatbuffers_, org_apache_arrow_flatbuf_SparseMatrixIndexCSX_indptrBuffer, org_apache_arrow_flatbuf_Buffer, 16, 8, org_apache_arrow_flatbuf_SparseMatrixIndexCSX)
+__flatbuffers_build_table_field(3, flatbuffers_, org_apache_arrow_flatbuf_SparseMatrixIndexCSX_indicesType, org_apache_arrow_flatbuf_Int, org_apache_arrow_flatbuf_SparseMatrixIndexCSX)
+__flatbuffers_build_struct_field(4, flatbuffers_, org_apache_arrow_flatbuf_SparseMatrixIndexCSX_indicesBuffer, org_apache_arrow_flatbuf_Buffer, 16, 8, org_apache_arrow_flatbuf_SparseMatrixIndexCSX)
+
+static inline org_apache_arrow_flatbuf_SparseMatrixIndexCSX_ref_t org_apache_arrow_flatbuf_SparseMatrixIndexCSX_create(flatbuffers_builder_t *B __org_apache_arrow_flatbuf_SparseMatrixIndexCSX_formal_args)
{
- return flatcc_verify_table_as_typed_root(buf, bufsiz, thash, &org_apache_arrow_flatbuf_DictionaryBatch_verify_table);
+ if (org_apache_arrow_flatbuf_SparseMatrixIndexCSX_start(B)
+ || org_apache_arrow_flatbuf_SparseMatrixIndexCSX_indptrBuffer_add(B, v2)
+ || org_apache_arrow_flatbuf_SparseMatrixIndexCSX_indicesBuffer_add(B, v4)
+ || org_apache_arrow_flatbuf_SparseMatrixIndexCSX_indptrType_add(B, v1)
+ || org_apache_arrow_flatbuf_SparseMatrixIndexCSX_indicesType_add(B, v3)
+ || org_apache_arrow_flatbuf_SparseMatrixIndexCSX_compressedAxis_add(B, v0)) {
+ return 0;
+ }
+ return org_apache_arrow_flatbuf_SparseMatrixIndexCSX_end(B);
}
-static int org_apache_arrow_flatbuf_Message_verify_table(flatcc_table_verifier_descriptor_t *td)
+static org_apache_arrow_flatbuf_SparseMatrixIndexCSX_ref_t org_apache_arrow_flatbuf_SparseMatrixIndexCSX_clone(flatbuffers_builder_t *B, org_apache_arrow_flatbuf_SparseMatrixIndexCSX_table_t t)
{
- int ret;
- if ((ret = flatcc_verify_field(td, 0, 2, 2) /* version */)) return ret;
- if ((ret = flatcc_verify_union_field(td, 2, 0, &org_apache_arrow_flatbuf_MessageHeader_union_verifier) /* header */)) return ret;
- if ((ret = flatcc_verify_field(td, 3, 8, 8) /* bodyLength */)) return ret;
- if ((ret = flatcc_verify_table_vector_field(td, 4, 0, &org_apache_arrow_flatbuf_KeyValue_verify_table) /* custom_metadata */)) return ret;
- return flatcc_verify_ok;
+ __flatbuffers_memoize_begin(B, t);
+ if (org_apache_arrow_flatbuf_SparseMatrixIndexCSX_start(B)
+ || org_apache_arrow_flatbuf_SparseMatrixIndexCSX_indptrBuffer_pick(B, t)
+ || org_apache_arrow_flatbuf_SparseMatrixIndexCSX_indicesBuffer_pick(B, t)
+ || org_apache_arrow_flatbuf_SparseMatrixIndexCSX_indptrType_pick(B, t)
+ || org_apache_arrow_flatbuf_SparseMatrixIndexCSX_indicesType_pick(B, t)
+ || org_apache_arrow_flatbuf_SparseMatrixIndexCSX_compressedAxis_pick(B, t)) {
+ return 0;
+ }
+ __flatbuffers_memoize_end(B, t, org_apache_arrow_flatbuf_SparseMatrixIndexCSX_end(B));
}
-static inline int org_apache_arrow_flatbuf_Message_verify_as_root(const void *buf, size_t bufsiz)
+__flatbuffers_build_table_field(0, flatbuffers_, org_apache_arrow_flatbuf_SparseTensorIndexCSF_indptrType, org_apache_arrow_flatbuf_Int, org_apache_arrow_flatbuf_SparseTensorIndexCSF)
+__flatbuffers_build_vector_field(1, flatbuffers_, org_apache_arrow_flatbuf_SparseTensorIndexCSF_indptrBuffers, org_apache_arrow_flatbuf_Buffer, org_apache_arrow_flatbuf_Buffer_t, org_apache_arrow_flatbuf_SparseTensorIndexCSF)
+__flatbuffers_build_table_field(2, flatbuffers_, org_apache_arrow_flatbuf_SparseTensorIndexCSF_indicesType, org_apache_arrow_flatbuf_Int, org_apache_arrow_flatbuf_SparseTensorIndexCSF)
+__flatbuffers_build_vector_field(3, flatbuffers_, org_apache_arrow_flatbuf_SparseTensorIndexCSF_indicesBuffers, org_apache_arrow_flatbuf_Buffer, org_apache_arrow_flatbuf_Buffer_t, org_apache_arrow_flatbuf_SparseTensorIndexCSF)
+__flatbuffers_build_vector_field(4, flatbuffers_, org_apache_arrow_flatbuf_SparseTensorIndexCSF_axisOrder, flatbuffers_int32, int32_t, org_apache_arrow_flatbuf_SparseTensorIndexCSF)
+
+static inline org_apache_arrow_flatbuf_SparseTensorIndexCSF_ref_t org_apache_arrow_flatbuf_SparseTensorIndexCSF_create(flatbuffers_builder_t *B __org_apache_arrow_flatbuf_SparseTensorIndexCSF_formal_args)
{
- return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_Message_identifier, &org_apache_arrow_flatbuf_Message_verify_table);
+ if (org_apache_arrow_flatbuf_SparseTensorIndexCSF_start(B)
+ || org_apache_arrow_flatbuf_SparseTensorIndexCSF_indptrType_add(B, v0)
+ || org_apache_arrow_flatbuf_SparseTensorIndexCSF_indptrBuffers_add(B, v1)
+ || org_apache_arrow_flatbuf_SparseTensorIndexCSF_indicesType_add(B, v2)
+ || org_apache_arrow_flatbuf_SparseTensorIndexCSF_indicesBuffers_add(B, v3)
+ || org_apache_arrow_flatbuf_SparseTensorIndexCSF_axisOrder_add(B, v4)) {
+ return 0;
+ }
+ return org_apache_arrow_flatbuf_SparseTensorIndexCSF_end(B);
}
-static inline int org_apache_arrow_flatbuf_Message_verify_as_typed_root(const void *buf, size_t bufsiz)
+static org_apache_arrow_flatbuf_SparseTensorIndexCSF_ref_t org_apache_arrow_flatbuf_SparseTensorIndexCSF_clone(flatbuffers_builder_t *B, org_apache_arrow_flatbuf_SparseTensorIndexCSF_table_t t)
{
- return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_Message_type_identifier, &org_apache_arrow_flatbuf_Message_verify_table);
+ __flatbuffers_memoize_begin(B, t);
+ if (org_apache_arrow_flatbuf_SparseTensorIndexCSF_start(B)
+ || org_apache_arrow_flatbuf_SparseTensorIndexCSF_indptrType_pick(B, t)
+ || org_apache_arrow_flatbuf_SparseTensorIndexCSF_indptrBuffers_pick(B, t)
+ || org_apache_arrow_flatbuf_SparseTensorIndexCSF_indicesType_pick(B, t)
+ || org_apache_arrow_flatbuf_SparseTensorIndexCSF_indicesBuffers_pick(B, t)
+ || org_apache_arrow_flatbuf_SparseTensorIndexCSF_axisOrder_pick(B, t)) {
+ return 0;
+ }
+ __flatbuffers_memoize_end(B, t, org_apache_arrow_flatbuf_SparseTensorIndexCSF_end(B));
}
-static inline int org_apache_arrow_flatbuf_Message_verify_as_root_with_identifier(const void *buf, size_t bufsiz, const char *fid)
+__flatbuffers_build_union_field(1, flatbuffers_, org_apache_arrow_flatbuf_SparseTensor_type, org_apache_arrow_flatbuf_Type, org_apache_arrow_flatbuf_SparseTensor)
+__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_SparseTensor_type, org_apache_arrow_flatbuf_Type, Null, org_apache_arrow_flatbuf_Null)
+__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_SparseTensor_type, org_apache_arrow_flatbuf_Type, Int, org_apache_arrow_flatbuf_Int)
+__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_SparseTensor_type, org_apache_arrow_flatbuf_Type, FloatingPoint, org_apache_arrow_flatbuf_FloatingPoint)
+__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_SparseTensor_type, org_apache_arrow_flatbuf_Type, Binary, org_apache_arrow_flatbuf_Binary)
+__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_SparseTensor_type, org_apache_arrow_flatbuf_Type, Utf8, org_apache_arrow_flatbuf_Utf8)
+__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_SparseTensor_type, org_apache_arrow_flatbuf_Type, Bool, org_apache_arrow_flatbuf_Bool)
+__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_SparseTensor_type, org_apache_arrow_flatbuf_Type, Decimal, org_apache_arrow_flatbuf_Decimal)
+__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_SparseTensor_type, org_apache_arrow_flatbuf_Type, Date, org_apache_arrow_flatbuf_Date)
+__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_SparseTensor_type, org_apache_arrow_flatbuf_Type, Time, org_apache_arrow_flatbuf_Time)
+__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_SparseTensor_type, org_apache_arrow_flatbuf_Type, Timestamp, org_apache_arrow_flatbuf_Timestamp)
+__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_SparseTensor_type, org_apache_arrow_flatbuf_Type, Interval, org_apache_arrow_flatbuf_Interval)
+__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_SparseTensor_type, org_apache_arrow_flatbuf_Type, List, org_apache_arrow_flatbuf_List)
+__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_SparseTensor_type, org_apache_arrow_flatbuf_Type, Struct_, org_apache_arrow_flatbuf_Struct_)
+__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_SparseTensor_type, org_apache_arrow_flatbuf_Type, Union, org_apache_arrow_flatbuf_Union)
+__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_SparseTensor_type, org_apache_arrow_flatbuf_Type, FixedSizeBinary, org_apache_arrow_flatbuf_FixedSizeBinary)
+__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_SparseTensor_type, org_apache_arrow_flatbuf_Type, FixedSizeList, org_apache_arrow_flatbuf_FixedSizeList)
+__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_SparseTensor_type, org_apache_arrow_flatbuf_Type, Map, org_apache_arrow_flatbuf_Map)
+__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_SparseTensor_type, org_apache_arrow_flatbuf_Type, Duration, org_apache_arrow_flatbuf_Duration)
+__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_SparseTensor_type, org_apache_arrow_flatbuf_Type, LargeBinary, org_apache_arrow_flatbuf_LargeBinary)
+__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_SparseTensor_type, org_apache_arrow_flatbuf_Type, LargeUtf8, org_apache_arrow_flatbuf_LargeUtf8)
+__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_SparseTensor_type, org_apache_arrow_flatbuf_Type, LargeList, org_apache_arrow_flatbuf_LargeList)
+__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_SparseTensor_type, org_apache_arrow_flatbuf_Type, RunEndEncoded, org_apache_arrow_flatbuf_RunEndEncoded)
+__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_SparseTensor_type, org_apache_arrow_flatbuf_Type, BinaryView, org_apache_arrow_flatbuf_BinaryView)
+__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_SparseTensor_type, org_apache_arrow_flatbuf_Type, Utf8View, org_apache_arrow_flatbuf_Utf8View)
+__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_SparseTensor_type, org_apache_arrow_flatbuf_Type, ListView, org_apache_arrow_flatbuf_ListView)
+__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_SparseTensor_type, org_apache_arrow_flatbuf_Type, LargeListView, org_apache_arrow_flatbuf_LargeListView)
+__flatbuffers_build_table_vector_field(2, flatbuffers_, org_apache_arrow_flatbuf_SparseTensor_shape, org_apache_arrow_flatbuf_TensorDim, org_apache_arrow_flatbuf_SparseTensor)
+__flatbuffers_build_scalar_field(3, flatbuffers_, org_apache_arrow_flatbuf_SparseTensor_non_zero_length, flatbuffers_int64, int64_t, 8, 8, INT64_C(0), org_apache_arrow_flatbuf_SparseTensor)
+__flatbuffers_build_union_field(5, flatbuffers_, org_apache_arrow_flatbuf_SparseTensor_sparseIndex, org_apache_arrow_flatbuf_SparseTensorIndex, org_apache_arrow_flatbuf_SparseTensor)
+__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_SparseTensor_sparseIndex, org_apache_arrow_flatbuf_SparseTensorIndex, SparseTensorIndexCOO, org_apache_arrow_flatbuf_SparseTensorIndexCOO)
+__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_SparseTensor_sparseIndex, org_apache_arrow_flatbuf_SparseTensorIndex, SparseMatrixIndexCSX, org_apache_arrow_flatbuf_SparseMatrixIndexCSX)
+__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_SparseTensor_sparseIndex, org_apache_arrow_flatbuf_SparseTensorIndex, SparseTensorIndexCSF, org_apache_arrow_flatbuf_SparseTensorIndexCSF)
+__flatbuffers_build_struct_field(6, flatbuffers_, org_apache_arrow_flatbuf_SparseTensor_data, org_apache_arrow_flatbuf_Buffer, 16, 8, org_apache_arrow_flatbuf_SparseTensor)
+
+static inline org_apache_arrow_flatbuf_SparseTensor_ref_t org_apache_arrow_flatbuf_SparseTensor_create(flatbuffers_builder_t *B __org_apache_arrow_flatbuf_SparseTensor_formal_args)
{
- return flatcc_verify_table_as_root(buf, bufsiz, fid, &org_apache_arrow_flatbuf_Message_verify_table);
+ if (org_apache_arrow_flatbuf_SparseTensor_start(B)
+ || org_apache_arrow_flatbuf_SparseTensor_non_zero_length_add(B, v3)
+ || org_apache_arrow_flatbuf_SparseTensor_data_add(B, v6)
+ || org_apache_arrow_flatbuf_SparseTensor_type_add_value(B, v1)
+ || org_apache_arrow_flatbuf_SparseTensor_shape_add(B, v2)
+ || org_apache_arrow_flatbuf_SparseTensor_sparseIndex_add_value(B, v5)
+ || org_apache_arrow_flatbuf_SparseTensor_type_add_type(B, v1.type)
+ || org_apache_arrow_flatbuf_SparseTensor_sparseIndex_add_type(B, v5.type)) {
+ return 0;
+ }
+ return org_apache_arrow_flatbuf_SparseTensor_end(B);
}
-static inline int org_apache_arrow_flatbuf_Message_verify_as_root_with_type_hash(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+static org_apache_arrow_flatbuf_SparseTensor_ref_t org_apache_arrow_flatbuf_SparseTensor_clone(flatbuffers_builder_t *B, org_apache_arrow_flatbuf_SparseTensor_table_t t)
{
- return flatcc_verify_table_as_typed_root(buf, bufsiz, thash, &org_apache_arrow_flatbuf_Message_verify_table);
+ __flatbuffers_memoize_begin(B, t);
+ if (org_apache_arrow_flatbuf_SparseTensor_start(B)
+ || org_apache_arrow_flatbuf_SparseTensor_non_zero_length_pick(B, t)
+ || org_apache_arrow_flatbuf_SparseTensor_data_pick(B, t)
+ || org_apache_arrow_flatbuf_SparseTensor_type_pick(B, t)
+ || org_apache_arrow_flatbuf_SparseTensor_shape_pick(B, t)
+ || org_apache_arrow_flatbuf_SparseTensor_sparseIndex_pick(B, t)) {
+ return 0;
+ }
+ __flatbuffers_memoize_end(B, t, org_apache_arrow_flatbuf_SparseTensor_end(B));
}
#include "flatcc/flatcc_epilogue.h"
-#endif /* MESSAGE_VERIFIER_H */
-#ifndef SCHEMA_READER_H
-#define SCHEMA_READER_H
+#endif /* SPARSETENSOR_BUILDER_H */
+#ifndef SPARSETENSOR_VERIFIER_H
+#define SPARSETENSOR_VERIFIER_H
-/* Generated by flatcc 0.6.1 FlatBuffers schema compiler for C by dvide.com */
+/* Generated by flatcc 0.6.2 FlatBuffers schema compiler for C by dvide.com */
-#ifndef FLATBUFFERS_COMMON_READER_H
-#include "flatbuffers_common_reader.h"
+#ifndef SPARSETENSOR_READER_H
+#include "SparseTensor_reader.h"
#endif
-#include "flatcc/flatcc_flatbuffers.h"
-#ifndef __alignas_is_defined
-#include <stdalign.h>
+#include "flatcc/flatcc_verifier.h"
+#ifndef TENSOR_VERIFIER_H
+#include "Tensor_verifier.h"
#endif
#include "flatcc/flatcc_prologue.h"
-#ifndef flatbuffers_identifier
+
+static int org_apache_arrow_flatbuf_SparseTensorIndexCOO_verify_table(flatcc_table_verifier_descriptor_t *td);
+static int org_apache_arrow_flatbuf_SparseMatrixIndexCSX_verify_table(flatcc_table_verifier_descriptor_t *td);
+static int org_apache_arrow_flatbuf_SparseTensorIndexCSF_verify_table(flatcc_table_verifier_descriptor_t *td);
+static int org_apache_arrow_flatbuf_SparseTensor_verify_table(flatcc_table_verifier_descriptor_t *td);
+
+static int org_apache_arrow_flatbuf_SparseTensorIndex_union_verifier(flatcc_union_verifier_descriptor_t *ud)
+{
+ switch (ud->type) {
+ case 1: return flatcc_verify_union_table(ud, org_apache_arrow_flatbuf_SparseTensorIndexCOO_verify_table); /* SparseTensorIndexCOO */
+ case 2: return flatcc_verify_union_table(ud, org_apache_arrow_flatbuf_SparseMatrixIndexCSX_verify_table); /* SparseMatrixIndexCSX */
+ case 3: return flatcc_verify_union_table(ud, org_apache_arrow_flatbuf_SparseTensorIndexCSF_verify_table); /* SparseTensorIndexCSF */
+ default: return flatcc_verify_ok;
+ }
+}
+
+static int org_apache_arrow_flatbuf_SparseTensorIndexCOO_verify_table(flatcc_table_verifier_descriptor_t *td)
+{
+ int ret;
+ if ((ret = flatcc_verify_table_field(td, 0, 1, &org_apache_arrow_flatbuf_Int_verify_table) /* indicesType */)) return ret;
+ if ((ret = flatcc_verify_vector_field(td, 1, 0, 8, 8, INT64_C(536870911)) /* indicesStrides */)) return ret;
+ if ((ret = flatcc_verify_field(td, 2, 16, 8) /* indicesBuffer */)) return ret;
+ if ((ret = flatcc_verify_field(td, 3, 1, 1) /* isCanonical */)) return ret;
+ return flatcc_verify_ok;
+}
+
+static inline int org_apache_arrow_flatbuf_SparseTensorIndexCOO_verify_as_root(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_SparseTensorIndexCOO_identifier, &org_apache_arrow_flatbuf_SparseTensorIndexCOO_verify_table);
+}
+
+static inline int org_apache_arrow_flatbuf_SparseTensorIndexCOO_verify_as_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_SparseTensorIndexCOO_identifier, &org_apache_arrow_flatbuf_SparseTensorIndexCOO_verify_table);
+}
+
+static inline int org_apache_arrow_flatbuf_SparseTensorIndexCOO_verify_as_typed_root(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_SparseTensorIndexCOO_type_identifier, &org_apache_arrow_flatbuf_SparseTensorIndexCOO_verify_table);
+}
+
+static inline int org_apache_arrow_flatbuf_SparseTensorIndexCOO_verify_as_typed_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_SparseTensorIndexCOO_type_identifier, &org_apache_arrow_flatbuf_SparseTensorIndexCOO_verify_table);
+}
+
+static inline int org_apache_arrow_flatbuf_SparseTensorIndexCOO_verify_as_root_with_identifier(const void *buf, size_t bufsiz, const char *fid)
+{
+ return flatcc_verify_table_as_root(buf, bufsiz, fid, &org_apache_arrow_flatbuf_SparseTensorIndexCOO_verify_table);
+}
+
+static inline int org_apache_arrow_flatbuf_SparseTensorIndexCOO_verify_as_root_with_identifier_and_size(const void *buf, size_t bufsiz, const char *fid)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, fid, &org_apache_arrow_flatbuf_SparseTensorIndexCOO_verify_table);
+}
+
+static inline int org_apache_arrow_flatbuf_SparseTensorIndexCOO_verify_as_root_with_type_hash(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+{
+ return flatcc_verify_table_as_typed_root(buf, bufsiz, thash, &org_apache_arrow_flatbuf_SparseTensorIndexCOO_verify_table);
+}
+
+static inline int org_apache_arrow_flatbuf_SparseTensorIndexCOO_verify_as_root_with_type_hash_and_size(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+{
+ return flatcc_verify_table_as_typed_root_with_size(buf, bufsiz, thash, &org_apache_arrow_flatbuf_SparseTensorIndexCOO_verify_table);
+}
+
+static int org_apache_arrow_flatbuf_SparseMatrixIndexCSX_verify_table(flatcc_table_verifier_descriptor_t *td)
+{
+ int ret;
+ if ((ret = flatcc_verify_field(td, 0, 2, 2) /* compressedAxis */)) return ret;
+ if ((ret = flatcc_verify_table_field(td, 1, 1, &org_apache_arrow_flatbuf_Int_verify_table) /* indptrType */)) return ret;
+ if ((ret = flatcc_verify_field(td, 2, 16, 8) /* indptrBuffer */)) return ret;
+ if ((ret = flatcc_verify_table_field(td, 3, 1, &org_apache_arrow_flatbuf_Int_verify_table) /* indicesType */)) return ret;
+ if ((ret = flatcc_verify_field(td, 4, 16, 8) /* indicesBuffer */)) return ret;
+ return flatcc_verify_ok;
+}
+
+static inline int org_apache_arrow_flatbuf_SparseMatrixIndexCSX_verify_as_root(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_SparseMatrixIndexCSX_identifier, &org_apache_arrow_flatbuf_SparseMatrixIndexCSX_verify_table);
+}
+
+static inline int org_apache_arrow_flatbuf_SparseMatrixIndexCSX_verify_as_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_SparseMatrixIndexCSX_identifier, &org_apache_arrow_flatbuf_SparseMatrixIndexCSX_verify_table);
+}
+
+static inline int org_apache_arrow_flatbuf_SparseMatrixIndexCSX_verify_as_typed_root(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_SparseMatrixIndexCSX_type_identifier, &org_apache_arrow_flatbuf_SparseMatrixIndexCSX_verify_table);
+}
+
+static inline int org_apache_arrow_flatbuf_SparseMatrixIndexCSX_verify_as_typed_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_SparseMatrixIndexCSX_type_identifier, &org_apache_arrow_flatbuf_SparseMatrixIndexCSX_verify_table);
+}
+
+static inline int org_apache_arrow_flatbuf_SparseMatrixIndexCSX_verify_as_root_with_identifier(const void *buf, size_t bufsiz, const char *fid)
+{
+ return flatcc_verify_table_as_root(buf, bufsiz, fid, &org_apache_arrow_flatbuf_SparseMatrixIndexCSX_verify_table);
+}
+
+static inline int org_apache_arrow_flatbuf_SparseMatrixIndexCSX_verify_as_root_with_identifier_and_size(const void *buf, size_t bufsiz, const char *fid)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, fid, &org_apache_arrow_flatbuf_SparseMatrixIndexCSX_verify_table);
+}
+
+static inline int org_apache_arrow_flatbuf_SparseMatrixIndexCSX_verify_as_root_with_type_hash(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+{
+ return flatcc_verify_table_as_typed_root(buf, bufsiz, thash, &org_apache_arrow_flatbuf_SparseMatrixIndexCSX_verify_table);
+}
+
+static inline int org_apache_arrow_flatbuf_SparseMatrixIndexCSX_verify_as_root_with_type_hash_and_size(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+{
+ return flatcc_verify_table_as_typed_root_with_size(buf, bufsiz, thash, &org_apache_arrow_flatbuf_SparseMatrixIndexCSX_verify_table);
+}
+
+static int org_apache_arrow_flatbuf_SparseTensorIndexCSF_verify_table(flatcc_table_verifier_descriptor_t *td)
+{
+ int ret;
+ if ((ret = flatcc_verify_table_field(td, 0, 1, &org_apache_arrow_flatbuf_Int_verify_table) /* indptrType */)) return ret;
+ if ((ret = flatcc_verify_vector_field(td, 1, 1, 16, 8, INT64_C(268435455)) /* indptrBuffers */)) return ret;
+ if ((ret = flatcc_verify_table_field(td, 2, 1, &org_apache_arrow_flatbuf_Int_verify_table) /* indicesType */)) return ret;
+ if ((ret = flatcc_verify_vector_field(td, 3, 1, 16, 8, INT64_C(268435455)) /* indicesBuffers */)) return ret;
+ if ((ret = flatcc_verify_vector_field(td, 4, 1, 4, 4, INT64_C(1073741823)) /* axisOrder */)) return ret;
+ return flatcc_verify_ok;
+}
+
+static inline int org_apache_arrow_flatbuf_SparseTensorIndexCSF_verify_as_root(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_SparseTensorIndexCSF_identifier, &org_apache_arrow_flatbuf_SparseTensorIndexCSF_verify_table);
+}
+
+static inline int org_apache_arrow_flatbuf_SparseTensorIndexCSF_verify_as_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_SparseTensorIndexCSF_identifier, &org_apache_arrow_flatbuf_SparseTensorIndexCSF_verify_table);
+}
+
+static inline int org_apache_arrow_flatbuf_SparseTensorIndexCSF_verify_as_typed_root(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_SparseTensorIndexCSF_type_identifier, &org_apache_arrow_flatbuf_SparseTensorIndexCSF_verify_table);
+}
+
+static inline int org_apache_arrow_flatbuf_SparseTensorIndexCSF_verify_as_typed_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_SparseTensorIndexCSF_type_identifier, &org_apache_arrow_flatbuf_SparseTensorIndexCSF_verify_table);
+}
+
+static inline int org_apache_arrow_flatbuf_SparseTensorIndexCSF_verify_as_root_with_identifier(const void *buf, size_t bufsiz, const char *fid)
+{
+ return flatcc_verify_table_as_root(buf, bufsiz, fid, &org_apache_arrow_flatbuf_SparseTensorIndexCSF_verify_table);
+}
+
+static inline int org_apache_arrow_flatbuf_SparseTensorIndexCSF_verify_as_root_with_identifier_and_size(const void *buf, size_t bufsiz, const char *fid)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, fid, &org_apache_arrow_flatbuf_SparseTensorIndexCSF_verify_table);
+}
+
+static inline int org_apache_arrow_flatbuf_SparseTensorIndexCSF_verify_as_root_with_type_hash(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+{
+ return flatcc_verify_table_as_typed_root(buf, bufsiz, thash, &org_apache_arrow_flatbuf_SparseTensorIndexCSF_verify_table);
+}
+
+static inline int org_apache_arrow_flatbuf_SparseTensorIndexCSF_verify_as_root_with_type_hash_and_size(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+{
+ return flatcc_verify_table_as_typed_root_with_size(buf, bufsiz, thash, &org_apache_arrow_flatbuf_SparseTensorIndexCSF_verify_table);
+}
+
+static int org_apache_arrow_flatbuf_SparseTensor_verify_table(flatcc_table_verifier_descriptor_t *td)
+{
+ int ret;
+ if ((ret = flatcc_verify_union_field(td, 1, 1, &org_apache_arrow_flatbuf_Type_union_verifier) /* type */)) return ret;
+ if ((ret = flatcc_verify_table_vector_field(td, 2, 1, &org_apache_arrow_flatbuf_TensorDim_verify_table) /* shape */)) return ret;
+ if ((ret = flatcc_verify_field(td, 3, 8, 8) /* non_zero_length */)) return ret;
+ if ((ret = flatcc_verify_union_field(td, 5, 1, &org_apache_arrow_flatbuf_SparseTensorIndex_union_verifier) /* sparseIndex */)) return ret;
+ if ((ret = flatcc_verify_field(td, 6, 16, 8) /* data */)) return ret;
+ return flatcc_verify_ok;
+}
+
+static inline int org_apache_arrow_flatbuf_SparseTensor_verify_as_root(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_SparseTensor_identifier, &org_apache_arrow_flatbuf_SparseTensor_verify_table);
+}
+
+static inline int org_apache_arrow_flatbuf_SparseTensor_verify_as_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_SparseTensor_identifier, &org_apache_arrow_flatbuf_SparseTensor_verify_table);
+}
+
+static inline int org_apache_arrow_flatbuf_SparseTensor_verify_as_typed_root(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_SparseTensor_type_identifier, &org_apache_arrow_flatbuf_SparseTensor_verify_table);
+}
+
+static inline int org_apache_arrow_flatbuf_SparseTensor_verify_as_typed_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_SparseTensor_type_identifier, &org_apache_arrow_flatbuf_SparseTensor_verify_table);
+}
+
+static inline int org_apache_arrow_flatbuf_SparseTensor_verify_as_root_with_identifier(const void *buf, size_t bufsiz, const char *fid)
+{
+ return flatcc_verify_table_as_root(buf, bufsiz, fid, &org_apache_arrow_flatbuf_SparseTensor_verify_table);
+}
+
+static inline int org_apache_arrow_flatbuf_SparseTensor_verify_as_root_with_identifier_and_size(const void *buf, size_t bufsiz, const char *fid)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, fid, &org_apache_arrow_flatbuf_SparseTensor_verify_table);
+}
+
+static inline int org_apache_arrow_flatbuf_SparseTensor_verify_as_root_with_type_hash(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+{
+ return flatcc_verify_table_as_typed_root(buf, bufsiz, thash, &org_apache_arrow_flatbuf_SparseTensor_verify_table);
+}
+
+static inline int org_apache_arrow_flatbuf_SparseTensor_verify_as_root_with_type_hash_and_size(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+{
+ return flatcc_verify_table_as_typed_root_with_size(buf, bufsiz, thash, &org_apache_arrow_flatbuf_SparseTensor_verify_table);
+}
+
+#include "flatcc/flatcc_epilogue.h"
+#endif /* SPARSETENSOR_VERIFIER_H */
+#ifndef MESSAGE_READER_H
+#define MESSAGE_READER_H
+
+/* Generated by flatcc 0.6.2 FlatBuffers schema compiler for C by dvide.com */
+
+#ifndef FLATBUFFERS_COMMON_READER_H
+#include "flatbuffers_common_reader.h"
+#endif
+#ifndef TENSOR_READER_H
+#include "Tensor_reader.h"
+#endif
+#ifndef SPARSETENSOR_READER_H
+#include "SparseTensor_reader.h"
+#endif
+#ifndef SCHEMA_READER_H
+#include "Schema_reader.h"
+#endif
+#include "flatcc/flatcc_flatbuffers.h"
+#ifndef __alignas_is_defined
+#include <stdalign.h>
+#endif
+#include "flatcc/flatcc_prologue.h"
+#ifndef flatbuffers_identifier
#define flatbuffers_identifier 0
#endif
#ifndef flatbuffers_extension
#define flatbuffers_extension "bin"
#endif
-typedef struct org_apache_arrow_flatbuf_Buffer org_apache_arrow_flatbuf_Buffer_t;
-typedef const org_apache_arrow_flatbuf_Buffer_t *org_apache_arrow_flatbuf_Buffer_struct_t;
-typedef org_apache_arrow_flatbuf_Buffer_t *org_apache_arrow_flatbuf_Buffer_mutable_struct_t;
-typedef const org_apache_arrow_flatbuf_Buffer_t *org_apache_arrow_flatbuf_Buffer_vec_t;
-typedef org_apache_arrow_flatbuf_Buffer_t *org_apache_arrow_flatbuf_Buffer_mutable_vec_t;
+typedef struct org_apache_arrow_flatbuf_FieldNode org_apache_arrow_flatbuf_FieldNode_t;
+typedef const org_apache_arrow_flatbuf_FieldNode_t *org_apache_arrow_flatbuf_FieldNode_struct_t;
+typedef org_apache_arrow_flatbuf_FieldNode_t *org_apache_arrow_flatbuf_FieldNode_mutable_struct_t;
+typedef const org_apache_arrow_flatbuf_FieldNode_t *org_apache_arrow_flatbuf_FieldNode_vec_t;
+typedef org_apache_arrow_flatbuf_FieldNode_t *org_apache_arrow_flatbuf_FieldNode_mutable_vec_t;
-typedef const struct org_apache_arrow_flatbuf_Null_table *org_apache_arrow_flatbuf_Null_table_t;
-typedef struct org_apache_arrow_flatbuf_Null_table *org_apache_arrow_flatbuf_Null_mutable_table_t;
-typedef const flatbuffers_uoffset_t *org_apache_arrow_flatbuf_Null_vec_t;
-typedef flatbuffers_uoffset_t *org_apache_arrow_flatbuf_Null_mutable_vec_t;
-typedef const struct org_apache_arrow_flatbuf_Struct__table *org_apache_arrow_flatbuf_Struct__table_t;
-typedef struct org_apache_arrow_flatbuf_Struct__table *org_apache_arrow_flatbuf_Struct__mutable_table_t;
-typedef const flatbuffers_uoffset_t *org_apache_arrow_flatbuf_Struct__vec_t;
-typedef flatbuffers_uoffset_t *org_apache_arrow_flatbuf_Struct__mutable_vec_t;
-typedef const struct org_apache_arrow_flatbuf_List_table *org_apache_arrow_flatbuf_List_table_t;
-typedef struct org_apache_arrow_flatbuf_List_table *org_apache_arrow_flatbuf_List_mutable_table_t;
-typedef const flatbuffers_uoffset_t *org_apache_arrow_flatbuf_List_vec_t;
-typedef flatbuffers_uoffset_t *org_apache_arrow_flatbuf_List_mutable_vec_t;
-typedef const struct org_apache_arrow_flatbuf_LargeList_table *org_apache_arrow_flatbuf_LargeList_table_t;
-typedef struct org_apache_arrow_flatbuf_LargeList_table *org_apache_arrow_flatbuf_LargeList_mutable_table_t;
-typedef const flatbuffers_uoffset_t *org_apache_arrow_flatbuf_LargeList_vec_t;
-typedef flatbuffers_uoffset_t *org_apache_arrow_flatbuf_LargeList_mutable_vec_t;
-typedef const struct org_apache_arrow_flatbuf_FixedSizeList_table *org_apache_arrow_flatbuf_FixedSizeList_table_t;
-typedef struct org_apache_arrow_flatbuf_FixedSizeList_table *org_apache_arrow_flatbuf_FixedSizeList_mutable_table_t;
-typedef const flatbuffers_uoffset_t *org_apache_arrow_flatbuf_FixedSizeList_vec_t;
-typedef flatbuffers_uoffset_t *org_apache_arrow_flatbuf_FixedSizeList_mutable_vec_t;
-typedef const struct org_apache_arrow_flatbuf_Map_table *org_apache_arrow_flatbuf_Map_table_t;
-typedef struct org_apache_arrow_flatbuf_Map_table *org_apache_arrow_flatbuf_Map_mutable_table_t;
-typedef const flatbuffers_uoffset_t *org_apache_arrow_flatbuf_Map_vec_t;
-typedef flatbuffers_uoffset_t *org_apache_arrow_flatbuf_Map_mutable_vec_t;
-typedef const struct org_apache_arrow_flatbuf_Union_table *org_apache_arrow_flatbuf_Union_table_t;
-typedef struct org_apache_arrow_flatbuf_Union_table *org_apache_arrow_flatbuf_Union_mutable_table_t;
-typedef const flatbuffers_uoffset_t *org_apache_arrow_flatbuf_Union_vec_t;
-typedef flatbuffers_uoffset_t *org_apache_arrow_flatbuf_Union_mutable_vec_t;
-typedef const struct org_apache_arrow_flatbuf_Int_table *org_apache_arrow_flatbuf_Int_table_t;
-typedef struct org_apache_arrow_flatbuf_Int_table *org_apache_arrow_flatbuf_Int_mutable_table_t;
-typedef const flatbuffers_uoffset_t *org_apache_arrow_flatbuf_Int_vec_t;
-typedef flatbuffers_uoffset_t *org_apache_arrow_flatbuf_Int_mutable_vec_t;
-typedef const struct org_apache_arrow_flatbuf_FloatingPoint_table *org_apache_arrow_flatbuf_FloatingPoint_table_t;
-typedef struct org_apache_arrow_flatbuf_FloatingPoint_table *org_apache_arrow_flatbuf_FloatingPoint_mutable_table_t;
-typedef const flatbuffers_uoffset_t *org_apache_arrow_flatbuf_FloatingPoint_vec_t;
-typedef flatbuffers_uoffset_t *org_apache_arrow_flatbuf_FloatingPoint_mutable_vec_t;
-typedef const struct org_apache_arrow_flatbuf_Utf8_table *org_apache_arrow_flatbuf_Utf8_table_t;
-typedef struct org_apache_arrow_flatbuf_Utf8_table *org_apache_arrow_flatbuf_Utf8_mutable_table_t;
-typedef const flatbuffers_uoffset_t *org_apache_arrow_flatbuf_Utf8_vec_t;
-typedef flatbuffers_uoffset_t *org_apache_arrow_flatbuf_Utf8_mutable_vec_t;
-typedef const struct org_apache_arrow_flatbuf_Binary_table *org_apache_arrow_flatbuf_Binary_table_t;
-typedef struct org_apache_arrow_flatbuf_Binary_table *org_apache_arrow_flatbuf_Binary_mutable_table_t;
-typedef const flatbuffers_uoffset_t *org_apache_arrow_flatbuf_Binary_vec_t;
-typedef flatbuffers_uoffset_t *org_apache_arrow_flatbuf_Binary_mutable_vec_t;
-typedef const struct org_apache_arrow_flatbuf_LargeUtf8_table *org_apache_arrow_flatbuf_LargeUtf8_table_t;
-typedef struct org_apache_arrow_flatbuf_LargeUtf8_table *org_apache_arrow_flatbuf_LargeUtf8_mutable_table_t;
-typedef const flatbuffers_uoffset_t *org_apache_arrow_flatbuf_LargeUtf8_vec_t;
-typedef flatbuffers_uoffset_t *org_apache_arrow_flatbuf_LargeUtf8_mutable_vec_t;
-typedef const struct org_apache_arrow_flatbuf_LargeBinary_table *org_apache_arrow_flatbuf_LargeBinary_table_t;
-typedef struct org_apache_arrow_flatbuf_LargeBinary_table *org_apache_arrow_flatbuf_LargeBinary_mutable_table_t;
-typedef const flatbuffers_uoffset_t *org_apache_arrow_flatbuf_LargeBinary_vec_t;
-typedef flatbuffers_uoffset_t *org_apache_arrow_flatbuf_LargeBinary_mutable_vec_t;
-typedef const struct org_apache_arrow_flatbuf_FixedSizeBinary_table *org_apache_arrow_flatbuf_FixedSizeBinary_table_t;
-typedef struct org_apache_arrow_flatbuf_FixedSizeBinary_table *org_apache_arrow_flatbuf_FixedSizeBinary_mutable_table_t;
-typedef const flatbuffers_uoffset_t *org_apache_arrow_flatbuf_FixedSizeBinary_vec_t;
-typedef flatbuffers_uoffset_t *org_apache_arrow_flatbuf_FixedSizeBinary_mutable_vec_t;
-typedef const struct org_apache_arrow_flatbuf_Bool_table *org_apache_arrow_flatbuf_Bool_table_t;
-typedef struct org_apache_arrow_flatbuf_Bool_table *org_apache_arrow_flatbuf_Bool_mutable_table_t;
-typedef const flatbuffers_uoffset_t *org_apache_arrow_flatbuf_Bool_vec_t;
-typedef flatbuffers_uoffset_t *org_apache_arrow_flatbuf_Bool_mutable_vec_t;
-typedef const struct org_apache_arrow_flatbuf_RunEndEncoded_table *org_apache_arrow_flatbuf_RunEndEncoded_table_t;
-typedef struct org_apache_arrow_flatbuf_RunEndEncoded_table *org_apache_arrow_flatbuf_RunEndEncoded_mutable_table_t;
-typedef const flatbuffers_uoffset_t *org_apache_arrow_flatbuf_RunEndEncoded_vec_t;
-typedef flatbuffers_uoffset_t *org_apache_arrow_flatbuf_RunEndEncoded_mutable_vec_t;
-typedef const struct org_apache_arrow_flatbuf_Decimal_table *org_apache_arrow_flatbuf_Decimal_table_t;
-typedef struct org_apache_arrow_flatbuf_Decimal_table *org_apache_arrow_flatbuf_Decimal_mutable_table_t;
-typedef const flatbuffers_uoffset_t *org_apache_arrow_flatbuf_Decimal_vec_t;
-typedef flatbuffers_uoffset_t *org_apache_arrow_flatbuf_Decimal_mutable_vec_t;
-typedef const struct org_apache_arrow_flatbuf_Date_table *org_apache_arrow_flatbuf_Date_table_t;
-typedef struct org_apache_arrow_flatbuf_Date_table *org_apache_arrow_flatbuf_Date_mutable_table_t;
-typedef const flatbuffers_uoffset_t *org_apache_arrow_flatbuf_Date_vec_t;
-typedef flatbuffers_uoffset_t *org_apache_arrow_flatbuf_Date_mutable_vec_t;
-typedef const struct org_apache_arrow_flatbuf_Time_table *org_apache_arrow_flatbuf_Time_table_t;
-typedef struct org_apache_arrow_flatbuf_Time_table *org_apache_arrow_flatbuf_Time_mutable_table_t;
-typedef const flatbuffers_uoffset_t *org_apache_arrow_flatbuf_Time_vec_t;
-typedef flatbuffers_uoffset_t *org_apache_arrow_flatbuf_Time_mutable_vec_t;
-typedef const struct org_apache_arrow_flatbuf_Timestamp_table *org_apache_arrow_flatbuf_Timestamp_table_t;
-typedef struct org_apache_arrow_flatbuf_Timestamp_table *org_apache_arrow_flatbuf_Timestamp_mutable_table_t;
-typedef const flatbuffers_uoffset_t *org_apache_arrow_flatbuf_Timestamp_vec_t;
-typedef flatbuffers_uoffset_t *org_apache_arrow_flatbuf_Timestamp_mutable_vec_t;
-typedef const struct org_apache_arrow_flatbuf_Interval_table *org_apache_arrow_flatbuf_Interval_table_t;
-typedef struct org_apache_arrow_flatbuf_Interval_table *org_apache_arrow_flatbuf_Interval_mutable_table_t;
-typedef const flatbuffers_uoffset_t *org_apache_arrow_flatbuf_Interval_vec_t;
-typedef flatbuffers_uoffset_t *org_apache_arrow_flatbuf_Interval_mutable_vec_t;
-typedef const struct org_apache_arrow_flatbuf_Duration_table *org_apache_arrow_flatbuf_Duration_table_t;
-typedef struct org_apache_arrow_flatbuf_Duration_table *org_apache_arrow_flatbuf_Duration_mutable_table_t;
-typedef const flatbuffers_uoffset_t *org_apache_arrow_flatbuf_Duration_vec_t;
-typedef flatbuffers_uoffset_t *org_apache_arrow_flatbuf_Duration_mutable_vec_t;
-typedef const struct org_apache_arrow_flatbuf_KeyValue_table *org_apache_arrow_flatbuf_KeyValue_table_t;
-typedef struct org_apache_arrow_flatbuf_KeyValue_table *org_apache_arrow_flatbuf_KeyValue_mutable_table_t;
-typedef const flatbuffers_uoffset_t *org_apache_arrow_flatbuf_KeyValue_vec_t;
-typedef flatbuffers_uoffset_t *org_apache_arrow_flatbuf_KeyValue_mutable_vec_t;
-typedef const struct org_apache_arrow_flatbuf_DictionaryEncoding_table *org_apache_arrow_flatbuf_DictionaryEncoding_table_t;
-typedef struct org_apache_arrow_flatbuf_DictionaryEncoding_table *org_apache_arrow_flatbuf_DictionaryEncoding_mutable_table_t;
-typedef const flatbuffers_uoffset_t *org_apache_arrow_flatbuf_DictionaryEncoding_vec_t;
-typedef flatbuffers_uoffset_t *org_apache_arrow_flatbuf_DictionaryEncoding_mutable_vec_t;
-typedef const struct org_apache_arrow_flatbuf_Field_table *org_apache_arrow_flatbuf_Field_table_t;
-typedef struct org_apache_arrow_flatbuf_Field_table *org_apache_arrow_flatbuf_Field_mutable_table_t;
-typedef const flatbuffers_uoffset_t *org_apache_arrow_flatbuf_Field_vec_t;
-typedef flatbuffers_uoffset_t *org_apache_arrow_flatbuf_Field_mutable_vec_t;
-typedef const struct org_apache_arrow_flatbuf_Schema_table *org_apache_arrow_flatbuf_Schema_table_t;
-typedef struct org_apache_arrow_flatbuf_Schema_table *org_apache_arrow_flatbuf_Schema_mutable_table_t;
-typedef const flatbuffers_uoffset_t *org_apache_arrow_flatbuf_Schema_vec_t;
-typedef flatbuffers_uoffset_t *org_apache_arrow_flatbuf_Schema_mutable_vec_t;
-#ifndef org_apache_arrow_flatbuf_Null_file_identifier
-#define org_apache_arrow_flatbuf_Null_file_identifier 0
-#endif
-/* deprecated, use org_apache_arrow_flatbuf_Null_file_identifier */
-#ifndef org_apache_arrow_flatbuf_Null_identifier
-#define org_apache_arrow_flatbuf_Null_identifier 0
-#endif
-#define org_apache_arrow_flatbuf_Null_type_hash ((flatbuffers_thash_t)0x7b36a4dd)
-#define org_apache_arrow_flatbuf_Null_type_identifier "\xdd\xa4\x36\x7b"
-#ifndef org_apache_arrow_flatbuf_Null_file_extension
-#define org_apache_arrow_flatbuf_Null_file_extension "bin"
-#endif
-#ifndef org_apache_arrow_flatbuf_Struct__file_identifier
-#define org_apache_arrow_flatbuf_Struct__file_identifier 0
-#endif
-/* deprecated, use org_apache_arrow_flatbuf_Struct__file_identifier */
-#ifndef org_apache_arrow_flatbuf_Struct__identifier
-#define org_apache_arrow_flatbuf_Struct__identifier 0
-#endif
-#define org_apache_arrow_flatbuf_Struct__type_hash ((flatbuffers_thash_t)0x6310f362)
-#define org_apache_arrow_flatbuf_Struct__type_identifier "\x62\xf3\x10\x63"
-#ifndef org_apache_arrow_flatbuf_Struct__file_extension
-#define org_apache_arrow_flatbuf_Struct__file_extension "bin"
-#endif
-#ifndef org_apache_arrow_flatbuf_List_file_identifier
-#define org_apache_arrow_flatbuf_List_file_identifier 0
-#endif
-/* deprecated, use org_apache_arrow_flatbuf_List_file_identifier */
-#ifndef org_apache_arrow_flatbuf_List_identifier
-#define org_apache_arrow_flatbuf_List_identifier 0
-#endif
-#define org_apache_arrow_flatbuf_List_type_hash ((flatbuffers_thash_t)0xd4ce5878)
-#define org_apache_arrow_flatbuf_List_type_identifier "\x78\x58\xce\xd4"
-#ifndef org_apache_arrow_flatbuf_List_file_extension
-#define org_apache_arrow_flatbuf_List_file_extension "bin"
-#endif
-#ifndef org_apache_arrow_flatbuf_LargeList_file_identifier
-#define org_apache_arrow_flatbuf_LargeList_file_identifier 0
-#endif
-/* deprecated, use org_apache_arrow_flatbuf_LargeList_file_identifier */
-#ifndef org_apache_arrow_flatbuf_LargeList_identifier
-#define org_apache_arrow_flatbuf_LargeList_identifier 0
-#endif
-#define org_apache_arrow_flatbuf_LargeList_type_hash ((flatbuffers_thash_t)0x38aa7e27)
-#define org_apache_arrow_flatbuf_LargeList_type_identifier "\x27\x7e\xaa\x38"
-#ifndef org_apache_arrow_flatbuf_LargeList_file_extension
-#define org_apache_arrow_flatbuf_LargeList_file_extension "bin"
-#endif
-#ifndef org_apache_arrow_flatbuf_FixedSizeList_file_identifier
-#define org_apache_arrow_flatbuf_FixedSizeList_file_identifier 0
-#endif
-/* deprecated, use org_apache_arrow_flatbuf_FixedSizeList_file_identifier */
-#ifndef org_apache_arrow_flatbuf_FixedSizeList_identifier
-#define org_apache_arrow_flatbuf_FixedSizeList_identifier 0
-#endif
-#define org_apache_arrow_flatbuf_FixedSizeList_type_hash ((flatbuffers_thash_t)0xcef245bb)
-#define org_apache_arrow_flatbuf_FixedSizeList_type_identifier "\xbb\x45\xf2\xce"
-#ifndef org_apache_arrow_flatbuf_FixedSizeList_file_extension
-#define org_apache_arrow_flatbuf_FixedSizeList_file_extension "bin"
-#endif
-#ifndef org_apache_arrow_flatbuf_Map_file_identifier
-#define org_apache_arrow_flatbuf_Map_file_identifier 0
-#endif
-/* deprecated, use org_apache_arrow_flatbuf_Map_file_identifier */
-#ifndef org_apache_arrow_flatbuf_Map_identifier
-#define org_apache_arrow_flatbuf_Map_identifier 0
-#endif
-#define org_apache_arrow_flatbuf_Map_type_hash ((flatbuffers_thash_t)0xcebef8e6)
-#define org_apache_arrow_flatbuf_Map_type_identifier "\xe6\xf8\xbe\xce"
-#ifndef org_apache_arrow_flatbuf_Map_file_extension
-#define org_apache_arrow_flatbuf_Map_file_extension "bin"
-#endif
-#ifndef org_apache_arrow_flatbuf_Union_file_identifier
-#define org_apache_arrow_flatbuf_Union_file_identifier 0
-#endif
-/* deprecated, use org_apache_arrow_flatbuf_Union_file_identifier */
-#ifndef org_apache_arrow_flatbuf_Union_identifier
-#define org_apache_arrow_flatbuf_Union_identifier 0
-#endif
-#define org_apache_arrow_flatbuf_Union_type_hash ((flatbuffers_thash_t)0x896bda57)
-#define org_apache_arrow_flatbuf_Union_type_identifier "\x57\xda\x6b\x89"
-#ifndef org_apache_arrow_flatbuf_Union_file_extension
-#define org_apache_arrow_flatbuf_Union_file_extension "bin"
+typedef const struct org_apache_arrow_flatbuf_BodyCompression_table *org_apache_arrow_flatbuf_BodyCompression_table_t;
+typedef struct org_apache_arrow_flatbuf_BodyCompression_table *org_apache_arrow_flatbuf_BodyCompression_mutable_table_t;
+typedef const flatbuffers_uoffset_t *org_apache_arrow_flatbuf_BodyCompression_vec_t;
+typedef flatbuffers_uoffset_t *org_apache_arrow_flatbuf_BodyCompression_mutable_vec_t;
+typedef const struct org_apache_arrow_flatbuf_RecordBatch_table *org_apache_arrow_flatbuf_RecordBatch_table_t;
+typedef struct org_apache_arrow_flatbuf_RecordBatch_table *org_apache_arrow_flatbuf_RecordBatch_mutable_table_t;
+typedef const flatbuffers_uoffset_t *org_apache_arrow_flatbuf_RecordBatch_vec_t;
+typedef flatbuffers_uoffset_t *org_apache_arrow_flatbuf_RecordBatch_mutable_vec_t;
+typedef const struct org_apache_arrow_flatbuf_DictionaryBatch_table *org_apache_arrow_flatbuf_DictionaryBatch_table_t;
+typedef struct org_apache_arrow_flatbuf_DictionaryBatch_table *org_apache_arrow_flatbuf_DictionaryBatch_mutable_table_t;
+typedef const flatbuffers_uoffset_t *org_apache_arrow_flatbuf_DictionaryBatch_vec_t;
+typedef flatbuffers_uoffset_t *org_apache_arrow_flatbuf_DictionaryBatch_mutable_vec_t;
+typedef const struct org_apache_arrow_flatbuf_Message_table *org_apache_arrow_flatbuf_Message_table_t;
+typedef struct org_apache_arrow_flatbuf_Message_table *org_apache_arrow_flatbuf_Message_mutable_table_t;
+typedef const flatbuffers_uoffset_t *org_apache_arrow_flatbuf_Message_vec_t;
+typedef flatbuffers_uoffset_t *org_apache_arrow_flatbuf_Message_mutable_vec_t;
+#ifndef org_apache_arrow_flatbuf_FieldNode_file_identifier
+#define org_apache_arrow_flatbuf_FieldNode_file_identifier 0
#endif
-#ifndef org_apache_arrow_flatbuf_Int_file_identifier
-#define org_apache_arrow_flatbuf_Int_file_identifier 0
+/* deprecated, use org_apache_arrow_flatbuf_FieldNode_file_identifier */
+#ifndef org_apache_arrow_flatbuf_FieldNode_identifier
+#define org_apache_arrow_flatbuf_FieldNode_identifier 0
#endif
-/* deprecated, use org_apache_arrow_flatbuf_Int_file_identifier */
-#ifndef org_apache_arrow_flatbuf_Int_identifier
-#define org_apache_arrow_flatbuf_Int_identifier 0
+#define org_apache_arrow_flatbuf_FieldNode_type_hash ((flatbuffers_thash_t)0x931857b8)
+#define org_apache_arrow_flatbuf_FieldNode_type_identifier "\xb8\x57\x18\x93"
+#ifndef org_apache_arrow_flatbuf_FieldNode_file_extension
+#define org_apache_arrow_flatbuf_FieldNode_file_extension "bin"
#endif
-#define org_apache_arrow_flatbuf_Int_type_hash ((flatbuffers_thash_t)0x30789001)
-#define org_apache_arrow_flatbuf_Int_type_identifier "\x01\x90\x78\x30"
-#ifndef org_apache_arrow_flatbuf_Int_file_extension
-#define org_apache_arrow_flatbuf_Int_file_extension "bin"
+#ifndef org_apache_arrow_flatbuf_BodyCompression_file_identifier
+#define org_apache_arrow_flatbuf_BodyCompression_file_identifier 0
#endif
-#ifndef org_apache_arrow_flatbuf_FloatingPoint_file_identifier
-#define org_apache_arrow_flatbuf_FloatingPoint_file_identifier 0
+/* deprecated, use org_apache_arrow_flatbuf_BodyCompression_file_identifier */
+#ifndef org_apache_arrow_flatbuf_BodyCompression_identifier
+#define org_apache_arrow_flatbuf_BodyCompression_identifier 0
#endif
-/* deprecated, use org_apache_arrow_flatbuf_FloatingPoint_file_identifier */
-#ifndef org_apache_arrow_flatbuf_FloatingPoint_identifier
-#define org_apache_arrow_flatbuf_FloatingPoint_identifier 0
+#define org_apache_arrow_flatbuf_BodyCompression_type_hash ((flatbuffers_thash_t)0xbc821116)
+#define org_apache_arrow_flatbuf_BodyCompression_type_identifier "\x16\x11\x82\xbc"
+#ifndef org_apache_arrow_flatbuf_BodyCompression_file_extension
+#define org_apache_arrow_flatbuf_BodyCompression_file_extension "bin"
#endif
-#define org_apache_arrow_flatbuf_FloatingPoint_type_hash ((flatbuffers_thash_t)0xf7d06268)
-#define org_apache_arrow_flatbuf_FloatingPoint_type_identifier "\x68\x62\xd0\xf7"
-#ifndef org_apache_arrow_flatbuf_FloatingPoint_file_extension
-#define org_apache_arrow_flatbuf_FloatingPoint_file_extension "bin"
+#ifndef org_apache_arrow_flatbuf_RecordBatch_file_identifier
+#define org_apache_arrow_flatbuf_RecordBatch_file_identifier 0
#endif
-#ifndef org_apache_arrow_flatbuf_Utf8_file_identifier
-#define org_apache_arrow_flatbuf_Utf8_file_identifier 0
+/* deprecated, use org_apache_arrow_flatbuf_RecordBatch_file_identifier */
+#ifndef org_apache_arrow_flatbuf_RecordBatch_identifier
+#define org_apache_arrow_flatbuf_RecordBatch_identifier 0
#endif
-/* deprecated, use org_apache_arrow_flatbuf_Utf8_file_identifier */
-#ifndef org_apache_arrow_flatbuf_Utf8_identifier
-#define org_apache_arrow_flatbuf_Utf8_identifier 0
+#define org_apache_arrow_flatbuf_RecordBatch_type_hash ((flatbuffers_thash_t)0x43c558b)
+#define org_apache_arrow_flatbuf_RecordBatch_type_identifier "\x8b\x55\x3c\x04"
+#ifndef org_apache_arrow_flatbuf_RecordBatch_file_extension
+#define org_apache_arrow_flatbuf_RecordBatch_file_extension "bin"
#endif
-#define org_apache_arrow_flatbuf_Utf8_type_hash ((flatbuffers_thash_t)0x8fe60d37)
-#define org_apache_arrow_flatbuf_Utf8_type_identifier "\x37\x0d\xe6\x8f"
-#ifndef org_apache_arrow_flatbuf_Utf8_file_extension
-#define org_apache_arrow_flatbuf_Utf8_file_extension "bin"
+#ifndef org_apache_arrow_flatbuf_DictionaryBatch_file_identifier
+#define org_apache_arrow_flatbuf_DictionaryBatch_file_identifier 0
#endif
-#ifndef org_apache_arrow_flatbuf_Binary_file_identifier
-#define org_apache_arrow_flatbuf_Binary_file_identifier 0
+/* deprecated, use org_apache_arrow_flatbuf_DictionaryBatch_file_identifier */
+#ifndef org_apache_arrow_flatbuf_DictionaryBatch_identifier
+#define org_apache_arrow_flatbuf_DictionaryBatch_identifier 0
#endif
-/* deprecated, use org_apache_arrow_flatbuf_Binary_file_identifier */
-#ifndef org_apache_arrow_flatbuf_Binary_identifier
-#define org_apache_arrow_flatbuf_Binary_identifier 0
+#define org_apache_arrow_flatbuf_DictionaryBatch_type_hash ((flatbuffers_thash_t)0x5c6da7bc)
+#define org_apache_arrow_flatbuf_DictionaryBatch_type_identifier "\xbc\xa7\x6d\x5c"
+#ifndef org_apache_arrow_flatbuf_DictionaryBatch_file_extension
+#define org_apache_arrow_flatbuf_DictionaryBatch_file_extension "bin"
#endif
-#define org_apache_arrow_flatbuf_Binary_type_hash ((flatbuffers_thash_t)0x8e21a795)
-#define org_apache_arrow_flatbuf_Binary_type_identifier "\x95\xa7\x21\x8e"
-#ifndef org_apache_arrow_flatbuf_Binary_file_extension
-#define org_apache_arrow_flatbuf_Binary_file_extension "bin"
+#ifndef org_apache_arrow_flatbuf_Message_file_identifier
+#define org_apache_arrow_flatbuf_Message_file_identifier 0
#endif
-#ifndef org_apache_arrow_flatbuf_LargeUtf8_file_identifier
-#define org_apache_arrow_flatbuf_LargeUtf8_file_identifier 0
+/* deprecated, use org_apache_arrow_flatbuf_Message_file_identifier */
+#ifndef org_apache_arrow_flatbuf_Message_identifier
+#define org_apache_arrow_flatbuf_Message_identifier 0
#endif
-/* deprecated, use org_apache_arrow_flatbuf_LargeUtf8_file_identifier */
-#ifndef org_apache_arrow_flatbuf_LargeUtf8_identifier
-#define org_apache_arrow_flatbuf_LargeUtf8_identifier 0
+#define org_apache_arrow_flatbuf_Message_type_hash ((flatbuffers_thash_t)0xc3efd227)
+#define org_apache_arrow_flatbuf_Message_type_identifier "\x27\xd2\xef\xc3"
+#ifndef org_apache_arrow_flatbuf_Message_file_extension
+#define org_apache_arrow_flatbuf_Message_file_extension "bin"
#endif
-#define org_apache_arrow_flatbuf_LargeUtf8_type_hash ((flatbuffers_thash_t)0x24ed2fb0)
-#define org_apache_arrow_flatbuf_LargeUtf8_type_identifier "\xb0\x2f\xed\x24"
-#ifndef org_apache_arrow_flatbuf_LargeUtf8_file_extension
-#define org_apache_arrow_flatbuf_LargeUtf8_file_extension "bin"
-#endif
-#ifndef org_apache_arrow_flatbuf_LargeBinary_file_identifier
-#define org_apache_arrow_flatbuf_LargeBinary_file_identifier 0
+
+typedef int8_t org_apache_arrow_flatbuf_CompressionType_enum_t;
+__flatbuffers_define_integer_type(org_apache_arrow_flatbuf_CompressionType, org_apache_arrow_flatbuf_CompressionType_enum_t, 8)
+#define org_apache_arrow_flatbuf_CompressionType_LZ4_FRAME ((org_apache_arrow_flatbuf_CompressionType_enum_t)INT8_C(0))
+#define org_apache_arrow_flatbuf_CompressionType_ZSTD ((org_apache_arrow_flatbuf_CompressionType_enum_t)INT8_C(1))
+
+static inline const char *org_apache_arrow_flatbuf_CompressionType_name(org_apache_arrow_flatbuf_CompressionType_enum_t value)
+{
+ switch (value) {
+ case org_apache_arrow_flatbuf_CompressionType_LZ4_FRAME: return "LZ4_FRAME";
+ case org_apache_arrow_flatbuf_CompressionType_ZSTD: return "ZSTD";
+ default: return "";
+ }
+}
+
+static inline int org_apache_arrow_flatbuf_CompressionType_is_known_value(org_apache_arrow_flatbuf_CompressionType_enum_t value)
+{
+ switch (value) {
+ case org_apache_arrow_flatbuf_CompressionType_LZ4_FRAME: return 1;
+ case org_apache_arrow_flatbuf_CompressionType_ZSTD: return 1;
+ default: return 0;
+ }
+}
+
+/** Provided for forward compatibility in case we need to support different
+ * strategies for compressing the IPC message body (like whole-body
+ * compression rather than buffer-level) in the future */
+typedef int8_t org_apache_arrow_flatbuf_BodyCompressionMethod_enum_t;
+__flatbuffers_define_integer_type(org_apache_arrow_flatbuf_BodyCompressionMethod, org_apache_arrow_flatbuf_BodyCompressionMethod_enum_t, 8)
+/** Each constituent buffer is first compressed with the indicated
+ * compressor, and then written with the uncompressed length in the first 8
+ * bytes as a 64-bit little-endian signed integer followed by the compressed
+ * buffer bytes (and then padding as required by the protocol). The
+ * uncompressed length may be set to -1 to indicate that the data that
+ * follows is not compressed, which can be useful for cases where
+ * compression does not yield appreciable savings. */
+#define org_apache_arrow_flatbuf_BodyCompressionMethod_BUFFER ((org_apache_arrow_flatbuf_BodyCompressionMethod_enum_t)INT8_C(0))
+
+static inline const char *org_apache_arrow_flatbuf_BodyCompressionMethod_name(org_apache_arrow_flatbuf_BodyCompressionMethod_enum_t value)
+{
+ switch (value) {
+ case org_apache_arrow_flatbuf_BodyCompressionMethod_BUFFER: return "BUFFER";
+ default: return "";
+ }
+}
+
+static inline int org_apache_arrow_flatbuf_BodyCompressionMethod_is_known_value(org_apache_arrow_flatbuf_BodyCompressionMethod_enum_t value)
+{
+ switch (value) {
+ case org_apache_arrow_flatbuf_BodyCompressionMethod_BUFFER: return 1;
+ default: return 0;
+ }
+}
+
+
+/** ----------------------------------------------------------------------
+ * Data structures for describing a table row batch (a collection of
+ * equal-length Arrow arrays)
+ * Metadata about a field at some level of a nested type tree (but not
+ * its children).
+ *
+ * For example, a List<Int16> with values `[[1, 2, 3], null, [4], [5, 6], null]`
+ * would have {length: 5, null_count: 2} for its List node, and {length: 6,
+ * null_count: 0} for its Int16 node, as separate FieldNode structs */
+struct org_apache_arrow_flatbuf_FieldNode {
+ /** The number of value slots in the Arrow array at this level of a nested
+ * tree */
+ alignas(8) int64_t length;
+ /** The number of observed nulls. Fields with null_count == 0 may choose not
+ * to write their physical validity bitmap out as a materialized buffer,
+ * instead setting the length of the bitmap buffer to 0. */
+ alignas(8) int64_t null_count;
+};
+static_assert(sizeof(org_apache_arrow_flatbuf_FieldNode_t) == 16, "struct size mismatch");
+
+static inline const org_apache_arrow_flatbuf_FieldNode_t *org_apache_arrow_flatbuf_FieldNode__const_ptr_add(const org_apache_arrow_flatbuf_FieldNode_t *p, size_t i) { return p + i; }
+static inline org_apache_arrow_flatbuf_FieldNode_t *org_apache_arrow_flatbuf_FieldNode__ptr_add(org_apache_arrow_flatbuf_FieldNode_t *p, size_t i) { return p + i; }
+static inline org_apache_arrow_flatbuf_FieldNode_struct_t org_apache_arrow_flatbuf_FieldNode_vec_at(org_apache_arrow_flatbuf_FieldNode_vec_t vec, size_t i)
+__flatbuffers_struct_vec_at(vec, i)
+static inline size_t org_apache_arrow_flatbuf_FieldNode__size(void) { return 16; }
+static inline size_t org_apache_arrow_flatbuf_FieldNode_vec_len(org_apache_arrow_flatbuf_FieldNode_vec_t vec)
+__flatbuffers_vec_len(vec)
+__flatbuffers_struct_as_root(org_apache_arrow_flatbuf_FieldNode)
+
+__flatbuffers_define_struct_scalar_field(org_apache_arrow_flatbuf_FieldNode, length, flatbuffers_int64, int64_t)
+__flatbuffers_define_struct_scalar_field(org_apache_arrow_flatbuf_FieldNode, null_count, flatbuffers_int64, int64_t)
+
+
+/** Optional compression for the memory buffers constituting IPC message
+ * bodies. Intended for use with RecordBatch but could be used for other
+ * message types */
+struct org_apache_arrow_flatbuf_BodyCompression_table { uint8_t unused__; };
+
+static inline size_t org_apache_arrow_flatbuf_BodyCompression_vec_len(org_apache_arrow_flatbuf_BodyCompression_vec_t vec)
+__flatbuffers_vec_len(vec)
+static inline org_apache_arrow_flatbuf_BodyCompression_table_t org_apache_arrow_flatbuf_BodyCompression_vec_at(org_apache_arrow_flatbuf_BodyCompression_vec_t vec, size_t i)
+__flatbuffers_offset_vec_at(org_apache_arrow_flatbuf_BodyCompression_table_t, vec, i, 0)
+__flatbuffers_table_as_root(org_apache_arrow_flatbuf_BodyCompression)
+
+/** Compressor library.
+ * For LZ4_FRAME, each compressed buffer must consist of a single frame. */
+__flatbuffers_define_scalar_field(0, org_apache_arrow_flatbuf_BodyCompression, codec, org_apache_arrow_flatbuf_CompressionType, org_apache_arrow_flatbuf_CompressionType_enum_t, INT8_C(0))
+/** Indicates the way the record batch body was compressed */
+__flatbuffers_define_scalar_field(1, org_apache_arrow_flatbuf_BodyCompression, method, org_apache_arrow_flatbuf_BodyCompressionMethod, org_apache_arrow_flatbuf_BodyCompressionMethod_enum_t, INT8_C(0))
+
+/** A data header describing the shared memory layout of a "record" or "row"
+ * batch. Some systems call this a "row batch" internally and others a "record
+ * batch". */
+struct org_apache_arrow_flatbuf_RecordBatch_table { uint8_t unused__; };
+
+static inline size_t org_apache_arrow_flatbuf_RecordBatch_vec_len(org_apache_arrow_flatbuf_RecordBatch_vec_t vec)
+__flatbuffers_vec_len(vec)
+static inline org_apache_arrow_flatbuf_RecordBatch_table_t org_apache_arrow_flatbuf_RecordBatch_vec_at(org_apache_arrow_flatbuf_RecordBatch_vec_t vec, size_t i)
+__flatbuffers_offset_vec_at(org_apache_arrow_flatbuf_RecordBatch_table_t, vec, i, 0)
+__flatbuffers_table_as_root(org_apache_arrow_flatbuf_RecordBatch)
+
+/** number of records / rows. The arrays in the batch should all have this
+ * length */
+__flatbuffers_define_scalar_field(0, org_apache_arrow_flatbuf_RecordBatch, length, flatbuffers_int64, int64_t, INT64_C(0))
+/** Nodes correspond to the pre-ordered flattened logical schema */
+__flatbuffers_define_vector_field(1, org_apache_arrow_flatbuf_RecordBatch, nodes, org_apache_arrow_flatbuf_FieldNode_vec_t, 0)
+/** Buffers correspond to the pre-ordered flattened buffer tree
+ *
+ * The number of buffers appended to this list depends on the schema. For
+ * example, most primitive arrays will have 2 buffers, 1 for the validity
+ * bitmap and 1 for the values. For struct arrays, there will only be a
+ * single buffer for the validity (nulls) bitmap */
+__flatbuffers_define_vector_field(2, org_apache_arrow_flatbuf_RecordBatch, buffers, org_apache_arrow_flatbuf_Buffer_vec_t, 0)
+/** Optional compression of the message body */
+__flatbuffers_define_table_field(3, org_apache_arrow_flatbuf_RecordBatch, compression, org_apache_arrow_flatbuf_BodyCompression_table_t, 0)
+/** Some types such as Utf8View are represented using a variable number of buffers.
+ * For each such Field in the pre-ordered flattened logical schema, there will be
+ * an entry in variadicBufferCounts to indicate the number of number of variadic
+ * buffers which belong to that Field in the current RecordBatch.
+ *
+ * For example, the schema
+ * col1: Struct<alpha: Int32, beta: BinaryView, gamma: Float64>
+ * col2: Utf8View
+ * contains two Fields with variadic buffers so variadicBufferCounts will have
+ * two entries, the first counting the variadic buffers of `col1.beta` and the
+ * second counting `col2`'s.
+ *
+ * This field may be omitted if and only if the schema contains no Fields with
+ * a variable number of buffers, such as BinaryView and Utf8View. */
+__flatbuffers_define_vector_field(4, org_apache_arrow_flatbuf_RecordBatch, variadicBufferCounts, flatbuffers_int64_vec_t, 0)
+
+/** For sending dictionary encoding information. Any Field can be
+ * dictionary-encoded, but in this case none of its children may be
+ * dictionary-encoded.
+ * There is one vector / column per dictionary, but that vector / column
+ * may be spread across multiple dictionary batches by using the isDelta
+ * flag */
+struct org_apache_arrow_flatbuf_DictionaryBatch_table { uint8_t unused__; };
+
+static inline size_t org_apache_arrow_flatbuf_DictionaryBatch_vec_len(org_apache_arrow_flatbuf_DictionaryBatch_vec_t vec)
+__flatbuffers_vec_len(vec)
+static inline org_apache_arrow_flatbuf_DictionaryBatch_table_t org_apache_arrow_flatbuf_DictionaryBatch_vec_at(org_apache_arrow_flatbuf_DictionaryBatch_vec_t vec, size_t i)
+__flatbuffers_offset_vec_at(org_apache_arrow_flatbuf_DictionaryBatch_table_t, vec, i, 0)
+__flatbuffers_table_as_root(org_apache_arrow_flatbuf_DictionaryBatch)
+
+__flatbuffers_define_scalar_field(0, org_apache_arrow_flatbuf_DictionaryBatch, id, flatbuffers_int64, int64_t, INT64_C(0))
+__flatbuffers_define_table_field(1, org_apache_arrow_flatbuf_DictionaryBatch, data, org_apache_arrow_flatbuf_RecordBatch_table_t, 0)
+/** If isDelta is true the values in the dictionary are to be appended to a
+ * dictionary with the indicated id. If isDelta is false this dictionary
+ * should replace the existing dictionary. */
+__flatbuffers_define_scalar_field(2, org_apache_arrow_flatbuf_DictionaryBatch, isDelta, flatbuffers_bool, flatbuffers_bool_t, UINT8_C(0))
+/** ----------------------------------------------------------------------
+ * The root Message type
+ * This union enables us to easily send different message types without
+ * redundant storage, and in the future we can easily add new message types.
+ *
+ * Arrow implementations do not need to implement all of the message types,
+ * which may include experimental metadata types. For maximum compatibility,
+ * it is best to send data using RecordBatch */
+typedef uint8_t org_apache_arrow_flatbuf_MessageHeader_union_type_t;
+__flatbuffers_define_integer_type(org_apache_arrow_flatbuf_MessageHeader, org_apache_arrow_flatbuf_MessageHeader_union_type_t, 8)
+__flatbuffers_define_union(flatbuffers_, org_apache_arrow_flatbuf_MessageHeader)
+#define org_apache_arrow_flatbuf_MessageHeader_NONE ((org_apache_arrow_flatbuf_MessageHeader_union_type_t)UINT8_C(0))
+#define org_apache_arrow_flatbuf_MessageHeader_Schema ((org_apache_arrow_flatbuf_MessageHeader_union_type_t)UINT8_C(1))
+#define org_apache_arrow_flatbuf_MessageHeader_DictionaryBatch ((org_apache_arrow_flatbuf_MessageHeader_union_type_t)UINT8_C(2))
+#define org_apache_arrow_flatbuf_MessageHeader_RecordBatch ((org_apache_arrow_flatbuf_MessageHeader_union_type_t)UINT8_C(3))
+#define org_apache_arrow_flatbuf_MessageHeader_Tensor ((org_apache_arrow_flatbuf_MessageHeader_union_type_t)UINT8_C(4))
+#define org_apache_arrow_flatbuf_MessageHeader_SparseTensor ((org_apache_arrow_flatbuf_MessageHeader_union_type_t)UINT8_C(5))
+
+static inline const char *org_apache_arrow_flatbuf_MessageHeader_type_name(org_apache_arrow_flatbuf_MessageHeader_union_type_t type)
+{
+ switch (type) {
+ case org_apache_arrow_flatbuf_MessageHeader_NONE: return "NONE";
+ case org_apache_arrow_flatbuf_MessageHeader_Schema: return "Schema";
+ case org_apache_arrow_flatbuf_MessageHeader_DictionaryBatch: return "DictionaryBatch";
+ case org_apache_arrow_flatbuf_MessageHeader_RecordBatch: return "RecordBatch";
+ case org_apache_arrow_flatbuf_MessageHeader_Tensor: return "Tensor";
+ case org_apache_arrow_flatbuf_MessageHeader_SparseTensor: return "SparseTensor";
+ default: return "";
+ }
+}
+
+static inline int org_apache_arrow_flatbuf_MessageHeader_is_known_type(org_apache_arrow_flatbuf_MessageHeader_union_type_t type)
+{
+ switch (type) {
+ case org_apache_arrow_flatbuf_MessageHeader_NONE: return 1;
+ case org_apache_arrow_flatbuf_MessageHeader_Schema: return 1;
+ case org_apache_arrow_flatbuf_MessageHeader_DictionaryBatch: return 1;
+ case org_apache_arrow_flatbuf_MessageHeader_RecordBatch: return 1;
+ case org_apache_arrow_flatbuf_MessageHeader_Tensor: return 1;
+ case org_apache_arrow_flatbuf_MessageHeader_SparseTensor: return 1;
+ default: return 0;
+ }
+}
+
+
+struct org_apache_arrow_flatbuf_Message_table { uint8_t unused__; };
+
+static inline size_t org_apache_arrow_flatbuf_Message_vec_len(org_apache_arrow_flatbuf_Message_vec_t vec)
+__flatbuffers_vec_len(vec)
+static inline org_apache_arrow_flatbuf_Message_table_t org_apache_arrow_flatbuf_Message_vec_at(org_apache_arrow_flatbuf_Message_vec_t vec, size_t i)
+__flatbuffers_offset_vec_at(org_apache_arrow_flatbuf_Message_table_t, vec, i, 0)
+__flatbuffers_table_as_root(org_apache_arrow_flatbuf_Message)
+
+__flatbuffers_define_scalar_field(0, org_apache_arrow_flatbuf_Message, version, org_apache_arrow_flatbuf_MetadataVersion, org_apache_arrow_flatbuf_MetadataVersion_enum_t, INT16_C(0))
+__flatbuffers_define_union_field(flatbuffers_, 2, org_apache_arrow_flatbuf_Message, header, org_apache_arrow_flatbuf_MessageHeader, 0)
+__flatbuffers_define_scalar_field(3, org_apache_arrow_flatbuf_Message, bodyLength, flatbuffers_int64, int64_t, INT64_C(0))
+__flatbuffers_define_vector_field(4, org_apache_arrow_flatbuf_Message, custom_metadata, org_apache_arrow_flatbuf_KeyValue_vec_t, 0)
+
+
+#include "flatcc/flatcc_epilogue.h"
+#endif /* MESSAGE_READER_H */
+#ifndef MESSAGE_BUILDER_H
+#define MESSAGE_BUILDER_H
+
+/* Generated by flatcc 0.6.2 FlatBuffers schema compiler for C by dvide.com */
+
+#ifndef MESSAGE_READER_H
+#include "Message_reader.h"
#endif
-/* deprecated, use org_apache_arrow_flatbuf_LargeBinary_file_identifier */
-#ifndef org_apache_arrow_flatbuf_LargeBinary_identifier
-#define org_apache_arrow_flatbuf_LargeBinary_identifier 0
+#ifndef FLATBUFFERS_COMMON_BUILDER_H
+#include "flatbuffers_common_builder.h"
#endif
-#define org_apache_arrow_flatbuf_LargeBinary_type_hash ((flatbuffers_thash_t)0xbd437872)
-#define org_apache_arrow_flatbuf_LargeBinary_type_identifier "\x72\x78\x43\xbd"
-#ifndef org_apache_arrow_flatbuf_LargeBinary_file_extension
-#define org_apache_arrow_flatbuf_LargeBinary_file_extension "bin"
+#ifndef TENSOR_BUILDER_H
+#include "Tensor_builder.h"
#endif
-#ifndef org_apache_arrow_flatbuf_FixedSizeBinary_file_identifier
-#define org_apache_arrow_flatbuf_FixedSizeBinary_file_identifier 0
+#ifndef SPARSETENSOR_BUILDER_H
+#include "SparseTensor_builder.h"
#endif
-/* deprecated, use org_apache_arrow_flatbuf_FixedSizeBinary_file_identifier */
-#ifndef org_apache_arrow_flatbuf_FixedSizeBinary_identifier
-#define org_apache_arrow_flatbuf_FixedSizeBinary_identifier 0
+#ifndef SCHEMA_BUILDER_H
+#include "Schema_builder.h"
#endif
-#define org_apache_arrow_flatbuf_FixedSizeBinary_type_hash ((flatbuffers_thash_t)0x80d0f4ce)
-#define org_apache_arrow_flatbuf_FixedSizeBinary_type_identifier "\xce\xf4\xd0\x80"
-#ifndef org_apache_arrow_flatbuf_FixedSizeBinary_file_extension
-#define org_apache_arrow_flatbuf_FixedSizeBinary_file_extension "bin"
+#include "flatcc/flatcc_prologue.h"
+#ifndef flatbuffers_identifier
+#define flatbuffers_identifier 0
#endif
-#ifndef org_apache_arrow_flatbuf_Bool_file_identifier
-#define org_apache_arrow_flatbuf_Bool_file_identifier 0
+#ifndef flatbuffers_extension
+#define flatbuffers_extension "bin"
#endif
-/* deprecated, use org_apache_arrow_flatbuf_Bool_file_identifier */
-#ifndef org_apache_arrow_flatbuf_Bool_identifier
-#define org_apache_arrow_flatbuf_Bool_identifier 0
-#endif
-#define org_apache_arrow_flatbuf_Bool_type_hash ((flatbuffers_thash_t)0x96bf83f0)
-#define org_apache_arrow_flatbuf_Bool_type_identifier "\xf0\x83\xbf\x96"
-#ifndef org_apache_arrow_flatbuf_Bool_file_extension
-#define org_apache_arrow_flatbuf_Bool_file_extension "bin"
-#endif
-#ifndef org_apache_arrow_flatbuf_RunEndEncoded_file_identifier
-#define org_apache_arrow_flatbuf_RunEndEncoded_file_identifier 0
-#endif
-/* deprecated, use org_apache_arrow_flatbuf_RunEndEncoded_file_identifier */
-#ifndef org_apache_arrow_flatbuf_RunEndEncoded_identifier
-#define org_apache_arrow_flatbuf_RunEndEncoded_identifier 0
+
+#define __org_apache_arrow_flatbuf_CompressionType_formal_args , org_apache_arrow_flatbuf_CompressionType_enum_t v0
+#define __org_apache_arrow_flatbuf_CompressionType_call_args , v0
+__flatbuffers_build_scalar(flatbuffers_, org_apache_arrow_flatbuf_CompressionType, org_apache_arrow_flatbuf_CompressionType_enum_t)
+#define __org_apache_arrow_flatbuf_BodyCompressionMethod_formal_args , org_apache_arrow_flatbuf_BodyCompressionMethod_enum_t v0
+#define __org_apache_arrow_flatbuf_BodyCompressionMethod_call_args , v0
+__flatbuffers_build_scalar(flatbuffers_, org_apache_arrow_flatbuf_BodyCompressionMethod, org_apache_arrow_flatbuf_BodyCompressionMethod_enum_t)
+
+#define __org_apache_arrow_flatbuf_FieldNode_formal_args , int64_t v0, int64_t v1
+#define __org_apache_arrow_flatbuf_FieldNode_call_args , v0, v1
+static inline org_apache_arrow_flatbuf_FieldNode_t *org_apache_arrow_flatbuf_FieldNode_assign(org_apache_arrow_flatbuf_FieldNode_t *p, int64_t v0, int64_t v1)
+{ p->length = v0; p->null_count = v1;
+ return p; }
+static inline org_apache_arrow_flatbuf_FieldNode_t *org_apache_arrow_flatbuf_FieldNode_copy(org_apache_arrow_flatbuf_FieldNode_t *p, const org_apache_arrow_flatbuf_FieldNode_t *p2)
+{ p->length = p2->length; p->null_count = p2->null_count;
+ return p; }
+static inline org_apache_arrow_flatbuf_FieldNode_t *org_apache_arrow_flatbuf_FieldNode_assign_to_pe(org_apache_arrow_flatbuf_FieldNode_t *p, int64_t v0, int64_t v1)
+{ flatbuffers_int64_assign_to_pe(&p->length, v0); flatbuffers_int64_assign_to_pe(&p->null_count, v1);
+ return p; }
+static inline org_apache_arrow_flatbuf_FieldNode_t *org_apache_arrow_flatbuf_FieldNode_copy_to_pe(org_apache_arrow_flatbuf_FieldNode_t *p, const org_apache_arrow_flatbuf_FieldNode_t *p2)
+{ flatbuffers_int64_copy_to_pe(&p->length, &p2->length); flatbuffers_int64_copy_to_pe(&p->null_count, &p2->null_count);
+ return p; }
+static inline org_apache_arrow_flatbuf_FieldNode_t *org_apache_arrow_flatbuf_FieldNode_assign_from_pe(org_apache_arrow_flatbuf_FieldNode_t *p, int64_t v0, int64_t v1)
+{ flatbuffers_int64_assign_from_pe(&p->length, v0); flatbuffers_int64_assign_from_pe(&p->null_count, v1);
+ return p; }
+static inline org_apache_arrow_flatbuf_FieldNode_t *org_apache_arrow_flatbuf_FieldNode_copy_from_pe(org_apache_arrow_flatbuf_FieldNode_t *p, const org_apache_arrow_flatbuf_FieldNode_t *p2)
+{ flatbuffers_int64_copy_from_pe(&p->length, &p2->length); flatbuffers_int64_copy_from_pe(&p->null_count, &p2->null_count);
+ return p; }
+__flatbuffers_build_struct(flatbuffers_, org_apache_arrow_flatbuf_FieldNode, 16, 8, org_apache_arrow_flatbuf_FieldNode_file_identifier, org_apache_arrow_flatbuf_FieldNode_type_identifier)
+__flatbuffers_define_fixed_array_primitives(flatbuffers_, org_apache_arrow_flatbuf_FieldNode, org_apache_arrow_flatbuf_FieldNode_t)
+
+typedef flatbuffers_union_ref_t org_apache_arrow_flatbuf_MessageHeader_union_ref_t;
+typedef flatbuffers_union_vec_ref_t org_apache_arrow_flatbuf_MessageHeader_union_vec_ref_t;
+static org_apache_arrow_flatbuf_MessageHeader_union_ref_t org_apache_arrow_flatbuf_MessageHeader_clone(flatbuffers_builder_t *B, org_apache_arrow_flatbuf_MessageHeader_union_t t);
+
+static const flatbuffers_voffset_t __org_apache_arrow_flatbuf_BodyCompression_required[] = { 0 };
+typedef flatbuffers_ref_t org_apache_arrow_flatbuf_BodyCompression_ref_t;
+static org_apache_arrow_flatbuf_BodyCompression_ref_t org_apache_arrow_flatbuf_BodyCompression_clone(flatbuffers_builder_t *B, org_apache_arrow_flatbuf_BodyCompression_table_t t);
+__flatbuffers_build_table(flatbuffers_, org_apache_arrow_flatbuf_BodyCompression, 2)
+
+static const flatbuffers_voffset_t __org_apache_arrow_flatbuf_RecordBatch_required[] = { 0 };
+typedef flatbuffers_ref_t org_apache_arrow_flatbuf_RecordBatch_ref_t;
+static org_apache_arrow_flatbuf_RecordBatch_ref_t org_apache_arrow_flatbuf_RecordBatch_clone(flatbuffers_builder_t *B, org_apache_arrow_flatbuf_RecordBatch_table_t t);
+__flatbuffers_build_table(flatbuffers_, org_apache_arrow_flatbuf_RecordBatch, 5)
+
+static const flatbuffers_voffset_t __org_apache_arrow_flatbuf_DictionaryBatch_required[] = { 0 };
+typedef flatbuffers_ref_t org_apache_arrow_flatbuf_DictionaryBatch_ref_t;
+static org_apache_arrow_flatbuf_DictionaryBatch_ref_t org_apache_arrow_flatbuf_DictionaryBatch_clone(flatbuffers_builder_t *B, org_apache_arrow_flatbuf_DictionaryBatch_table_t t);
+__flatbuffers_build_table(flatbuffers_, org_apache_arrow_flatbuf_DictionaryBatch, 3)
+
+static const flatbuffers_voffset_t __org_apache_arrow_flatbuf_Message_required[] = { 0 };
+typedef flatbuffers_ref_t org_apache_arrow_flatbuf_Message_ref_t;
+static org_apache_arrow_flatbuf_Message_ref_t org_apache_arrow_flatbuf_Message_clone(flatbuffers_builder_t *B, org_apache_arrow_flatbuf_Message_table_t t);
+__flatbuffers_build_table(flatbuffers_, org_apache_arrow_flatbuf_Message, 5)
+
+#define __org_apache_arrow_flatbuf_BodyCompression_formal_args , org_apache_arrow_flatbuf_CompressionType_enum_t v0, org_apache_arrow_flatbuf_BodyCompressionMethod_enum_t v1
+#define __org_apache_arrow_flatbuf_BodyCompression_call_args , v0, v1
+static inline org_apache_arrow_flatbuf_BodyCompression_ref_t org_apache_arrow_flatbuf_BodyCompression_create(flatbuffers_builder_t *B __org_apache_arrow_flatbuf_BodyCompression_formal_args);
+__flatbuffers_build_table_prolog(flatbuffers_, org_apache_arrow_flatbuf_BodyCompression, org_apache_arrow_flatbuf_BodyCompression_file_identifier, org_apache_arrow_flatbuf_BodyCompression_type_identifier)
+
+#define __org_apache_arrow_flatbuf_RecordBatch_formal_args ,\
+ int64_t v0, org_apache_arrow_flatbuf_FieldNode_vec_ref_t v1, org_apache_arrow_flatbuf_Buffer_vec_ref_t v2, org_apache_arrow_flatbuf_BodyCompression_ref_t v3, flatbuffers_int64_vec_ref_t v4
+#define __org_apache_arrow_flatbuf_RecordBatch_call_args ,\
+ v0, v1, v2, v3, v4
+static inline org_apache_arrow_flatbuf_RecordBatch_ref_t org_apache_arrow_flatbuf_RecordBatch_create(flatbuffers_builder_t *B __org_apache_arrow_flatbuf_RecordBatch_formal_args);
+__flatbuffers_build_table_prolog(flatbuffers_, org_apache_arrow_flatbuf_RecordBatch, org_apache_arrow_flatbuf_RecordBatch_file_identifier, org_apache_arrow_flatbuf_RecordBatch_type_identifier)
+
+#define __org_apache_arrow_flatbuf_DictionaryBatch_formal_args , int64_t v0, org_apache_arrow_flatbuf_RecordBatch_ref_t v1, flatbuffers_bool_t v2
+#define __org_apache_arrow_flatbuf_DictionaryBatch_call_args , v0, v1, v2
+static inline org_apache_arrow_flatbuf_DictionaryBatch_ref_t org_apache_arrow_flatbuf_DictionaryBatch_create(flatbuffers_builder_t *B __org_apache_arrow_flatbuf_DictionaryBatch_formal_args);
+__flatbuffers_build_table_prolog(flatbuffers_, org_apache_arrow_flatbuf_DictionaryBatch, org_apache_arrow_flatbuf_DictionaryBatch_file_identifier, org_apache_arrow_flatbuf_DictionaryBatch_type_identifier)
+
+#define __org_apache_arrow_flatbuf_Message_formal_args , org_apache_arrow_flatbuf_MetadataVersion_enum_t v0, org_apache_arrow_flatbuf_MessageHeader_union_ref_t v2, int64_t v3, org_apache_arrow_flatbuf_KeyValue_vec_ref_t v4
+#define __org_apache_arrow_flatbuf_Message_call_args , v0, v2, v3, v4
+static inline org_apache_arrow_flatbuf_Message_ref_t org_apache_arrow_flatbuf_Message_create(flatbuffers_builder_t *B __org_apache_arrow_flatbuf_Message_formal_args);
+__flatbuffers_build_table_prolog(flatbuffers_, org_apache_arrow_flatbuf_Message, org_apache_arrow_flatbuf_Message_file_identifier, org_apache_arrow_flatbuf_Message_type_identifier)
+
+static inline org_apache_arrow_flatbuf_MessageHeader_union_ref_t org_apache_arrow_flatbuf_MessageHeader_as_NONE(void)
+{ org_apache_arrow_flatbuf_MessageHeader_union_ref_t uref; uref.type = org_apache_arrow_flatbuf_MessageHeader_NONE; uref.value = 0; return uref; }
+static inline org_apache_arrow_flatbuf_MessageHeader_union_ref_t org_apache_arrow_flatbuf_MessageHeader_as_Schema(org_apache_arrow_flatbuf_Schema_ref_t ref)
+{ org_apache_arrow_flatbuf_MessageHeader_union_ref_t uref; uref.type = org_apache_arrow_flatbuf_MessageHeader_Schema; uref.value = ref; return uref; }
+static inline org_apache_arrow_flatbuf_MessageHeader_union_ref_t org_apache_arrow_flatbuf_MessageHeader_as_DictionaryBatch(org_apache_arrow_flatbuf_DictionaryBatch_ref_t ref)
+{ org_apache_arrow_flatbuf_MessageHeader_union_ref_t uref; uref.type = org_apache_arrow_flatbuf_MessageHeader_DictionaryBatch; uref.value = ref; return uref; }
+static inline org_apache_arrow_flatbuf_MessageHeader_union_ref_t org_apache_arrow_flatbuf_MessageHeader_as_RecordBatch(org_apache_arrow_flatbuf_RecordBatch_ref_t ref)
+{ org_apache_arrow_flatbuf_MessageHeader_union_ref_t uref; uref.type = org_apache_arrow_flatbuf_MessageHeader_RecordBatch; uref.value = ref; return uref; }
+static inline org_apache_arrow_flatbuf_MessageHeader_union_ref_t org_apache_arrow_flatbuf_MessageHeader_as_Tensor(org_apache_arrow_flatbuf_Tensor_ref_t ref)
+{ org_apache_arrow_flatbuf_MessageHeader_union_ref_t uref; uref.type = org_apache_arrow_flatbuf_MessageHeader_Tensor; uref.value = ref; return uref; }
+static inline org_apache_arrow_flatbuf_MessageHeader_union_ref_t org_apache_arrow_flatbuf_MessageHeader_as_SparseTensor(org_apache_arrow_flatbuf_SparseTensor_ref_t ref)
+{ org_apache_arrow_flatbuf_MessageHeader_union_ref_t uref; uref.type = org_apache_arrow_flatbuf_MessageHeader_SparseTensor; uref.value = ref; return uref; }
+__flatbuffers_build_union_vector(flatbuffers_, org_apache_arrow_flatbuf_MessageHeader)
+
+static org_apache_arrow_flatbuf_MessageHeader_union_ref_t org_apache_arrow_flatbuf_MessageHeader_clone(flatbuffers_builder_t *B, org_apache_arrow_flatbuf_MessageHeader_union_t u)
+{
+ switch (u.type) {
+ case 1: return org_apache_arrow_flatbuf_MessageHeader_as_Schema(org_apache_arrow_flatbuf_Schema_clone(B, (org_apache_arrow_flatbuf_Schema_table_t)u.value));
+ case 2: return org_apache_arrow_flatbuf_MessageHeader_as_DictionaryBatch(org_apache_arrow_flatbuf_DictionaryBatch_clone(B, (org_apache_arrow_flatbuf_DictionaryBatch_table_t)u.value));
+ case 3: return org_apache_arrow_flatbuf_MessageHeader_as_RecordBatch(org_apache_arrow_flatbuf_RecordBatch_clone(B, (org_apache_arrow_flatbuf_RecordBatch_table_t)u.value));
+ case 4: return org_apache_arrow_flatbuf_MessageHeader_as_Tensor(org_apache_arrow_flatbuf_Tensor_clone(B, (org_apache_arrow_flatbuf_Tensor_table_t)u.value));
+ case 5: return org_apache_arrow_flatbuf_MessageHeader_as_SparseTensor(org_apache_arrow_flatbuf_SparseTensor_clone(B, (org_apache_arrow_flatbuf_SparseTensor_table_t)u.value));
+ default: return org_apache_arrow_flatbuf_MessageHeader_as_NONE();
+ }
+}
+
+__flatbuffers_build_scalar_field(0, flatbuffers_, org_apache_arrow_flatbuf_BodyCompression_codec, org_apache_arrow_flatbuf_CompressionType, org_apache_arrow_flatbuf_CompressionType_enum_t, 1, 1, INT8_C(0), org_apache_arrow_flatbuf_BodyCompression)
+__flatbuffers_build_scalar_field(1, flatbuffers_, org_apache_arrow_flatbuf_BodyCompression_method, org_apache_arrow_flatbuf_BodyCompressionMethod, org_apache_arrow_flatbuf_BodyCompressionMethod_enum_t, 1, 1, INT8_C(0), org_apache_arrow_flatbuf_BodyCompression)
+
+static inline org_apache_arrow_flatbuf_BodyCompression_ref_t org_apache_arrow_flatbuf_BodyCompression_create(flatbuffers_builder_t *B __org_apache_arrow_flatbuf_BodyCompression_formal_args)
+{
+ if (org_apache_arrow_flatbuf_BodyCompression_start(B)
+ || org_apache_arrow_flatbuf_BodyCompression_codec_add(B, v0)
+ || org_apache_arrow_flatbuf_BodyCompression_method_add(B, v1)) {
+ return 0;
+ }
+ return org_apache_arrow_flatbuf_BodyCompression_end(B);
+}
+
+static org_apache_arrow_flatbuf_BodyCompression_ref_t org_apache_arrow_flatbuf_BodyCompression_clone(flatbuffers_builder_t *B, org_apache_arrow_flatbuf_BodyCompression_table_t t)
+{
+ __flatbuffers_memoize_begin(B, t);
+ if (org_apache_arrow_flatbuf_BodyCompression_start(B)
+ || org_apache_arrow_flatbuf_BodyCompression_codec_pick(B, t)
+ || org_apache_arrow_flatbuf_BodyCompression_method_pick(B, t)) {
+ return 0;
+ }
+ __flatbuffers_memoize_end(B, t, org_apache_arrow_flatbuf_BodyCompression_end(B));
+}
+
+__flatbuffers_build_scalar_field(0, flatbuffers_, org_apache_arrow_flatbuf_RecordBatch_length, flatbuffers_int64, int64_t, 8, 8, INT64_C(0), org_apache_arrow_flatbuf_RecordBatch)
+__flatbuffers_build_vector_field(1, flatbuffers_, org_apache_arrow_flatbuf_RecordBatch_nodes, org_apache_arrow_flatbuf_FieldNode, org_apache_arrow_flatbuf_FieldNode_t, org_apache_arrow_flatbuf_RecordBatch)
+__flatbuffers_build_vector_field(2, flatbuffers_, org_apache_arrow_flatbuf_RecordBatch_buffers, org_apache_arrow_flatbuf_Buffer, org_apache_arrow_flatbuf_Buffer_t, org_apache_arrow_flatbuf_RecordBatch)
+__flatbuffers_build_table_field(3, flatbuffers_, org_apache_arrow_flatbuf_RecordBatch_compression, org_apache_arrow_flatbuf_BodyCompression, org_apache_arrow_flatbuf_RecordBatch)
+__flatbuffers_build_vector_field(4, flatbuffers_, org_apache_arrow_flatbuf_RecordBatch_variadicBufferCounts, flatbuffers_int64, int64_t, org_apache_arrow_flatbuf_RecordBatch)
+
+static inline org_apache_arrow_flatbuf_RecordBatch_ref_t org_apache_arrow_flatbuf_RecordBatch_create(flatbuffers_builder_t *B __org_apache_arrow_flatbuf_RecordBatch_formal_args)
+{
+ if (org_apache_arrow_flatbuf_RecordBatch_start(B)
+ || org_apache_arrow_flatbuf_RecordBatch_length_add(B, v0)
+ || org_apache_arrow_flatbuf_RecordBatch_nodes_add(B, v1)
+ || org_apache_arrow_flatbuf_RecordBatch_buffers_add(B, v2)
+ || org_apache_arrow_flatbuf_RecordBatch_compression_add(B, v3)
+ || org_apache_arrow_flatbuf_RecordBatch_variadicBufferCounts_add(B, v4)) {
+ return 0;
+ }
+ return org_apache_arrow_flatbuf_RecordBatch_end(B);
+}
+
+static org_apache_arrow_flatbuf_RecordBatch_ref_t org_apache_arrow_flatbuf_RecordBatch_clone(flatbuffers_builder_t *B, org_apache_arrow_flatbuf_RecordBatch_table_t t)
+{
+ __flatbuffers_memoize_begin(B, t);
+ if (org_apache_arrow_flatbuf_RecordBatch_start(B)
+ || org_apache_arrow_flatbuf_RecordBatch_length_pick(B, t)
+ || org_apache_arrow_flatbuf_RecordBatch_nodes_pick(B, t)
+ || org_apache_arrow_flatbuf_RecordBatch_buffers_pick(B, t)
+ || org_apache_arrow_flatbuf_RecordBatch_compression_pick(B, t)
+ || org_apache_arrow_flatbuf_RecordBatch_variadicBufferCounts_pick(B, t)) {
+ return 0;
+ }
+ __flatbuffers_memoize_end(B, t, org_apache_arrow_flatbuf_RecordBatch_end(B));
+}
+
+__flatbuffers_build_scalar_field(0, flatbuffers_, org_apache_arrow_flatbuf_DictionaryBatch_id, flatbuffers_int64, int64_t, 8, 8, INT64_C(0), org_apache_arrow_flatbuf_DictionaryBatch)
+__flatbuffers_build_table_field(1, flatbuffers_, org_apache_arrow_flatbuf_DictionaryBatch_data, org_apache_arrow_flatbuf_RecordBatch, org_apache_arrow_flatbuf_DictionaryBatch)
+__flatbuffers_build_scalar_field(2, flatbuffers_, org_apache_arrow_flatbuf_DictionaryBatch_isDelta, flatbuffers_bool, flatbuffers_bool_t, 1, 1, UINT8_C(0), org_apache_arrow_flatbuf_DictionaryBatch)
+
+static inline org_apache_arrow_flatbuf_DictionaryBatch_ref_t org_apache_arrow_flatbuf_DictionaryBatch_create(flatbuffers_builder_t *B __org_apache_arrow_flatbuf_DictionaryBatch_formal_args)
+{
+ if (org_apache_arrow_flatbuf_DictionaryBatch_start(B)
+ || org_apache_arrow_flatbuf_DictionaryBatch_id_add(B, v0)
+ || org_apache_arrow_flatbuf_DictionaryBatch_data_add(B, v1)
+ || org_apache_arrow_flatbuf_DictionaryBatch_isDelta_add(B, v2)) {
+ return 0;
+ }
+ return org_apache_arrow_flatbuf_DictionaryBatch_end(B);
+}
+
+static org_apache_arrow_flatbuf_DictionaryBatch_ref_t org_apache_arrow_flatbuf_DictionaryBatch_clone(flatbuffers_builder_t *B, org_apache_arrow_flatbuf_DictionaryBatch_table_t t)
+{
+ __flatbuffers_memoize_begin(B, t);
+ if (org_apache_arrow_flatbuf_DictionaryBatch_start(B)
+ || org_apache_arrow_flatbuf_DictionaryBatch_id_pick(B, t)
+ || org_apache_arrow_flatbuf_DictionaryBatch_data_pick(B, t)
+ || org_apache_arrow_flatbuf_DictionaryBatch_isDelta_pick(B, t)) {
+ return 0;
+ }
+ __flatbuffers_memoize_end(B, t, org_apache_arrow_flatbuf_DictionaryBatch_end(B));
+}
+
+__flatbuffers_build_scalar_field(0, flatbuffers_, org_apache_arrow_flatbuf_Message_version, org_apache_arrow_flatbuf_MetadataVersion, org_apache_arrow_flatbuf_MetadataVersion_enum_t, 2, 2, INT16_C(0), org_apache_arrow_flatbuf_Message)
+__flatbuffers_build_union_field(2, flatbuffers_, org_apache_arrow_flatbuf_Message_header, org_apache_arrow_flatbuf_MessageHeader, org_apache_arrow_flatbuf_Message)
+__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_Message_header, org_apache_arrow_flatbuf_MessageHeader, Schema, org_apache_arrow_flatbuf_Schema)
+__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_Message_header, org_apache_arrow_flatbuf_MessageHeader, DictionaryBatch, org_apache_arrow_flatbuf_DictionaryBatch)
+__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_Message_header, org_apache_arrow_flatbuf_MessageHeader, RecordBatch, org_apache_arrow_flatbuf_RecordBatch)
+__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_Message_header, org_apache_arrow_flatbuf_MessageHeader, Tensor, org_apache_arrow_flatbuf_Tensor)
+__flatbuffers_build_union_table_value_field(flatbuffers_, org_apache_arrow_flatbuf_Message_header, org_apache_arrow_flatbuf_MessageHeader, SparseTensor, org_apache_arrow_flatbuf_SparseTensor)
+__flatbuffers_build_scalar_field(3, flatbuffers_, org_apache_arrow_flatbuf_Message_bodyLength, flatbuffers_int64, int64_t, 8, 8, INT64_C(0), org_apache_arrow_flatbuf_Message)
+__flatbuffers_build_table_vector_field(4, flatbuffers_, org_apache_arrow_flatbuf_Message_custom_metadata, org_apache_arrow_flatbuf_KeyValue, org_apache_arrow_flatbuf_Message)
+
+static inline org_apache_arrow_flatbuf_Message_ref_t org_apache_arrow_flatbuf_Message_create(flatbuffers_builder_t *B __org_apache_arrow_flatbuf_Message_formal_args)
+{
+ if (org_apache_arrow_flatbuf_Message_start(B)
+ || org_apache_arrow_flatbuf_Message_bodyLength_add(B, v3)
+ || org_apache_arrow_flatbuf_Message_header_add_value(B, v2)
+ || org_apache_arrow_flatbuf_Message_custom_metadata_add(B, v4)
+ || org_apache_arrow_flatbuf_Message_version_add(B, v0)
+ || org_apache_arrow_flatbuf_Message_header_add_type(B, v2.type)) {
+ return 0;
+ }
+ return org_apache_arrow_flatbuf_Message_end(B);
+}
+
+static org_apache_arrow_flatbuf_Message_ref_t org_apache_arrow_flatbuf_Message_clone(flatbuffers_builder_t *B, org_apache_arrow_flatbuf_Message_table_t t)
+{
+ __flatbuffers_memoize_begin(B, t);
+ if (org_apache_arrow_flatbuf_Message_start(B)
+ || org_apache_arrow_flatbuf_Message_bodyLength_pick(B, t)
+ || org_apache_arrow_flatbuf_Message_header_pick(B, t)
+ || org_apache_arrow_flatbuf_Message_custom_metadata_pick(B, t)
+ || org_apache_arrow_flatbuf_Message_version_pick(B, t)) {
+ return 0;
+ }
+ __flatbuffers_memoize_end(B, t, org_apache_arrow_flatbuf_Message_end(B));
+}
+
+#include "flatcc/flatcc_epilogue.h"
+#endif /* MESSAGE_BUILDER_H */
+#ifndef MESSAGE_VERIFIER_H
+#define MESSAGE_VERIFIER_H
+
+/* Generated by flatcc 0.6.2 FlatBuffers schema compiler for C by dvide.com */
+
+#ifndef MESSAGE_READER_H
+#include "Message_reader.h"
#endif
-#define org_apache_arrow_flatbuf_RunEndEncoded_type_hash ((flatbuffers_thash_t)0x5a98bcc)
-#define org_apache_arrow_flatbuf_RunEndEncoded_type_identifier "\xcc\x8b\xa9\x05"
-#ifndef org_apache_arrow_flatbuf_RunEndEncoded_file_extension
-#define org_apache_arrow_flatbuf_RunEndEncoded_file_extension "bin"
+#include "flatcc/flatcc_verifier.h"
+#ifndef TENSOR_VERIFIER_H
+#include "Tensor_verifier.h"
#endif
-#ifndef org_apache_arrow_flatbuf_Decimal_file_identifier
-#define org_apache_arrow_flatbuf_Decimal_file_identifier 0
+#ifndef SPARSETENSOR_VERIFIER_H
+#include "SparseTensor_verifier.h"
#endif
-/* deprecated, use org_apache_arrow_flatbuf_Decimal_file_identifier */
-#ifndef org_apache_arrow_flatbuf_Decimal_identifier
-#define org_apache_arrow_flatbuf_Decimal_identifier 0
+#ifndef SCHEMA_VERIFIER_H
+#include "Schema_verifier.h"
#endif
-#define org_apache_arrow_flatbuf_Decimal_type_hash ((flatbuffers_thash_t)0x91d1beb7)
-#define org_apache_arrow_flatbuf_Decimal_type_identifier "\xb7\xbe\xd1\x91"
-#ifndef org_apache_arrow_flatbuf_Decimal_file_extension
-#define org_apache_arrow_flatbuf_Decimal_file_extension "bin"
-#endif
-#ifndef org_apache_arrow_flatbuf_Date_file_identifier
-#define org_apache_arrow_flatbuf_Date_file_identifier 0
-#endif
-/* deprecated, use org_apache_arrow_flatbuf_Date_file_identifier */
-#ifndef org_apache_arrow_flatbuf_Date_identifier
-#define org_apache_arrow_flatbuf_Date_identifier 0
-#endif
-#define org_apache_arrow_flatbuf_Date_type_hash ((flatbuffers_thash_t)0xe0ccf624)
-#define org_apache_arrow_flatbuf_Date_type_identifier "\x24\xf6\xcc\xe0"
-#ifndef org_apache_arrow_flatbuf_Date_file_extension
-#define org_apache_arrow_flatbuf_Date_file_extension "bin"
+#include "flatcc/flatcc_prologue.h"
+
+static int org_apache_arrow_flatbuf_BodyCompression_verify_table(flatcc_table_verifier_descriptor_t *td);
+static int org_apache_arrow_flatbuf_RecordBatch_verify_table(flatcc_table_verifier_descriptor_t *td);
+static int org_apache_arrow_flatbuf_DictionaryBatch_verify_table(flatcc_table_verifier_descriptor_t *td);
+static int org_apache_arrow_flatbuf_Message_verify_table(flatcc_table_verifier_descriptor_t *td);
+
+static int org_apache_arrow_flatbuf_MessageHeader_union_verifier(flatcc_union_verifier_descriptor_t *ud)
+{
+ switch (ud->type) {
+ case 1: return flatcc_verify_union_table(ud, org_apache_arrow_flatbuf_Schema_verify_table); /* Schema */
+ case 2: return flatcc_verify_union_table(ud, org_apache_arrow_flatbuf_DictionaryBatch_verify_table); /* DictionaryBatch */
+ case 3: return flatcc_verify_union_table(ud, org_apache_arrow_flatbuf_RecordBatch_verify_table); /* RecordBatch */
+ case 4: return flatcc_verify_union_table(ud, org_apache_arrow_flatbuf_Tensor_verify_table); /* Tensor */
+ case 5: return flatcc_verify_union_table(ud, org_apache_arrow_flatbuf_SparseTensor_verify_table); /* SparseTensor */
+ default: return flatcc_verify_ok;
+ }
+}
+
+static inline int org_apache_arrow_flatbuf_FieldNode_verify_as_root(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_struct_as_root(buf, bufsiz, org_apache_arrow_flatbuf_FieldNode_identifier, 16, 8);
+}
+
+static inline int org_apache_arrow_flatbuf_FieldNode_verify_as_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_struct_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_FieldNode_identifier, 16, 8);
+}
+
+static inline int org_apache_arrow_flatbuf_FieldNode_verify_as_typed_root(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_struct_as_typed_root(buf, bufsiz, org_apache_arrow_flatbuf_FieldNode_type_hash, 16, 8);
+}
+
+static inline int org_apache_arrow_flatbuf_FieldNode_verify_as_typed_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_struct_as_typed_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_FieldNode_type_hash, 16, 8);
+}
+
+static inline int org_apache_arrow_flatbuf_FieldNode_verify_as_root_with_type_hash(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+{
+ return flatcc_verify_struct_as_typed_root(buf, bufsiz, thash, 16, 8);
+}
+
+static inline int org_apache_arrow_flatbuf_FieldNode_verify_as_root_with_type_hash_and_size(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+{
+ return flatcc_verify_struct_as_typed_root_with_size(buf, bufsiz, thash, 16, 8);
+}
+
+static inline int org_apache_arrow_flatbuf_FieldNode_verify_as_root_with_identifier(const void *buf, size_t bufsiz, const char *fid)
+{
+ return flatcc_verify_struct_as_root(buf, bufsiz, fid, 16, 8);
+}
+
+static inline int org_apache_arrow_flatbuf_FieldNode_verify_as_root_with_identifier_and_size(const void *buf, size_t bufsiz, const char *fid)
+{
+ return flatcc_verify_struct_as_root_with_size(buf, bufsiz, fid, 16, 8);
+}
+
+static int org_apache_arrow_flatbuf_BodyCompression_verify_table(flatcc_table_verifier_descriptor_t *td)
+{
+ int ret;
+ if ((ret = flatcc_verify_field(td, 0, 1, 1) /* codec */)) return ret;
+ if ((ret = flatcc_verify_field(td, 1, 1, 1) /* method */)) return ret;
+ return flatcc_verify_ok;
+}
+
+static inline int org_apache_arrow_flatbuf_BodyCompression_verify_as_root(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_BodyCompression_identifier, &org_apache_arrow_flatbuf_BodyCompression_verify_table);
+}
+
+static inline int org_apache_arrow_flatbuf_BodyCompression_verify_as_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_BodyCompression_identifier, &org_apache_arrow_flatbuf_BodyCompression_verify_table);
+}
+
+static inline int org_apache_arrow_flatbuf_BodyCompression_verify_as_typed_root(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_BodyCompression_type_identifier, &org_apache_arrow_flatbuf_BodyCompression_verify_table);
+}
+
+static inline int org_apache_arrow_flatbuf_BodyCompression_verify_as_typed_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_BodyCompression_type_identifier, &org_apache_arrow_flatbuf_BodyCompression_verify_table);
+}
+
+static inline int org_apache_arrow_flatbuf_BodyCompression_verify_as_root_with_identifier(const void *buf, size_t bufsiz, const char *fid)
+{
+ return flatcc_verify_table_as_root(buf, bufsiz, fid, &org_apache_arrow_flatbuf_BodyCompression_verify_table);
+}
+
+static inline int org_apache_arrow_flatbuf_BodyCompression_verify_as_root_with_identifier_and_size(const void *buf, size_t bufsiz, const char *fid)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, fid, &org_apache_arrow_flatbuf_BodyCompression_verify_table);
+}
+
+static inline int org_apache_arrow_flatbuf_BodyCompression_verify_as_root_with_type_hash(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+{
+ return flatcc_verify_table_as_typed_root(buf, bufsiz, thash, &org_apache_arrow_flatbuf_BodyCompression_verify_table);
+}
+
+static inline int org_apache_arrow_flatbuf_BodyCompression_verify_as_root_with_type_hash_and_size(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+{
+ return flatcc_verify_table_as_typed_root_with_size(buf, bufsiz, thash, &org_apache_arrow_flatbuf_BodyCompression_verify_table);
+}
+
+static int org_apache_arrow_flatbuf_RecordBatch_verify_table(flatcc_table_verifier_descriptor_t *td)
+{
+ int ret;
+ if ((ret = flatcc_verify_field(td, 0, 8, 8) /* length */)) return ret;
+ if ((ret = flatcc_verify_vector_field(td, 1, 0, 16, 8, INT64_C(268435455)) /* nodes */)) return ret;
+ if ((ret = flatcc_verify_vector_field(td, 2, 0, 16, 8, INT64_C(268435455)) /* buffers */)) return ret;
+ if ((ret = flatcc_verify_table_field(td, 3, 0, &org_apache_arrow_flatbuf_BodyCompression_verify_table) /* compression */)) return ret;
+ if ((ret = flatcc_verify_vector_field(td, 4, 0, 8, 8, INT64_C(536870911)) /* variadicBufferCounts */)) return ret;
+ return flatcc_verify_ok;
+}
+
+static inline int org_apache_arrow_flatbuf_RecordBatch_verify_as_root(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_RecordBatch_identifier, &org_apache_arrow_flatbuf_RecordBatch_verify_table);
+}
+
+static inline int org_apache_arrow_flatbuf_RecordBatch_verify_as_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_RecordBatch_identifier, &org_apache_arrow_flatbuf_RecordBatch_verify_table);
+}
+
+static inline int org_apache_arrow_flatbuf_RecordBatch_verify_as_typed_root(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_RecordBatch_type_identifier, &org_apache_arrow_flatbuf_RecordBatch_verify_table);
+}
+
+static inline int org_apache_arrow_flatbuf_RecordBatch_verify_as_typed_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_RecordBatch_type_identifier, &org_apache_arrow_flatbuf_RecordBatch_verify_table);
+}
+
+static inline int org_apache_arrow_flatbuf_RecordBatch_verify_as_root_with_identifier(const void *buf, size_t bufsiz, const char *fid)
+{
+ return flatcc_verify_table_as_root(buf, bufsiz, fid, &org_apache_arrow_flatbuf_RecordBatch_verify_table);
+}
+
+static inline int org_apache_arrow_flatbuf_RecordBatch_verify_as_root_with_identifier_and_size(const void *buf, size_t bufsiz, const char *fid)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, fid, &org_apache_arrow_flatbuf_RecordBatch_verify_table);
+}
+
+static inline int org_apache_arrow_flatbuf_RecordBatch_verify_as_root_with_type_hash(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+{
+ return flatcc_verify_table_as_typed_root(buf, bufsiz, thash, &org_apache_arrow_flatbuf_RecordBatch_verify_table);
+}
+
+static inline int org_apache_arrow_flatbuf_RecordBatch_verify_as_root_with_type_hash_and_size(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+{
+ return flatcc_verify_table_as_typed_root_with_size(buf, bufsiz, thash, &org_apache_arrow_flatbuf_RecordBatch_verify_table);
+}
+
+static int org_apache_arrow_flatbuf_DictionaryBatch_verify_table(flatcc_table_verifier_descriptor_t *td)
+{
+ int ret;
+ if ((ret = flatcc_verify_field(td, 0, 8, 8) /* id */)) return ret;
+ if ((ret = flatcc_verify_table_field(td, 1, 0, &org_apache_arrow_flatbuf_RecordBatch_verify_table) /* data */)) return ret;
+ if ((ret = flatcc_verify_field(td, 2, 1, 1) /* isDelta */)) return ret;
+ return flatcc_verify_ok;
+}
+
+static inline int org_apache_arrow_flatbuf_DictionaryBatch_verify_as_root(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_DictionaryBatch_identifier, &org_apache_arrow_flatbuf_DictionaryBatch_verify_table);
+}
+
+static inline int org_apache_arrow_flatbuf_DictionaryBatch_verify_as_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_DictionaryBatch_identifier, &org_apache_arrow_flatbuf_DictionaryBatch_verify_table);
+}
+
+static inline int org_apache_arrow_flatbuf_DictionaryBatch_verify_as_typed_root(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_DictionaryBatch_type_identifier, &org_apache_arrow_flatbuf_DictionaryBatch_verify_table);
+}
+
+static inline int org_apache_arrow_flatbuf_DictionaryBatch_verify_as_typed_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_DictionaryBatch_type_identifier, &org_apache_arrow_flatbuf_DictionaryBatch_verify_table);
+}
+
+static inline int org_apache_arrow_flatbuf_DictionaryBatch_verify_as_root_with_identifier(const void *buf, size_t bufsiz, const char *fid)
+{
+ return flatcc_verify_table_as_root(buf, bufsiz, fid, &org_apache_arrow_flatbuf_DictionaryBatch_verify_table);
+}
+
+static inline int org_apache_arrow_flatbuf_DictionaryBatch_verify_as_root_with_identifier_and_size(const void *buf, size_t bufsiz, const char *fid)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, fid, &org_apache_arrow_flatbuf_DictionaryBatch_verify_table);
+}
+
+static inline int org_apache_arrow_flatbuf_DictionaryBatch_verify_as_root_with_type_hash(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+{
+ return flatcc_verify_table_as_typed_root(buf, bufsiz, thash, &org_apache_arrow_flatbuf_DictionaryBatch_verify_table);
+}
+
+static inline int org_apache_arrow_flatbuf_DictionaryBatch_verify_as_root_with_type_hash_and_size(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+{
+ return flatcc_verify_table_as_typed_root_with_size(buf, bufsiz, thash, &org_apache_arrow_flatbuf_DictionaryBatch_verify_table);
+}
+
+static int org_apache_arrow_flatbuf_Message_verify_table(flatcc_table_verifier_descriptor_t *td)
+{
+ int ret;
+ if ((ret = flatcc_verify_field(td, 0, 2, 2) /* version */)) return ret;
+ if ((ret = flatcc_verify_union_field(td, 2, 0, &org_apache_arrow_flatbuf_MessageHeader_union_verifier) /* header */)) return ret;
+ if ((ret = flatcc_verify_field(td, 3, 8, 8) /* bodyLength */)) return ret;
+ if ((ret = flatcc_verify_table_vector_field(td, 4, 0, &org_apache_arrow_flatbuf_KeyValue_verify_table) /* custom_metadata */)) return ret;
+ return flatcc_verify_ok;
+}
+
+static inline int org_apache_arrow_flatbuf_Message_verify_as_root(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_Message_identifier, &org_apache_arrow_flatbuf_Message_verify_table);
+}
+
+static inline int org_apache_arrow_flatbuf_Message_verify_as_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_Message_identifier, &org_apache_arrow_flatbuf_Message_verify_table);
+}
+
+static inline int org_apache_arrow_flatbuf_Message_verify_as_typed_root(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root(buf, bufsiz, org_apache_arrow_flatbuf_Message_type_identifier, &org_apache_arrow_flatbuf_Message_verify_table);
+}
+
+static inline int org_apache_arrow_flatbuf_Message_verify_as_typed_root_with_size(const void *buf, size_t bufsiz)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, org_apache_arrow_flatbuf_Message_type_identifier, &org_apache_arrow_flatbuf_Message_verify_table);
+}
+
+static inline int org_apache_arrow_flatbuf_Message_verify_as_root_with_identifier(const void *buf, size_t bufsiz, const char *fid)
+{
+ return flatcc_verify_table_as_root(buf, bufsiz, fid, &org_apache_arrow_flatbuf_Message_verify_table);
+}
+
+static inline int org_apache_arrow_flatbuf_Message_verify_as_root_with_identifier_and_size(const void *buf, size_t bufsiz, const char *fid)
+{
+ return flatcc_verify_table_as_root_with_size(buf, bufsiz, fid, &org_apache_arrow_flatbuf_Message_verify_table);
+}
+
+static inline int org_apache_arrow_flatbuf_Message_verify_as_root_with_type_hash(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+{
+ return flatcc_verify_table_as_typed_root(buf, bufsiz, thash, &org_apache_arrow_flatbuf_Message_verify_table);
+}
+
+static inline int org_apache_arrow_flatbuf_Message_verify_as_root_with_type_hash_and_size(const void *buf, size_t bufsiz, flatbuffers_thash_t thash)
+{
+ return flatcc_verify_table_as_typed_root_with_size(buf, bufsiz, thash, &org_apache_arrow_flatbuf_Message_verify_table);
+}
+
+#include "flatcc/flatcc_epilogue.h"
+#endif /* MESSAGE_VERIFIER_H */
+#ifndef SCHEMA_READER_H
+#define SCHEMA_READER_H
+
+/* Generated by flatcc 0.6.2 FlatBuffers schema compiler for C by dvide.com */
+
+#ifndef FLATBUFFERS_COMMON_READER_H
+#include "flatbuffers_common_reader.h"
#endif
-#ifndef org_apache_arrow_flatbuf_Time_file_identifier
-#define org_apache_arrow_flatbuf_Time_file_identifier 0
+#include "flatcc/flatcc_flatbuffers.h"
+#ifndef __alignas_is_defined
+#include <stdalign.h>
#endif
-/* deprecated, use org_apache_arrow_flatbuf_Time_file_identifier */
-#ifndef org_apache_arrow_flatbuf_Time_identifier
-#define org_apache_arrow_flatbuf_Time_identifier 0
+#include "flatcc/flatcc_prologue.h"
+#ifndef flatbuffers_identifier
+#define flatbuffers_identifier 0
#endif
-#define org_apache_arrow_flatbuf_Time_type_hash ((flatbuffers_thash_t)0x2442a489)
-#define org_apache_arrow_flatbuf_Time_type_identifier "\x89\xa4\x42\x24"
-#ifndef org_apache_arrow_flatbuf_Time_file_extension
-#define org_apache_arrow_flatbuf_Time_file_extension "bin"
+#ifndef flatbuffers_extension
+#define flatbuffers_extension "bin"
#endif
-#ifndef org_apache_arrow_flatbuf_Timestamp_file_identifier
-#define org_apache_arrow_flatbuf_Timestamp_file_identifier 0
+
+typedef struct org_apache_arrow_flatbuf_Buffer org_apache_arrow_flatbuf_Buffer_t;
+typedef const org_apache_arrow_flatbuf_Buffer_t *org_apache_arrow_flatbuf_Buffer_struct_t;
+typedef org_apache_arrow_flatbuf_Buffer_t *org_apache_arrow_flatbuf_Buffer_mutable_struct_t;
+typedef const org_apache_arrow_flatbuf_Buffer_t *org_apache_arrow_flatbuf_Buffer_vec_t;
+typedef org_apache_arrow_flatbuf_Buffer_t *org_apache_arrow_flatbuf_Buffer_mutable_vec_t;
+
+typedef const struct org_apache_arrow_flatbuf_Null_table *org_apache_arrow_flatbuf_Null_table_t;
+typedef struct org_apache_arrow_flatbuf_Null_table *org_apache_arrow_flatbuf_Null_mutable_table_t;
+typedef const flatbuffers_uoffset_t *org_apache_arrow_flatbuf_Null_vec_t;
+typedef flatbuffers_uoffset_t *org_apache_arrow_flatbuf_Null_mutable_vec_t;
+typedef const struct org_apache_arrow_flatbuf_Struct__table *org_apache_arrow_flatbuf_Struct__table_t;
+typedef struct org_apache_arrow_flatbuf_Struct__table *org_apache_arrow_flatbuf_Struct__mutable_table_t;
+typedef const flatbuffers_uoffset_t *org_apache_arrow_flatbuf_Struct__vec_t;
+typedef flatbuffers_uoffset_t *org_apache_arrow_flatbuf_Struct__mutable_vec_t;
+typedef const struct org_apache_arrow_flatbuf_List_table *org_apache_arrow_flatbuf_List_table_t;
+typedef struct org_apache_arrow_flatbuf_List_table *org_apache_arrow_flatbuf_List_mutable_table_t;
+typedef const flatbuffers_uoffset_t *org_apache_arrow_flatbuf_List_vec_t;
+typedef flatbuffers_uoffset_t *org_apache_arrow_flatbuf_List_mutable_vec_t;
+typedef const struct org_apache_arrow_flatbuf_LargeList_table *org_apache_arrow_flatbuf_LargeList_table_t;
+typedef struct org_apache_arrow_flatbuf_LargeList_table *org_apache_arrow_flatbuf_LargeList_mutable_table_t;
+typedef const flatbuffers_uoffset_t *org_apache_arrow_flatbuf_LargeList_vec_t;
+typedef flatbuffers_uoffset_t *org_apache_arrow_flatbuf_LargeList_mutable_vec_t;
+typedef const struct org_apache_arrow_flatbuf_ListView_table *org_apache_arrow_flatbuf_ListView_table_t;
+typedef struct org_apache_arrow_flatbuf_ListView_table *org_apache_arrow_flatbuf_ListView_mutable_table_t;
+typedef const flatbuffers_uoffset_t *org_apache_arrow_flatbuf_ListView_vec_t;
+typedef flatbuffers_uoffset_t *org_apache_arrow_flatbuf_ListView_mutable_vec_t;
+typedef const struct org_apache_arrow_flatbuf_LargeListView_table *org_apache_arrow_flatbuf_LargeListView_table_t;
+typedef struct org_apache_arrow_flatbuf_LargeListView_table *org_apache_arrow_flatbuf_LargeListView_mutable_table_t;
+typedef const flatbuffers_uoffset_t *org_apache_arrow_flatbuf_LargeListView_vec_t;
+typedef flatbuffers_uoffset_t *org_apache_arrow_flatbuf_LargeListView_mutable_vec_t;
+typedef const struct org_apache_arrow_flatbuf_FixedSizeList_table *org_apache_arrow_flatbuf_FixedSizeList_table_t;
+typedef struct org_apache_arrow_flatbuf_FixedSizeList_table *org_apache_arrow_flatbuf_FixedSizeList_mutable_table_t;
+typedef const flatbuffers_uoffset_t *org_apache_arrow_flatbuf_FixedSizeList_vec_t;
+typedef flatbuffers_uoffset_t *org_apache_arrow_flatbuf_FixedSizeList_mutable_vec_t;
+typedef const struct org_apache_arrow_flatbuf_Map_table *org_apache_arrow_flatbuf_Map_table_t;
+typedef struct org_apache_arrow_flatbuf_Map_table *org_apache_arrow_flatbuf_Map_mutable_table_t;
+typedef const flatbuffers_uoffset_t *org_apache_arrow_flatbuf_Map_vec_t;
+typedef flatbuffers_uoffset_t *org_apache_arrow_flatbuf_Map_mutable_vec_t;
+typedef const struct org_apache_arrow_flatbuf_Union_table *org_apache_arrow_flatbuf_Union_table_t;
+typedef struct org_apache_arrow_flatbuf_Union_table *org_apache_arrow_flatbuf_Union_mutable_table_t;
+typedef const flatbuffers_uoffset_t *org_apache_arrow_flatbuf_Union_vec_t;
+typedef flatbuffers_uoffset_t *org_apache_arrow_flatbuf_Union_mutable_vec_t;
+typedef const struct org_apache_arrow_flatbuf_Int_table *org_apache_arrow_flatbuf_Int_table_t;
+typedef struct org_apache_arrow_flatbuf_Int_table *org_apache_arrow_flatbuf_Int_mutable_table_t;
+typedef const flatbuffers_uoffset_t *org_apache_arrow_flatbuf_Int_vec_t;
+typedef flatbuffers_uoffset_t *org_apache_arrow_flatbuf_Int_mutable_vec_t;
+typedef const struct org_apache_arrow_flatbuf_FloatingPoint_table *org_apache_arrow_flatbuf_FloatingPoint_table_t;
+typedef struct org_apache_arrow_flatbuf_FloatingPoint_table *org_apache_arrow_flatbuf_FloatingPoint_mutable_table_t;
+typedef const flatbuffers_uoffset_t *org_apache_arrow_flatbuf_FloatingPoint_vec_t;
+typedef flatbuffers_uoffset_t *org_apache_arrow_flatbuf_FloatingPoint_mutable_vec_t;
+typedef const struct org_apache_arrow_flatbuf_Utf8_table *org_apache_arrow_flatbuf_Utf8_table_t;
+typedef struct org_apache_arrow_flatbuf_Utf8_table *org_apache_arrow_flatbuf_Utf8_mutable_table_t;
+typedef const flatbuffers_uoffset_t *org_apache_arrow_flatbuf_Utf8_vec_t;
+typedef flatbuffers_uoffset_t *org_apache_arrow_flatbuf_Utf8_mutable_vec_t;
+typedef const struct org_apache_arrow_flatbuf_Binary_table *org_apache_arrow_flatbuf_Binary_table_t;
+typedef struct org_apache_arrow_flatbuf_Binary_table *org_apache_arrow_flatbuf_Binary_mutable_table_t;
+typedef const flatbuffers_uoffset_t *org_apache_arrow_flatbuf_Binary_vec_t;
+typedef flatbuffers_uoffset_t *org_apache_arrow_flatbuf_Binary_mutable_vec_t;
+typedef const struct org_apache_arrow_flatbuf_LargeUtf8_table *org_apache_arrow_flatbuf_LargeUtf8_table_t;
+typedef struct org_apache_arrow_flatbuf_LargeUtf8_table *org_apache_arrow_flatbuf_LargeUtf8_mutable_table_t;
+typedef const flatbuffers_uoffset_t *org_apache_arrow_flatbuf_LargeUtf8_vec_t;
+typedef flatbuffers_uoffset_t *org_apache_arrow_flatbuf_LargeUtf8_mutable_vec_t;
+typedef const struct org_apache_arrow_flatbuf_LargeBinary_table *org_apache_arrow_flatbuf_LargeBinary_table_t;
+typedef struct org_apache_arrow_flatbuf_LargeBinary_table *org_apache_arrow_flatbuf_LargeBinary_mutable_table_t;
+typedef const flatbuffers_uoffset_t *org_apache_arrow_flatbuf_LargeBinary_vec_t;
+typedef flatbuffers_uoffset_t *org_apache_arrow_flatbuf_LargeBinary_mutable_vec_t;
+typedef const struct org_apache_arrow_flatbuf_Utf8View_table *org_apache_arrow_flatbuf_Utf8View_table_t;
+typedef struct org_apache_arrow_flatbuf_Utf8View_table *org_apache_arrow_flatbuf_Utf8View_mutable_table_t;
+typedef const flatbuffers_uoffset_t *org_apache_arrow_flatbuf_Utf8View_vec_t;
+typedef flatbuffers_uoffset_t *org_apache_arrow_flatbuf_Utf8View_mutable_vec_t;
+typedef const struct org_apache_arrow_flatbuf_BinaryView_table *org_apache_arrow_flatbuf_BinaryView_table_t;
+typedef struct org_apache_arrow_flatbuf_BinaryView_table *org_apache_arrow_flatbuf_BinaryView_mutable_table_t;
+typedef const flatbuffers_uoffset_t *org_apache_arrow_flatbuf_BinaryView_vec_t;
+typedef flatbuffers_uoffset_t *org_apache_arrow_flatbuf_BinaryView_mutable_vec_t;
+typedef const struct org_apache_arrow_flatbuf_FixedSizeBinary_table *org_apache_arrow_flatbuf_FixedSizeBinary_table_t;
+typedef struct org_apache_arrow_flatbuf_FixedSizeBinary_table *org_apache_arrow_flatbuf_FixedSizeBinary_mutable_table_t;
+typedef const flatbuffers_uoffset_t *org_apache_arrow_flatbuf_FixedSizeBinary_vec_t;
+typedef flatbuffers_uoffset_t *org_apache_arrow_flatbuf_FixedSizeBinary_mutable_vec_t;
+typedef const struct org_apache_arrow_flatbuf_Bool_table *org_apache_arrow_flatbuf_Bool_table_t;
+typedef struct org_apache_arrow_flatbuf_Bool_table *org_apache_arrow_flatbuf_Bool_mutable_table_t;
+typedef const flatbuffers_uoffset_t *org_apache_arrow_flatbuf_Bool_vec_t;
+typedef flatbuffers_uoffset_t *org_apache_arrow_flatbuf_Bool_mutable_vec_t;
+typedef const struct org_apache_arrow_flatbuf_RunEndEncoded_table *org_apache_arrow_flatbuf_RunEndEncoded_table_t;
+typedef struct org_apache_arrow_flatbuf_RunEndEncoded_table *org_apache_arrow_flatbuf_RunEndEncoded_mutable_table_t;
+typedef const flatbuffers_uoffset_t *org_apache_arrow_flatbuf_RunEndEncoded_vec_t;
+typedef flatbuffers_uoffset_t *org_apache_arrow_flatbuf_RunEndEncoded_mutable_vec_t;
+typedef const struct org_apache_arrow_flatbuf_Decimal_table *org_apache_arrow_flatbuf_Decimal_table_t;
+typedef struct org_apache_arrow_flatbuf_Decimal_table *org_apache_arrow_flatbuf_Decimal_mutable_table_t;
+typedef const flatbuffers_uoffset_t *org_apache_arrow_flatbuf_Decimal_vec_t;
+typedef flatbuffers_uoffset_t *org_apache_arrow_flatbuf_Decimal_mutable_vec_t;
+typedef const struct org_apache_arrow_flatbuf_Date_table *org_apache_arrow_flatbuf_Date_table_t;
+typedef struct org_apache_arrow_flatbuf_Date_table *org_apache_arrow_flatbuf_Date_mutable_table_t;
+typedef const flatbuffers_uoffset_t *org_apache_arrow_flatbuf_Date_vec_t;
+typedef flatbuffers_uoffset_t *org_apache_arrow_flatbuf_Date_mutable_vec_t;
+typedef const struct org_apache_arrow_flatbuf_Time_table *org_apache_arrow_flatbuf_Time_table_t;
+typedef struct org_apache_arrow_flatbuf_Time_table *org_apache_arrow_flatbuf_Time_mutable_table_t;
+typedef const flatbuffers_uoffset_t *org_apache_arrow_flatbuf_Time_vec_t;
+typedef flatbuffers_uoffset_t *org_apache_arrow_flatbuf_Time_mutable_vec_t;
+typedef const struct org_apache_arrow_flatbuf_Timestamp_table *org_apache_arrow_flatbuf_Timestamp_table_t;
+typedef struct org_apache_arrow_flatbuf_Timestamp_table *org_apache_arrow_flatbuf_Timestamp_mutable_table_t;
+typedef const flatbuffers_uoffset_t *org_apache_arrow_flatbuf_Timestamp_vec_t;
+typedef flatbuffers_uoffset_t *org_apache_arrow_flatbuf_Timestamp_mutable_vec_t;
+typedef const struct org_apache_arrow_flatbuf_Interval_table *org_apache_arrow_flatbuf_Interval_table_t;
+typedef struct org_apache_arrow_flatbuf_Interval_table *org_apache_arrow_flatbuf_Interval_mutable_table_t;
+typedef const flatbuffers_uoffset_t *org_apache_arrow_flatbuf_Interval_vec_t;
+typedef flatbuffers_uoffset_t *org_apache_arrow_flatbuf_Interval_mutable_vec_t;
+typedef const struct org_apache_arrow_flatbuf_Duration_table *org_apache_arrow_flatbuf_Duration_table_t;
+typedef struct org_apache_arrow_flatbuf_Duration_table *org_apache_arrow_flatbuf_Duration_mutable_table_t;
+typedef const flatbuffers_uoffset_t *org_apache_arrow_flatbuf_Duration_vec_t;
+typedef flatbuffers_uoffset_t *org_apache_arrow_flatbuf_Duration_mutable_vec_t;
+typedef const struct org_apache_arrow_flatbuf_KeyValue_table *org_apache_arrow_flatbuf_KeyValue_table_t;
+typedef struct org_apache_arrow_flatbuf_KeyValue_table *org_apache_arrow_flatbuf_KeyValue_mutable_table_t;
+typedef const flatbuffers_uoffset_t *org_apache_arrow_flatbuf_KeyValue_vec_t;
+typedef flatbuffers_uoffset_t *org_apache_arrow_flatbuf_KeyValue_mutable_vec_t;
+typedef const struct org_apache_arrow_flatbuf_DictionaryEncoding_table *org_apache_arrow_flatbuf_DictionaryEncoding_table_t;
+typedef struct org_apache_arrow_flatbuf_DictionaryEncoding_table *org_apache_arrow_flatbuf_DictionaryEncoding_mutable_table_t;
+typedef const flatbuffers_uoffset_t *org_apache_arrow_flatbuf_DictionaryEncoding_vec_t;
+typedef flatbuffers_uoffset_t *org_apache_arrow_flatbuf_DictionaryEncoding_mutable_vec_t;
+typedef const struct org_apache_arrow_flatbuf_Field_table *org_apache_arrow_flatbuf_Field_table_t;
+typedef struct org_apache_arrow_flatbuf_Field_table *org_apache_arrow_flatbuf_Field_mutable_table_t;
+typedef const flatbuffers_uoffset_t *org_apache_arrow_flatbuf_Field_vec_t;
+typedef flatbuffers_uoffset_t *org_apache_arrow_flatbuf_Field_mutable_vec_t;
+typedef const struct org_apache_arrow_flatbuf_Schema_table *org_apache_arrow_flatbuf_Schema_table_t;
+typedef struct org_apache_arrow_flatbuf_Schema_table *org_apache_arrow_flatbuf_Schema_mutable_table_t;
+typedef const flatbuffers_uoffset_t *org_apache_arrow_flatbuf_Schema_vec_t;
+typedef flatbuffers_uoffset_t *org_apache_arrow_flatbuf_Schema_mutable_vec_t;
+#ifndef org_apache_arrow_flatbuf_Null_file_identifier
+#define org_apache_arrow_flatbuf_Null_file_identifier 0
#endif
-/* deprecated, use org_apache_arrow_flatbuf_Timestamp_file_identifier */
-#ifndef org_apache_arrow_flatbuf_Timestamp_identifier
-#define org_apache_arrow_flatbuf_Timestamp_identifier 0
+/* deprecated, use org_apache_arrow_flatbuf_Null_file_identifier */
+#ifndef org_apache_arrow_flatbuf_Null_identifier
+#define org_apache_arrow_flatbuf_Null_identifier 0
#endif
-#define org_apache_arrow_flatbuf_Timestamp_type_hash ((flatbuffers_thash_t)0x1fddf080)
-#define org_apache_arrow_flatbuf_Timestamp_type_identifier "\x80\xf0\xdd\x1f"
-#ifndef org_apache_arrow_flatbuf_Timestamp_file_extension
-#define org_apache_arrow_flatbuf_Timestamp_file_extension "bin"
+#define org_apache_arrow_flatbuf_Null_type_hash ((flatbuffers_thash_t)0x7b36a4dd)
+#define org_apache_arrow_flatbuf_Null_type_identifier "\xdd\xa4\x36\x7b"
+#ifndef org_apache_arrow_flatbuf_Null_file_extension
+#define org_apache_arrow_flatbuf_Null_file_extension "bin"
#endif
-#ifndef org_apache_arrow_flatbuf_Interval_file_identifier
-#define org_apache_arrow_flatbuf_Interval_file_identifier 0
+#ifndef org_apache_arrow_flatbuf_Struct__file_identifier
+#define org_apache_arrow_flatbuf_Struct__file_identifier 0
#endif
-/* deprecated, use org_apache_arrow_flatbuf_Interval_file_identifier */
-#ifndef org_apache_arrow_flatbuf_Interval_identifier
-#define org_apache_arrow_flatbuf_Interval_identifier 0
+/* deprecated, use org_apache_arrow_flatbuf_Struct__file_identifier */
+#ifndef org_apache_arrow_flatbuf_Struct__identifier
+#define org_apache_arrow_flatbuf_Struct__identifier 0
#endif
-#define org_apache_arrow_flatbuf_Interval_type_hash ((flatbuffers_thash_t)0x1e2d6809)
-#define org_apache_arrow_flatbuf_Interval_type_identifier "\x09\x68\x2d\x1e"
-#ifndef org_apache_arrow_flatbuf_Interval_file_extension
-#define org_apache_arrow_flatbuf_Interval_file_extension "bin"
+#define org_apache_arrow_flatbuf_Struct__type_hash ((flatbuffers_thash_t)0x6310f362)
+#define org_apache_arrow_flatbuf_Struct__type_identifier "\x62\xf3\x10\x63"
+#ifndef org_apache_arrow_flatbuf_Struct__file_extension
+#define org_apache_arrow_flatbuf_Struct__file_extension "bin"
#endif
-#ifndef org_apache_arrow_flatbuf_Duration_file_identifier
-#define org_apache_arrow_flatbuf_Duration_file_identifier 0
+#ifndef org_apache_arrow_flatbuf_List_file_identifier
+#define org_apache_arrow_flatbuf_List_file_identifier 0
#endif
-/* deprecated, use org_apache_arrow_flatbuf_Duration_file_identifier */
-#ifndef org_apache_arrow_flatbuf_Duration_identifier
-#define org_apache_arrow_flatbuf_Duration_identifier 0
+/* deprecated, use org_apache_arrow_flatbuf_List_file_identifier */
+#ifndef org_apache_arrow_flatbuf_List_identifier
+#define org_apache_arrow_flatbuf_List_identifier 0
#endif
-#define org_apache_arrow_flatbuf_Duration_type_hash ((flatbuffers_thash_t)0x1ecea6b0)
-#define org_apache_arrow_flatbuf_Duration_type_identifier "\xb0\xa6\xce\x1e"
-#ifndef org_apache_arrow_flatbuf_Duration_file_extension
-#define org_apache_arrow_flatbuf_Duration_file_extension "bin"
+#define org_apache_arrow_flatbuf_List_type_hash ((flatbuffers_thash_t)0xd4ce5878)
+#define org_apache_arrow_flatbuf_List_type_identifier "\x78\x58\xce\xd4"
+#ifndef org_apache_arrow_flatbuf_List_file_extension
+#define org_apache_arrow_flatbuf_List_file_extension "bin"
#endif
-#ifndef org_apache_arrow_flatbuf_KeyValue_file_identifier
-#define org_apache_arrow_flatbuf_KeyValue_file_identifier 0
+#ifndef org_apache_arrow_flatbuf_LargeList_file_identifier
+#define org_apache_arrow_flatbuf_LargeList_file_identifier 0
#endif
-/* deprecated, use org_apache_arrow_flatbuf_KeyValue_file_identifier */
-#ifndef org_apache_arrow_flatbuf_KeyValue_identifier
-#define org_apache_arrow_flatbuf_KeyValue_identifier 0
+/* deprecated, use org_apache_arrow_flatbuf_LargeList_file_identifier */
+#ifndef org_apache_arrow_flatbuf_LargeList_identifier
+#define org_apache_arrow_flatbuf_LargeList_identifier 0
#endif
-#define org_apache_arrow_flatbuf_KeyValue_type_hash ((flatbuffers_thash_t)0x3b264744)
-#define org_apache_arrow_flatbuf_KeyValue_type_identifier "\x44\x47\x26\x3b"
-#ifndef org_apache_arrow_flatbuf_KeyValue_file_extension
-#define org_apache_arrow_flatbuf_KeyValue_file_extension "bin"
+#define org_apache_arrow_flatbuf_LargeList_type_hash ((flatbuffers_thash_t)0x38aa7e27)
+#define org_apache_arrow_flatbuf_LargeList_type_identifier "\x27\x7e\xaa\x38"
+#ifndef org_apache_arrow_flatbuf_LargeList_file_extension
+#define org_apache_arrow_flatbuf_LargeList_file_extension "bin"
#endif
-#ifndef org_apache_arrow_flatbuf_DictionaryEncoding_file_identifier
-#define org_apache_arrow_flatbuf_DictionaryEncoding_file_identifier 0
+#ifndef org_apache_arrow_flatbuf_ListView_file_identifier
+#define org_apache_arrow_flatbuf_ListView_file_identifier 0
#endif
-/* deprecated, use org_apache_arrow_flatbuf_DictionaryEncoding_file_identifier */
-#ifndef org_apache_arrow_flatbuf_DictionaryEncoding_identifier
-#define org_apache_arrow_flatbuf_DictionaryEncoding_identifier 0
+/* deprecated, use org_apache_arrow_flatbuf_ListView_file_identifier */
+#ifndef org_apache_arrow_flatbuf_ListView_identifier
+#define org_apache_arrow_flatbuf_ListView_identifier 0
#endif
-#define org_apache_arrow_flatbuf_DictionaryEncoding_type_hash ((flatbuffers_thash_t)0x8c703261)
-#define org_apache_arrow_flatbuf_DictionaryEncoding_type_identifier "\x61\x32\x70\x8c"
-#ifndef org_apache_arrow_flatbuf_DictionaryEncoding_file_extension
-#define org_apache_arrow_flatbuf_DictionaryEncoding_file_extension "bin"
+#define org_apache_arrow_flatbuf_ListView_type_hash ((flatbuffers_thash_t)0x23d37919)
+#define org_apache_arrow_flatbuf_ListView_type_identifier "\x19\x79\xd3\x23"
+#ifndef org_apache_arrow_flatbuf_ListView_file_extension
+#define org_apache_arrow_flatbuf_ListView_file_extension "bin"
#endif
-#ifndef org_apache_arrow_flatbuf_Field_file_identifier
-#define org_apache_arrow_flatbuf_Field_file_identifier 0
+#ifndef org_apache_arrow_flatbuf_LargeListView_file_identifier
+#define org_apache_arrow_flatbuf_LargeListView_file_identifier 0
#endif
-/* deprecated, use org_apache_arrow_flatbuf_Field_file_identifier */
-#ifndef org_apache_arrow_flatbuf_Field_identifier
-#define org_apache_arrow_flatbuf_Field_identifier 0
+/* deprecated, use org_apache_arrow_flatbuf_LargeListView_file_identifier */
+#ifndef org_apache_arrow_flatbuf_LargeListView_identifier
+#define org_apache_arrow_flatbuf_LargeListView_identifier 0
#endif
-#define org_apache_arrow_flatbuf_Field_type_hash ((flatbuffers_thash_t)0xd981525c)
-#define org_apache_arrow_flatbuf_Field_type_identifier "\x5c\x52\x81\xd9"
-#ifndef org_apache_arrow_flatbuf_Field_file_extension
-#define org_apache_arrow_flatbuf_Field_file_extension "bin"
+#define org_apache_arrow_flatbuf_LargeListView_type_hash ((flatbuffers_thash_t)0x28efac02)
+#define org_apache_arrow_flatbuf_LargeListView_type_identifier "\x02\xac\xef\x28"
+#ifndef org_apache_arrow_flatbuf_LargeListView_file_extension
+#define org_apache_arrow_flatbuf_LargeListView_file_extension "bin"
#endif
-#ifndef org_apache_arrow_flatbuf_Buffer_file_identifier
-#define org_apache_arrow_flatbuf_Buffer_file_identifier 0
+#ifndef org_apache_arrow_flatbuf_FixedSizeList_file_identifier
+#define org_apache_arrow_flatbuf_FixedSizeList_file_identifier 0
#endif
-/* deprecated, use org_apache_arrow_flatbuf_Buffer_file_identifier */
-#ifndef org_apache_arrow_flatbuf_Buffer_identifier
-#define org_apache_arrow_flatbuf_Buffer_identifier 0
+/* deprecated, use org_apache_arrow_flatbuf_FixedSizeList_file_identifier */
+#ifndef org_apache_arrow_flatbuf_FixedSizeList_identifier
+#define org_apache_arrow_flatbuf_FixedSizeList_identifier 0
#endif
-#define org_apache_arrow_flatbuf_Buffer_type_hash ((flatbuffers_thash_t)0x519d7fea)
-#define org_apache_arrow_flatbuf_Buffer_type_identifier "\xea\x7f\x9d\x51"
-#ifndef org_apache_arrow_flatbuf_Buffer_file_extension
-#define org_apache_arrow_flatbuf_Buffer_file_extension "bin"
+#define org_apache_arrow_flatbuf_FixedSizeList_type_hash ((flatbuffers_thash_t)0xcef245bb)
+#define org_apache_arrow_flatbuf_FixedSizeList_type_identifier "\xbb\x45\xf2\xce"
+#ifndef org_apache_arrow_flatbuf_FixedSizeList_file_extension
+#define org_apache_arrow_flatbuf_FixedSizeList_file_extension "bin"
#endif
-#ifndef org_apache_arrow_flatbuf_Schema_file_identifier
-#define org_apache_arrow_flatbuf_Schema_file_identifier 0
+#ifndef org_apache_arrow_flatbuf_Map_file_identifier
+#define org_apache_arrow_flatbuf_Map_file_identifier 0
#endif
-/* deprecated, use org_apache_arrow_flatbuf_Schema_file_identifier */
-#ifndef org_apache_arrow_flatbuf_Schema_identifier
-#define org_apache_arrow_flatbuf_Schema_identifier 0
+/* deprecated, use org_apache_arrow_flatbuf_Map_file_identifier */
+#ifndef org_apache_arrow_flatbuf_Map_identifier
+#define org_apache_arrow_flatbuf_Map_identifier 0
#endif
-#define org_apache_arrow_flatbuf_Schema_type_hash ((flatbuffers_thash_t)0x406570b)
-#define org_apache_arrow_flatbuf_Schema_type_identifier "\x0b\x57\x06\x04"
-#ifndef org_apache_arrow_flatbuf_Schema_file_extension
-#define org_apache_arrow_flatbuf_Schema_file_extension "bin"
+#define org_apache_arrow_flatbuf_Map_type_hash ((flatbuffers_thash_t)0xcebef8e6)
+#define org_apache_arrow_flatbuf_Map_type_identifier "\xe6\xf8\xbe\xce"
+#ifndef org_apache_arrow_flatbuf_Map_file_extension
+#define org_apache_arrow_flatbuf_Map_file_extension "bin"
+#endif
+#ifndef org_apache_arrow_flatbuf_Union_file_identifier
+#define org_apache_arrow_flatbuf_Union_file_identifier 0
+#endif
+/* deprecated, use org_apache_arrow_flatbuf_Union_file_identifier */
+#ifndef org_apache_arrow_flatbuf_Union_identifier
+#define org_apache_arrow_flatbuf_Union_identifier 0
+#endif
+#define org_apache_arrow_flatbuf_Union_type_hash ((flatbuffers_thash_t)0x896bda57)
+#define org_apache_arrow_flatbuf_Union_type_identifier "\x57\xda\x6b\x89"
+#ifndef org_apache_arrow_flatbuf_Union_file_extension
+#define org_apache_arrow_flatbuf_Union_file_extension "bin"
+#endif
+#ifndef org_apache_arrow_flatbuf_Int_file_identifier
+#define org_apache_arrow_flatbuf_Int_file_identifier 0
+#endif
+/* deprecated, use org_apache_arrow_flatbuf_Int_file_identifier */
+#ifndef org_apache_arrow_flatbuf_Int_identifier
+#define org_apache_arrow_flatbuf_Int_identifier 0
#endif
+#define org_apache_arrow_flatbuf_Int_type_hash ((flatbuffers_thash_t)0x30789001)
+#define org_apache_arrow_flatbuf_Int_type_identifier "\x01\x90\x78\x30"
+#ifndef org_apache_arrow_flatbuf_Int_file_extension
+#define org_apache_arrow_flatbuf_Int_file_extension "bin"
+#endif
+#ifndef org_apache_arrow_flatbuf_FloatingPoint_file_identifier
+#define org_apache_arrow_flatbuf_FloatingPoint_file_identifier 0
+#endif
+/* deprecated, use org_apache_arrow_flatbuf_FloatingPoint_file_identifier */
+#ifndef org_apache_arrow_flatbuf_FloatingPoint_identifier
+#define org_apache_arrow_flatbuf_FloatingPoint_identifier 0
+#endif
+#define org_apache_arrow_flatbuf_FloatingPoint_type_hash ((flatbuffers_thash_t)0xf7d06268)
+#define org_apache_arrow_flatbuf_FloatingPoint_type_identifier "\x68\x62\xd0\xf7"
+#ifndef org_apache_arrow_flatbuf_FloatingPoint_file_extension
+#define org_apache_arrow_flatbuf_FloatingPoint_file_extension "bin"
+#endif
+#ifndef org_apache_arrow_flatbuf_Utf8_file_identifier
+#define org_apache_arrow_flatbuf_Utf8_file_identifier 0
+#endif
+/* deprecated, use org_apache_arrow_flatbuf_Utf8_file_identifier */
+#ifndef org_apache_arrow_flatbuf_Utf8_identifier
+#define org_apache_arrow_flatbuf_Utf8_identifier 0
+#endif
+#define org_apache_arrow_flatbuf_Utf8_type_hash ((flatbuffers_thash_t)0x8fe60d37)
+#define org_apache_arrow_flatbuf_Utf8_type_identifier "\x37\x0d\xe6\x8f"
+#ifndef org_apache_arrow_flatbuf_Utf8_file_extension
+#define org_apache_arrow_flatbuf_Utf8_file_extension "bin"
+#endif
+#ifndef org_apache_arrow_flatbuf_Binary_file_identifier
+#define org_apache_arrow_flatbuf_Binary_file_identifier 0
+#endif
+/* deprecated, use org_apache_arrow_flatbuf_Binary_file_identifier */
+#ifndef org_apache_arrow_flatbuf_Binary_identifier
+#define org_apache_arrow_flatbuf_Binary_identifier 0
+#endif
+#define org_apache_arrow_flatbuf_Binary_type_hash ((flatbuffers_thash_t)0x8e21a795)
+#define org_apache_arrow_flatbuf_Binary_type_identifier "\x95\xa7\x21\x8e"
+#ifndef org_apache_arrow_flatbuf_Binary_file_extension
+#define org_apache_arrow_flatbuf_Binary_file_extension "bin"
+#endif
+#ifndef org_apache_arrow_flatbuf_LargeUtf8_file_identifier
+#define org_apache_arrow_flatbuf_LargeUtf8_file_identifier 0
+#endif
+/* deprecated, use org_apache_arrow_flatbuf_LargeUtf8_file_identifier */
+#ifndef org_apache_arrow_flatbuf_LargeUtf8_identifier
+#define org_apache_arrow_flatbuf_LargeUtf8_identifier 0
+#endif
+#define org_apache_arrow_flatbuf_LargeUtf8_type_hash ((flatbuffers_thash_t)0x24ed2fb0)
+#define org_apache_arrow_flatbuf_LargeUtf8_type_identifier "\xb0\x2f\xed\x24"
+#ifndef org_apache_arrow_flatbuf_LargeUtf8_file_extension
+#define org_apache_arrow_flatbuf_LargeUtf8_file_extension "bin"
+#endif
+#ifndef org_apache_arrow_flatbuf_LargeBinary_file_identifier
+#define org_apache_arrow_flatbuf_LargeBinary_file_identifier 0
+#endif
+/* deprecated, use org_apache_arrow_flatbuf_LargeBinary_file_identifier */
+#ifndef org_apache_arrow_flatbuf_LargeBinary_identifier
+#define org_apache_arrow_flatbuf_LargeBinary_identifier 0
+#endif
+#define org_apache_arrow_flatbuf_LargeBinary_type_hash ((flatbuffers_thash_t)0xbd437872)
+#define org_apache_arrow_flatbuf_LargeBinary_type_identifier "\x72\x78\x43\xbd"
+#ifndef org_apache_arrow_flatbuf_LargeBinary_file_extension
+#define org_apache_arrow_flatbuf_LargeBinary_file_extension "bin"
+#endif
+#ifndef org_apache_arrow_flatbuf_Utf8View_file_identifier
+#define org_apache_arrow_flatbuf_Utf8View_file_identifier 0
+#endif
+/* deprecated, use org_apache_arrow_flatbuf_Utf8View_file_identifier */
+#ifndef org_apache_arrow_flatbuf_Utf8View_identifier
+#define org_apache_arrow_flatbuf_Utf8View_identifier 0
+#endif
+#define org_apache_arrow_flatbuf_Utf8View_type_hash ((flatbuffers_thash_t)0xab7692)
+#define org_apache_arrow_flatbuf_Utf8View_type_identifier "\x92\x76\xab\x00"
+#ifndef org_apache_arrow_flatbuf_Utf8View_file_extension
+#define org_apache_arrow_flatbuf_Utf8View_file_extension "bin"
+#endif
+#ifndef org_apache_arrow_flatbuf_BinaryView_file_identifier
+#define org_apache_arrow_flatbuf_BinaryView_file_identifier 0
+#endif
+/* deprecated, use org_apache_arrow_flatbuf_BinaryView_file_identifier */
+#ifndef org_apache_arrow_flatbuf_BinaryView_identifier
+#define org_apache_arrow_flatbuf_BinaryView_identifier 0
+#endif
+#define org_apache_arrow_flatbuf_BinaryView_type_hash ((flatbuffers_thash_t)0x18c52428)
+#define org_apache_arrow_flatbuf_BinaryView_type_identifier "\x28\x24\xc5\x18"
+#ifndef org_apache_arrow_flatbuf_BinaryView_file_extension
+#define org_apache_arrow_flatbuf_BinaryView_file_extension "bin"
+#endif
+#ifndef org_apache_arrow_flatbuf_FixedSizeBinary_file_identifier
+#define org_apache_arrow_flatbuf_FixedSizeBinary_file_identifier 0
+#endif
+/* deprecated, use org_apache_arrow_flatbuf_FixedSizeBinary_file_identifier */
+#ifndef org_apache_arrow_flatbuf_FixedSizeBinary_identifier
+#define org_apache_arrow_flatbuf_FixedSizeBinary_identifier 0
+#endif
+#define org_apache_arrow_flatbuf_FixedSizeBinary_type_hash ((flatbuffers_thash_t)0x80d0f4ce)
+#define org_apache_arrow_flatbuf_FixedSizeBinary_type_identifier "\xce\xf4\xd0\x80"
+#ifndef org_apache_arrow_flatbuf_FixedSizeBinary_file_extension
+#define org_apache_arrow_flatbuf_FixedSizeBinary_file_extension "bin"
+#endif
+#ifndef org_apache_arrow_flatbuf_Bool_file_identifier
+#define org_apache_arrow_flatbuf_Bool_file_identifier 0
+#endif
+/* deprecated, use org_apache_arrow_flatbuf_Bool_file_identifier */
+#ifndef org_apache_arrow_flatbuf_Bool_identifier
+#define org_apache_arrow_flatbuf_Bool_identifier 0
+#endif
+#define org_apache_arrow_flatbuf_Bool_type_hash ((flatbuffers_thash_t)0x96bf83f0)
+#define org_apache_arrow_flatbuf_Bool_type_identifier "\xf0\x83\xbf\x96"
+#ifndef org_apache_arrow_flatbuf_Bool_file_extension
+#define org_apache_arrow_flatbuf_Bool_file_extension "bin"
+#endif
+#ifndef org_apache_arrow_flatbuf_RunEndEncoded_file_identifier
+#define org_apache_arrow_flatbuf_RunEndEncoded_file_identifier 0
+#endif
+/* deprecated, use org_apache_arrow_flatbuf_RunEndEncoded_file_identifier */
+#ifndef org_apache_arrow_flatbuf_RunEndEncoded_identifier
+#define org_apache_arrow_flatbuf_RunEndEncoded_identifier 0
+#endif
+#define org_apache_arrow_flatbuf_RunEndEncoded_type_hash ((flatbuffers_thash_t)0x5a98bcc)
+#define org_apache_arrow_flatbuf_RunEndEncoded_type_identifier "\xcc\x8b\xa9\x05"
+#ifndef org_apache_arrow_flatbuf_RunEndEncoded_file_extension
+#define org_apache_arrow_flatbuf_RunEndEncoded_file_extension "bin"
+#endif
+#ifndef org_apache_arrow_flatbuf_Decimal_file_identifier
+#define org_apache_arrow_flatbuf_Decimal_file_identifier 0
+#endif
+/* deprecated, use org_apache_arrow_flatbuf_Decimal_file_identifier */
+#ifndef org_apache_arrow_flatbuf_Decimal_identifier
+#define org_apache_arrow_flatbuf_Decimal_identifier 0
+#endif
+#define org_apache_arrow_flatbuf_Decimal_type_hash ((flatbuffers_thash_t)0x91d1beb7)
+#define org_apache_arrow_flatbuf_Decimal_type_identifier "\xb7\xbe\xd1\x91"
+#ifndef org_apache_arrow_flatbuf_Decimal_file_extension
+#define org_apache_arrow_flatbuf_Decimal_file_extension "bin"
+#endif
+#ifndef org_apache_arrow_flatbuf_Date_file_identifier
+#define org_apache_arrow_flatbuf_Date_file_identifier 0
+#endif
+/* deprecated, use org_apache_arrow_flatbuf_Date_file_identifier */
+#ifndef org_apache_arrow_flatbuf_Date_identifier
+#define org_apache_arrow_flatbuf_Date_identifier 0
+#endif
+#define org_apache_arrow_flatbuf_Date_type_hash ((flatbuffers_thash_t)0xe0ccf624)
+#define org_apache_arrow_flatbuf_Date_type_identifier "\x24\xf6\xcc\xe0"
+#ifndef org_apache_arrow_flatbuf_Date_file_extension
+#define org_apache_arrow_flatbuf_Date_file_extension "bin"
+#endif
+#ifndef org_apache_arrow_flatbuf_Time_file_identifier
+#define org_apache_arrow_flatbuf_Time_file_identifier 0
+#endif
+/* deprecated, use org_apache_arrow_flatbuf_Time_file_identifier */
+#ifndef org_apache_arrow_flatbuf_Time_identifier
+#define org_apache_arrow_flatbuf_Time_identifier 0
+#endif
+#define org_apache_arrow_flatbuf_Time_type_hash ((flatbuffers_thash_t)0x2442a489)
+#define org_apache_arrow_flatbuf_Time_type_identifier "\x89\xa4\x42\x24"
+#ifndef org_apache_arrow_flatbuf_Time_file_extension
+#define org_apache_arrow_flatbuf_Time_file_extension "bin"
+#endif
+#ifndef org_apache_arrow_flatbuf_Timestamp_file_identifier
+#define org_apache_arrow_flatbuf_Timestamp_file_identifier 0
+#endif
+/* deprecated, use org_apache_arrow_flatbuf_Timestamp_file_identifier */
+#ifndef org_apache_arrow_flatbuf_Timestamp_identifier
+#define org_apache_arrow_flatbuf_Timestamp_identifier 0
+#endif
+#define org_apache_arrow_flatbuf_Timestamp_type_hash ((flatbuffers_thash_t)0x1fddf080)
+#define org_apache_arrow_flatbuf_Timestamp_type_identifier "\x80\xf0\xdd\x1f"
+#ifndef org_apache_arrow_flatbuf_Timestamp_file_extension
+#define org_apache_arrow_flatbuf_Timestamp_file_extension "bin"
+#endif
+#ifndef org_apache_arrow_flatbuf_Interval_file_identifier
+#define org_apache_arrow_flatbuf_Interval_file_identifier 0
+#endif
+/* deprecated, use org_apache_arrow_flatbuf_Interval_file_identifier */
+#ifndef org_apache_arrow_flatbuf_Interval_identifier
+#define org_apache_arrow_flatbuf_Interval_identifier 0
+#endif
+#define org_apache_arrow_flatbuf_Interval_type_hash ((flatbuffers_thash_t)0x1e2d6809)
+#define org_apache_arrow_flatbuf_Interval_type_identifier "\x09\x68\x2d\x1e"
+#ifndef org_apache_arrow_flatbuf_Interval_file_extension
+#define org_apache_arrow_flatbuf_Interval_file_extension "bin"
+#endif
+#ifndef org_apache_arrow_flatbuf_Duration_file_identifier
+#define org_apache_arrow_flatbuf_Duration_file_identifier 0
+#endif
+/* deprecated, use org_apache_arrow_flatbuf_Duration_file_identifier */
+#ifndef org_apache_arrow_flatbuf_Duration_identifier
+#define org_apache_arrow_flatbuf_Duration_identifier 0
+#endif
+#define org_apache_arrow_flatbuf_Duration_type_hash ((flatbuffers_thash_t)0x1ecea6b0)
+#define org_apache_arrow_flatbuf_Duration_type_identifier "\xb0\xa6\xce\x1e"
+#ifndef org_apache_arrow_flatbuf_Duration_file_extension
+#define org_apache_arrow_flatbuf_Duration_file_extension "bin"
+#endif
+#ifndef org_apache_arrow_flatbuf_KeyValue_file_identifier
+#define org_apache_arrow_flatbuf_KeyValue_file_identifier 0
+#endif
+/* deprecated, use org_apache_arrow_flatbuf_KeyValue_file_identifier */
+#ifndef org_apache_arrow_flatbuf_KeyValue_identifier
+#define org_apache_arrow_flatbuf_KeyValue_identifier 0
+#endif
+#define org_apache_arrow_flatbuf_KeyValue_type_hash ((flatbuffers_thash_t)0x3b264744)
+#define org_apache_arrow_flatbuf_KeyValue_type_identifier "\x44\x47\x26\x3b"
+#ifndef org_apache_arrow_flatbuf_KeyValue_file_extension
+#define org_apache_arrow_flatbuf_KeyValue_file_extension "bin"
+#endif
+#ifndef org_apache_arrow_flatbuf_DictionaryEncoding_file_identifier
+#define org_apache_arrow_flatbuf_DictionaryEncoding_file_identifier 0
+#endif
+/* deprecated, use org_apache_arrow_flatbuf_DictionaryEncoding_file_identifier */
+#ifndef org_apache_arrow_flatbuf_DictionaryEncoding_identifier
+#define org_apache_arrow_flatbuf_DictionaryEncoding_identifier 0
+#endif
+#define org_apache_arrow_flatbuf_DictionaryEncoding_type_hash ((flatbuffers_thash_t)0x8c703261)
+#define org_apache_arrow_flatbuf_DictionaryEncoding_type_identifier "\x61\x32\x70\x8c"
+#ifndef org_apache_arrow_flatbuf_DictionaryEncoding_file_extension
+#define org_apache_arrow_flatbuf_DictionaryEncoding_file_extension "bin"
+#endif
+#ifndef org_apache_arrow_flatbuf_Field_file_identifier
+#define org_apache_arrow_flatbuf_Field_file_identifier 0
+#endif
+/* deprecated, use org_apache_arrow_flatbuf_Field_file_identifier */
+#ifndef org_apache_arrow_flatbuf_Field_identifier
+#define org_apache_arrow_flatbuf_Field_identifier 0
+#endif
+#define org_apache_arrow_flatbuf_Field_type_hash ((flatbuffers_thash_t)0xd981525c)
+#define org_apache_arrow_flatbuf_Field_type_identifier "\x5c\x52\x81\xd9"
+#ifndef org_apache_arrow_flatbuf_Field_file_extension
+#define org_apache_arrow_flatbuf_Field_file_extension "bin"
+#endif
+#ifndef org_apache_arrow_flatbuf_Buffer_file_identifier
+#define org_apache_arrow_flatbuf_Buffer_file_identifier 0
+#endif
+/* deprecated, use org_apache_arrow_flatbuf_Buffer_file_identifier */
+#ifndef org_apache_arrow_flatbuf_Buffer_identifier
+#define org_apache_arrow_flatbuf_Buffer_identifier 0
+#endif
+#define org_apache_arrow_flatbuf_Buffer_type_hash ((flatbuffers_thash_t)0x519d7fea)
+#define org_apache_arrow_flatbuf_Buffer_type_identifier "\xea\x7f\x9d\x51"
+#ifndef org_apache_arrow_flatbuf_Buffer_file_extension
+#define org_apache_arrow_flatbuf_Buffer_file_extension "bin"
+#endif
+#ifndef org_apache_arrow_flatbuf_Schema_file_identifier
+#define org_apache_arrow_flatbuf_Schema_file_identifier 0
+#endif
+/* deprecated, use org_apache_arrow_flatbuf_Schema_file_identifier */
+#ifndef org_apache_arrow_flatbuf_Schema_identifier
+#define org_apache_arrow_flatbuf_Schema_identifier 0
+#endif
+#define org_apache_arrow_flatbuf_Schema_type_hash ((flatbuffers_thash_t)0x406570b)
+#define org_apache_arrow_flatbuf_Schema_type_identifier "\x0b\x57\x06\x04"
+#ifndef org_apache_arrow_flatbuf_Schema_file_extension
+#define org_apache_arrow_flatbuf_Schema_file_extension "bin"
+#endif
+
+typedef int16_t org_apache_arrow_flatbuf_MetadataVersion_enum_t;
+__flatbuffers_define_integer_type(org_apache_arrow_flatbuf_MetadataVersion, org_apache_arrow_flatbuf_MetadataVersion_enum_t, 16)
+/** 0.1.0 (October 2016). */
+#define org_apache_arrow_flatbuf_MetadataVersion_V1 ((org_apache_arrow_flatbuf_MetadataVersion_enum_t)INT16_C(0))
+#define org_apache_arrow_flatbuf_MetadataVersion_V2 ((org_apache_arrow_flatbuf_MetadataVersion_enum_t)INT16_C(1))
+#define org_apache_arrow_flatbuf_MetadataVersion_V3 ((org_apache_arrow_flatbuf_MetadataVersion_enum_t)INT16_C(2))
+#define org_apache_arrow_flatbuf_MetadataVersion_V4 ((org_apache_arrow_flatbuf_MetadataVersion_enum_t)INT16_C(3))
+#define org_apache_arrow_flatbuf_MetadataVersion_V5 ((org_apache_arrow_flatbuf_MetadataVersion_enum_t)INT16_C(4))
+
+static inline const char *org_apache_arrow_flatbuf_MetadataVersion_name(org_apache_arrow_flatbuf_MetadataVersion_enum_t value)
+{
+ switch (value) {
+ case org_apache_arrow_flatbuf_MetadataVersion_V1: return "V1";
+ case org_apache_arrow_flatbuf_MetadataVersion_V2: return "V2";
+ case org_apache_arrow_flatbuf_MetadataVersion_V3: return "V3";
+ case org_apache_arrow_flatbuf_MetadataVersion_V4: return "V4";
+ case org_apache_arrow_flatbuf_MetadataVersion_V5: return "V5";
+ default: return "";
+ }
+}
+
+static inline int org_apache_arrow_flatbuf_MetadataVersion_is_known_value(org_apache_arrow_flatbuf_MetadataVersion_enum_t value)
+{
+ switch (value) {
+ case org_apache_arrow_flatbuf_MetadataVersion_V1: return 1;
+ case org_apache_arrow_flatbuf_MetadataVersion_V2: return 1;
+ case org_apache_arrow_flatbuf_MetadataVersion_V3: return 1;
+ case org_apache_arrow_flatbuf_MetadataVersion_V4: return 1;
+ case org_apache_arrow_flatbuf_MetadataVersion_V5: return 1;
+ default: return 0;
+ }
+}
+
+/** Represents Arrow Features that might not have full support
+ * within implementations. This is intended to be used in
+ * two scenarios:
+ * 1. A mechanism for readers of Arrow Streams
+ * and files to understand that the stream or file makes
+ * use of a feature that isn't supported or unknown to
+ * the implementation (and therefore can meet the Arrow
+ * forward compatibility guarantees).
+ * 2. A means of negotiating between a client and server
+ * what features a stream is allowed to use. The enums
+ * values here are intented to represent higher level
+ * features, additional details maybe negotiated
+ * with key-value pairs specific to the protocol.
+ *
+ * Enums added to this list should be assigned power-of-two values
+ * to facilitate exchanging and comparing bitmaps for supported
+ * features. */
+typedef int64_t org_apache_arrow_flatbuf_Feature_enum_t;
+__flatbuffers_define_integer_type(org_apache_arrow_flatbuf_Feature, org_apache_arrow_flatbuf_Feature_enum_t, 64)
+/** Needed to make flatbuffers happy. */
+#define org_apache_arrow_flatbuf_Feature_UNUSED ((org_apache_arrow_flatbuf_Feature_enum_t)INT64_C(0))
+#define org_apache_arrow_flatbuf_Feature_DICTIONARY_REPLACEMENT ((org_apache_arrow_flatbuf_Feature_enum_t)INT64_C(1))
+#define org_apache_arrow_flatbuf_Feature_COMPRESSED_BODY ((org_apache_arrow_flatbuf_Feature_enum_t)INT64_C(2))
+
+static inline const char *org_apache_arrow_flatbuf_Feature_name(org_apache_arrow_flatbuf_Feature_enum_t value)
+{
+ switch (value) {
+ case org_apache_arrow_flatbuf_Feature_UNUSED: return "UNUSED";
+ case org_apache_arrow_flatbuf_Feature_DICTIONARY_REPLACEMENT: return "DICTIONARY_REPLACEMENT";
+ case org_apache_arrow_flatbuf_Feature_COMPRESSED_BODY: return "COMPRESSED_BODY";
+ default: return "";
+ }
+}
+
+static inline int org_apache_arrow_flatbuf_Feature_is_known_value(org_apache_arrow_flatbuf_Feature_enum_t value)
+{
+ switch (value) {
+ case org_apache_arrow_flatbuf_Feature_UNUSED: return 1;
+ case org_apache_arrow_flatbuf_Feature_DICTIONARY_REPLACEMENT: return 1;
+ case org_apache_arrow_flatbuf_Feature_COMPRESSED_BODY: return 1;
+ default: return 0;
+ }
+}
+
+typedef int16_t org_apache_arrow_flatbuf_UnionMode_enum_t;
+__flatbuffers_define_integer_type(org_apache_arrow_flatbuf_UnionMode, org_apache_arrow_flatbuf_UnionMode_enum_t, 16)
+#define org_apache_arrow_flatbuf_UnionMode_Sparse ((org_apache_arrow_flatbuf_UnionMode_enum_t)INT16_C(0))
+#define org_apache_arrow_flatbuf_UnionMode_Dense ((org_apache_arrow_flatbuf_UnionMode_enum_t)INT16_C(1))
+
+static inline const char *org_apache_arrow_flatbuf_UnionMode_name(org_apache_arrow_flatbuf_UnionMode_enum_t value)
+{
+ switch (value) {
+ case org_apache_arrow_flatbuf_UnionMode_Sparse: return "Sparse";
+ case org_apache_arrow_flatbuf_UnionMode_Dense: return "Dense";
+ default: return "";
+ }
+}
+
+static inline int org_apache_arrow_flatbuf_UnionMode_is_known_value(org_apache_arrow_flatbuf_UnionMode_enum_t value)
+{
+ switch (value) {
+ case org_apache_arrow_flatbuf_UnionMode_Sparse: return 1;
+ case org_apache_arrow_flatbuf_UnionMode_Dense: return 1;
+ default: return 0;
+ }
+}
+
+typedef int16_t org_apache_arrow_flatbuf_Precision_enum_t;
+__flatbuffers_define_integer_type(org_apache_arrow_flatbuf_Precision, org_apache_arrow_flatbuf_Precision_enum_t, 16)
+#define org_apache_arrow_flatbuf_Precision_HALF ((org_apache_arrow_flatbuf_Precision_enum_t)INT16_C(0))
+#define org_apache_arrow_flatbuf_Precision_SINGLE ((org_apache_arrow_flatbuf_Precision_enum_t)INT16_C(1))
+#define org_apache_arrow_flatbuf_Precision_DOUBLE ((org_apache_arrow_flatbuf_Precision_enum_t)INT16_C(2))
+
+static inline const char *org_apache_arrow_flatbuf_Precision_name(org_apache_arrow_flatbuf_Precision_enum_t value)
+{
+ switch (value) {
+ case org_apache_arrow_flatbuf_Precision_HALF: return "HALF";
+ case org_apache_arrow_flatbuf_Precision_SINGLE: return "SINGLE";
+ case org_apache_arrow_flatbuf_Precision_DOUBLE: return "DOUBLE";
+ default: return "";
+ }
+}
+
+static inline int org_apache_arrow_flatbuf_Precision_is_known_value(org_apache_arrow_flatbuf_Precision_enum_t value)
+{
+ switch (value) {
+ case org_apache_arrow_flatbuf_Precision_HALF: return 1;
+ case org_apache_arrow_flatbuf_Precision_SINGLE: return 1;
+ case org_apache_arrow_flatbuf_Precision_DOUBLE: return 1;
+ default: return 0;
+ }
+}
+
+typedef int16_t org_apache_arrow_flatbuf_DateUnit_enum_t;
+__flatbuffers_define_integer_type(org_apache_arrow_flatbuf_DateUnit, org_apache_arrow_flatbuf_DateUnit_enum_t, 16)
+#define org_apache_arrow_flatbuf_DateUnit_DAY ((org_apache_arrow_flatbuf_DateUnit_enum_t)INT16_C(0))
+#define org_apache_arrow_flatbuf_DateUnit_MILLISECOND ((org_apache_arrow_flatbuf_DateUnit_enum_t)INT16_C(1))
+
+static inline const char *org_apache_arrow_flatbuf_DateUnit_name(org_apache_arrow_flatbuf_DateUnit_enum_t value)
+{
+ switch (value) {
+ case org_apache_arrow_flatbuf_DateUnit_DAY: return "DAY";
+ case org_apache_arrow_flatbuf_DateUnit_MILLISECOND: return "MILLISECOND";
+ default: return "";
+ }
+}
+
+static inline int org_apache_arrow_flatbuf_DateUnit_is_known_value(org_apache_arrow_flatbuf_DateUnit_enum_t value)
+{
+ switch (value) {
+ case org_apache_arrow_flatbuf_DateUnit_DAY: return 1;
+ case org_apache_arrow_flatbuf_DateUnit_MILLISECOND: return 1;
+ default: return 0;
+ }
+}
+
+typedef int16_t org_apache_arrow_flatbuf_TimeUnit_enum_t;
+__flatbuffers_define_integer_type(org_apache_arrow_flatbuf_TimeUnit, org_apache_arrow_flatbuf_TimeUnit_enum_t, 16)
+#define org_apache_arrow_flatbuf_TimeUnit_SECOND ((org_apache_arrow_flatbuf_TimeUnit_enum_t)INT16_C(0))
+#define org_apache_arrow_flatbuf_TimeUnit_MILLISECOND ((org_apache_arrow_flatbuf_TimeUnit_enum_t)INT16_C(1))
+#define org_apache_arrow_flatbuf_TimeUnit_MICROSECOND ((org_apache_arrow_flatbuf_TimeUnit_enum_t)INT16_C(2))
+#define org_apache_arrow_flatbuf_TimeUnit_NANOSECOND ((org_apache_arrow_flatbuf_TimeUnit_enum_t)INT16_C(3))
+
+static inline const char *org_apache_arrow_flatbuf_TimeUnit_name(org_apache_arrow_flatbuf_TimeUnit_enum_t value)
+{
+ switch (value) {
+ case org_apache_arrow_flatbuf_TimeUnit_SECOND: return "SECOND";
+ case org_apache_arrow_flatbuf_TimeUnit_MILLISECOND: return "MILLISECOND";
+ case org_apache_arrow_flatbuf_TimeUnit_MICROSECOND: return "MICROSECOND";
+ case org_apache_arrow_flatbuf_TimeUnit_NANOSECOND: return "NANOSECOND";
+ default: return "";
+ }
+}
+
+static inline int org_apache_arrow_flatbuf_TimeUnit_is_known_value(org_apache_arrow_flatbuf_TimeUnit_enum_t value)
+{
+ switch (value) {
+ case org_apache_arrow_flatbuf_TimeUnit_SECOND: return 1;
+ case org_apache_arrow_flatbuf_TimeUnit_MILLISECOND: return 1;
+ case org_apache_arrow_flatbuf_TimeUnit_MICROSECOND: return 1;
+ case org_apache_arrow_flatbuf_TimeUnit_NANOSECOND: return 1;
+ default: return 0;
+ }
+}
+
+typedef int16_t org_apache_arrow_flatbuf_IntervalUnit_enum_t;
+__flatbuffers_define_integer_type(org_apache_arrow_flatbuf_IntervalUnit, org_apache_arrow_flatbuf_IntervalUnit_enum_t, 16)
+#define org_apache_arrow_flatbuf_IntervalUnit_YEAR_MONTH ((org_apache_arrow_flatbuf_IntervalUnit_enum_t)INT16_C(0))
+#define org_apache_arrow_flatbuf_IntervalUnit_DAY_TIME ((org_apache_arrow_flatbuf_IntervalUnit_enum_t)INT16_C(1))
+#define org_apache_arrow_flatbuf_IntervalUnit_MONTH_DAY_NANO ((org_apache_arrow_flatbuf_IntervalUnit_enum_t)INT16_C(2))
+
+static inline const char *org_apache_arrow_flatbuf_IntervalUnit_name(org_apache_arrow_flatbuf_IntervalUnit_enum_t value)
+{
+ switch (value) {
+ case org_apache_arrow_flatbuf_IntervalUnit_YEAR_MONTH: return "YEAR_MONTH";
+ case org_apache_arrow_flatbuf_IntervalUnit_DAY_TIME: return "DAY_TIME";
+ case org_apache_arrow_flatbuf_IntervalUnit_MONTH_DAY_NANO: return "MONTH_DAY_NANO";
+ default: return "";
+ }
+}
+
+static inline int org_apache_arrow_flatbuf_IntervalUnit_is_known_value(org_apache_arrow_flatbuf_IntervalUnit_enum_t value)
+{
+ switch (value) {
+ case org_apache_arrow_flatbuf_IntervalUnit_YEAR_MONTH: return 1;
+ case org_apache_arrow_flatbuf_IntervalUnit_DAY_TIME: return 1;
+ case org_apache_arrow_flatbuf_IntervalUnit_MONTH_DAY_NANO: return 1;
+ default: return 0;
+ }
+}
+
+/** ----------------------------------------------------------------------
+ * Dictionary encoding metadata
+ * Maintained for forwards compatibility, in the future
+ * Dictionaries might be explicit maps between integers and values
+ * allowing for non-contiguous index values */
+typedef int16_t org_apache_arrow_flatbuf_DictionaryKind_enum_t;
+__flatbuffers_define_integer_type(org_apache_arrow_flatbuf_DictionaryKind, org_apache_arrow_flatbuf_DictionaryKind_enum_t, 16)
+#define org_apache_arrow_flatbuf_DictionaryKind_DenseArray ((org_apache_arrow_flatbuf_DictionaryKind_enum_t)INT16_C(0))
+
+static inline const char *org_apache_arrow_flatbuf_DictionaryKind_name(org_apache_arrow_flatbuf_DictionaryKind_enum_t value)
+{
+ switch (value) {
+ case org_apache_arrow_flatbuf_DictionaryKind_DenseArray: return "DenseArray";
+ default: return "";
+ }
+}
+
+static inline int org_apache_arrow_flatbuf_DictionaryKind_is_known_value(org_apache_arrow_flatbuf_DictionaryKind_enum_t value)
+{
+ switch (value) {
+ case org_apache_arrow_flatbuf_DictionaryKind_DenseArray: return 1;
+ default: return 0;
+ }
+}
+
+/** ----------------------------------------------------------------------
+ * Endianness of the platform producing the data */
+typedef int16_t org_apache_arrow_flatbuf_Endianness_enum_t;
+__flatbuffers_define_integer_type(org_apache_arrow_flatbuf_Endianness, org_apache_arrow_flatbuf_Endianness_enum_t, 16)
+#define org_apache_arrow_flatbuf_Endianness_Little ((org_apache_arrow_flatbuf_Endianness_enum_t)INT16_C(0))
+#define org_apache_arrow_flatbuf_Endianness_Big ((org_apache_arrow_flatbuf_Endianness_enum_t)INT16_C(1))
+
+static inline const char *org_apache_arrow_flatbuf_Endianness_name(org_apache_arrow_flatbuf_Endianness_enum_t value)
+{
+ switch (value) {
+ case org_apache_arrow_flatbuf_Endianness_Little: return "Little";
+ case org_apache_arrow_flatbuf_Endianness_Big: return "Big";
+ default: return "";
+ }
+}
+
+static inline int org_apache_arrow_flatbuf_Endianness_is_known_value(org_apache_arrow_flatbuf_Endianness_enum_t value)
+{
+ switch (value) {
+ case org_apache_arrow_flatbuf_Endianness_Little: return 1;
+ case org_apache_arrow_flatbuf_Endianness_Big: return 1;
+ default: return 0;
+ }
+}
+
+
+/** ----------------------------------------------------------------------
+ * A Buffer represents a single contiguous memory segment */
+struct org_apache_arrow_flatbuf_Buffer {
+ /** The relative offset into the shared memory page where the bytes for this
+ * buffer starts */
+ alignas(8) int64_t offset;
+ /** The absolute length (in bytes) of the memory buffer. The memory is found
+ * from offset (inclusive) to offset + length (non-inclusive). When building
+ * messages using the encapsulated IPC message, padding bytes may be written
+ * after a buffer, but such padding bytes do not need to be accounted for in
+ * the size here. */
+ alignas(8) int64_t length;
+};
+static_assert(sizeof(org_apache_arrow_flatbuf_Buffer_t) == 16, "struct size mismatch");
+
+static inline const org_apache_arrow_flatbuf_Buffer_t *org_apache_arrow_flatbuf_Buffer__const_ptr_add(const org_apache_arrow_flatbuf_Buffer_t *p, size_t i) { return p + i; }
+static inline org_apache_arrow_flatbuf_Buffer_t *org_apache_arrow_flatbuf_Buffer__ptr_add(org_apache_arrow_flatbuf_Buffer_t *p, size_t i) { return p + i; }
+static inline org_apache_arrow_flatbuf_Buffer_struct_t org_apache_arrow_flatbuf_Buffer_vec_at(org_apache_arrow_flatbuf_Buffer_vec_t vec, size_t i)
+__flatbuffers_struct_vec_at(vec, i)
+static inline size_t org_apache_arrow_flatbuf_Buffer__size(void) { return 16; }
+static inline size_t org_apache_arrow_flatbuf_Buffer_vec_len(org_apache_arrow_flatbuf_Buffer_vec_t vec)
+__flatbuffers_vec_len(vec)
+__flatbuffers_struct_as_root(org_apache_arrow_flatbuf_Buffer)
+
+__flatbuffers_define_struct_scalar_field(org_apache_arrow_flatbuf_Buffer, offset, flatbuffers_int64, int64_t)
+__flatbuffers_define_struct_scalar_field(org_apache_arrow_flatbuf_Buffer, length, flatbuffers_int64, int64_t)
+
+
+/** These are stored in the flatbuffer in the Type union below */
+struct org_apache_arrow_flatbuf_Null_table { uint8_t unused__; };
+
+static inline size_t org_apache_arrow_flatbuf_Null_vec_len(org_apache_arrow_flatbuf_Null_vec_t vec)
+__flatbuffers_vec_len(vec)
+static inline org_apache_arrow_flatbuf_Null_table_t org_apache_arrow_flatbuf_Null_vec_at(org_apache_arrow_flatbuf_Null_vec_t vec, size_t i)
+__flatbuffers_offset_vec_at(org_apache_arrow_flatbuf_Null_table_t, vec, i, 0)
+__flatbuffers_table_as_root(org_apache_arrow_flatbuf_Null)
+
+
+/** A Struct_ in the flatbuffer metadata is the same as an Arrow Struct
+ * (according to the physical memory layout). We used Struct_ here as
+ * Struct is a reserved word in Flatbuffers */
+struct org_apache_arrow_flatbuf_Struct__table { uint8_t unused__; };
+
+static inline size_t org_apache_arrow_flatbuf_Struct__vec_len(org_apache_arrow_flatbuf_Struct__vec_t vec)
+__flatbuffers_vec_len(vec)
+static inline org_apache_arrow_flatbuf_Struct__table_t org_apache_arrow_flatbuf_Struct__vec_at(org_apache_arrow_flatbuf_Struct__vec_t vec, size_t i)
+__flatbuffers_offset_vec_at(org_apache_arrow_flatbuf_Struct__table_t, vec, i, 0)
+__flatbuffers_table_as_root(org_apache_arrow_flatbuf_Struct_)
+
+
+struct org_apache_arrow_flatbuf_List_table { uint8_t unused__; };
+
+static inline size_t org_apache_arrow_flatbuf_List_vec_len(org_apache_arrow_flatbuf_List_vec_t vec)
+__flatbuffers_vec_len(vec)
+static inline org_apache_arrow_flatbuf_List_table_t org_apache_arrow_flatbuf_List_vec_at(org_apache_arrow_flatbuf_List_vec_t vec, size_t i)
+__flatbuffers_offset_vec_at(org_apache_arrow_flatbuf_List_table_t, vec, i, 0)
+__flatbuffers_table_as_root(org_apache_arrow_flatbuf_List)
+
+
+/** Same as List, but with 64-bit offsets, allowing to represent
+ * extremely large data values. */
+struct org_apache_arrow_flatbuf_LargeList_table { uint8_t unused__; };
+
+static inline size_t org_apache_arrow_flatbuf_LargeList_vec_len(org_apache_arrow_flatbuf_LargeList_vec_t vec)
+__flatbuffers_vec_len(vec)
+static inline org_apache_arrow_flatbuf_LargeList_table_t org_apache_arrow_flatbuf_LargeList_vec_at(org_apache_arrow_flatbuf_LargeList_vec_t vec, size_t i)
+__flatbuffers_offset_vec_at(org_apache_arrow_flatbuf_LargeList_table_t, vec, i, 0)
+__flatbuffers_table_as_root(org_apache_arrow_flatbuf_LargeList)
+
+
+/** Represents the same logical types that List can, but contains offsets and
+ * sizes allowing for writes in any order and sharing of child values among
+ * list values. */
+struct org_apache_arrow_flatbuf_ListView_table { uint8_t unused__; };
+
+static inline size_t org_apache_arrow_flatbuf_ListView_vec_len(org_apache_arrow_flatbuf_ListView_vec_t vec)
+__flatbuffers_vec_len(vec)
+static inline org_apache_arrow_flatbuf_ListView_table_t org_apache_arrow_flatbuf_ListView_vec_at(org_apache_arrow_flatbuf_ListView_vec_t vec, size_t i)
+__flatbuffers_offset_vec_at(org_apache_arrow_flatbuf_ListView_table_t, vec, i, 0)
+__flatbuffers_table_as_root(org_apache_arrow_flatbuf_ListView)
+
+
+/** Same as ListView, but with 64-bit offsets and sizes, allowing to represent
+ * extremely large data values. */
+struct org_apache_arrow_flatbuf_LargeListView_table { uint8_t unused__; };
+
+static inline size_t org_apache_arrow_flatbuf_LargeListView_vec_len(org_apache_arrow_flatbuf_LargeListView_vec_t vec)
+__flatbuffers_vec_len(vec)
+static inline org_apache_arrow_flatbuf_LargeListView_table_t org_apache_arrow_flatbuf_LargeListView_vec_at(org_apache_arrow_flatbuf_LargeListView_vec_t vec, size_t i)
+__flatbuffers_offset_vec_at(org_apache_arrow_flatbuf_LargeListView_table_t, vec, i, 0)
+__flatbuffers_table_as_root(org_apache_arrow_flatbuf_LargeListView)
+
+
+struct org_apache_arrow_flatbuf_FixedSizeList_table { uint8_t unused__; };
+
+static inline size_t org_apache_arrow_flatbuf_FixedSizeList_vec_len(org_apache_arrow_flatbuf_FixedSizeList_vec_t vec)
+__flatbuffers_vec_len(vec)
+static inline org_apache_arrow_flatbuf_FixedSizeList_table_t org_apache_arrow_flatbuf_FixedSizeList_vec_at(org_apache_arrow_flatbuf_FixedSizeList_vec_t vec, size_t i)
+__flatbuffers_offset_vec_at(org_apache_arrow_flatbuf_FixedSizeList_table_t, vec, i, 0)
+__flatbuffers_table_as_root(org_apache_arrow_flatbuf_FixedSizeList)
+
+/** Number of list items per value */
+__flatbuffers_define_scalar_field(0, org_apache_arrow_flatbuf_FixedSizeList, listSize, flatbuffers_int32, int32_t, INT32_C(0))
+
+/** A Map is a logical nested type that is represented as
+ *
+ * List<entries: Struct<key: K, value: V>>
+ *
+ * In this layout, the keys and values are each respectively contiguous. We do
+ * not constrain the key and value types, so the application is responsible
+ * for ensuring that the keys are hashable and unique. Whether the keys are sorted
+ * may be set in the metadata for this field.
+ *
+ * In a field with Map type, the field has a child Struct field, which then
+ * has two children: key type and the second the value type. The names of the
+ * child fields may be respectively "entries", "key", and "value", but this is
+ * not enforced.
+ *
+ * Map
+ * ```text
+ * - child[0] entries: Struct
+ * - child[0] key: K
+ * - child[1] value: V
+ * ```
+ * Neither the "entries" field nor the "key" field may be nullable.
+ *
+ * The metadata is structured so that Arrow systems without special handling
+ * for Map can make Map an alias for List. The "layout" attribute for the Map
+ * field must have the same contents as a List. */
+struct org_apache_arrow_flatbuf_Map_table { uint8_t unused__; };
+
+static inline size_t org_apache_arrow_flatbuf_Map_vec_len(org_apache_arrow_flatbuf_Map_vec_t vec)
+__flatbuffers_vec_len(vec)
+static inline org_apache_arrow_flatbuf_Map_table_t org_apache_arrow_flatbuf_Map_vec_at(org_apache_arrow_flatbuf_Map_vec_t vec, size_t i)
+__flatbuffers_offset_vec_at(org_apache_arrow_flatbuf_Map_table_t, vec, i, 0)
+__flatbuffers_table_as_root(org_apache_arrow_flatbuf_Map)
+
+/** Set to true if the keys within each value are sorted */
+__flatbuffers_define_scalar_field(0, org_apache_arrow_flatbuf_Map, keysSorted, flatbuffers_bool, flatbuffers_bool_t, UINT8_C(0))
+
+/** A union is a complex type with children in Field
+ * By default ids in the type vector refer to the offsets in the children
+ * optionally typeIds provides an indirection between the child offset and the type id
+ * for each child `typeIds[offset]` is the id used in the type vector */
+struct org_apache_arrow_flatbuf_Union_table { uint8_t unused__; };
+
+static inline size_t org_apache_arrow_flatbuf_Union_vec_len(org_apache_arrow_flatbuf_Union_vec_t vec)
+__flatbuffers_vec_len(vec)
+static inline org_apache_arrow_flatbuf_Union_table_t org_apache_arrow_flatbuf_Union_vec_at(org_apache_arrow_flatbuf_Union_vec_t vec, size_t i)
+__flatbuffers_offset_vec_at(org_apache_arrow_flatbuf_Union_table_t, vec, i, 0)
+__flatbuffers_table_as_root(org_apache_arrow_flatbuf_Union)
+
+__flatbuffers_define_scalar_field(0, org_apache_arrow_flatbuf_Union, mode, org_apache_arrow_flatbuf_UnionMode, org_apache_arrow_flatbuf_UnionMode_enum_t, INT16_C(0))
+__flatbuffers_define_vector_field(1, org_apache_arrow_flatbuf_Union, typeIds, flatbuffers_int32_vec_t, 0)
+
+struct org_apache_arrow_flatbuf_Int_table { uint8_t unused__; };
+
+static inline size_t org_apache_arrow_flatbuf_Int_vec_len(org_apache_arrow_flatbuf_Int_vec_t vec)
+__flatbuffers_vec_len(vec)
+static inline org_apache_arrow_flatbuf_Int_table_t org_apache_arrow_flatbuf_Int_vec_at(org_apache_arrow_flatbuf_Int_vec_t vec, size_t i)
+__flatbuffers_offset_vec_at(org_apache_arrow_flatbuf_Int_table_t, vec, i, 0)
+__flatbuffers_table_as_root(org_apache_arrow_flatbuf_Int)
+
+__flatbuffers_define_scalar_field(0, org_apache_arrow_flatbuf_Int, bitWidth, flatbuffers_int32, int32_t, INT32_C(0))
+__flatbuffers_define_scalar_field(1, org_apache_arrow_flatbuf_Int, is_signed, flatbuffers_bool, flatbuffers_bool_t, UINT8_C(0))
+
+struct org_apache_arrow_flatbuf_FloatingPoint_table { uint8_t unused__; };
+
+static inline size_t org_apache_arrow_flatbuf_FloatingPoint_vec_len(org_apache_arrow_flatbuf_FloatingPoint_vec_t vec)
+__flatbuffers_vec_len(vec)
+static inline org_apache_arrow_flatbuf_FloatingPoint_table_t org_apache_arrow_flatbuf_FloatingPoint_vec_at(org_apache_arrow_flatbuf_FloatingPoint_vec_t vec, size_t i)
+__flatbuffers_offset_vec_at(org_apache_arrow_flatbuf_FloatingPoint_table_t, vec, i, 0)
+__flatbuffers_table_as_root(org_apache_arrow_flatbuf_FloatingPoint)
+
+__flatbuffers_define_scalar_field(0, org_apache_arrow_flatbuf_FloatingPoint, precision, org_apache_arrow_flatbuf_Precision, org_apache_arrow_flatbuf_Precision_enum_t, INT16_C(0))
+
+/** Unicode with UTF-8 encoding */
+struct org_apache_arrow_flatbuf_Utf8_table { uint8_t unused__; };
+
+static inline size_t org_apache_arrow_flatbuf_Utf8_vec_len(org_apache_arrow_flatbuf_Utf8_vec_t vec)
+__flatbuffers_vec_len(vec)
+static inline org_apache_arrow_flatbuf_Utf8_table_t org_apache_arrow_flatbuf_Utf8_vec_at(org_apache_arrow_flatbuf_Utf8_vec_t vec, size_t i)
+__flatbuffers_offset_vec_at(org_apache_arrow_flatbuf_Utf8_table_t, vec, i, 0)
+__flatbuffers_table_as_root(org_apache_arrow_flatbuf_Utf8)
+
+
+/** Opaque binary data */
+struct org_apache_arrow_flatbuf_Binary_table { uint8_t unused__; };
+
+static inline size_t org_apache_arrow_flatbuf_Binary_vec_len(org_apache_arrow_flatbuf_Binary_vec_t vec)
+__flatbuffers_vec_len(vec)
+static inline org_apache_arrow_flatbuf_Binary_table_t org_apache_arrow_flatbuf_Binary_vec_at(org_apache_arrow_flatbuf_Binary_vec_t vec, size_t i)
+__flatbuffers_offset_vec_at(org_apache_arrow_flatbuf_Binary_table_t, vec, i, 0)
+__flatbuffers_table_as_root(org_apache_arrow_flatbuf_Binary)
+
+
+/** Same as Utf8, but with 64-bit offsets, allowing to represent
+ * extremely large data values. */
+struct org_apache_arrow_flatbuf_LargeUtf8_table { uint8_t unused__; };
+
+static inline size_t org_apache_arrow_flatbuf_LargeUtf8_vec_len(org_apache_arrow_flatbuf_LargeUtf8_vec_t vec)
+__flatbuffers_vec_len(vec)
+static inline org_apache_arrow_flatbuf_LargeUtf8_table_t org_apache_arrow_flatbuf_LargeUtf8_vec_at(org_apache_arrow_flatbuf_LargeUtf8_vec_t vec, size_t i)
+__flatbuffers_offset_vec_at(org_apache_arrow_flatbuf_LargeUtf8_table_t, vec, i, 0)
+__flatbuffers_table_as_root(org_apache_arrow_flatbuf_LargeUtf8)
+
+
+/** Same as Binary, but with 64-bit offsets, allowing to represent
+ * extremely large data values. */
+struct org_apache_arrow_flatbuf_LargeBinary_table { uint8_t unused__; };
+
+static inline size_t org_apache_arrow_flatbuf_LargeBinary_vec_len(org_apache_arrow_flatbuf_LargeBinary_vec_t vec)
+__flatbuffers_vec_len(vec)
+static inline org_apache_arrow_flatbuf_LargeBinary_table_t org_apache_arrow_flatbuf_LargeBinary_vec_at(org_apache_arrow_flatbuf_LargeBinary_vec_t vec, size_t i)
+__flatbuffers_offset_vec_at(org_apache_arrow_flatbuf_LargeBinary_table_t, vec, i, 0)
+__flatbuffers_table_as_root(org_apache_arrow_flatbuf_LargeBinary)
+
+
+/** Logically the same as Utf8, but the internal representation uses a view
+ * struct that contains the string length and either the string's entire data
+ * inline (for small strings) or an inlined prefix, an index of another buffer,
+ * and an offset pointing to a slice in that buffer (for non-small strings).
+ *
+ * Since it uses a variable number of data buffers, each Field with this type
+ * must have a corresponding entry in `variadicBufferCounts`. */
+struct org_apache_arrow_flatbuf_Utf8View_table { uint8_t unused__; };
+
+static inline size_t org_apache_arrow_flatbuf_Utf8View_vec_len(org_apache_arrow_flatbuf_Utf8View_vec_t vec)
+__flatbuffers_vec_len(vec)
+static inline org_apache_arrow_flatbuf_Utf8View_table_t org_apache_arrow_flatbuf_Utf8View_vec_at(org_apache_arrow_flatbuf_Utf8View_vec_t vec, size_t i)
+__flatbuffers_offset_vec_at(org_apache_arrow_flatbuf_Utf8View_table_t, vec, i, 0)
+__flatbuffers_table_as_root(org_apache_arrow_flatbuf_Utf8View)
+
+
+/** Logically the same as Binary, but the internal representation uses a view
+ * struct that contains the string length and either the string's entire data
+ * inline (for small strings) or an inlined prefix, an index of another buffer,
+ * and an offset pointing to a slice in that buffer (for non-small strings).
+ *
+ * Since it uses a variable number of data buffers, each Field with this type
+ * must have a corresponding entry in `variadicBufferCounts`. */
+struct org_apache_arrow_flatbuf_BinaryView_table { uint8_t unused__; };
+
+static inline size_t org_apache_arrow_flatbuf_BinaryView_vec_len(org_apache_arrow_flatbuf_BinaryView_vec_t vec)
+__flatbuffers_vec_len(vec)
+static inline org_apache_arrow_flatbuf_BinaryView_table_t org_apache_arrow_flatbuf_BinaryView_vec_at(org_apache_arrow_flatbuf_BinaryView_vec_t vec, size_t i)
+__flatbuffers_offset_vec_at(org_apache_arrow_flatbuf_BinaryView_table_t, vec, i, 0)
+__flatbuffers_table_as_root(org_apache_arrow_flatbuf_BinaryView)
+
+
+struct org_apache_arrow_flatbuf_FixedSizeBinary_table { uint8_t unused__; };
+
+static inline size_t org_apache_arrow_flatbuf_FixedSizeBinary_vec_len(org_apache_arrow_flatbuf_FixedSizeBinary_vec_t vec)
+__flatbuffers_vec_len(vec)
+static inline org_apache_arrow_flatbuf_FixedSizeBinary_table_t org_apache_arrow_flatbuf_FixedSizeBinary_vec_at(org_apache_arrow_flatbuf_FixedSizeBinary_vec_t vec, size_t i)
+__flatbuffers_offset_vec_at(org_apache_arrow_flatbuf_FixedSizeBinary_table_t, vec, i, 0)
+__flatbuffers_table_as_root(org_apache_arrow_flatbuf_FixedSizeBinary)
+
+/** Number of bytes per value */
+__flatbuffers_define_scalar_field(0, org_apache_arrow_flatbuf_FixedSizeBinary, byteWidth, flatbuffers_int32, int32_t, INT32_C(0))
+
+struct org_apache_arrow_flatbuf_Bool_table { uint8_t unused__; };
+
+static inline size_t org_apache_arrow_flatbuf_Bool_vec_len(org_apache_arrow_flatbuf_Bool_vec_t vec)
+__flatbuffers_vec_len(vec)
+static inline org_apache_arrow_flatbuf_Bool_table_t org_apache_arrow_flatbuf_Bool_vec_at(org_apache_arrow_flatbuf_Bool_vec_t vec, size_t i)
+__flatbuffers_offset_vec_at(org_apache_arrow_flatbuf_Bool_table_t, vec, i, 0)
+__flatbuffers_table_as_root(org_apache_arrow_flatbuf_Bool)
+
+
+/** Contains two child arrays, run_ends and values.
+ * The run_ends child array must be a 16/32/64-bit integer array
+ * which encodes the indices at which the run with the value in
+ * each corresponding index in the values child array ends.
+ * Like list/struct types, the value array can be of any type. */
+struct org_apache_arrow_flatbuf_RunEndEncoded_table { uint8_t unused__; };
+
+static inline size_t org_apache_arrow_flatbuf_RunEndEncoded_vec_len(org_apache_arrow_flatbuf_RunEndEncoded_vec_t vec)
+__flatbuffers_vec_len(vec)
+static inline org_apache_arrow_flatbuf_RunEndEncoded_table_t org_apache_arrow_flatbuf_RunEndEncoded_vec_at(org_apache_arrow_flatbuf_RunEndEncoded_vec_t vec, size_t i)
+__flatbuffers_offset_vec_at(org_apache_arrow_flatbuf_RunEndEncoded_table_t, vec, i, 0)
+__flatbuffers_table_as_root(org_apache_arrow_flatbuf_RunEndEncoded)
+
+
+/** Exact decimal value represented as an integer value in two's
+ * complement. Currently only 128-bit (16-byte) and 256-bit (32-byte) integers
+ * are used. The representation uses the endianness indicated
+ * in the Schema. */
+struct org_apache_arrow_flatbuf_Decimal_table { uint8_t unused__; };
+
+static inline size_t org_apache_arrow_flatbuf_Decimal_vec_len(org_apache_arrow_flatbuf_Decimal_vec_t vec)
+__flatbuffers_vec_len(vec)
+static inline org_apache_arrow_flatbuf_Decimal_table_t org_apache_arrow_flatbuf_Decimal_vec_at(org_apache_arrow_flatbuf_Decimal_vec_t vec, size_t i)
+__flatbuffers_offset_vec_at(org_apache_arrow_flatbuf_Decimal_table_t, vec, i, 0)
+__flatbuffers_table_as_root(org_apache_arrow_flatbuf_Decimal)
+
+/** Total number of decimal digits */
+__flatbuffers_define_scalar_field(0, org_apache_arrow_flatbuf_Decimal, precision, flatbuffers_int32, int32_t, INT32_C(0))
+/** Number of digits after the decimal point "." */
+__flatbuffers_define_scalar_field(1, org_apache_arrow_flatbuf_Decimal, scale, flatbuffers_int32, int32_t, INT32_C(0))
+/** Number of bits per value. The only accepted widths are 128 and 256.
+ * We use bitWidth for consistency with Int::bitWidth. */
+__flatbuffers_define_scalar_field(2, org_apache_arrow_flatbuf_Decimal, bitWidth, flatbuffers_int32, int32_t, INT32_C(128))
+
+/** Date is either a 32-bit or 64-bit signed integer type representing an
+ * elapsed time since UNIX epoch (1970-01-01), stored in either of two units:
+ *
+ * * Milliseconds (64 bits) indicating UNIX time elapsed since the epoch (no
+ * leap seconds), where the values are evenly divisible by 86400000
+ * * Days (32 bits) since the UNIX epoch */
+struct org_apache_arrow_flatbuf_Date_table { uint8_t unused__; };
+
+static inline size_t org_apache_arrow_flatbuf_Date_vec_len(org_apache_arrow_flatbuf_Date_vec_t vec)
+__flatbuffers_vec_len(vec)
+static inline org_apache_arrow_flatbuf_Date_table_t org_apache_arrow_flatbuf_Date_vec_at(org_apache_arrow_flatbuf_Date_vec_t vec, size_t i)
+__flatbuffers_offset_vec_at(org_apache_arrow_flatbuf_Date_table_t, vec, i, 0)
+__flatbuffers_table_as_root(org_apache_arrow_flatbuf_Date)
+
+__flatbuffers_define_scalar_field(0, org_apache_arrow_flatbuf_Date, unit, org_apache_arrow_flatbuf_DateUnit, org_apache_arrow_flatbuf_DateUnit_enum_t, INT16_C(1))
+
+/** Time is either a 32-bit or 64-bit signed integer type representing an
+ * elapsed time since midnight, stored in either of four units: seconds,
+ * milliseconds, microseconds or nanoseconds.
+ *
+ * The integer `bitWidth` depends on the `unit` and must be one of the following:
+ * * SECOND and MILLISECOND: 32 bits
+ * * MICROSECOND and NANOSECOND: 64 bits
+ *
+ * The allowed values are between 0 (inclusive) and 86400 (=24*60*60) seconds
+ * (exclusive), adjusted for the time unit (for example, up to 86400000
+ * exclusive for the MILLISECOND unit).
+ * This definition doesn't allow for leap seconds. Time values from
+ * measurements with leap seconds will need to be corrected when ingesting
+ * into Arrow (for example by replacing the value 86400 with 86399). */
+struct org_apache_arrow_flatbuf_Time_table { uint8_t unused__; };
+
+static inline size_t org_apache_arrow_flatbuf_Time_vec_len(org_apache_arrow_flatbuf_Time_vec_t vec)
+__flatbuffers_vec_len(vec)
+static inline org_apache_arrow_flatbuf_Time_table_t org_apache_arrow_flatbuf_Time_vec_at(org_apache_arrow_flatbuf_Time_vec_t vec, size_t i)
+__flatbuffers_offset_vec_at(org_apache_arrow_flatbuf_Time_table_t, vec, i, 0)
+__flatbuffers_table_as_root(org_apache_arrow_flatbuf_Time)
+
+__flatbuffers_define_scalar_field(0, org_apache_arrow_flatbuf_Time, unit, org_apache_arrow_flatbuf_TimeUnit, org_apache_arrow_flatbuf_TimeUnit_enum_t, INT16_C(1))
+__flatbuffers_define_scalar_field(1, org_apache_arrow_flatbuf_Time, bitWidth, flatbuffers_int32, int32_t, INT32_C(32))
+
+/** Timestamp is a 64-bit signed integer representing an elapsed time since a
+ * fixed epoch, stored in either of four units: seconds, milliseconds,
+ * microseconds or nanoseconds, and is optionally annotated with a timezone.
+ *
+ * Timestamp values do not include any leap seconds (in other words, all
+ * days are considered 86400 seconds long).
+ *
+ * Timestamps with a non-empty timezone
+ * ------------------------------------
+ *
+ * If a Timestamp column has a non-empty timezone value, its epoch is
+ * 1970-01-01 00:00:00 (January 1st 1970, midnight) in the *UTC* timezone
+ * (the Unix epoch), regardless of the Timestamp's own timezone.
+ *
+ * Therefore, timestamp values with a non-empty timezone correspond to
+ * physical points in time together with some additional information about
+ * how the data was obtained and/or how to display it (the timezone).
+ *
+ * For example, the timestamp value 0 with the timezone string "Europe/Paris"
+ * corresponds to "January 1st 1970, 00h00" in the UTC timezone, but the
+ * application may prefer to display it as "January 1st 1970, 01h00" in
+ * the Europe/Paris timezone (which is the same physical point in time).
+ *
+ * One consequence is that timestamp values with a non-empty timezone
+ * can be compared and ordered directly, since they all share the same
+ * well-known point of reference (the Unix epoch).
+ *
+ * Timestamps with an unset / empty timezone
+ * -----------------------------------------
+ *
+ * If a Timestamp column has no timezone value, its epoch is
+ * 1970-01-01 00:00:00 (January 1st 1970, midnight) in an *unknown* timezone.
+ *
+ * Therefore, timestamp values without a timezone cannot be meaningfully
+ * interpreted as physical points in time, but only as calendar / clock
+ * indications ("wall clock time") in an unspecified timezone.
+ *
+ * For example, the timestamp value 0 with an empty timezone string
+ * corresponds to "January 1st 1970, 00h00" in an unknown timezone: there
+ * is not enough information to interpret it as a well-defined physical
+ * point in time.
+ *
+ * One consequence is that timestamp values without a timezone cannot
+ * be reliably compared or ordered, since they may have different points of
+ * reference. In particular, it is *not* possible to interpret an unset
+ * or empty timezone as the same as "UTC".
+ *
+ * Conversion between timezones
+ * ----------------------------
+ *
+ * If a Timestamp column has a non-empty timezone, changing the timezone
+ * to a different non-empty value is a metadata-only operation:
+ * the timestamp values need not change as their point of reference remains
+ * the same (the Unix epoch).
+ *
+ * However, if a Timestamp column has no timezone value, changing it to a
+ * non-empty value requires to think about the desired semantics.
+ * One possibility is to assume that the original timestamp values are
+ * relative to the epoch of the timezone being set; timestamp values should
+ * then adjusted to the Unix epoch (for example, changing the timezone from
+ * empty to "Europe/Paris" would require converting the timestamp values
+ * from "Europe/Paris" to "UTC", which seems counter-intuitive but is
+ * nevertheless correct).
+ *
+ * Guidelines for encoding data from external libraries
+ * ----------------------------------------------------
+ *
+ * Date & time libraries often have multiple different data types for temporal
+ * data. In order to ease interoperability between different implementations the
+ * Arrow project has some recommendations for encoding these types into a Timestamp
+ * column.
+ *
+ * An "instant" represents a physical point in time that has no relevant timezone
+ * (for example, astronomical data). To encode an instant, use a Timestamp with
+ * the timezone string set to "UTC", and make sure the Timestamp values
+ * are relative to the UTC epoch (January 1st 1970, midnight).
+ *
+ * A "zoned date-time" represents a physical point in time annotated with an
+ * informative timezone (for example, the timezone in which the data was
+ * recorded). To encode a zoned date-time, use a Timestamp with the timezone
+ * string set to the name of the timezone, and make sure the Timestamp values
+ * are relative to the UTC epoch (January 1st 1970, midnight).
+ *
+ * (There is some ambiguity between an instant and a zoned date-time with the
+ * UTC timezone. Both of these are stored the same in Arrow. Typically,
+ * this distinction does not matter. If it does, then an application should
+ * use custom metadata or an extension type to distinguish between the two cases.)
+ *
+ * An "offset date-time" represents a physical point in time combined with an
+ * explicit offset from UTC. To encode an offset date-time, use a Timestamp
+ * with the timezone string set to the numeric timezone offset string
+ * (e.g. "+03:00"), and make sure the Timestamp values are relative to
+ * the UTC epoch (January 1st 1970, midnight).
+ *
+ * A "naive date-time" (also called "local date-time" in some libraries)
+ * represents a wall clock time combined with a calendar date, but with
+ * no indication of how to map this information to a physical point in time.
+ * Naive date-times must be handled with care because of this missing
+ * information, and also because daylight saving time (DST) may make
+ * some values ambiguous or nonexistent. A naive date-time may be
+ * stored as a struct with Date and Time fields. However, it may also be
+ * encoded into a Timestamp column with an empty timezone. The timestamp
+ * values should be computed "as if" the timezone of the date-time values
+ * was UTC; for example, the naive date-time "January 1st 1970, 00h00" would
+ * be encoded as timestamp value 0. */
+struct org_apache_arrow_flatbuf_Timestamp_table { uint8_t unused__; };
-typedef int16_t org_apache_arrow_flatbuf_MetadataVersion_enum_t;
-__flatbuffers_define_integer_type(org_apache_arrow_flatbuf_MetadataVersion, org_apache_arrow_flatbuf_MetadataVersion_enum_t, 16)
-/** 0.1.0 (October 2016). */
-#define org_apache_arrow_flatbuf_MetadataVersion_V1 ((org_apache_arrow_flatbuf_MetadataVersion_enum_t)INT16_C(0))
-#define org_apache_arrow_flatbuf_MetadataVersion_V2 ((org_apache_arrow_flatbuf_MetadataVersion_enum_t)INT16_C(1))
-#define org_apache_arrow_flatbuf_MetadataVersion_V3 ((org_apache_arrow_flatbuf_MetadataVersion_enum_t)INT16_C(2))
-#define org_apache_arrow_flatbuf_MetadataVersion_V4 ((org_apache_arrow_flatbuf_MetadataVersion_enum_t)INT16_C(3))
-#define org_apache_arrow_flatbuf_MetadataVersion_V5 ((org_apache_arrow_flatbuf_MetadataVersion_enum_t)INT16_C(4))
+static inline size_t org_apache_arrow_flatbuf_Timestamp_vec_len(org_apache_arrow_flatbuf_Timestamp_vec_t vec)
+__flatbuffers_vec_len(vec)
+static inline org_apache_arrow_flatbuf_Timestamp_table_t org_apache_arrow_flatbuf_Timestamp_vec_at(org_apache_arrow_flatbuf_Timestamp_vec_t vec, size_t i)
+__flatbuffers_offset_vec_at(org_apache_arrow_flatbuf_Timestamp_table_t, vec, i, 0)
+__flatbuffers_table_as_root(org_apache_arrow_flatbuf_Timestamp)
-static inline const char *org_apache_arrow_flatbuf_MetadataVersion_name(org_apache_arrow_flatbuf_MetadataVersion_enum_t value)
-{
- switch (value) {
- case org_apache_arrow_flatbuf_MetadataVersion_V1: return "V1";
- case org_apache_arrow_flatbuf_MetadataVersion_V2: return "V2";
- case org_apache_arrow_flatbuf_MetadataVersion_V3: return "V3";
- case org_apache_arrow_flatbuf_MetadataVersion_V4: return "V4";
- case org_apache_arrow_flatbuf_MetadataVersion_V5: return "V5";
- default: return "";
- }
-}
+__flatbuffers_define_scalar_field(0, org_apache_arrow_flatbuf_Timestamp, unit, org_apache_arrow_flatbuf_TimeUnit, org_apache_arrow_flatbuf_TimeUnit_enum_t, INT16_C(0))
+/** The timezone is an optional string indicating the name of a timezone,
+ * one of:
+ *
+ * * As used in the Olson timezone database (the "tz database" or
+ * "tzdata"), such as "America/New_York".
+ * * An absolute timezone offset of the form "+XX:XX" or "-XX:XX",
+ * such as "+07:30".
+ *
+ * Whether a timezone string is present indicates different semantics about
+ * the data (see above). */
+__flatbuffers_define_string_field(1, org_apache_arrow_flatbuf_Timestamp, timezone, 0)
-static inline int org_apache_arrow_flatbuf_MetadataVersion_is_known_value(org_apache_arrow_flatbuf_MetadataVersion_enum_t value)
-{
- switch (value) {
- case org_apache_arrow_flatbuf_MetadataVersion_V1: return 1;
- case org_apache_arrow_flatbuf_MetadataVersion_V2: return 1;
- case org_apache_arrow_flatbuf_MetadataVersion_V3: return 1;
- case org_apache_arrow_flatbuf_MetadataVersion_V4: return 1;
- case org_apache_arrow_flatbuf_MetadataVersion_V5: return 1;
- default: return 0;
- }
-}
+struct org_apache_arrow_flatbuf_Interval_table { uint8_t unused__; };
-/** Represents Arrow Features that might not have full support
- * within implementations. This is intended to be used in
- * two scenarios:
- * 1. A mechanism for readers of Arrow Streams
- * and files to understand that the stream or file makes
- * use of a feature that isn't supported or unknown to
- * the implementation (and therefore can meet the Arrow
- * forward compatibility guarantees).
- * 2. A means of negotiating between a client and server
- * what features a stream is allowed to use. The enums
- * values here are intented to represent higher level
- * features, additional details maybe negotiated
- * with key-value pairs specific to the protocol.
- *
- * Enums added to this list should be assigned power-of-two values
- * to facilitate exchanging and comparing bitmaps for supported
- * features. */
-typedef int64_t org_apache_arrow_flatbuf_Feature_enum_t;
-__flatbuffers_define_integer_type(org_apache_arrow_flatbuf_Feature, org_apache_arrow_flatbuf_Feature_enum_t, 64)
-/** Needed to make flatbuffers happy. */
-#define org_apache_arrow_flatbuf_Feature_UNUSED ((org_apache_arrow_flatbuf_Feature_enum_t)INT64_C(0))
-#define org_apache_arrow_flatbuf_Feature_DICTIONARY_REPLACEMENT ((org_apache_arrow_flatbuf_Feature_enum_t)INT64_C(1))
-#define org_apache_arrow_flatbuf_Feature_COMPRESSED_BODY ((org_apache_arrow_flatbuf_Feature_enum_t)INT64_C(2))
+static inline size_t org_apache_arrow_flatbuf_Interval_vec_len(org_apache_arrow_flatbuf_Interval_vec_t vec)
+__flatbuffers_vec_len(vec)
+static inline org_apache_arrow_flatbuf_Interval_table_t org_apache_arrow_flatbuf_Interval_vec_at(org_apache_arrow_flatbuf_Interval_vec_t vec, size_t i)
+__flatbuffers_offset_vec_at(org_apache_arrow_flatbuf_Interval_table_t, vec, i, 0)
+__flatbuffers_table_as_root(org_apache_arrow_flatbuf_Interval)
-static inline const char *org_apache_arrow_flatbuf_Feature_name(org_apache_arrow_flatbuf_Feature_enum_t value)
+__flatbuffers_define_scalar_field(0, org_apache_arrow_flatbuf_Interval, unit, org_apache_arrow_flatbuf_IntervalUnit, org_apache_arrow_flatbuf_IntervalUnit_enum_t, INT16_C(0))
+
+struct org_apache_arrow_flatbuf_Duration_table { uint8_t unused__; };
+
+static inline size_t org_apache_arrow_flatbuf_Duration_vec_len(org_apache_arrow_flatbuf_Duration_vec_t vec)
+__flatbuffers_vec_len(vec)
+static inline org_apache_arrow_flatbuf_Duration_table_t org_apache_arrow_flatbuf_Duration_vec_at(org_apache_arrow_flatbuf_Duration_vec_t vec, size_t i)
+__flatbuffers_offset_vec_at(org_apache_arrow_flatbuf_Duration_table_t, vec, i, 0)
+__flatbuffers_table_as_root(org_apache_arrow_flatbuf_Duration)
+
+__flatbuffers_define_scalar_field(0, org_apache_arrow_flatbuf_Duration, unit, org_apache_arrow_flatbuf_TimeUnit, org_apache_arrow_flatbuf_TimeUnit_enum_t, INT16_C(1))
+/** ----------------------------------------------------------------------
+ * Top-level Type value, enabling extensible type-specific metadata. We can
+ * add new logical types to Type without breaking backwards compatibility */
+typedef uint8_t org_apache_arrow_flatbuf_Type_union_type_t;
+__flatbuffers_define_integer_type(org_apache_arrow_flatbuf_Type, org_apache_arrow_flatbuf_Type_union_type_t, 8)
+__flatbuffers_define_union(flatbuffers_, org_apache_arrow_flatbuf_Type)
+/** ----------------------------------------------------------------------
+ * user defined key value pairs to add custom metadata to arrow
+ * key namespacing is the responsibility of the user */
+#define org_apache_arrow_flatbuf_Type_NONE ((org_apache_arrow_flatbuf_Type_union_type_t)UINT8_C(0))
+#define org_apache_arrow_flatbuf_Type_Null ((org_apache_arrow_flatbuf_Type_union_type_t)UINT8_C(1))
+#define org_apache_arrow_flatbuf_Type_Int ((org_apache_arrow_flatbuf_Type_union_type_t)UINT8_C(2))
+#define org_apache_arrow_flatbuf_Type_FloatingPoint ((org_apache_arrow_flatbuf_Type_union_type_t)UINT8_C(3))
+#define org_apache_arrow_flatbuf_Type_Binary ((org_apache_arrow_flatbuf_Type_union_type_t)UINT8_C(4))
+#define org_apache_arrow_flatbuf_Type_Utf8 ((org_apache_arrow_flatbuf_Type_union_type_t)UINT8_C(5))
+#define org_apache_arrow_flatbuf_Type_Bool ((org_apache_arrow_flatbuf_Type_union_type_t)UINT8_C(6))
+#define org_apache_arrow_flatbuf_Type_Decimal ((org_apache_arrow_flatbuf_Type_union_type_t)UINT8_C(7))
+#define org_apache_arrow_flatbuf_Type_Date ((org_apache_arrow_flatbuf_Type_union_type_t)UINT8_C(8))
+#define org_apache_arrow_flatbuf_Type_Time ((org_apache_arrow_flatbuf_Type_union_type_t)UINT8_C(9))
+#define org_apache_arrow_flatbuf_Type_Timestamp ((org_apache_arrow_flatbuf_Type_union_type_t)UINT8_C(10))
+#define org_apache_arrow_flatbuf_Type_Interval ((org_apache_arrow_flatbuf_Type_union_type_t)UINT8_C(11))
+#define org_apache_arrow_flatbuf_Type_List ((org_apache_arrow_flatbuf_Type_union_type_t)UINT8_C(12))
+#define org_apache_arrow_flatbuf_Type_Struct_ ((org_apache_arrow_flatbuf_Type_union_type_t)UINT8_C(13))
+#define org_apache_arrow_flatbuf_Type_Union ((org_apache_arrow_flatbuf_Type_union_type_t)UINT8_C(14))
+#define org_apache_arrow_flatbuf_Type_FixedSizeBinary ((org_apache_arrow_flatbuf_Type_union_type_t)UINT8_C(15))
+#define org_apache_arrow_flatbuf_Type_FixedSizeList ((org_apache_arrow_flatbuf_Type_union_type_t)UINT8_C(16))
+#define org_apache_arrow_flatbuf_Type_Map ((org_apache_arrow_flatbuf_Type_union_type_t)UINT8_C(17))
+#define org_apache_arrow_flatbuf_Type_Duration ((org_apache_arrow_flatbuf_Type_union_type_t)UINT8_C(18))
+#define org_apache_arrow_flatbuf_Type_LargeBinary ((org_apache_arrow_flatbuf_Type_union_type_t)UINT8_C(19))
+#define org_apache_arrow_flatbuf_Type_LargeUtf8 ((org_apache_arrow_flatbuf_Type_union_type_t)UINT8_C(20))
+#define org_apache_arrow_flatbuf_Type_LargeList ((org_apache_arrow_flatbuf_Type_union_type_t)UINT8_C(21))
+#define org_apache_arrow_flatbuf_Type_RunEndEncoded ((org_apache_arrow_flatbuf_Type_union_type_t)UINT8_C(22))
+#define org_apache_arrow_flatbuf_Type_BinaryView ((org_apache_arrow_flatbuf_Type_union_type_t)UINT8_C(23))
+#define org_apache_arrow_flatbuf_Type_Utf8View ((org_apache_arrow_flatbuf_Type_union_type_t)UINT8_C(24))
+#define org_apache_arrow_flatbuf_Type_ListView ((org_apache_arrow_flatbuf_Type_union_type_t)UINT8_C(25))
+#define org_apache_arrow_flatbuf_Type_LargeListView ((org_apache_arrow_flatbuf_Type_union_type_t)UINT8_C(26))
+
+static inline const char *org_apache_arrow_flatbuf_Type_type_name(org_apache_arrow_flatbuf_Type_union_type_t type)
{
- switch (value) {
- case org_apache_arrow_flatbuf_Feature_UNUSED: return "UNUSED";
- case org_apache_arrow_flatbuf_Feature_DICTIONARY_REPLACEMENT: return "DICTIONARY_REPLACEMENT";
- case org_apache_arrow_flatbuf_Feature_COMPRESSED_BODY: return "COMPRESSED_BODY";
+ switch (type) {
+ case org_apache_arrow_flatbuf_Type_NONE: return "NONE";
+ case org_apache_arrow_flatbuf_Type_Null: return "Null";
+ case org_apache_arrow_flatbuf_Type_Int: return "Int";
+ case org_apache_arrow_flatbuf_Type_FloatingPoint: return "FloatingPoint";
+ case org_apache_arrow_flatbuf_Type_Binary: return "Binary";
+ case org_apache_arrow_flatbuf_Type_Utf8: return "Utf8";
+ case org_apache_arrow_flatbuf_Type_Bool: return "Bool";
+ case org_apache_arrow_flatbuf_Type_Decimal: return "Decimal";
+ case org_apache_arrow_flatbuf_Type_Date: return "Date";
+ case org_apache_arrow_flatbuf_Type_Time: return "Time";
+ case org_apache_arrow_flatbuf_Type_Timestamp: return "Timestamp";
+ case org_apache_arrow_flatbuf_Type_Interval: return "Interval";
+ case org_apache_arrow_flatbuf_Type_List: return "List";
+ case org_apache_arrow_flatbuf_Type_Struct_: return "Struct_";
+ case org_apache_arrow_flatbuf_Type_Union: return "Union";
+ case org_apache_arrow_flatbuf_Type_FixedSizeBinary: return "FixedSizeBinary";
+ case org_apache_arrow_flatbuf_Type_FixedSizeList: return "FixedSizeList";
+ case org_apache_arrow_flatbuf_Type_Map: return "Map";
+ case org_apache_arrow_flatbuf_Type_Duration: return "Duration";
+ case org_apache_arrow_flatbuf_Type_LargeBinary: return "LargeBinary";
+ case org_apache_arrow_flatbuf_Type_LargeUtf8: return "LargeUtf8";
+ case org_apache_arrow_flatbuf_Type_LargeList: return "LargeList";
+ case org_apache_arrow_flatbuf_Type_RunEndEncoded: return "RunEndEncoded";
+ case org_apache_arrow_flatbuf_Type_BinaryView: return "BinaryView";
+ case org_apache_arrow_flatbuf_Type_Utf8View: return "Utf8View";
+ case org_apache_arrow_flatbuf_Type_ListView: return "ListView";
+ case org_apache_arrow_flatbuf_Type_LargeListView: return "LargeListView";
default: return "";
}
}
-static inline int org_apache_arrow_flatbuf_Feature_is_known_value(org_apache_arrow_flatbuf_Feature_enum_t value)
+static inline int org_apache_arrow_flatbuf_Type_is_known_type(org_apache_arrow_flatbuf_Type_union_type_t type)
{
- switch (value) {
- case org_apache_arrow_flatbuf_Feature_UNUSED: return 1;
- case org_apache_arrow_flatbuf_Feature_DICTIONARY_REPLACEMENT: return 1;
- case org_apache_arrow_flatbuf_Feature_COMPRESSED_BODY: return 1;
+ switch (type) {
+ case org_apache_arrow_flatbuf_Type_NONE: return 1;
+ case org_apache_arrow_flatbuf_Type_Null: return 1;
+ case org_apache_arrow_flatbuf_Type_Int: return 1;
+ case org_apache_arrow_flatbuf_Type_FloatingPoint: return 1;
+ case org_apache_arrow_flatbuf_Type_Binary: return 1;
+ case org_apache_arrow_flatbuf_Type_Utf8: return 1;
+ case org_apache_arrow_flatbuf_Type_Bool: return 1;
+ case org_apache_arrow_flatbuf_Type_Decimal: return 1;
+ case org_apache_arrow_flatbuf_Type_Date: return 1;
+ case org_apache_arrow_flatbuf_Type_Time: return 1;
+ case org_apache_arrow_flatbuf_Type_Timestamp: return 1;
+ case org_apache_arrow_flatbuf_Type_Interval: return 1;
+ case org_apache_arrow_flatbuf_Type_List: return 1;
+ case org_apache_arrow_flatbuf_Type_Struct_: return 1;
+ case org_apache_arrow_flatbuf_Type_Union: return 1;
+ case org_apache_arrow_flatbuf_Type_FixedSizeBinary: return 1;
+ case org_apache_arrow_flatbuf_Type_FixedSizeList: return 1;
+ case org_apache_arrow_flatbuf_Type_Map: return 1;
+ case org_apache_arrow_flatbuf_Type_Duration: return 1;
+ case org_apache_arrow_flatbuf_Type_LargeBinary: return 1;
+ case org_apache_arrow_flatbuf_Type_LargeUtf8: return 1;
+ case org_apache_arrow_flatbuf_Type_LargeList: return 1;
+ case org_apache_arrow_flatbuf_Type_RunEndEncoded: return 1;
+ case org_apache_arrow_flatbuf_Type_BinaryView: return 1;
+ case org_apache_arrow_flatbuf_Type_Utf8View: return 1;
+ case org_apache_arrow_flatbuf_Type_ListView: return 1;
+ case org_apache_arrow_flatbuf_Type_LargeListView: return 1;
default: return 0;
}
}
-typedef int16_t org_apache_arrow_flatbuf_UnionMode_enum_t;
-__flatbuffers_define_integer_type(org_apache_arrow_flatbuf_UnionMode, org_apache_arrow_flatbuf_UnionMode_enum_t, 16)
-#define org_apache_arrow_flatbuf_UnionMode_Sparse ((org_apache_arrow_flatbuf_UnionMode_enum_t)INT16_C(0))
-#define org_apache_arrow_flatbuf_UnionMode_Dense ((org_apache_arrow_flatbuf_UnionMode_enum_t)INT16_C(1))
-static inline const char *org_apache_arrow_flatbuf_UnionMode_name(org_apache_arrow_flatbuf_UnionMode_enum_t value)
-{
- switch (value) {
- case org_apache_arrow_flatbuf_UnionMode_Sparse: return "Sparse";
- case org_apache_arrow_flatbuf_UnionMode_Dense: return "Dense";
- default: return "";
- }
-}
+struct org_apache_arrow_flatbuf_KeyValue_table { uint8_t unused__; };
-static inline int org_apache_arrow_flatbuf_UnionMode_is_known_value(org_apache_arrow_flatbuf_UnionMode_enum_t value)
-{
- switch (value) {
- case org_apache_arrow_flatbuf_UnionMode_Sparse: return 1;
- case org_apache_arrow_flatbuf_UnionMode_Dense: return 1;
- default: return 0;
- }
-}
+static inline size_t org_apache_arrow_flatbuf_KeyValue_vec_len(org_apache_arrow_flatbuf_KeyValue_vec_t vec)
+__flatbuffers_vec_len(vec)
+static inline org_apache_arrow_flatbuf_KeyValue_table_t org_apache_arrow_flatbuf_KeyValue_vec_at(org_apache_arrow_flatbuf_KeyValue_vec_t vec, size_t i)
+__flatbuffers_offset_vec_at(org_apache_arrow_flatbuf_KeyValue_table_t, vec, i, 0)
+__flatbuffers_table_as_root(org_apache_arrow_flatbuf_KeyValue)
-typedef int16_t org_apache_arrow_flatbuf_Precision_enum_t;
-__flatbuffers_define_integer_type(org_apache_arrow_flatbuf_Precision, org_apache_arrow_flatbuf_Precision_enum_t, 16)
-#define org_apache_arrow_flatbuf_Precision_HALF ((org_apache_arrow_flatbuf_Precision_enum_t)INT16_C(0))
-#define org_apache_arrow_flatbuf_Precision_SINGLE ((org_apache_arrow_flatbuf_Precision_enum_t)INT16_C(1))
-#define org_apache_arrow_flatbuf_Precision_DOUBLE ((org_apache_arrow_flatbuf_Precision_enum_t)INT16_C(2))
+__flatbuffers_define_string_field(0, org_apache_arrow_flatbuf_KeyValue, key, 0)
+__flatbuffers_define_string_field(1, org_apache_arrow_flatbuf_KeyValue, value, 0)
-static inline const char *org_apache_arrow_flatbuf_Precision_name(org_apache_arrow_flatbuf_Precision_enum_t value)
-{
- switch (value) {
- case org_apache_arrow_flatbuf_Precision_HALF: return "HALF";
- case org_apache_arrow_flatbuf_Precision_SINGLE: return "SINGLE";
- case org_apache_arrow_flatbuf_Precision_DOUBLE: return "DOUBLE";
- default: return "";
- }
-}
+struct org_apache_arrow_flatbuf_DictionaryEncoding_table { uint8_t unused__; };
-static inline int org_apache_arrow_flatbuf_Precision_is_known_value(org_apache_arrow_flatbuf_Precision_enum_t value)
-{
- switch (value) {
- case org_apache_arrow_flatbuf_Precision_HALF: return 1;
- case org_apache_arrow_flatbuf_Precision_SINGLE: return 1;
- case org_apache_arrow_flatbuf_Precision_DOUBLE: return 1;
- default: return 0;
- }
-}
+static inline size_t org_apache_arrow_flatbuf_DictionaryEncoding_vec_len(org_apache_arrow_flatbuf_DictionaryEncoding_vec_t vec)
+__flatbuffers_vec_len(vec)
+static inline org_apache_arrow_flatbuf_DictionaryEncoding_table_t org_apache_arrow_flatbuf_DictionaryEncoding_vec_at(org_apache_arrow_flatbuf_DictionaryEncoding_vec_t vec, size_t i)
+__flatbuffers_offset_vec_at(org_apache_arrow_flatbuf_DictionaryEncoding_table_t, vec, i, 0)
+__flatbuffers_table_as_root(org_apache_arrow_flatbuf_DictionaryEncoding)
-typedef int16_t org_apache_arrow_flatbuf_DateUnit_enum_t;
-__flatbuffers_define_integer_type(org_apache_arrow_flatbuf_DateUnit, org_apache_arrow_flatbuf_DateUnit_enum_t, 16)
-#define org_apache_arrow_flatbuf_DateUnit_DAY ((org_apache_arrow_flatbuf_DateUnit_enum_t)INT16_C(0))
-#define org_apache_arrow_flatbuf_DateUnit_MILLISECOND ((org_apache_arrow_flatbuf_DateUnit_enum_t)INT16_C(1))
+/** The known dictionary id in the application where this data is used. In
+ * the file or streaming formats, the dictionary ids are found in the
+ * DictionaryBatch messages */
+__flatbuffers_define_scalar_field(0, org_apache_arrow_flatbuf_DictionaryEncoding, id, flatbuffers_int64, int64_t, INT64_C(0))
+/** The dictionary indices are constrained to be non-negative integers. If
+ * this field is null, the indices must be signed int32. To maximize
+ * cross-language compatibility and performance, implementations are
+ * recommended to prefer signed integer types over unsigned integer types
+ * and to avoid uint64 indices unless they are required by an application. */
+__flatbuffers_define_table_field(1, org_apache_arrow_flatbuf_DictionaryEncoding, indexType, org_apache_arrow_flatbuf_Int_table_t, 0)
+/** By default, dictionaries are not ordered, or the order does not have
+ * semantic meaning. In some statistical, applications, dictionary-encoding
+ * is used to represent ordered categorical data, and we provide a way to
+ * preserve that metadata here */
+__flatbuffers_define_scalar_field(2, org_apache_arrow_flatbuf_DictionaryEncoding, isOrdered, flatbuffers_bool, flatbuffers_bool_t, UINT8_C(0))
+__flatbuffers_define_scalar_field(3, org_apache_arrow_flatbuf_DictionaryEncoding, dictionaryKind, org_apache_arrow_flatbuf_DictionaryKind, org_apache_arrow_flatbuf_DictionaryKind_enum_t, INT16_C(0))
-static inline const char *org_apache_arrow_flatbuf_DateUnit_name(org_apache_arrow_flatbuf_DateUnit_enum_t value)
-{
- switch (value) {
- case org_apache_arrow_flatbuf_DateUnit_DAY: return "DAY";
- case org_apache_arrow_flatbuf_DateUnit_MILLISECOND: return "MILLISECOND";
- default: return "";
- }
-}
+/** ----------------------------------------------------------------------
+ * A field represents a named column in a record / row batch or child of a
+ * nested type. */
+struct org_apache_arrow_flatbuf_Field_table { uint8_t unused__; };
-static inline int org_apache_arrow_flatbuf_DateUnit_is_known_value(org_apache_arrow_flatbuf_DateUnit_enum_t value)
-{
- switch (value) {
- case org_apache_arrow_flatbuf_DateUnit_DAY: return 1;
- case org_apache_arrow_flatbuf_DateUnit_MILLISECOND: return 1;
- default: return 0;
- }
-}
+static inline size_t org_apache_arrow_flatbuf_Field_vec_len(org_apache_arrow_flatbuf_Field_vec_t vec)
+__flatbuffers_vec_len(vec)
+static inline org_apache_arrow_flatbuf_Field_table_t org_apache_arrow_flatbuf_Field_vec_at(org_apache_arrow_flatbuf_Field_vec_t vec, size_t i)
+__flatbuffers_offset_vec_at(org_apache_arrow_flatbuf_Field_table_t, vec, i, 0)
+__flatbuffers_table_as_root(org_apache_arrow_flatbuf_Field)
-typedef int16_t org_apache_arrow_flatbuf_TimeUnit_enum_t;
-__flatbuffers_define_integer_type(org_apache_arrow_flatbuf_TimeUnit, org_apache_arrow_flatbuf_TimeUnit_enum_t, 16)
-#define org_apache_arrow_flatbuf_TimeUnit_SECOND ((org_apache_arrow_flatbuf_TimeUnit_enum_t)INT16_C(0))
-#define org_apache_arrow_flatbuf_TimeUnit_MILLISECOND ((org_apache_arrow_flatbuf_TimeUnit_enum_t)INT16_C(1))
-#define org_apache_arrow_flatbuf_TimeUnit_MICROSECOND ((org_apache_arrow_flatbuf_TimeUnit_enum_t)INT16_C(2))
-#define org_apache_arrow_flatbuf_TimeUnit_NANOSECOND ((org_apache_arrow_flatbuf_TimeUnit_enum_t)INT16_C(3))
+/** Name is not required, in i.e. a List */
+__flatbuffers_define_string_field(0, org_apache_arrow_flatbuf_Field, name, 0)
+/** Whether or not this field can contain nulls. Should be true in general. */
+__flatbuffers_define_scalar_field(1, org_apache_arrow_flatbuf_Field, nullable, flatbuffers_bool, flatbuffers_bool_t, UINT8_C(0))
+/** This is the type of the decoded value if the field is dictionary encoded. */
+__flatbuffers_define_union_field(flatbuffers_, 3, org_apache_arrow_flatbuf_Field, type, org_apache_arrow_flatbuf_Type, 0)
+/** Present only if the field is dictionary encoded. */
+__flatbuffers_define_table_field(4, org_apache_arrow_flatbuf_Field, dictionary, org_apache_arrow_flatbuf_DictionaryEncoding_table_t, 0)
+/** children apply only to nested data types like Struct, List and Union. For
+ * primitive types children will have length 0. */
+__flatbuffers_define_vector_field(5, org_apache_arrow_flatbuf_Field, children, org_apache_arrow_flatbuf_Field_vec_t, 0)
+/** User-defined metadata */
+__flatbuffers_define_vector_field(6, org_apache_arrow_flatbuf_Field, custom_metadata, org_apache_arrow_flatbuf_KeyValue_vec_t, 0)
-static inline const char *org_apache_arrow_flatbuf_TimeUnit_name(org_apache_arrow_flatbuf_TimeUnit_enum_t value)
-{
- switch (value) {
- case org_apache_arrow_flatbuf_TimeUnit_SECOND: return "SECOND";
- case org_apache_arrow_flatbuf_TimeUnit_MILLISECOND: return "MILLISECOND";
- case org_apache_arrow_flatbuf_TimeUnit_MICROSECOND: return "MICROSECOND";
- case org_apache_arrow_flatbuf_TimeUnit_NANOSECOND: return "NANOSECOND";
- default: return "";
- }
-}
+/** ----------------------------------------------------------------------
+ * A Schema describes the columns in a row batch */
+struct org_apache_arrow_flatbuf_Schema_table { uint8_t unused__; };
-static inline int org_apache_arrow_flatbuf_TimeUnit_is_known_value(org_apache_arrow_flatbuf_TimeUnit_enum_t value)
-{
- switch (value) {
- case org_apache_arrow_flatbuf_TimeUnit_SECOND: return 1;
- case org_apache_arrow_flatbuf_TimeUnit_MILLISECOND: return 1;
- case org_apache_arrow_flatbuf_TimeUnit_MICROSECOND: return 1;
- case org_apache_arrow_flatbuf_TimeUnit_NANOSECOND: return 1;
- default: return 0;
- }
-}
+static inline size_t org_apache_arrow_flatbuf_Schema_vec_len(org_apache_arrow_flatbuf_Schema_vec_t vec)
+__flatbuffers_vec_len(vec)
+static inline org_apache_arrow_flatbuf_Schema_table_t org_apache_arrow_flatbuf_Schema_vec_at(org_apache_arrow_flatbuf_Schema_vec_t vec, size_t i)
+__flatbuffers_offset_vec_at(org_apache_arrow_flatbuf_Schema_table_t, vec, i, 0)
+__flatbuffers_table_as_root(org_apache_arrow_flatbuf_Schema)
-typedef int16_t org_apache_arrow_flatbuf_IntervalUnit_enum_t;
-__flatbuffers_define_integer_type(org_apache_arrow_flatbuf_IntervalUnit, org_apache_arrow_flatbuf_IntervalUnit_enum_t, 16)
-#define org_apache_arrow_flatbuf_IntervalUnit_YEAR_MONTH ((org_apache_arrow_flatbuf_IntervalUnit_enum_t)INT16_C(0))
-#define org_apache_arrow_flatbuf_IntervalUnit_DAY_TIME ((org_apache_arrow_flatbuf_IntervalUnit_enum_t)INT16_C(1))
-#define org_apache_arrow_flatbuf_IntervalUnit_MONTH_DAY_NANO ((org_apache_arrow_flatbuf_IntervalUnit_enum_t)INT16_C(2))
+/** endianness of the buffer
+ * it is Little Endian by default
+ * if endianness doesn't match the underlying system then the vectors need to be converted */
+__flatbuffers_define_scalar_field(0, org_apache_arrow_flatbuf_Schema, endianness, org_apache_arrow_flatbuf_Endianness, org_apache_arrow_flatbuf_Endianness_enum_t, INT16_C(0))
+__flatbuffers_define_vector_field(1, org_apache_arrow_flatbuf_Schema, fields, org_apache_arrow_flatbuf_Field_vec_t, 0)
+__flatbuffers_define_vector_field(2, org_apache_arrow_flatbuf_Schema, custom_metadata, org_apache_arrow_flatbuf_KeyValue_vec_t, 0)
+/** Features used in the stream/file. */
+__flatbuffers_define_vector_field(3, org_apache_arrow_flatbuf_Schema, features, org_apache_arrow_flatbuf_Feature_vec_t, 0)
-static inline const char *org_apache_arrow_flatbuf_IntervalUnit_name(org_apache_arrow_flatbuf_IntervalUnit_enum_t value)
-{
- switch (value) {
- case org_apache_arrow_flatbuf_IntervalUnit_YEAR_MONTH: return "YEAR_MONTH";
- case org_apache_arrow_flatbuf_IntervalUnit_DAY_TIME: return "DAY_TIME";
- case org_apache_arrow_flatbuf_IntervalUnit_MONTH_DAY_NANO: return "MONTH_DAY_NANO";
- default: return "";
- }
-}
-static inline int org_apache_arrow_flatbuf_IntervalUnit_is_known_value(org_apache_arrow_flatbuf_IntervalUnit_enum_t value)
-{
- switch (value) {
- case org_apache_arrow_flatbuf_IntervalUnit_YEAR_MONTH: return 1;
- case org_apache_arrow_flatbuf_IntervalUnit_DAY_TIME: return 1;
- case org_apache_arrow_flatbuf_IntervalUnit_MONTH_DAY_NANO: return 1;
- default: return 0;
- }
-}
+#include "flatcc/flatcc_epilogue.h"
+#endif /* SCHEMA_READER_H */
+#ifndef SCHEMA_BUILDER_H
+#define SCHEMA_BUILDER_H
+
+/* Generated by flatcc 0.6.2 FlatBuffers schema compiler for C by dvide.com */
+
+#ifndef SCHEMA_READER_H
+#include "Schema_reader.h"
+#endif
+#ifndef FLATBUFFERS_COMMON_BUILDER_H
+#include "flatbuffers_common_builder.h"
+#endif
+#include "flatcc/flatcc_prologue.h"
+#ifndef flatbuffers_identifier
+#define flatbuffers_identifier 0
+#endif
+#ifndef flatbuffers_extension
+#define flatbuffers_extension "bin"
+#endif
+
+#define __org_apache_arrow_flatbuf_MetadataVersion_formal_args , org_apache_arrow_flatbuf_MetadataVersion_enum_t v0
+#define __org_apache_arrow_flatbuf_MetadataVersion_call_args , v0
+__flatbuffers_build_scalar(flatbuffers_, org_apache_arrow_flatbuf_MetadataVersion, org_apache_arrow_flatbuf_MetadataVersion_enum_t)
+#define __org_apache_arrow_flatbuf_Feature_formal_args , org_apache_arrow_flatbuf_Feature_enum_t v0
+#define __org_apache_arrow_flatbuf_Feature_call_args , v0
+__flatbuffers_build_scalar(flatbuffers_, org_apache_arrow_flatbuf_Feature, org_apache_arrow_flatbuf_Feature_enum_t)
+#define __org_apache_arrow_flatbuf_UnionMode_formal_args , org_apache_arrow_flatbuf_UnionMode_enum_t v0
+#define __org_apache_arrow_flatbuf_UnionMode_call_args , v0
+__flatbuffers_build_scalar(flatbuffers_, org_apache_arrow_flatbuf_UnionMode, org_apache_arrow_flatbuf_UnionMode_enum_t)
+#define __org_apache_arrow_flatbuf_Precision_formal_args , org_apache_arrow_flatbuf_Precision_enum_t v0
+#define __org_apache_arrow_flatbuf_Precision_call_args , v0
+__flatbuffers_build_scalar(flatbuffers_, org_apache_arrow_flatbuf_Precision, org_apache_arrow_flatbuf_Precision_enum_t)
+#define __org_apache_arrow_flatbuf_DateUnit_formal_args , org_apache_arrow_flatbuf_DateUnit_enum_t v0
+#define __org_apache_arrow_flatbuf_DateUnit_call_args , v0
+__flatbuffers_build_scalar(flatbuffers_, org_apache_arrow_flatbuf_DateUnit, org_apache_arrow_flatbuf_DateUnit_enum_t)
+#define __org_apache_arrow_flatbuf_TimeUnit_formal_args , org_apache_arrow_flatbuf_TimeUnit_enum_t v0
+#define __org_apache_arrow_flatbuf_TimeUnit_call_args , v0
+__flatbuffers_build_scalar(flatbuffers_, org_apache_arrow_flatbuf_TimeUnit, org_apache_arrow_flatbuf_TimeUnit_enum_t)
+#define __org_apache_arrow_flatbuf_IntervalUnit_formal_args , org_apache_arrow_flatbuf_IntervalUnit_enum_t v0
+#define __org_apache_arrow_flatbuf_IntervalUnit_call_args , v0
+__flatbuffers_build_scalar(flatbuffers_, org_apache_arrow_flatbuf_IntervalUnit, org_apache_arrow_flatbuf_IntervalUnit_enum_t)
+#define __org_apache_arrow_flatbuf_DictionaryKind_formal_args , org_apache_arrow_flatbuf_DictionaryKind_enum_t v0
+#define __org_apache_arrow_flatbuf_DictionaryKind_call_args , v0
+__flatbuffers_build_scalar(flatbuffers_, org_apache_arrow_flatbuf_DictionaryKind, org_apache_arrow_flatbuf_DictionaryKind_enum_t)
+#define __org_apache_arrow_flatbuf_Endianness_formal_args , org_apache_arrow_flatbuf_Endianness_enum_t v0
+#define __org_apache_arrow_flatbuf_Endianness_call_args , v0
+__flatbuffers_build_scalar(flatbuffers_, org_apache_arrow_flatbuf_Endianness, org_apache_arrow_flatbuf_Endianness_enum_t)
+
+#define __org_apache_arrow_flatbuf_Buffer_formal_args , int64_t v0, int64_t v1
+#define __org_apache_arrow_flatbuf_Buffer_call_args , v0, v1
+static inline org_apache_arrow_flatbuf_Buffer_t *org_apache_arrow_flatbuf_Buffer_assign(org_apache_arrow_flatbuf_Buffer_t *p, int64_t v0, int64_t v1)
+{ p->offset = v0; p->length = v1;
+ return p; }
+static inline org_apache_arrow_flatbuf_Buffer_t *org_apache_arrow_flatbuf_Buffer_copy(org_apache_arrow_flatbuf_Buffer_t *p, const org_apache_arrow_flatbuf_Buffer_t *p2)
+{ p->offset = p2->offset; p->length = p2->length;
+ return p; }
+static inline org_apache_arrow_flatbuf_Buffer_t *org_apache_arrow_flatbuf_Buffer_assign_to_pe(org_apache_arrow_flatbuf_Buffer_t *p, int64_t v0, int64_t v1)
+{ flatbuffers_int64_assign_to_pe(&p->offset, v0); flatbuffers_int64_assign_to_pe(&p->length, v1);
+ return p; }
+static inline org_apache_arrow_flatbuf_Buffer_t *org_apache_arrow_flatbuf_Buffer_copy_to_pe(org_apache_arrow_flatbuf_Buffer_t *p, const org_apache_arrow_flatbuf_Buffer_t *p2)
+{ flatbuffers_int64_copy_to_pe(&p->offset, &p2->offset); flatbuffers_int64_copy_to_pe(&p->length, &p2->length);
+ return p; }
+static inline org_apache_arrow_flatbuf_Buffer_t *org_apache_arrow_flatbuf_Buffer_assign_from_pe(org_apache_arrow_flatbuf_Buffer_t *p, int64_t v0, int64_t v1)
+{ flatbuffers_int64_assign_from_pe(&p->offset, v0); flatbuffers_int64_assign_from_pe(&p->length, v1);
+ return p; }
+static inline org_apache_arrow_flatbuf_Buffer_t *org_apache_arrow_flatbuf_Buffer_copy_from_pe(org_apache_arrow_flatbuf_Buffer_t *p, const org_apache_arrow_flatbuf_Buffer_t *p2)
+{ flatbuffers_int64_copy_from_pe(&p->offset, &p2->offset); flatbuffers_int64_copy_from_pe(&p->length, &p2->length);
+ return p; }
+__flatbuffers_build_struct(flatbuffers_, org_apache_arrow_flatbuf_Buffer, 16, 8, org_apache_arrow_flatbuf_Buffer_file_identifier, org_apache_arrow_flatbuf_Buffer_type_identifier)
+__flatbuffers_define_fixed_array_primitives(flatbuffers_, org_apache_arrow_flatbuf_Buffer, org_apache_arrow_flatbuf_Buffer_t)
+
+typedef flatbuffers_union_ref_t org_apache_arrow_flatbuf_Type_union_ref_t;
+typedef flatbuffers_union_vec_ref_t org_apache_arrow_flatbuf_Type_union_vec_ref_t;
+static org_apache_arrow_flatbuf_Type_union_ref_t org_apache_arrow_flatbuf_Type_clone(flatbuffers_builder_t *B, org_apache_arrow_flatbuf_Type_union_t t);
+
+static const flatbuffers_voffset_t __org_apache_arrow_flatbuf_Null_required[] = { 0 };
+typedef flatbuffers_ref_t org_apache_arrow_flatbuf_Null_ref_t;
+static org_apache_arrow_flatbuf_Null_ref_t org_apache_arrow_flatbuf_Null_clone(flatbuffers_builder_t *B, org_apache_arrow_flatbuf_Null_table_t t);
+__flatbuffers_build_table(flatbuffers_, org_apache_arrow_flatbuf_Null, 0)
+
+static const flatbuffers_voffset_t __org_apache_arrow_flatbuf_Struct__required[] = { 0 };
+typedef flatbuffers_ref_t org_apache_arrow_flatbuf_Struct__ref_t;
+static org_apache_arrow_flatbuf_Struct__ref_t org_apache_arrow_flatbuf_Struct__clone(flatbuffers_builder_t *B, org_apache_arrow_flatbuf_Struct__table_t t);
+__flatbuffers_build_table(flatbuffers_, org_apache_arrow_flatbuf_Struct_, 0)
-/** ----------------------------------------------------------------------
- * Dictionary encoding metadata
- * Maintained for forwards compatibility, in the future
- * Dictionaries might be explicit maps between integers and values
- * allowing for non-contiguous index values */
-typedef int16_t org_apache_arrow_flatbuf_DictionaryKind_enum_t;
-__flatbuffers_define_integer_type(org_apache_arrow_flatbuf_DictionaryKind, org_apache_arrow_flatbuf_DictionaryKind_enum_t, 16)
-#define org_apache_arrow_flatbuf_DictionaryKind_DenseArray ((org_apache_arrow_flatbuf_DictionaryKind_enum_t)INT16_C(0))
+static const flatbuffers_voffset_t __org_apache_arrow_flatbuf_List_required[] = { 0 };
+typedef flatbuffers_ref_t org_apache_arrow_flatbuf_List_ref_t;
+static org_apache_arrow_flatbuf_List_ref_t org_apache_arrow_flatbuf_List_clone(flatbuffers_builder_t *B, org_apache_arrow_flatbuf_List_table_t t);
+__flatbuffers_build_table(flatbuffers_, org_apache_arrow_flatbuf_List, 0)
-static inline const char *org_apache_arrow_flatbuf_DictionaryKind_name(org_apache_arrow_flatbuf_DictionaryKind_enum_t value)
-{
- switch (value) {
- case org_apache_arrow_flatbuf_DictionaryKind_DenseArray: return "DenseArray";
- default: return "";
- }
-}
+static const flatbuffers_voffset_t __org_apache_arrow_flatbuf_LargeList_required[] = { 0 };
+typedef flatbuffers_ref_t org_apache_arrow_flatbuf_LargeList_ref_t;
+static org_apache_arrow_flatbuf_LargeList_ref_t org_apache_arrow_flatbuf_LargeList_clone(flatbuffers_builder_t *B, org_apache_arrow_flatbuf_LargeList_table_t t);
+__flatbuffers_build_table(flatbuffers_, org_apache_arrow_flatbuf_LargeList, 0)
-static inline int org_apache_arrow_flatbuf_DictionaryKind_is_known_value(org_apache_arrow_flatbuf_DictionaryKind_enum_t value)
-{
- switch (value) {
- case org_apache_arrow_flatbuf_DictionaryKind_DenseArray: return 1;
- default: return 0;
- }
-}
+static const flatbuffers_voffset_t __org_apache_arrow_flatbuf_ListView_required[] = { 0 };
+typedef flatbuffers_ref_t org_apache_arrow_flatbuf_ListView_ref_t;
+static org_apache_arrow_flatbuf_ListView_ref_t org_apache_arrow_flatbuf_ListView_clone(flatbuffers_builder_t *B, org_apache_arrow_flatbuf_ListView_table_t t);
+__flatbuffers_build_table(flatbuffers_, org_apache_arrow_flatbuf_ListView, 0)
-/** ----------------------------------------------------------------------
- * Endianness of the platform producing the data */
-typedef int16_t org_apache_arrow_flatbuf_Endianness_enum_t;
-__flatbuffers_define_integer_type(org_apache_arrow_flatbuf_Endianness, org_apache_arrow_flatbuf_Endianness_enum_t, 16)
-#define org_apache_arrow_flatbuf_Endianness_Little ((org_apache_arrow_flatbuf_Endianness_enum_t)INT16_C(0))
-#define org_apache_arrow_flatbuf_Endianness_Big ((org_apache_arrow_flatbuf_Endianness_enum_t)INT16_C(1))
+static const flatbuffers_voffset_t __org_apache_arrow_flatbuf_LargeListView_required[] = { 0 };
+typedef flatbuffers_ref_t org_apache_arrow_flatbuf_LargeListView_ref_t;
+static org_apache_arrow_flatbuf_LargeListView_ref_t org_apache_arrow_flatbuf_LargeListView_clone(flatbuffers_builder_t *B, org_apache_arrow_flatbuf_LargeListView_table_t t);
+__flatbuffers_build_table(flatbuffers_, org_apache_arrow_flatbuf_LargeListView, 0)
-static inline const char *org_apache_arrow_flatbuf_Endianness_name(org_apache_arrow_flatbuf_Endianness_enum_t value)
-{
- switch (value) {
- case org_apache_arrow_flatbuf_Endianness_Little: return "Little";
- case org_apache_arrow_flatbuf_Endianness_Big: return "Big";
- default: return "";
- }
-}
+static const flatbuffers_voffset_t __org_apache_arrow_flatbuf_FixedSizeList_required[] = { 0 };
+typedef flatbuffers_ref_t org_apache_arrow_flatbuf_FixedSizeList_ref_t;
+static org_apache_arrow_flatbuf_FixedSizeList_ref_t org_apache_arrow_flatbuf_FixedSizeList_clone(flatbuffers_builder_t *B, org_apache_arrow_flatbuf_FixedSizeList_table_t t);
+__flatbuffers_build_table(flatbuffers_, org_apache_arrow_flatbuf_FixedSizeList, 1)
-static inline int org_apache_arrow_flatbuf_Endianness_is_known_value(org_apache_arrow_flatbuf_Endianness_enum_t value)
-{
- switch (value) {
- case org_apache_arrow_flatbuf_Endianness_Little: return 1;
- case org_apache_arrow_flatbuf_Endianness_Big: return 1;
- default: return 0;
- }
-}
+static const flatbuffers_voffset_t __org_apache_arrow_flatbuf_Map_required[] = { 0 };
+typedef flatbuffers_ref_t org_apache_arrow_flatbuf_Map_ref_t;
+static org_apache_arrow_flatbuf_Map_ref_t org_apache_arrow_flatbuf_Map_clone(flatbuffers_builder_t *B, org_apache_arrow_flatbuf_Map_table_t t);
+__flatbuffers_build_table(flatbuffers_, org_apache_arrow_flatbuf_Map, 1)
+static const flatbuffers_voffset_t __org_apache_arrow_flatbuf_Union_required[] = { 0 };
+typedef flatbuffers_ref_t org_apache_arrow_flatbuf_Union_ref_t;
+static org_apache_arrow_flatbuf_Union_ref_t org_apache_arrow_flatbuf_Union_clone(flatbuffers_builder_t *B, org_apache_arrow_flatbuf_Union_table_t t);
+__flatbuffers_build_table(flatbuffers_, org_apache_arrow_flatbuf_Union, 2)
-/** ----------------------------------------------------------------------
- * A Buffer represents a single contiguous memory segment */
-struct org_apache_arrow_flatbuf_Buffer {
- /** The relative offset into the shared memory page where the bytes for this
- * buffer starts */
- alignas(8) int64_t offset;
- /** The absolute length (in bytes) of the memory buffer. The memory is found
- * from offset (inclusive) to offset + length (non-inclusive). When building
- * messages using the encapsulated IPC message, padding bytes may be written
- * after a buffer, but such padding bytes do not need to be accounted for in
- * the size here. */
- alignas(8) int64_t length;
-};
-static_assert(sizeof(org_apache_arrow_flatbuf_Buffer_t) == 16, "struct size mismatch");
+static const flatbuffers_voffset_t __org_apache_arrow_flatbuf_Int_required[] = { 0 };
+typedef flatbuffers_ref_t org_apache_arrow_flatbuf_Int_ref_t;
+static org_apache_arrow_flatbuf_Int_ref_t org_apache_arrow_flatbuf_Int_clone(flatbuffers_builder_t *B, org_apache_arrow_flatbuf_Int_table_t t);
+__flatbuffers_build_table(flatbuffers_, org_apache_arrow_flatbuf_Int, 2)
-static inline const org_apache_arrow_flatbuf_Buffer_t *org_apache_arrow_flatbuf_Buffer__const_ptr_add(const org_apache_arrow_flatbuf_Buffer_t *p, size_t i) { return p + i; }
-static inline org_apache_arrow_flatbuf_Buffer_t *org_apache_arrow_flatbuf_Buffer__ptr_add(org_apache_arrow_flatbuf_Buffer_t *p, size_t i) { return p + i; }
-static inline org_apache_arrow_flatbuf_Buffer_struct_t org_apache_arrow_flatbuf_Buffer_vec_at(org_apache_arrow_flatbuf_Buffer_vec_t vec, size_t i)
-__flatbuffers_struct_vec_at(vec, i)
-static inline size_t org_apache_arrow_flatbuf_Buffer__size(void) { return 16; }
-static inline size_t org_apache_arrow_flatbuf_Buffer_vec_len(org_apache_arrow_flatbuf_Buffer_vec_t vec)
-__flatbuffers_vec_len(vec)
-__flatbuffers_struct_as_root(org_apache_arrow_flatbuf_Buffer)
+static const flatbuffers_voffset_t __org_apache_arrow_flatbuf_FloatingPoint_required[] = { 0 };
+typedef flatbuffers_ref_t org_apache_arrow_flatbuf_FloatingPoint_ref_t;
+static org_apache_arrow_flatbuf_FloatingPoint_ref_t org_apache_arrow_flatbuf_FloatingPoint_clone(flatbuffers_builder_t *B, org_apache_arrow_flatbuf_FloatingPoint_table_t t);
+__flatbuffers_build_table(flatbuffers_, org_apache_arrow_flatbuf_FloatingPoint, 1)
-__flatbuffers_define_struct_scalar_field(org_apache_arrow_flatbuf_Buffer, offset, flatbuffers_int64, int64_t)
-__flatbuffers_define_struct_scalar_field(org_apache_arrow_flatbuf_Buffer, length, flatbuffers_int64, int64_t)
+static const flatbuffers_voffset_t __org_apache_arrow_flatbuf_Utf8_required[] = { 0 };
+typedef flatbuffers_ref_t org_apache_arrow_flatbuf_Utf8_ref_t;
+static org_apache_arrow_flatbuf_Utf8_ref_t org_apache_arrow_flatbuf_Utf8_clone(flatbuffers_builder_t *B, org_apache_arrow_flatbuf_Utf8_table_t t);
+__flatbuffers_build_table(flatbuffers_, org_apache_arrow_flatbuf_Utf8, 0)
+static const flatbuffers_voffset_t __org_apache_arrow_flatbuf_Binary_required[] = { 0 };
+typedef flatbuffers_ref_t org_apache_arrow_flatbuf_Binary_ref_t;
+static org_apache_arrow_flatbuf_Binary_ref_t org_apache_arrow_flatbuf_Binary_clone(flatbuffers_builder_t *B, org_apache_arrow_flatbuf_Binary_table_t t);
+__flatbuffers_build_table(flatbuffers_, org_apache_arrow_flatbuf_Binary, 0)
-/** These are stored in the flatbuffer in the Type union below */
-struct org_apache_arrow_flatbuf_Null_table { uint8_t unused__; };
+static const flatbuffers_voffset_t __org_apache_arrow_flatbuf_LargeUtf8_required[] = { 0 };
+typedef flatbuffers_ref_t org_apache_arrow_flatbuf_LargeUtf8_ref_t;
+static org_apache_arrow_flatbuf_LargeUtf8_ref_t org_apache_arrow_flatbuf_LargeUtf8_clone(flatbuffers_builder_t *B, org_apache_arrow_flatbuf_LargeUtf8_table_t t);
+__flatbuffers_build_table(flatbuffers_, org_apache_arrow_flatbuf_LargeUtf8, 0)
-static inline size_t org_apache_arrow_flatbuf_Null_vec_len(org_apache_arrow_flatbuf_Null_vec_t vec)
-__flatbuffers_vec_len(vec)
-static inline org_apache_arrow_flatbuf_Null_table_t org_apache_arrow_flatbuf_Null_vec_at(org_apache_arrow_flatbuf_Null_vec_t vec, size_t i)
-__flatbuffers_offset_vec_at(org_apache_arrow_flatbuf_Null_table_t, vec, i, 0)
-__flatbuffers_table_as_root(org_apache_arrow_flatbuf_Null)
+static const flatbuffers_voffset_t __org_apache_arrow_flatbuf_LargeBinary_required[] = { 0 };
+typedef flatbuffers_ref_t org_apache_arrow_flatbuf_LargeBinary_ref_t;
+static org_apache_arrow_flatbuf_LargeBinary_ref_t org_apache_arrow_flatbuf_LargeBinary_clone(flatbuffers_builder_t *B, org_apache_arrow_flatbuf_LargeBinary_table_t t);
+__flatbuffers_build_table(flatbuffers_, org_apache_arrow_flatbuf_LargeBinary, 0)
+static const flatbuffers_voffset_t __org_apache_arrow_flatbuf_Utf8View_required[] = { 0 };
+typedef flatbuffers_ref_t org_apache_arrow_flatbuf_Utf8View_ref_t;
+static org_apache_arrow_flatbuf_Utf8View_ref_t org_apache_arrow_flatbuf_Utf8View_clone(flatbuffers_builder_t *B, org_apache_arrow_flatbuf_Utf8View_table_t t);
+__flatbuffers_build_table(flatbuffers_, org_apache_arrow_flatbuf_Utf8View, 0)
-/** A Struct_ in the flatbuffer metadata is the same as an Arrow Struct
- * (according to the physical memory layout). We used Struct_ here as
- * Struct is a reserved word in Flatbuffers */
-struct org_apache_arrow_flatbuf_Struct__table { uint8_t unused__; };
+static const flatbuffers_voffset_t __org_apache_arrow_flatbuf_BinaryView_required[] = { 0 };
+typedef flatbuffers_ref_t org_apache_arrow_flatbuf_BinaryView_ref_t;
+static org_apache_arrow_flatbuf_BinaryView_ref_t org_apache_arrow_flatbuf_BinaryView_clone(flatbuffers_builder_t *B, org_apache_arrow_flatbuf_BinaryView_table_t t);
+__flatbuffers_build_table(flatbuffers_, org_apache_arrow_flatbuf_BinaryView, 0)
-static inline size_t org_apache_arrow_flatbuf_Struct__vec_len(org_apache_arrow_flatbuf_Struct__vec_t vec)
-__flatbuffers_vec_len(vec)
-static inline org_apache_arrow_flatbuf_Struct__table_t org_apache_arrow_flatbuf_Struct__vec_at(org_apache_arrow_flatbuf_Struct__vec_t vec, size_t i)
-__flatbuffers_offset_vec_at(org_apache_arrow_flatbuf_Struct__table_t, vec, i, 0)
-__flatbuffers_table_as_root(org_apache_arrow_flatbuf_Struct_)
+static const flatbuffers_voffset_t __org_apache_arrow_flatbuf_FixedSizeBinary_required[] = { 0 };
+typedef flatbuffers_ref_t org_apache_arrow_flatbuf_FixedSizeBinary_ref_t;
+static org_apache_arrow_flatbuf_FixedSizeBinary_ref_t org_apache_arrow_flatbuf_FixedSizeBinary_clone(flatbuffers_builder_t *B, org_apache_arrow_flatbuf_FixedSizeBinary_table_t t);
+__flatbuffers_build_table(flatbuffers_, org_apache_arrow_flatbuf_FixedSizeBinary, 1)
+static const flatbuffers_voffset_t __org_apache_arrow_flatbuf_Bool_required[] = { 0 };
+typedef flatbuffers_ref_t org_apache_arrow_flatbuf_Bool_ref_t;
+static org_apache_arrow_flatbuf_Bool_ref_t org_apache_arrow_flatbuf_Bool_clone(flatbuffers_builder_t *B, org_apache_arrow_flatbuf_Bool_table_t t);
+__flatbuffers_build_table(flatbuffers_, org_apache_arrow_flatbuf_Bool, 0)
-struct org_apache_arrow_flatbuf_List_table { uint8_t unused__; };
+static const flatbuffers_voffset_t __org_apache_arrow_flatbuf_RunEndEncoded_required[] = { 0 };
+typedef flatbuffers_ref_t org_apache_arrow_flatbuf_RunEndEncoded_ref_t;
+static org_apache_arrow_flatbuf_RunEndEncoded_ref_t org_apache_arrow_flatbuf_RunEndEncoded_clone(flatbuffers_builder_t *B, org_apache_arrow_flatbuf_RunEndEncoded_table_t t);
+__flatbuffers_build_table(flatbuffers_, org_apache_arrow_flatbuf_RunEndEncoded, 0)
-static inline size_t org_apache_arrow_flatbuf_List_vec_len(org_apache_arrow_flatbuf_List_vec_t vec)
-__flatbuffers_vec_len(vec)
-static inline org_apache_arrow_flatbuf_List_table_t org_apache_arrow_flatbuf_List_vec_at(org_apache_arrow_flatbuf_List_vec_t vec, size_t i)
-__flatbuffers_offset_vec_at(org_apache_arrow_flatbuf_List_table_t, vec, i, 0)
-__flatbuffers_table_as_root(org_apache_arrow_flatbuf_List)
+static const flatbuffers_voffset_t __org_apache_arrow_flatbuf_Decimal_required[] = { 0 };
+typedef flatbuffers_ref_t org_apache_arrow_flatbuf_Decimal_ref_t;
+static org_apache_arrow_flatbuf_Decimal_ref_t org_apache_arrow_flatbuf_Decimal_clone(flatbuffers_builder_t *B, org_apache_arrow_flatbuf_Decimal_table_t t);
... 8913 lines suppressed ...