Package io.deephaven.proto.util
Class ScopeTicketHelper
java.lang.Object
io.deephaven.proto.util.ScopeTicketHelper
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic byte[]
nameToBytes
(String variableName) Convenience method to create the flight ticket bytes for the query scope variable name.nameToPath
(String variableName) Convenience method to create the flight descriptor path for the query scope variable name.static String
toReadableString
(byte[] ticket) Convenience method to decode the scope ticket bytes into a human-readable description.
-
Field Details
-
TICKET_PREFIX
public static final char TICKET_PREFIX- See Also:
-
FLIGHT_DESCRIPTOR_ROUTE
- See Also:
-
-
Constructor Details
-
ScopeTicketHelper
public ScopeTicketHelper()
-
-
Method Details
-
nameToPath
Convenience method to create the flight descriptor path for the query scope variable name.- Parameters:
variableName
- the variable name- Returns:
- the path
-
nameToBytes
Convenience method to create the flight ticket bytes for the query scope variable name.- Parameters:
variableName
- the variable name- Returns:
- the ticket bytes
-
toReadableString
Convenience method to decode the scope ticket bytes into a human-readable description.- Parameters:
ticket
- the ticket bytes- Returns:
- the human-readable description
-