public class SetSessionOptionsRequest extends Object
Constructor and Description |
---|
SetSessionOptionsRequest(Map<String,SessionOptionValue> sessionOptions) |
Modifier and Type | Method and Description |
---|---|
static SetSessionOptionsRequest |
deserialize(ByteBuffer serialized)
Parse the serialized form of this protocol message.
|
Map<String,SessionOptionValue> |
getSessionOptions()
Get the session option map from the request.
|
ByteBuffer |
serialize()
Get the serialized form of this protocol message.
|
public SetSessionOptionsRequest(Map<String,SessionOptionValue> sessionOptions)
public Map<String,SessionOptionValue> getSessionOptions()
public ByteBuffer serialize()
Intended to help interoperability by allowing non-Flight services to still return Flight types.
public static SetSessionOptionsRequest 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.