@Namespace(value="arrow::flight") @NoOffset @Properties(inherit=arrow_flight.class) public class FlightInfo extends Pointer
Modifier and Type | Class and Description |
---|---|
static class |
FlightInfo.Data |
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
FlightInfo(FlightInfo.Data data) |
FlightInfo(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
FlightDescriptor |
descriptor()
The descriptor associated with this flight, may not be set
|
static Status |
Deserialize(BytePointer serialized,
FlightInfo out) |
static Status |
Deserialize(String serialized,
FlightInfo out)
\brief Parse the wire-format representation of this type.
|
FlightEndpoint |
endpoints()
A list of endpoints associated with the flight (dataset).
|
Status |
GetSchema(DictionaryMemo dictionary_memo,
Schema out)
\brief Deserialize the Arrow schema of the dataset, to be passed
to each call to DoGet.
|
static FlightInfoResult |
Make(Schema schema,
FlightDescriptor descriptor,
FlightEndpoint endpoints,
long total_records,
long total_bytes)
\brief Factory method to construct a FlightInfo.
|
String |
serialized_schema() |
Status |
SerializeToString(BytePointer out)
\brief Get the wire-format representation of this type.
|
long |
total_bytes()
The total number of bytes in the dataset.
|
long |
total_records()
The total number of records (rows) in the dataset.
|
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public FlightInfo(Pointer p)
Pointer(Pointer)
.public FlightInfo(@Const @ByRef FlightInfo.Data data)
@ByVal public static FlightInfoResult Make(@Const @ByRef Schema schema, @Const @ByRef FlightDescriptor descriptor, @StdVector FlightEndpoint endpoints, @Cast(value="int64_t") long total_records, @Cast(value="int64_t") long total_bytes)
@ByVal public Status GetSchema(DictionaryMemo dictionary_memo, @SharedPtr Schema out)
dictionary_memo
- [in,out] for dictionary bookkeeping, will
be modifiedout
- [out] the reconstructed Schema@StdString public String serialized_schema()
@Const @ByRef public FlightDescriptor descriptor()
@StdVector public FlightEndpoint endpoints()
@Cast(value="int64_t") public long total_records()
@Cast(value="int64_t") public long total_bytes()
@ByVal public Status SerializeToString(@StdString @Cast(value={"char*","std::string*"}) BytePointer out)
@ByVal public static Status Deserialize(@StdString String serialized, @UniquePtr FlightInfo out)
@ByVal public static Status Deserialize(@StdString BytePointer serialized, @UniquePtr FlightInfo out)
Copyright © 2022. All rights reserved.