public class SetSessionOptionsResult extends Object
Modifier and Type | Class and Description |
---|---|
static class |
SetSessionOptionsResult.Error
Per-option extensible error response container.
|
static class |
SetSessionOptionsResult.ErrorValue
Error status value for per-option errors.
|
Constructor and Description |
---|
SetSessionOptionsResult(Map<String,SetSessionOptionsResult.Error> errors) |
Modifier and Type | Method and Description |
---|---|
static SetSessionOptionsResult |
deserialize(ByteBuffer serialized)
Parse the serialized form of this protocol message.
|
Map<String,SetSessionOptionsResult.Error> |
getErrors()
Get the error status map from the result object.
|
boolean |
hasErrors()
Report whether the error map has nonzero length.
|
ByteBuffer |
serialize()
Get the serialized form of this protocol message.
|
public SetSessionOptionsResult(Map<String,SetSessionOptionsResult.Error> errors)
public boolean hasErrors()
public Map<String,SetSessionOptionsResult.Error> getErrors()
public ByteBuffer serialize()
Intended to help interoperability by allowing non-Flight services to still return Flight types.
public static SetSessionOptionsResult 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 © 2023 The Apache Software Foundation. All rights reserved.