Package | Description |
---|---|
org.apache.arrow.flight | |
org.apache.arrow.flight.auth2 | |
org.apache.arrow.flight.client | |
org.apache.arrow.flight.grpc |
Modifier and Type | Field and Description |
---|---|
static CallStatus |
CallStatus.ALREADY_EXISTS |
static CallStatus |
CallStatus.CANCELLED |
static CallStatus |
CallStatus.INTERNAL |
static CallStatus |
CallStatus.INVALID_ARGUMENT |
static CallStatus |
CallStatus.NOT_FOUND |
static CallStatus |
CallStatus.TIMED_OUT |
static CallStatus |
CallStatus.UNAUTHENTICATED |
static CallStatus |
CallStatus.UNAUTHORIZED |
static CallStatus |
CallStatus.UNAVAILABLE |
static CallStatus |
CallStatus.UNIMPLEMENTED |
static CallStatus |
CallStatus.UNKNOWN |
Modifier and Type | Method and Description |
---|---|
CallStatus |
FlightRuntimeException.status() |
CallStatus |
FlightStatusCode.toStatus()
Create a blank
CallStatus with this code. |
CallStatus |
CallStatus.withCause(Throwable t)
Return a copy of this status with the given exception as the cause.
|
CallStatus |
CallStatus.withDescription(String message)
Return a copy of this status with an error message.
|
CallStatus |
CallStatus.withMetadata(ErrorFlightMetadata metadata)
Return a copy of this status with associated exception metadata.
|
Modifier and Type | Method and Description |
---|---|
void |
FlightServerMiddleware.onCallCompleted(CallStatus status)
Callback for when the underlying transport has completed a call.
|
void |
FlightClientMiddleware.onCallCompleted(CallStatus status)
A callback called after the call completes.
|
void |
ServerHeaderMiddleware.onCallCompleted(CallStatus status) |
Modifier and Type | Method and Description |
---|---|
void |
ServerCallHeaderAuthMiddleware.onCallCompleted(CallStatus status) |
void |
ClientIncomingAuthHeaderMiddleware.onCallCompleted(CallStatus status) |
Modifier and Type | Method and Description |
---|---|
void |
ClientCookieMiddleware.onCallCompleted(CallStatus status) |
Modifier and Type | Method and Description |
---|---|
static CallStatus |
StatusUtils.fromGrpcStatus(io.grpc.Status status)
Convert from a gRPC status to a Flight status.
|
static CallStatus |
StatusUtils.fromGrpcStatusAndTrailers(io.grpc.Status status,
io.grpc.Metadata trailers)
Convert from a gRPC Status & trailers to a Flight status.
|
Modifier and Type | Method and Description |
---|---|
static io.grpc.Status |
StatusUtils.toGrpcStatus(CallStatus status)
Convert from a Flight status to a gRPC status.
|
Copyright © 2024 The Apache Software Foundation. All rights reserved.