java.lang.Object
org.apache.arrow.flight.SetSessionOptionsResult
The result of attempting to set a set of session options.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Per-option extensible error response container.static enum
Error status value for per-option errors. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic SetSessionOptionsResult
deserialize
(ByteBuffer serialized) Parse the serialized form of this protocol message.Get the error status map from the result object.boolean
Report whether the error map has nonzero length.Get the serialized form of this protocol message.
-
Constructor Details
-
SetSessionOptionsResult
-
-
Method Details
-
hasErrors
public boolean hasErrors()Report whether the error map has nonzero length. -
getErrors
Get the error status map from the result object.- Returns:
- An immutable view of the error status map.
-
serialize
Get the serialized form of this protocol message.Intended to help interoperability by allowing non-Flight services to still return Flight types.
-
deserialize
Parse the serialized form of this protocol message.Intended to help interoperability by allowing Flight clients to obtain stream info from non-Flight services.
- Parameters:
serialized
- The serialized form of the message, as returned byserialize()
.- Returns:
- The deserialized message.
- Throws:
IOException
- if the serialized form is invalid.
-