Package org.apache.arrow.flight
Interface RequestContext
- All Known Implementing Classes:
RequestContextAdapter
public interface RequestContext
Tracks variables about the current request.
-
Method Summary
-
Method Details
-
put
Register a variable and a value.- Parameters:
key
- the variable name.value
- the value.
-
get
Retrieve a registered variable.- Parameters:
key
- the variable name.- Returns:
- the value, or null if not found.
-
keySet
Retrieves the keys that have been registered to this context.- Returns:
- the keys used in this context.
-
remove
Deletes a registered variable.- Returns:
- the value associated with the deleted variable, or null if the key doesn't exist.
-