Class SharedTicketHelper

java.lang.Object
io.deephaven.proto.util.SharedTicketHelper

public class SharedTicketHelper extends Object
  • Field Details

  • Constructor Details

    • SharedTicketHelper

      public SharedTicketHelper()
  • Method Details

    • idToPath

      public static List<String> idToPath(byte[] sharedId)
      Convenience method to create the flight descriptor path for the given shared identifier.
      Parameters:
      sharedId - the shared identifier
      Returns:
      the path
    • idToBytes

      public static byte[] idToBytes(byte[] sharedId)
      Convenience method to create the flight ticket bytes for the given shared identifier.
      Parameters:
      sharedId - the shared identifier
      Returns:
      the ticket bytes
    • toReadableString

      public static String toReadableString(byte[] ticket)
      Convenience method to decode the shared ticket bytes into a human-readable description.
      Parameters:
      ticket - the ticket bytes
      Returns:
      the human-readable description