java.lang.Object
com.google.flatbuffers.Table
org.apache.arrow.flatbuf.Utf8View
public final class Utf8View
extends com.google.flatbuffers.Table
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`.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class com.google.flatbuffers.Table
bb, bb_pos -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription__assign(int _i, ByteBuffer _bb) void__init(int _i, ByteBuffer _bb) static intendUtf8View(com.google.flatbuffers.FlatBufferBuilder builder) static Utf8Viewstatic Utf8ViewgetRootAsUtf8View(ByteBuffer _bb, Utf8View obj) static voidstartUtf8View(com.google.flatbuffers.FlatBufferBuilder builder) static voidMethods inherited from class com.google.flatbuffers.Table
__has_identifier, __indirect, __indirect, __offset, __offset, __reset, __reset, __string, __string, __union, __union, __vector, __vector_as_bytebuffer, __vector_in_bytebuffer, __vector_len, compareStrings, compareStrings, getByteBuffer, keysCompare, sortTables
-
Constructor Details
-
Utf8View
public Utf8View()
-
-
Method Details
-
ValidateVersion
public static void ValidateVersion() -
getRootAsUtf8View
-
getRootAsUtf8View
-
__init
-
__assign
-
startUtf8View
public static void startUtf8View(com.google.flatbuffers.FlatBufferBuilder builder) -
endUtf8View
public static int endUtf8View(com.google.flatbuffers.FlatBufferBuilder builder)
-