Class ApplicationTicketHelper

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

public class ApplicationTicketHelper extends Object
  • Field Details

  • Constructor Details

    • ApplicationTicketHelper

      public ApplicationTicketHelper()
  • Method Details

    • applicationFieldToPath

      public static List<String> applicationFieldToPath(String applicationId, String fieldName)
      Convenience method to create the flight descriptor path for the application field.
      Parameters:
      applicationId - the application ID
      fieldName - the field name
      Returns:
      the path
    • applicationFieldToBytes

      public static byte[] applicationFieldToBytes(String applicationId, String fieldName)
      Convenience method to create the flight ticket bytes for the application field.
      Parameters:
      applicationId - the application ID
      fieldName - the field name
      Returns:
      the ticket bytes
    • toReadableString

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