HiveDatabaseService class

An implementation of DatabaseService using Hive.

Implemented types

Constructors

HiveDatabaseService(String dirPath)

Properties

dirPath String
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

createEntry(String digest, String cachedFilePath) Future<void>
Creates an entry for the given digest and cached file path.
override
createEntryForBulk(Map<String, String> cachedFilePaths) Future<void>
Creates entries for the given cached file paths in bulk.
override
flush() Future<void>
Flushes the database service. Flushing to disk, or closing network connections could be done here.
override
getCachedFilePath(String digest) FutureOr<String>
Gets the cached file path for the given digest.
override
getCachedFilePathForBulk(Iterable<String> digests) FutureOr<Map<String, String>>
Gets the cached file path for the given digests in bulk.
override
init() Future<void>
Initializes the database service.
override
isMappingAvailable(String digest) FutureOr<bool>
Checks if the mapping is available for the given digest.
override
isMappingAvailableForBulk(Iterable<String> digests) FutureOr<Map<String, bool>>
Checks if the mapping is available for the given digests in bulk.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited