public class CloseSessionResult extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
CloseSessionResult.Status
Close operation result status values.
|
| Constructor and Description |
|---|
CloseSessionResult(CloseSessionResult.Status status) |
| Modifier and Type | Method and Description |
|---|---|
static CloseSessionResult |
deserialize(ByteBuffer serialized)
Parse the serialized form of this protocol message.
|
CloseSessionResult.Status |
getStatus() |
ByteBuffer |
serialize()
Get the serialized form of this protocol message.
|
public CloseSessionResult(CloseSessionResult.Status status)
public CloseSessionResult.Status getStatus()
public ByteBuffer serialize()
Intended to help interoperability by allowing non-Flight services to still return Flight types.
public static CloseSessionResult deserialize(ByteBuffer serialized) throws IOException
Intended to help interoperability by allowing Flight clients to obtain stream info from non-Flight services.
serialized - The serialized form of the message, as returned by serialize().IOException - if the serialized form is invalid.Copyright © 2024 The Apache Software Foundation. All rights reserved.