@Internal public interface DataAccessor extends AbstractDataAccessor
| Modifier and Type | Method and Description |
|---|---|
default java.util.Optional<BatchLogReader> |
getBatchLogReader(Context context)
Retrieve batch log reader.
|
default java.util.Optional<CachedView> |
getCachedView(Context context)
Retrieve cached view of the data.
|
default java.util.Optional<CommitLogReader> |
getCommitLogReader(Context context)
Retrieve commit log reader (if applicable).
|
default java.util.Optional<RandomAccessReader> |
getRandomAccessReader(Context context)
Retrieve random access reader.
|
default java.util.Optional<AttributeWriterBase> |
getWriter(Context context)
Retrieve writer (if applicable).
|
default boolean |
isAcceptable(AttributeFamilyDescriptor familyDescriptor)
Check whether this accessor is acceptable for a given family.
|
getUridefault java.util.Optional<AttributeWriterBase> getWriter(Context context)
context - the serializable context provided by repositoryAttributeWriterBase of this accessordefault java.util.Optional<CommitLogReader> getCommitLogReader(Context context)
context - serializable context provided by repositorydefault java.util.Optional<RandomAccessReader> getRandomAccessReader(Context context)
context - serializable context provided by repositoryRandomAccessReader of this accessordefault java.util.Optional<BatchLogReader> getBatchLogReader(Context context)
context - serializable context provided by repositoryBatchLogReader of this accessordefault java.util.Optional<CachedView> getCachedView(Context context)
context - serializable context provided by repositoryCachedView of this accessordefault boolean isAcceptable(AttributeFamilyDescriptor familyDescriptor)
familyDescriptor - Attribute family descriptor.Copyright © 2017–2021. All rights reserved.