Package io.deephaven.kv.files
Class FileContext
java.lang.Object
io.deephaven.kv.KeyPathContextBase
io.deephaven.kv.meta.AtomicDirectoryContext
io.deephaven.kv.files.FileContext
- All Implemented Interfaces:
Context,KeyPathContext
- Direct Known Subclasses:
ConfigFileContext,PersistentQueryContext,RoutingFileContext,SchemaTableContext
A structured
KeyPath model around a file. See FileContext.Description for the model.
Models the data in FileInfo
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumclassstatic interfaceNested classes/interfaces inherited from class io.deephaven.kv.meta.AtomicDirectoryContext
AtomicDirectoryContext.AtomicUpdateWrt, AtomicDirectoryContext.MetaDescription -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final KeyPathContextDescription.Entry<RawValueContext,KeyPath> An entry for the raw file data, with the part "file"static final KeyPathContextDescription.Entry<StringContext,KeyPath> An entry for the filename, with the part "name"Fields inherited from class io.deephaven.kv.meta.AtomicDirectoryContext
META, META_PART, parentFields inherited from class io.deephaven.kv.KeyPathContextBase
context, description -
Constructor Summary
ConstructorsConstructorDescriptionFileContext(AtomicDirectoryContext parent, KeyPath context) FileContext(AtomicDirectoryContext parent, String part) -
Method Summary
Modifier and TypeMethodDescriptionasFile()atomic(UpdateInfo info, String name, byte[] value) static <T extends AtomicDirectoryContext>
KeyPathContextDescription.Entry<FileContext,T> Methods inherited from class io.deephaven.kv.meta.AtomicDirectoryContext
asDelete, atomic, atomicDelete, atomicDeleteChildren, expectNewWrtThis, expectUpdateWrtThis, getMetaInfoContext, getMetaInfoContext, getReadPermissions, getReadWritePaths, getReadWritePermissions, isLowestLevelAtomicDirectory, isMetaPart, isNotMeta, parseDirectoryListing, parseDirectoryListingStream, parseDirectoryListingStreamToSubset, watch, watch, watch, wrtAtomicConditionIsTrueHandleUsMethods inherited from class io.deephaven.kv.KeyPathContextBase
equals, getDescription, getPath, hashCodeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.deephaven.kv.KeyPathContext
resolve
-
Field Details
-
FILE
An entry for the raw file data, with the part "file" -
NAME
An entry for the filename, with the part "name"
-
-
Constructor Details
-
FileContext
-
FileContext
-
-
Method Details
-
entry
public static <T extends AtomicDirectoryContext> KeyPathContextDescription.Entry<FileContext,T> entry(String part) -
atomic
-
asFile
-
asPuts
-