2016-10-05 16:20:31 -07:00
|
|
|
// Licensed to the Apache Software Foundation (ASF) under one
|
|
|
|
|
// or more contributor license agreements. See the NOTICE file
|
|
|
|
|
// distributed with this work for additional information
|
|
|
|
|
// regarding copyright ownership. The ASF licenses this file
|
|
|
|
|
// to you under the Apache License, Version 2.0 (the
|
|
|
|
|
// "License"); you may not use this file except in compliance
|
|
|
|
|
// with the License. You may obtain a copy of the License at
|
|
|
|
|
//
|
|
|
|
|
// http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
//
|
|
|
|
|
// Unless required by applicable law or agreed to in writing,
|
|
|
|
|
// software distributed under the License is distributed on an
|
|
|
|
|
// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
|
|
|
// KIND, either express or implied. See the License for the
|
|
|
|
|
// specific language governing permissions and limitations
|
|
|
|
|
// under the License.
|
|
|
|
|
|
2017-03-23 12:30:44 -04:00
|
|
|
include "Schema.fbs";
|
2016-08-26 08:20:13 -07:00
|
|
|
|
|
|
|
|
namespace org.apache.arrow.flatbuf;
|
|
|
|
|
|
|
|
|
|
/// ----------------------------------------------------------------------
|
|
|
|
|
/// Arrow File metadata
|
|
|
|
|
///
|
|
|
|
|
|
|
|
|
|
table Footer {
|
2016-09-09 00:02:35 -04:00
|
|
|
version: org.apache.arrow.flatbuf.MetadataVersion;
|
2016-08-26 08:20:13 -07:00
|
|
|
|
|
|
|
|
schema: org.apache.arrow.flatbuf.Schema;
|
|
|
|
|
|
|
|
|
|
dictionaries: [ Block ];
|
|
|
|
|
|
|
|
|
|
recordBatches: [ Block ];
|
2020-01-16 22:22:28 -08:00
|
|
|
|
|
|
|
|
/// User-defined metadata
|
|
|
|
|
custom_metadata: [ KeyValue ];
|
2016-08-26 08:20:13 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
struct Block {
|
|
|
|
|
|
2026-01-01 12:38:39 +09:00
|
|
|
/// Index to the start of the RecordBatch (note this is past the Message header)
|
2016-08-26 08:20:13 -07:00
|
|
|
offset: long;
|
|
|
|
|
|
2017-01-20 17:56:23 -05:00
|
|
|
/// Length of the metadata
|
2016-08-26 08:20:13 -07:00
|
|
|
metaDataLength: int;
|
|
|
|
|
|
2017-01-20 17:56:23 -05:00
|
|
|
/// Length of the data (this is aligned so there can be a gap between this and
|
2020-04-14 15:13:44 -04:00
|
|
|
/// the metadata).
|
2016-08-26 08:20:13 -07:00
|
|
|
bodyLength: long;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
root_type Footer;
|