Package io.deephaven.kv
Class KeyPathContextDescription.Entry<T extends KeyPathContext,Resolver>
java.lang.Object
io.deephaven.kv.KeyPathContextDescription.Entry<T,Resolver>
- Type Parameters:
T- theKeyPathContextclassResolver- the parent needed to resolve the building ofKeyPathContext
- Enclosing interface:
- KeyPathContextDescription
public static class KeyPathContextDescription.Entry<T extends KeyPathContext,Resolver>
extends Object
An Entry is a static description of a
KeyPathContext. All Entries should be static
singletons. In essence, an entry serves as construction logic for a KeyPathContext
given an appropriate "parent" type (typically a KeyPath).-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionresolveFrom(Resolver parent) Constructs a newKeyPathContextfrom this entry, and the givenparent.
-
Constructor Details
-
Entry
-
-
Method Details
-
getContextClass
-
getPathPart
-
resolveFrom
Constructs a newKeyPathContextfrom this entry, and the givenparent.If the Resolver type is
KeyPathContext, prefer to use the more fluent methodKeyPathContext.resolve(Entry).If the Resolver type is
KeyPath, prefer to use the more fluent methodKeyPath.resolve(Entry).Callers should consider caching this value.
- Parameters:
parent- the parent- Returns:
- the constructed key path context
-