Package io.deephaven.uri
Class ApplicationUri
java.lang.Object
io.deephaven.uri.StructuredUriBase
io.deephaven.uri.DeephavenUriBase
io.deephaven.uri.ApplicationUri
- All Implemented Interfaces:
DeephavenUri
,StructuredUri
A Deephaven application field URI.
For example, dh:///app/my_application/field/my_table
.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.deephaven.uri.StructuredUri
StructuredUri.Visitor
-
Field Summary
Fields inherited from interface io.deephaven.uri.DeephavenUri
LOCAL_SCHEME, PLAINTEXT_SCHEME, SECURE_SCHEME
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract String
The application id.abstract String
The field name.static boolean
isValidScheme
(String scheme) static boolean
isWellFormed
(URI uri) static ApplicationUri
static ApplicationUri
Parses theURI
into an application URI.final String
toString()
The URI string.final <V extends StructuredUri.Visitor>
Vwalk
(V visitor) Methods inherited from class io.deephaven.uri.DeephavenUriBase
toURI
Methods inherited from class io.deephaven.uri.StructuredUriBase
target
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface io.deephaven.uri.StructuredUri
target
-
Field Details
-
APPLICATION
- See Also:
-
FIELD
- See Also:
-
PATH_PATTERN
-
-
Constructor Details
-
ApplicationUri
public ApplicationUri()
-
-
Method Details
-
of
-
isValidScheme
-
isWellFormed
-
of
Parses theURI
into an application URI. The format looks likedh:///app/${appId}/field/${fieldName}
.- Parameters:
uri
- the URI- Returns:
- the application URI
-
applicationId
The application id.- Returns:
- the application id
-
fieldName
The field name.- Returns:
- the field name
-
walk
-
toString
Description copied from interface:StructuredUri
The URI string.- Specified by:
toString
in interfaceStructuredUri
- Specified by:
toString
in classDeephavenUriBase
- Returns:
- the URI string
-