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
FieldsFields inherited from interface io.deephaven.uri.DeephavenUri
LOCAL_SCHEME, PLAINTEXT_SCHEME, SECURE_SCHEME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract StringThe application id.abstract StringThe field name.static booleanisValidScheme(String scheme) static booleanisWellFormed(URI uri) static ApplicationUristatic ApplicationUriParses theURIinto an application URI.final StringtoString()The URI string.final <V extends StructuredUri.Visitor>
Vwalk(V visitor) Methods inherited from class io.deephaven.uri.DeephavenUriBase
toURIMethods inherited from class io.deephaven.uri.StructuredUriBase
targetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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 theURIinto 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:StructuredUriThe URI string.- Specified by:
toStringin interfaceStructuredUri- Specified by:
toStringin classDeephavenUriBase- Returns:
- the URI string
-