Package | Description |
---|---|
org.apache.arrow.flight | |
org.apache.arrow.flight.grpc |
Modifier and Type | Method and Description |
---|---|
FlightStatusCode |
CallStatus.code()
The status code describing the result of the RPC.
|
static FlightStatusCode |
FlightStatusCode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FlightStatusCode[] |
FlightStatusCode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
CallStatus(FlightStatusCode code)
Create a new status with no cause or description.
|
CallStatus(FlightStatusCode code,
Throwable cause,
String description,
ErrorFlightMetadata metadata)
Create a new status.
|
Modifier and Type | Method and Description |
---|---|
static FlightStatusCode |
StatusUtils.fromGrpcStatusCode(io.grpc.Status.Code code)
Convert from a gRPC status code to a Flight status code.
|
Modifier and Type | Method and Description |
---|---|
static io.grpc.Status.Code |
StatusUtils.toGrpcStatusCode(FlightStatusCode code)
Convert from a Flight status code to a gRPC status code.
|
Copyright © 2024 The Apache Software Foundation. All rights reserved.