Class ApplicationUri

All Implemented Interfaces:
DeephavenUri, StructuredUri

@Immutable
public abstract class ApplicationUri
extends DeephavenUriBase
A Deephaven application field URI.

For example, dh:///app/my_application/field/my_table.

  • Field Details

  • Constructor Details

    • ApplicationUri

      public ApplicationUri()
  • Method Details

    • of

      public static ApplicationUri of​(String applicationId, String fieldName)
    • isValidScheme

      public static boolean isValidScheme​(String scheme)
    • isWellFormed

      public static boolean isWellFormed​(URI uri)
    • of

      public static ApplicationUri of​(URI uri)
      Parses the URI into an application URI. The format looks like dh:///app/${appId}/field/${fieldName}.
      Parameters:
      uri - the URI
      Returns:
      the application URI
    • applicationId

      @Parameter public abstract String applicationId()
      The application id.
      Returns:
      the application id
    • fieldName

      @Parameter public abstract String fieldName()
      The field name.
      Returns:
      the field name
    • walk

      public final <V extends StructuredUri.Visitor> V walk​(V visitor)
    • toString

      public final String toString()
      Description copied from interface: StructuredUri
      The URI string.
      Specified by:
      toString in interface StructuredUri
      Specified by:
      toString in class DeephavenUriBase
      Returns:
      the URI string