@Namespace(value="arrow::flight") @NoOffset @Properties(inherit=arrow_flight.class) public class Location extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
Location()
\brief Initialize a blank location.
|
Location(long size)
Native array allocator.
|
Location(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
Equals(Location other) |
static Status |
ForGrpcTcp(BytePointer host,
int port,
Location location) |
static Status |
ForGrpcTcp(String host,
int port,
Location location)
\brief Initialize a location for a non-TLS, gRPC-based Flight
service from a host and port
|
static Status |
ForGrpcTls(BytePointer host,
int port,
Location location) |
static Status |
ForGrpcTls(String host,
int port,
Location location)
\brief Initialize a location for a TLS-enabled, gRPC-based Flight
service from a host and port
|
static Status |
ForGrpcUnix(BytePointer path,
Location location) |
static Status |
ForGrpcUnix(String path,
Location location)
\brief Initialize a location for a domain socket-based Flight
service
|
Location |
getPointer(long i) |
static Status |
Parse(BytePointer uri_string,
Location location) |
static Status |
Parse(String uri_string,
Location location)
\brief Initialize a location by parsing a URI string
|
Location |
position(long position) |
String |
scheme()
\brief Get the scheme of this URI.
|
String |
ToString()
\brief Get a representation of this URI as a string.
|
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public Location(Pointer p)
Pointer(Pointer)
.public Location(long size)
Pointer.position(long)
.public Location()
public Location getPointer(long i)
getPointer
in class Pointer
@ByVal public static Status Parse(@StdString String uri_string, Location location)
@ByVal public static Status Parse(@StdString BytePointer uri_string, Location location)
@ByVal public static Status ForGrpcTcp(@StdString String host, int port, Location location)
host
- [in] The hostname to connect toport
- [in] The portlocation
- [out] The resulting location@ByVal public static Status ForGrpcTcp(@StdString BytePointer host, int port, Location location)
@ByVal public static Status ForGrpcTls(@StdString String host, int port, Location location)
host
- [in] The hostname to connect toport
- [in] The portlocation
- [out] The resulting location@ByVal public static Status ForGrpcTls(@StdString BytePointer host, int port, Location location)
@ByVal public static Status ForGrpcUnix(@StdString String path, Location location)
path
- [in] The path to the domain socketlocation
- [out] The resulting location@ByVal public static Status ForGrpcUnix(@StdString BytePointer path, Location location)
@StdString public String ToString()
@StdString public String scheme()
Copyright © 2022. All rights reserved.