org.apache.arrow.flatbuf.Struct_ Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of arrow-format Show documentation
Show all versions of arrow-format Show documentation
Generated Java files from the IPC Flatbuffer definitions.
// automatically generated by the FlatBuffers compiler, do not modify
package org.apache.arrow.flatbuf;
import java.nio.*;
import java.lang.*;
import java.util.*;
import com.google.flatbuffers.*;
@SuppressWarnings("unused")
/**
* 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
*/
public final class Struct_ extends Table {
public static Struct_ getRootAsStruct_(ByteBuffer _bb) { return getRootAsStruct_(_bb, new Struct_()); }
public static Struct_ getRootAsStruct_(ByteBuffer _bb, Struct_ obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); }
public void __init(int _i, ByteBuffer _bb) { bb_pos = _i; bb = _bb; }
public Struct_ __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; }
public static void startStruct_(FlatBufferBuilder builder) { builder.startObject(0); }
public static int endStruct_(FlatBufferBuilder builder) {
int o = builder.endObject();
return o;
}
}