A B C D E F G H I K L M N O P R S T U V W 
All Classes All Packages

A

AbstractDatabaseAdapter<OP_CONTEXT extends java.lang.AutoCloseable,​CONFIG extends DatabaseAdapterConfig> - Class in org.projectnessie.versioned.persist.adapter.spi
Contains all the database-independent logic for a Database-adapter.
AbstractDatabaseAdapter(CONFIG, AdapterEventConsumer) - Constructor for class org.projectnessie.versioned.persist.adapter.spi.AbstractDatabaseAdapter
 
AbstractDatabaseAdapter.CommonAncestorState - Class in org.projectnessie.versioned.persist.adapter.spi
 
AbstractDatabaseAdapter.ConflictingKeyCheckResult - Class in org.projectnessie.versioned.persist.adapter.spi
 
accept(AdapterEvent) - Method in interface org.projectnessie.versioned.persist.adapter.events.AdapterEventConsumer
 
AdapterEvent - Interface in org.projectnessie.versioned.persist.adapter.events
Base class for all events emitted by AbstractDatabaseAdapter implementations.
AdapterEvent.Builder<B extends AdapterEvent.Builder<B,​E>,​E extends AdapterEvent> - Interface in org.projectnessie.versioned.persist.adapter.events
 
AdapterEventConsumer - Interface in org.projectnessie.versioned.persist.adapter.events
Consumer interface for AdapterEvents.
addCommits(CommitLogEntry) - Method in interface org.projectnessie.versioned.persist.adapter.events.CommittingEvent.Builder
 
addSequenceToTransplant(Hash...) - Method in interface org.projectnessie.versioned.persist.adapter.TransplantParams.Builder
 
adjustableConfig(Config) - Method in class org.projectnessie.versioned.persist.adapter.DatabaseAdapterFactory.Builder
 
AdjustableDatabaseAdapterConfig - Interface in org.projectnessie.versioned.persist.adapter
 
ALLOW_ALL - Static variable in interface org.projectnessie.versioned.persist.adapter.KeyFilterPredicate
 
AllowNulls - Annotation Type in org.projectnessie.versioned.persist.adapter
 
assertCleanStateForTests() - Method in interface org.projectnessie.versioned.persist.adapter.DatabaseAdapter
 
assertCleanStateForTests() - Method in class org.projectnessie.versioned.persist.adapter.spi.TracingDatabaseAdapter
 
assign(NamedRef, Optional<Hash>, Hash) - Method in interface org.projectnessie.versioned.persist.adapter.DatabaseAdapter
Updates assignee's HEAD to assignTo.
assign(NamedRef, Optional<Hash>, Hash) - Method in class org.projectnessie.versioned.persist.adapter.spi.TracingDatabaseAdapter
 
ASSIGN_REF - org.projectnessie.versioned.persist.adapter.events.OperationType
 
assignConflictMessage(String, NamedRef, Optional<Hash>, Hash) - Static method in class org.projectnessie.versioned.persist.adapter.spi.DatabaseAdapterUtil
 

B

BatchSpliterator<SRC,​DST> - Class in org.projectnessie.versioned.persist.adapter.spi
Helper to implement batched retrieval of DST elements using a stream of keys of type SRC, or batched mapping of SRC to DST.
BatchSpliterator(int, Spliterator<SRC>, Function<List<SRC>, Spliterator<DST>>, int) - Constructor for class org.projectnessie.versioned.persist.adapter.spi.BatchSpliterator
 
BatchSpliterator(int, Stream<SRC>, Function<List<SRC>, Spliterator<DST>>, int) - Constructor for class org.projectnessie.versioned.persist.adapter.spi.BatchSpliterator
 
borrowConnection() - Method in class org.projectnessie.versioned.persist.adapter.spi.AbstractDatabaseAdapter
 
branch(BranchName) - Method in interface org.projectnessie.versioned.persist.adapter.events.CommittingEvent.Builder
 
build() - Method in class org.projectnessie.versioned.persist.adapter.DatabaseAdapterFactory.Builder
 
build() - Method in interface org.projectnessie.versioned.persist.adapter.events.AdapterEvent.Builder
 
build() - Method in interface org.projectnessie.versioned.persist.adapter.MergeParams.Builder
 
build() - Method in interface org.projectnessie.versioned.persist.adapter.TransplantParams.Builder
 
buildDiff(OP_CONTEXT, Hash, Hash, KeyFilterPredicate) - Method in class org.projectnessie.versioned.persist.adapter.spi.AbstractDatabaseAdapter
Compute the diff between two references.
builder() - Static method in interface org.projectnessie.versioned.persist.adapter.events.CommitEvent
 
builder() - Static method in interface org.projectnessie.versioned.persist.adapter.events.MergeEvent
 
builder() - Static method in interface org.projectnessie.versioned.persist.adapter.events.ReferenceAssignedEvent
 
builder() - Static method in interface org.projectnessie.versioned.persist.adapter.events.ReferenceCreatedEvent
 
builder() - Static method in interface org.projectnessie.versioned.persist.adapter.events.ReferenceDeletedEvent
 
builder() - Static method in interface org.projectnessie.versioned.persist.adapter.events.RepositoryErasedEvent
 
builder() - Static method in interface org.projectnessie.versioned.persist.adapter.events.RepositoryInitializedEvent
 
builder() - Static method in interface org.projectnessie.versioned.persist.adapter.events.TransplantEvent
 
builder() - Static method in interface org.projectnessie.versioned.persist.adapter.MergeParams
 
builder() - Static method in interface org.projectnessie.versioned.persist.adapter.RepoDescription
 
builder() - Static method in interface org.projectnessie.versioned.persist.adapter.RepoMaintenanceParams
 
builder() - Static method in interface org.projectnessie.versioned.persist.adapter.TransplantParams
 
Builder() - Constructor for class org.projectnessie.versioned.persist.adapter.DatabaseAdapterFactory.Builder
 
buildIndividualCommit(OP_CONTEXT, long, List<Hash>, long, ByteString, Iterable<KeyWithBytes>, Set<ContentKey>, int, Consumer<Hash>, Function<Hash, CommitLogEntry>, Iterable<Hash>) - Method in class org.projectnessie.versioned.persist.adapter.spi.AbstractDatabaseAdapter
Builds a CommitLogEntry using the given values.
buildKeyList(OP_CONTEXT, CommitLogEntry, Consumer<Hash>, Function<Hash, CommitLogEntry>) - Method in class org.projectnessie.versioned.persist.adapter.spi.AbstractDatabaseAdapter
Adds a complete key-list to the given CommitLogEntry, will read from the database.

C

check(ContentKey, ContentId, byte) - Method in interface org.projectnessie.versioned.persist.adapter.KeyFilterPredicate
 
checkConflictingKeysForCommit(OP_CONTEXT, Hash, Hash, Set<ContentKey>, Consumer<String>) - Method in class org.projectnessie.versioned.persist.adapter.spi.AbstractDatabaseAdapter
Check whether the commits in the range sinceCommitExcluding] .. [upToCommitIncluding contain any of the given ContentKeys.
checkExpectedGlobalStates(OP_CONTEXT, CommitParams, Consumer<String>) - Method in class org.projectnessie.versioned.persist.adapter.spi.AbstractDatabaseAdapter
Verifies that the current global-states match the expectedStates, produces human readable messages for the violations.
checkForModifiedKeysBetweenExpectedAndCurrentCommit(OP_CONTEXT, CommitParams, Hash, List<String>) - Method in class org.projectnessie.versioned.persist.adapter.spi.AbstractDatabaseAdapter
If the current HEAD of the target branch for a commit/transplant/merge is not equal to the expected/reference HEAD, verify that there is no conflict, like keys in the operations of the commit(s) contained in keys of the commits 'expectedHead (excluding) ..
close() - Method in interface org.projectnessie.versioned.persist.adapter.DatabaseConnectionProvider
"Forcefully" close all resources held by this provider, even if this instance is still referenced.
close() - Method in class org.projectnessie.versioned.persist.adapter.spi.Traced
 
close() - Method in class org.projectnessie.versioned.persist.adapter.spi.TryLoopState
 
commit(CommitParams) - Method in interface org.projectnessie.versioned.persist.adapter.DatabaseAdapter
Commit operation, see CommitParams for a description of the parameters.
commit(CommitParams) - Method in class org.projectnessie.versioned.persist.adapter.spi.TracingDatabaseAdapter
 
COMMIT - org.projectnessie.versioned.persist.adapter.events.OperationType
 
COMMIT_LOG_HASH_SEED - Static variable in class org.projectnessie.versioned.persist.adapter.spi.AbstractDatabaseAdapter
 
commitAttempt(OP_CONTEXT, long, Hash, CommitParams, Consumer<Hash>) - Method in class org.projectnessie.versioned.persist.adapter.spi.AbstractDatabaseAdapter
Logic implementation of a commit-attempt.
commitConflictMessage(String, BranchName, Optional<Hash>) - Static method in class org.projectnessie.versioned.persist.adapter.spi.DatabaseAdapterUtil
 
CommitEvent - Interface in org.projectnessie.versioned.persist.adapter.events
 
CommitEvent.Builder - Interface in org.projectnessie.versioned.persist.adapter.events
 
commitLog(Hash) - Method in interface org.projectnessie.versioned.persist.adapter.DatabaseAdapter
Retrieve the commit-log starting at the commit referenced by offset.
commitLog(Hash) - Method in class org.projectnessie.versioned.persist.adapter.spi.TracingDatabaseAdapter
 
CommitLogEntry - Interface in org.projectnessie.versioned.persist.adapter
Represents a commit-log-entry stored in the database.
CommitLogEntry.KeyListVariant - Enum in org.projectnessie.versioned.persist.adapter
 
CommitParams - Interface in org.projectnessie.versioned.persist.adapter
API helper method to encapsulate parameters for DatabaseAdapter.commit(CommitParams).
commits(Iterable<? extends CommitLogEntry>) - Method in interface org.projectnessie.versioned.persist.adapter.events.CommittingEvent.Builder
 
CommittingEvent - Interface in org.projectnessie.versioned.persist.adapter.events
 
CommittingEvent.Builder<B extends CommittingEvent.Builder<B,​E>,​E extends CommittingEvent> - Interface in org.projectnessie.versioned.persist.adapter.events
 
CommonAncestorState(OP_CONTEXT, Hash, boolean) - Constructor for class org.projectnessie.versioned.persist.adapter.spi.AbstractDatabaseAdapter.CommonAncestorState
 
config - Variable in class org.projectnessie.versioned.persist.adapter.spi.AbstractDatabaseAdapter
 
configure(C) - Method in interface org.projectnessie.versioned.persist.adapter.DatabaseConnectionProvider
Applies connection configuration to this connection provider.
configure(Function<AdjustableConfig, Config>) - Method in class org.projectnessie.versioned.persist.adapter.DatabaseAdapterFactory.Builder
 
ConflictingKeyCheckResult() - Constructor for class org.projectnessie.versioned.persist.adapter.spi.AbstractDatabaseAdapter.ConflictingKeyCheckResult
 
contains(Hash) - Method in class org.projectnessie.versioned.persist.adapter.spi.AbstractDatabaseAdapter.CommonAncestorState
 
ContentAndState - Interface in org.projectnessie.versioned.persist.adapter
Composite for the per-named-reference and global state for a content key.
ContentId - Class in org.projectnessie.versioned.persist.adapter
 
ContentId() - Constructor for class org.projectnessie.versioned.persist.adapter.ContentId
 
ContentIdAndBytes - Interface in org.projectnessie.versioned.persist.adapter
Used when dealing with global states in operations for Nessie-GC, like enumerating all globally managed content.
copyCommits(OP_CONTEXT, long, Hash, List<CommitLogEntry>, Consumer<Hash>, MetadataRewriter<ByteString>, Predicate<ContentKey>, Consumer<CommitLogEntry>) - Method in class org.projectnessie.versioned.persist.adapter.spi.AbstractDatabaseAdapter
For merge/transplant, applies the given commits onto the target-hash.
create(NamedRef, Hash) - Method in interface org.projectnessie.versioned.persist.adapter.DatabaseAdapter
Create a new named reference.
create(NamedRef, Hash) - Method in class org.projectnessie.versioned.persist.adapter.spi.TracingDatabaseAdapter
 
createConflictMessage(String, NamedRef, Hash) - Static method in class org.projectnessie.versioned.persist.adapter.spi.DatabaseAdapterUtil
 
CRETE_REF - org.projectnessie.versioned.persist.adapter.events.OperationType
 
currentHash(Hash) - Method in interface org.projectnessie.versioned.persist.adapter.events.ReferenceEvent.Builder
 
currentTimeInMicros() - Method in interface org.projectnessie.versioned.persist.adapter.DatabaseAdapterConfig
Returns the current time in microseconds since epoch.

D

DatabaseAdapter - Interface in org.projectnessie.versioned.persist.adapter
Database-Adapter interface that encapsulates all database related logic, an abstraction between a VersionStore implementation and a variety of different databases that share common core implementations for example for the commit/merge/transplant operations.
DatabaseAdapterConfig - Interface in org.projectnessie.versioned.persist.adapter
Base database-adapter configuration type.
DatabaseAdapterFactory<Adapter extends DatabaseAdapter,​Config extends DatabaseAdapterConfig,​AdjustableConfig extends Config,​Connector extends DatabaseConnectionProvider<?>> - Interface in org.projectnessie.versioned.persist.adapter
Each DatabaseAdapter is configured and instantiated by an implementation of this factory.
DatabaseAdapterFactory.Builder<Adapter,​Config,​AdjustableConfig,​Connector> - Class in org.projectnessie.versioned.persist.adapter
 
DatabaseAdapterMetrics - Class in org.projectnessie.versioned.persist.adapter.spi
 
DatabaseAdapterUtil - Class in org.projectnessie.versioned.persist.adapter.spi
Utility methods for DatabaseAdapter implementations.
DatabaseConnectionConfig - Interface in org.projectnessie.versioned.persist.adapter
Base database-connection-provider configuration type.
DatabaseConnectionProvider<C extends DatabaseConnectionConfig> - Interface in org.projectnessie.versioned.persist.adapter
Base interface that manages database connections.
DEFAULT - Static variable in interface org.projectnessie.versioned.persist.adapter.RepoDescription
 
DEFAULT_ASSUMED_WALL_CLOCK_DRIFT_MICROS - Static variable in interface org.projectnessie.versioned.persist.adapter.DatabaseAdapterConfig
 
DEFAULT_COMMIT_RETRIES - Static variable in interface org.projectnessie.versioned.persist.adapter.DatabaseAdapterConfig
 
DEFAULT_COMMIT_TIMEOUT - Static variable in interface org.projectnessie.versioned.persist.adapter.DatabaseAdapterConfig
 
DEFAULT_KEY_LIST_DISTANCE - Static variable in interface org.projectnessie.versioned.persist.adapter.DatabaseAdapterConfig
 
DEFAULT_KEY_LIST_ENTITY_PREFETCH - Static variable in interface org.projectnessie.versioned.persist.adapter.DatabaseAdapterConfig
 
DEFAULT_KEY_LIST_HASH_LOAD_FACTOR - Static variable in interface org.projectnessie.versioned.persist.adapter.DatabaseAdapterConfig
 
DEFAULT_MAX_ENTITY_SIZE - Static variable in interface org.projectnessie.versioned.persist.adapter.DatabaseAdapterConfig
 
DEFAULT_MAX_KEY_LIST_ENTITY_SIZE - Static variable in interface org.projectnessie.versioned.persist.adapter.DatabaseAdapterConfig
 
DEFAULT_NAMESPACE_VALIDATION - Static variable in interface org.projectnessie.versioned.persist.adapter.DatabaseAdapterConfig
 
DEFAULT_PARENTS_PER_COMMIT - Static variable in interface org.projectnessie.versioned.persist.adapter.DatabaseAdapterConfig
 
DEFAULT_PARENTS_PER_REFLOG_ENTRY - Static variable in interface org.projectnessie.versioned.persist.adapter.DatabaseAdapterConfig
 
DEFAULT_REPOSITORY_ID - Static variable in interface org.projectnessie.versioned.persist.adapter.DatabaseAdapterConfig
 
DEFAULT_RETRY_INITIAL_SLEEP_MILLIS_LOWER - Static variable in interface org.projectnessie.versioned.persist.adapter.DatabaseAdapterConfig
 
DEFAULT_RETRY_INITIAL_SLEEP_MILLIS_UPPER - Static variable in interface org.projectnessie.versioned.persist.adapter.DatabaseAdapterConfig
 
DEFAULT_RETRY_MAX_SLEEP_MILLIS - Static variable in interface org.projectnessie.versioned.persist.adapter.DatabaseAdapterConfig
 
defaultBranch(String) - Method in interface org.projectnessie.versioned.persist.adapter.events.RepositoryInitializedEvent.Builder
 
defaultMergeType(MergeType) - Method in interface org.projectnessie.versioned.persist.adapter.MetadataRewriteParams.Builder
 
delete(NamedRef, Optional<Hash>) - Method in interface org.projectnessie.versioned.persist.adapter.DatabaseAdapter
Delete the given reference.
delete(NamedRef, Optional<Hash>) - Method in class org.projectnessie.versioned.persist.adapter.spi.TracingDatabaseAdapter
 
DELETE_REF - org.projectnessie.versioned.persist.adapter.events.OperationType
 
deleteConflictMessage(String, NamedRef, Optional<Hash>) - Static method in class org.projectnessie.versioned.persist.adapter.spi.DatabaseAdapterUtil
 
diff(Hash, Hash, KeyFilterPredicate) - Method in interface org.projectnessie.versioned.persist.adapter.DatabaseAdapter
Compute the difference of the content for the two commits identified by from and to.
diff(Hash, Hash, KeyFilterPredicate) - Method in class org.projectnessie.versioned.persist.adapter.spi.TracingDatabaseAdapter
 
Difference - Interface in org.projectnessie.versioned.persist.adapter
 
doFetchFromCommitLog(OP_CONTEXT, Hash) - Method in class org.projectnessie.versioned.persist.adapter.spi.AbstractDatabaseAdapter
 
doFetchGlobalStates(OP_CONTEXT, Set<ContentId>) - Method in class org.projectnessie.versioned.persist.adapter.spi.AbstractDatabaseAdapter
 
doFetchKeyLists(OP_CONTEXT, List<Hash>) - Method in class org.projectnessie.versioned.persist.adapter.spi.AbstractDatabaseAdapter
 
doFetchMultipleFromCommitLog(OP_CONTEXT, List<Hash>) - Method in class org.projectnessie.versioned.persist.adapter.spi.AbstractDatabaseAdapter
 
doScanAllCommitLogEntries(OP_CONTEXT) - Method in class org.projectnessie.versioned.persist.adapter.spi.AbstractDatabaseAdapter
 
doUpdateMultipleCommits(OP_CONTEXT, List<CommitLogEntry>) - Method in class org.projectnessie.versioned.persist.adapter.spi.AbstractDatabaseAdapter
 
doWriteIndividualCommit(OP_CONTEXT, CommitLogEntry) - Method in class org.projectnessie.versioned.persist.adapter.spi.AbstractDatabaseAdapter
 
doWriteKeyListEntities(OP_CONTEXT, List<KeyListEntity>) - Method in class org.projectnessie.versioned.persist.adapter.spi.AbstractDatabaseAdapter
 
doWriteMultipleCommits(OP_CONTEXT, List<CommitLogEntry>) - Method in class org.projectnessie.versioned.persist.adapter.spi.AbstractDatabaseAdapter
 

E

EMBEDDED_AND_EXTERNAL_MRU - org.projectnessie.versioned.persist.adapter.CommitLogEntry.KeyListVariant
The variant in which Nessie versions 0.10.0..0.30.0 write embedded key-list and key-list entities.
EMPTY - Static variable in interface org.projectnessie.versioned.persist.adapter.KeyList
 
entitySize(CommitLogEntry) - Method in class org.projectnessie.versioned.persist.adapter.spi.AbstractDatabaseAdapter
Calculate the expected size of the given CommitLogEntry in the database (in bytes).
entitySize(KeyListEntry) - Method in class org.projectnessie.versioned.persist.adapter.spi.AbstractDatabaseAdapter
Calculate the expected size of the given CommitLogEntry in the database (in bytes).
eraseRepo() - Method in interface org.projectnessie.versioned.persist.adapter.DatabaseAdapter
Forces all repository data managed by this adapter instance to be deleted.
eraseRepo() - Method in class org.projectnessie.versioned.persist.adapter.spi.TracingDatabaseAdapter
 
eventTimeMicros(long) - Method in interface org.projectnessie.versioned.persist.adapter.events.AdapterEvent.Builder
 
expectedHead(Optional<Hash>) - Method in interface org.projectnessie.versioned.persist.adapter.ToBranchParams.Builder
 

F

fetchCommitLogEntries(Stream<Hash>) - Method in interface org.projectnessie.versioned.persist.adapter.DatabaseAdapter
Loads commit log entries.
fetchCommitLogEntries(Stream<Hash>) - Method in class org.projectnessie.versioned.persist.adapter.spi.AbstractDatabaseAdapter
 
fetchCommitLogEntries(Stream<Hash>) - Method in class org.projectnessie.versioned.persist.adapter.spi.TracingDatabaseAdapter
 
fetchFromCommitLog(OP_CONTEXT, Hash) - Method in class org.projectnessie.versioned.persist.adapter.spi.AbstractDatabaseAdapter
Load the commit-log entry for the given hash, return null, if not found.
fetchGlobalStates(OP_CONTEXT, Set<ContentId>) - Method in class org.projectnessie.versioned.persist.adapter.spi.AbstractDatabaseAdapter
Fetches the global-state information for the given content-ids.
fetchKeyLists(OP_CONTEXT, List<Hash>) - Method in class org.projectnessie.versioned.persist.adapter.spi.AbstractDatabaseAdapter
 
fetchRepositoryDescription() - Method in interface org.projectnessie.versioned.persist.adapter.DatabaseAdapter
Fetches the current version and descriptive attributes of the repository.
fetchRepositoryDescription() - Method in class org.projectnessie.versioned.persist.adapter.spi.TracingDatabaseAdapter
 
fetchValues(OP_CONTEXT, Hash, Collection<ContentKey>, KeyFilterPredicate) - Method in class org.projectnessie.versioned.persist.adapter.spi.AbstractDatabaseAdapter
Fetch the global-state and per-ref content for the given ContentKeys and commitSha.
findCommonAncestor(OP_CONTEXT, Hash, NamedRef, Hash) - Method in class org.projectnessie.versioned.persist.adapter.spi.AbstractDatabaseAdapter
Finds the common-ancestor of two commit-log-entries.
findCommonAncestor(OP_CONTEXT, Hash, AbstractDatabaseAdapter.CommonAncestorState, BiFunction<Integer, Hash, R>) - Method in class org.projectnessie.versioned.persist.adapter.spi.AbstractDatabaseAdapter
 
finish() - Method in class org.projectnessie.versioned.persist.adapter.ReferencesUtil.IdentifyHeadsAndForkPoints
 
forDatabaseAdapter(DatabaseAdapter) - Static method in class org.projectnessie.versioned.persist.adapter.ReferencesUtil
 
fromRef(NamedRef) - Method in interface org.projectnessie.versioned.persist.adapter.MetadataRewriteParams.Builder
 

G

getAdditionalParents() - Method in interface org.projectnessie.versioned.persist.adapter.CommitLogEntry
 
getAssumedWallClockDriftMicros() - Method in interface org.projectnessie.versioned.persist.adapter.DatabaseAdapterConfig
The assumed wall-clock drift between multiple Nessie instances in microseconds.
getBranch() - Method in interface org.projectnessie.versioned.persist.adapter.events.CommittingEvent
 
getClock() - Method in interface org.projectnessie.versioned.persist.adapter.DatabaseAdapterConfig
The Clock to use.
getCommitId() - Method in interface org.projectnessie.versioned.persist.adapter.KeyListEntry
 
getCommitMetaSerialized() - Method in interface org.projectnessie.versioned.persist.adapter.CommitParams
Serialized commit-metadata.
getCommitRetries() - Method in interface org.projectnessie.versioned.persist.adapter.DatabaseAdapterConfig
Maximum retries for CAS-like operations.
getCommits() - Method in interface org.projectnessie.versioned.persist.adapter.events.CommittingEvent
 
getCommitSeq() - Method in interface org.projectnessie.versioned.persist.adapter.CommitLogEntry
Monotonically increasing counter representing the number of commits since the "beginning of time.
getCommitTimeout() - Method in interface org.projectnessie.versioned.persist.adapter.DatabaseAdapterConfig
Timeout for CAS-like operations in milliseconds.
getConfig() - Method in interface org.projectnessie.versioned.persist.adapter.DatabaseAdapter
 
getConfig() - Method in class org.projectnessie.versioned.persist.adapter.DatabaseAdapterFactory.Builder
 
getConfig() - Method in class org.projectnessie.versioned.persist.adapter.spi.AbstractDatabaseAdapter
 
getConfig() - Method in class org.projectnessie.versioned.persist.adapter.spi.TracingDatabaseAdapter
 
getConnector() - Method in class org.projectnessie.versioned.persist.adapter.DatabaseAdapterFactory.Builder
 
getContentId() - Method in interface org.projectnessie.versioned.persist.adapter.ContentIdAndBytes
 
getContentId() - Method in interface org.projectnessie.versioned.persist.adapter.KeyListEntry
 
getContentId() - Method in interface org.projectnessie.versioned.persist.adapter.KeyWithBytes
 
getCreatedTime() - Method in interface org.projectnessie.versioned.persist.adapter.CommitLogEntry
Creation timestamp in microseconds since epoch.
getCurrentHash() - Method in interface org.projectnessie.versioned.persist.adapter.events.ReferenceEvent
Hash of the reference, specific meaning for each event type.
getDefaultBranch() - Method in interface org.projectnessie.versioned.persist.adapter.events.RepositoryInitializedEvent
 
getDefaultConfig() - Method in class org.projectnessie.versioned.persist.adapter.DatabaseAdapterFactory.Builder
 
getDefaultMergeType() - Method in interface org.projectnessie.versioned.persist.adapter.MetadataRewriteParams
 
getDeletes() - Method in interface org.projectnessie.versioned.persist.adapter.CommitLogEntry
List of "unchanged" keys, from Delete commit operations.
getDeletes() - Method in interface org.projectnessie.versioned.persist.adapter.CommitParams
List of "unchanged" keys, from Delete commit operations.
getDuration(TimeUnit) - Method in class org.projectnessie.versioned.persist.adapter.spi.TryLoopState
 
getEndlessRetries() - Method in class org.projectnessie.versioned.persist.adapter.spi.TryLoopState
 
getEventConsumer() - Method in class org.projectnessie.versioned.persist.adapter.DatabaseAdapterFactory.Builder
 
getEventConsumer() - Method in class org.projectnessie.versioned.persist.adapter.spi.AbstractDatabaseAdapter
 
getEventTimeMicros() - Method in interface org.projectnessie.versioned.persist.adapter.events.AdapterEvent
Time when the event was created, source is DatabaseAdapterConfig.getClock() (Clock.systemUTC() in production) using Instant.getEpochSecond() plus Instant.getNano().
getExpectedHead() - Method in interface org.projectnessie.versioned.persist.adapter.ToBranchParams
getExpectedStates() - Method in interface org.projectnessie.versioned.persist.adapter.CommitParams
Mapping of content-ids to expected global content-state (think: Iceberg table-metadata), coming from the "expected-state" property of a PutGlobal commit operation.
getForkPoints() - Method in interface org.projectnessie.versioned.persist.adapter.HeadsAndForkPoints
 
getFromRef() - Method in interface org.projectnessie.versioned.persist.adapter.MetadataRewriteParams
Ref to merge or transplant from.
getFromValue() - Method in interface org.projectnessie.versioned.persist.adapter.Difference
 
getGlobal() - Method in interface org.projectnessie.versioned.persist.adapter.Difference
 
getGlobalState() - Method in interface org.projectnessie.versioned.persist.adapter.ContentAndState
Global state for a content key.
getHash() - Method in interface org.projectnessie.versioned.persist.adapter.CommitLogEntry
 
getHash() - Method in interface org.projectnessie.versioned.persist.adapter.events.CommittingEvent
 
getHeadCommit() - Method in class org.projectnessie.versioned.persist.adapter.spi.AbstractDatabaseAdapter.ConflictingKeyCheckResult
 
getHeads() - Method in interface org.projectnessie.versioned.persist.adapter.HeadsAndForkPoints
 
getId() - Method in class org.projectnessie.versioned.persist.adapter.ContentId
 
getId() - Method in interface org.projectnessie.versioned.persist.adapter.KeyListEntity
 
getKey() - Method in interface org.projectnessie.versioned.persist.adapter.Difference
 
getKey() - Method in interface org.projectnessie.versioned.persist.adapter.KeyListEntry
 
getKey() - Method in interface org.projectnessie.versioned.persist.adapter.KeyWithBytes
 
getKeyList() - Method in interface org.projectnessie.versioned.persist.adapter.CommitLogEntry
The list of all "reachable" or "known" ContentKeys up to this commit-log-entry's parent commit consists of all entries in this KeyList plus the KeyListEntitys via CommitLogEntry.getKeyListsIds().
getKeyListBucketCount() - Method in interface org.projectnessie.versioned.persist.adapter.CommitLogEntry
The cumulative total of buckets across all segments.
getKeyListDistance() - Method in interface org.projectnessie.versioned.persist.adapter.CommitLogEntry
Number of commits since the last complete key-list.
getKeyListDistance() - Method in interface org.projectnessie.versioned.persist.adapter.DatabaseAdapterConfig
Each n-th CommitLogEntry, where n == value of this parameter, will contain a "full" KeyList.
getKeyListEntityOffsets() - Method in interface org.projectnessie.versioned.persist.adapter.CommitLogEntry
The indices of the first occupied bucket in each non-embedded segment of the key list.
getKeyListEntityPrefetch() - Method in interface org.projectnessie.versioned.persist.adapter.DatabaseAdapterConfig
The number of adjacent key-list-entities to fetch, defaults to 0.
getKeyListHashLoadFactor() - Method in interface org.projectnessie.versioned.persist.adapter.DatabaseAdapterConfig
Configures key-list hash-table load-factor for the open-addressing hash map used for key-lists.
getKeyListLoadFactor() - Method in interface org.projectnessie.versioned.persist.adapter.CommitLogEntry
Load factor for key lists hashed using open-addressing.
getKeyListsIds() - Method in interface org.projectnessie.versioned.persist.adapter.CommitLogEntry
IDs of for the linked KeyListEntity that, together with CommitLogEntry.getKeyList() make the complete ContentKey for this commit.
getKeyListVariant() - Method in interface org.projectnessie.versioned.persist.adapter.CommitLogEntry
 
getKeys() - Method in interface org.projectnessie.versioned.persist.adapter.KeyList
 
getKeys() - Method in interface org.projectnessie.versioned.persist.adapter.KeyListEntity
 
getMaxKeyListEntitySize() - Method in interface org.projectnessie.versioned.persist.adapter.DatabaseAdapterConfig
Maximum size of a database object/row.
getMaxKeyListSize() - Method in interface org.projectnessie.versioned.persist.adapter.DatabaseAdapterConfig
Maximum size of a database object/row.
getMergeFromHash() - Method in interface org.projectnessie.versioned.persist.adapter.MergeParams
Commit-hash to start reading commits from.
getMergeTypes() - Method in interface org.projectnessie.versioned.persist.adapter.MetadataRewriteParams
 
getMetadata() - Method in interface org.projectnessie.versioned.persist.adapter.CommitLogEntry
Serialized commit-metadata.
getName() - Method in interface org.projectnessie.versioned.persist.adapter.DatabaseAdapterFactory
 
getOperationType() - Method in interface org.projectnessie.versioned.persist.adapter.events.AdapterEvent
 
getOperationType() - Method in interface org.projectnessie.versioned.persist.adapter.events.CommitEvent
 
getOperationType() - Method in interface org.projectnessie.versioned.persist.adapter.events.MergeEvent
 
getOperationType() - Method in interface org.projectnessie.versioned.persist.adapter.events.ReferenceAssignedEvent
 
getOperationType() - Method in interface org.projectnessie.versioned.persist.adapter.events.ReferenceCreatedEvent
 
getOperationType() - Method in interface org.projectnessie.versioned.persist.adapter.events.ReferenceDeletedEvent
 
getOperationType() - Method in interface org.projectnessie.versioned.persist.adapter.events.RepositoryErasedEvent
 
getOperationType() - Method in interface org.projectnessie.versioned.persist.adapter.events.RepositoryInitializedEvent
 
getOperationType() - Method in interface org.projectnessie.versioned.persist.adapter.events.TransplantEvent
 
getParents() - Method in interface org.projectnessie.versioned.persist.adapter.CommitLogEntry
Zero, one or more parent-entry hashes of this commit, nearest parent first.
getParentsPerCommit() - Method in interface org.projectnessie.versioned.persist.adapter.DatabaseAdapterConfig
The number of parent-commit-hashes stored in CommitLogEntry.getParents().
getParentsPerRefLogEntry() - Method in interface org.projectnessie.versioned.persist.adapter.DatabaseAdapterConfig
The number of Ancestor (reflogId, commitHash) stored in RefLog#getParents().
getPayload() - Method in interface org.projectnessie.versioned.persist.adapter.ContentAndState
 
getPayload() - Method in interface org.projectnessie.versioned.persist.adapter.Difference
 
getPayload() - Method in interface org.projectnessie.versioned.persist.adapter.KeyListEntry
 
getPayload() - Method in interface org.projectnessie.versioned.persist.adapter.KeyWithBytes
 
getPreviousHash() - Method in interface org.projectnessie.versioned.persist.adapter.events.CommittingEvent
 
getPreviousHash() - Method in interface org.projectnessie.versioned.persist.adapter.events.ReferenceAssignedEvent
The reference's current commit-ID before it was assigned.
getProperties() - Method in interface org.projectnessie.versioned.persist.adapter.RepoDescription
Map of properties for a Nessie repository.
getPuts() - Method in interface org.projectnessie.versioned.persist.adapter.CommitLogEntry
List of all Put operations, with their keys, content-types and serialized Content.
getPuts() - Method in interface org.projectnessie.versioned.persist.adapter.CommitParams
List of all Put operations, with their keys, content-types and serialized Content.
getRef() - Method in interface org.projectnessie.versioned.persist.adapter.events.ReferenceEvent
 
getReferencedHeads() - Method in interface org.projectnessie.versioned.persist.adapter.ReferencedAndUnreferencedHeads
 
getRefState() - Method in interface org.projectnessie.versioned.persist.adapter.ContentAndState
Per-named-reference state for a content key.
getRepositoryId() - Method in interface org.projectnessie.versioned.persist.adapter.DatabaseAdapterConfig
A free-form string that identifies a particular Nessie storage repository.
getRepoVersion() - Method in interface org.projectnessie.versioned.persist.adapter.RepoDescription
A logical version number describing the logical data model.
getRetries() - Method in class org.projectnessie.versioned.persist.adapter.spi.TryLoopState
 
getRetryInitialSleepMillisLower() - Method in interface org.projectnessie.versioned.persist.adapter.DatabaseAdapterConfig
When the database adapter has to retry an operation due to a concurrent, conflicting update to the database state, this parameter defines the initial lower bound of the sleep time.
getRetryInitialSleepMillisUpper() - Method in interface org.projectnessie.versioned.persist.adapter.DatabaseAdapterConfig
When the database adapter has to retry an operation due to a concurrent, conflicting update to the database state, this parameter defines the initial upper bound of the sleep time.
getRetryMaxSleepMillis() - Method in interface org.projectnessie.versioned.persist.adapter.DatabaseAdapterConfig
When the database adapter has to retry an operation due to a concurrent, conflicting update to the database state, this parameter defines the maximum sleep time.
getScanStartedAtInMicros() - Method in interface org.projectnessie.versioned.persist.adapter.HeadsAndForkPoints
 
getSequenceToTransplant() - Method in interface org.projectnessie.versioned.persist.adapter.TransplantParams
Commits to cherry-pick onto ToBranchParams.getToBranch().
getToBranch() - Method in interface org.projectnessie.versioned.persist.adapter.ToBranchParams
Branch to commit to.
getTotalRetries() - Method in class org.projectnessie.versioned.persist.adapter.spi.TryLoopState
 
getToValue() - Method in interface org.projectnessie.versioned.persist.adapter.Difference
 
getUnchanged() - Method in interface org.projectnessie.versioned.persist.adapter.CommitParams
List of "unchanged" keys, from Unchanged commit operations.
getUnreferencedHeads() - Method in interface org.projectnessie.versioned.persist.adapter.ReferencedAndUnreferencedHeads
 
getUpdateCommitMetadata() - Method in interface org.projectnessie.versioned.persist.adapter.MetadataRewriteParams
Function to rewrite the commit-metadata.
getValue() - Method in interface org.projectnessie.versioned.persist.adapter.ContentIdAndBytes
 
getValue() - Method in interface org.projectnessie.versioned.persist.adapter.KeyWithBytes
 
globalContent(ContentId) - Method in interface org.projectnessie.versioned.persist.adapter.DatabaseAdapter
Retrieves the global content for the given contents-id.
globalContent(ContentId) - Method in class org.projectnessie.versioned.persist.adapter.spi.TracingDatabaseAdapter
 

H

handleCommit(Hash, Hash) - Method in class org.projectnessie.versioned.persist.adapter.ReferencesUtil.IdentifyHeadsAndForkPoints
 
handleCommit(CommitLogEntry) - Method in class org.projectnessie.versioned.persist.adapter.ReferencesUtil.IdentifyHeadsAndForkPoints
 
hash(Hash) - Method in interface org.projectnessie.versioned.persist.adapter.events.CommittingEvent.Builder
 
hashCollisionDetected() - Static method in class org.projectnessie.versioned.persist.adapter.spi.DatabaseAdapterUtil
 
hashKey(Hasher, ContentKey) - Static method in class org.projectnessie.versioned.persist.adapter.spi.DatabaseAdapterUtil
 
hashNotFound(NamedRef, Hash) - Static method in class org.projectnessie.versioned.persist.adapter.spi.DatabaseAdapterUtil
Builds a ReferenceNotFoundException exception with a human-readable message.
hashOnRef(OP_CONTEXT, Hash, NamedRef, Optional<Hash>, Consumer<CommitLogEntry>) - Method in class org.projectnessie.versioned.persist.adapter.spi.AbstractDatabaseAdapter
Ensures that ref exists and that the hash in hashOnRef exists in that reference.
hashOnRef(OP_CONTEXT, NamedRef, Optional<Hash>, Hash) - Method in class org.projectnessie.versioned.persist.adapter.spi.AbstractDatabaseAdapter
hashOnReference(NamedRef, Optional<Hash>) - Method in interface org.projectnessie.versioned.persist.adapter.DatabaseAdapter
Verifies that the given namedReference exists and that hashOnReference, if present, is reachable via that reference.
hashOnReference(NamedRef, Optional<Hash>) - Method in class org.projectnessie.versioned.persist.adapter.spi.TracingDatabaseAdapter
 
hasKeyCollisions(OP_CONTEXT, Hash, Set<ContentKey>, List<CommitLogEntry>, Function<ContentKey, ImmutableKeyDetails.Builder>) - Method in class org.projectnessie.versioned.persist.adapter.spi.AbstractDatabaseAdapter
For merge/transplant, verifies that the given commits do not touch any of the given keys.
hasKeySummary() - Method in interface org.projectnessie.versioned.persist.adapter.CommitLogEntry
 
HeadsAndForkPoints - Interface in org.projectnessie.versioned.persist.adapter
 

I

identifyAllHeadsAndForkPoints(int, Consumer<CommitLogEntry>) - Method in class org.projectnessie.versioned.persist.adapter.ReferencesUtil
Identifies all heads and fork-points.
IdentifyHeadsAndForkPoints(int, long) - Constructor for class org.projectnessie.versioned.persist.adapter.ReferencesUtil.IdentifyHeadsAndForkPoints
 
identifyReferencedAndUnreferencedHeads(HeadsAndForkPoints) - Method in class org.projectnessie.versioned.persist.adapter.ReferencesUtil
Identifies unreferenced heads and heads that are part of a named reference.
indexOf(Hash) - Method in class org.projectnessie.versioned.persist.adapter.spi.AbstractDatabaseAdapter.CommonAncestorState
 
individualCommitHash(List<Hash>, ByteString, Iterable<KeyWithBytes>, Iterable<ContentKey>) - Method in class org.projectnessie.versioned.persist.adapter.spi.AbstractDatabaseAdapter
Calculate the hash for the content of a CommitLogEntry.
initialize() - Method in interface org.projectnessie.versioned.persist.adapter.DatabaseConnectionProvider
Initialize the connection provider using the configuration supplied "earlier" via DatabaseConnectionProvider.configure(DatabaseConnectionConfig).
initializeRepo(String) - Method in interface org.projectnessie.versioned.persist.adapter.DatabaseAdapter
Ensures that mandatory data is present in the repository, does not change an existing repo.
initializeRepo(String) - Method in class org.projectnessie.versioned.persist.adapter.spi.TracingDatabaseAdapter
 
isCommitNew(Hash) - Method in class org.projectnessie.versioned.persist.adapter.ReferencesUtil.IdentifyHeadsAndForkPoints
 
isCommitting() - Method in enum org.projectnessie.versioned.persist.adapter.events.OperationType
Whether the event / operation-type is one that wrote (at least) one commit.
isDryRun() - Method in interface org.projectnessie.versioned.persist.adapter.MetadataRewriteParams
 
isDryRun(boolean) - Method in interface org.projectnessie.versioned.persist.adapter.MetadataRewriteParams.Builder
 
isReference() - Method in enum org.projectnessie.versioned.persist.adapter.events.OperationType
Whether the event / operation-type is one that modified a named reference.
isSinceSeen() - Method in class org.projectnessie.versioned.persist.adapter.spi.AbstractDatabaseAdapter.ConflictingKeyCheckResult
 

K

keepIndividualCommits() - Method in interface org.projectnessie.versioned.persist.adapter.MetadataRewriteParams
Whether to keep the individual commits and do not squash the commits to merge.
keepIndividualCommits(boolean) - Method in interface org.projectnessie.versioned.persist.adapter.MetadataRewriteParams.Builder
 
KeyFilterPredicate - Interface in org.projectnessie.versioned.persist.adapter
Predicate to filter content-key/content-id/content-type for DatabaseAdapter functionality that returns or handles content-keys and content-values to skip deserialization and potentially prevent unnecessary read operations.
KeyList - Interface in org.projectnessie.versioned.persist.adapter
Contains/references a list of keys that are "visible" from a specific CommitLogEntry.
KeyListEntity - Interface in org.projectnessie.versioned.persist.adapter
Persistable entity with a list of keys for CommitLogEntry.getKeyListsIds().
KeyListEntry - Interface in org.projectnessie.versioned.persist.adapter
Composite of key, content-id, content-type and commit-id.
keys(Hash, KeyFilterPredicate) - Method in interface org.projectnessie.versioned.persist.adapter.DatabaseAdapter
Retrieve the content-keys that are "present" for the specified commit.
keys(Hash, KeyFilterPredicate) - Method in class org.projectnessie.versioned.persist.adapter.spi.TracingDatabaseAdapter
 
keysForCommitEntry(OP_CONTEXT, Hash, KeyFilterPredicate) - Method in class org.projectnessie.versioned.persist.adapter.spi.AbstractDatabaseAdapter
Retrieve the content-keys and their types for the commit-log-entry with the given hash.
keysForCommitEntry(OP_CONTEXT, Hash, KeyFilterPredicate, Function<Hash, CommitLogEntry>) - Method in class org.projectnessie.versioned.persist.adapter.spi.AbstractDatabaseAdapter
Retrieve the content-keys and their types for the commit-log-entry with the given hash.
KeyWithBytes - Interface in org.projectnessie.versioned.persist.adapter
Composite of key, content-id, content-type and content.

L

loadFactory(Predicate<DatabaseAdapterFactory<?, ?, ?, ?>>) - Static method in interface org.projectnessie.versioned.persist.adapter.DatabaseAdapterFactory
 
loadFactoryByName(String) - Static method in interface org.projectnessie.versioned.persist.adapter.DatabaseAdapterFactory
 
logFetcher(OP_CONTEXT, T, BiFunction<OP_CONTEXT, List<Hash>, List<T>>, Function<T, List<Hash>>) - Method in class org.projectnessie.versioned.persist.adapter.spi.AbstractDatabaseAdapter
Constructs a Stream of entries for either the global-state-log or a commit-log or a reflog entry.
logFetcherWithPage(OP_CONTEXT, List<Hash>, BiFunction<OP_CONTEXT, List<Hash>, List<T>>, Function<T, List<Hash>>) - Method in class org.projectnessie.versioned.persist.adapter.spi.AbstractDatabaseAdapter
 

M

maintenanceConflictMessage(String, String) - Static method in class org.projectnessie.versioned.persist.adapter.spi.DatabaseAdapterUtil
 
maxEntitySize(int) - Method in class org.projectnessie.versioned.persist.adapter.spi.AbstractDatabaseAdapter
 
merge(MergeParams) - Method in interface org.projectnessie.versioned.persist.adapter.DatabaseAdapter
Merge all commits on from since the common ancestor of from and to and commit those onto to.
merge(MergeParams) - Method in class org.projectnessie.versioned.persist.adapter.spi.TracingDatabaseAdapter
 
MERGE - org.projectnessie.versioned.persist.adapter.events.OperationType
 
mergeAttempt(OP_CONTEXT, long, Hash, Consumer<Hash>, Consumer<Hash>, Consumer<CommitLogEntry>, Consumer<CommitLogEntry>, MergeParams, ImmutableMergeResult.Builder<CommitLogEntry>) - Method in class org.projectnessie.versioned.persist.adapter.spi.AbstractDatabaseAdapter
Logic implementation of a merge-attempt.
mergeConflictMessage(String, MergeParams) - Static method in class org.projectnessie.versioned.persist.adapter.spi.DatabaseAdapterUtil
 
MergeEvent - Interface in org.projectnessie.versioned.persist.adapter.events
 
MergeEvent.Builder - Interface in org.projectnessie.versioned.persist.adapter.events
 
mergeFromHash(Hash) - Method in interface org.projectnessie.versioned.persist.adapter.MergeParams.Builder
 
MergeParams - Interface in org.projectnessie.versioned.persist.adapter
API helper method to encapsulate parameters for DatabaseAdapter.merge(MergeParams).
MergeParams.Builder - Interface in org.projectnessie.versioned.persist.adapter
 
mergeTransplantCommon(OP_CONTEXT, long, Hash, Consumer<Hash>, Consumer<Hash>, List<CommitLogEntry>, List<CommitLogEntry>, MetadataRewriteParams, ImmutableMergeResult.Builder<CommitLogEntry>, Consumer<CommitLogEntry>, Consumer<CommitLogEntry>, List<Hash>) - Method in class org.projectnessie.versioned.persist.adapter.spi.AbstractDatabaseAdapter
 
mergeTypes(Map<? extends ContentKey, ? extends MergeType>) - Method in interface org.projectnessie.versioned.persist.adapter.MetadataRewriteParams.Builder
 
MetadataRewriteParams - Interface in org.projectnessie.versioned.persist.adapter
 
MetadataRewriteParams.Builder<B> - Interface in org.projectnessie.versioned.persist.adapter
 

N

namedRef(String, GetNamedRefsParams) - Method in interface org.projectnessie.versioned.persist.adapter.DatabaseAdapter
Resolve the current HEAD of the given named-reference and optionally additional information.
namedRef(String, GetNamedRefsParams) - Method in class org.projectnessie.versioned.persist.adapter.spi.TracingDatabaseAdapter
 
namedReferenceWithCommitMeta(OP_CONTEXT, GetNamedRefsParams, Stream<ReferenceInfo<ByteString>>) - Method in class org.projectnessie.versioned.persist.adapter.spi.AbstractDatabaseAdapter
Returns an updated ReferenceInfo with the commit-meta of the reference's HEAD commit.
namedRefs(GetNamedRefsParams) - Method in interface org.projectnessie.versioned.persist.adapter.DatabaseAdapter
Get all named references including their current HEAD.
namedRefs(GetNamedRefsParams) - Method in class org.projectnessie.versioned.persist.adapter.spi.TracingDatabaseAdapter
 
namedRefsAnyRetrieves(GetNamedRefsParams) - Static method in class org.projectnessie.versioned.persist.adapter.spi.AbstractDatabaseAdapter
 
namedRefsFilterAndEnhance(OP_CONTEXT, GetNamedRefsParams, Hash, Stream<ReferenceInfo<ByteString>>) - Method in class org.projectnessie.versioned.persist.adapter.spi.AbstractDatabaseAdapter
Common functionality to filter and enhance based on the given GetNamedRefsParams.
namedRefsMaybeFilter(GetNamedRefsParams, Stream<ReferenceInfo<ByteString>>) - Static method in class org.projectnessie.versioned.persist.adapter.spi.AbstractDatabaseAdapter
Applies the reference type filter (tags or branches) to the Java stream.
namedRefsRequiresBaseReference(GetNamedRefsParams) - Static method in class org.projectnessie.versioned.persist.adapter.spi.AbstractDatabaseAdapter
 
namedRefsRequiresBaseReference(GetNamedRefsParams.RetrieveOptions) - Static method in class org.projectnessie.versioned.persist.adapter.spi.AbstractDatabaseAdapter
 
namedRefsRetrieveOptionsForReference(GetNamedRefsParams, NamedRef) - Static method in class org.projectnessie.versioned.persist.adapter.spi.AbstractDatabaseAdapter
 
namedRefsRetrieveOptionsForReference(GetNamedRefsParams, ReferenceInfo<ByteString>) - Static method in class org.projectnessie.versioned.persist.adapter.spi.AbstractDatabaseAdapter
 
namedRefsWithDefaultBranchRelatedInfo(OP_CONTEXT, GetNamedRefsParams, Stream<ReferenceInfo<ByteString>>, Hash) - Method in class org.projectnessie.versioned.persist.adapter.spi.AbstractDatabaseAdapter
If necessary based on the given GetNamedRefsParams, updates the returned ReferenceInfos with the common-ancestor of the named reference and the default branch and the number of commits behind/ahead compared to the default branch.
newBuilder() - Method in interface org.projectnessie.versioned.persist.adapter.DatabaseAdapterFactory
 
newHasher() - Static method in class org.projectnessie.versioned.persist.adapter.spi.DatabaseAdapterUtil
 
newTryLoopState(String, Function<TryLoopState<R>, String>, BiConsumer<Boolean, TryLoopState<R>>, DatabaseAdapterConfig) - Static method in class org.projectnessie.versioned.persist.adapter.spi.TryLoopState
 
NO_ANCESTOR - Static variable in class org.projectnessie.versioned.persist.adapter.spi.AbstractDatabaseAdapter
 
noAncestorHash() - Method in interface org.projectnessie.versioned.persist.adapter.DatabaseAdapter
Get the Hash for "beginning of time".
noAncestorHash() - Method in class org.projectnessie.versioned.persist.adapter.spi.AbstractDatabaseAdapter
 
noAncestorHash() - Method in class org.projectnessie.versioned.persist.adapter.spi.TracingDatabaseAdapter
 

O

of(byte, ContentKey, Optional<ByteString>, Optional<ByteString>, Optional<ByteString>) - Static method in interface org.projectnessie.versioned.persist.adapter.Difference
 
of(byte, ByteString) - Static method in interface org.projectnessie.versioned.persist.adapter.ContentAndState
 
of(byte, ByteString, ByteString) - Static method in interface org.projectnessie.versioned.persist.adapter.ContentAndState
 
of(long, Hash, long, Iterable<Hash>, ByteString, Iterable<KeyWithBytes>, Iterable<ContentKey>, int, KeyList, Iterable<Hash>, Iterable<Integer>, Iterable<Hash>) - Static method in interface org.projectnessie.versioned.persist.adapter.CommitLogEntry
 
of(String) - Static method in class org.projectnessie.versioned.persist.adapter.ContentId
 
of(List<KeyListEntry>) - Static method in interface org.projectnessie.versioned.persist.adapter.KeyList
 
of(Map<Hash, Set<NamedRef>>, Set<Hash>) - Static method in interface org.projectnessie.versioned.persist.adapter.ReferencedAndUnreferencedHeads
 
of(Set<Hash>, Set<Hash>, long) - Static method in interface org.projectnessie.versioned.persist.adapter.HeadsAndForkPoints
 
of(ContentKey, ContentId, byte, ByteString) - Static method in interface org.projectnessie.versioned.persist.adapter.KeyWithBytes
 
of(ContentKey, ContentId, byte, Hash) - Static method in interface org.projectnessie.versioned.persist.adapter.KeyListEntry
 
of(Hash, KeyList) - Static method in interface org.projectnessie.versioned.persist.adapter.KeyListEntity
 
of(ContentId, ByteString) - Static method in interface org.projectnessie.versioned.persist.adapter.ContentIdAndBytes
 
OPEN_ADDRESSING - org.projectnessie.versioned.persist.adapter.CommitLogEntry.KeyListVariant
The variant in which Nessie versions since 0.31.0 maintains embedded key-list and key-list entities.
operationType(OperationType) - Method in interface org.projectnessie.versioned.persist.adapter.events.AdapterEvent.Builder
 
OperationType - Enum in org.projectnessie.versioned.persist.adapter.events
 
org.projectnessie.versioned.persist.adapter - package org.projectnessie.versioned.persist.adapter
Generic database-adapter API & SPI as an abstraction for various kinds of databases, DatabaseAdapter is the main interface.
org.projectnessie.versioned.persist.adapter.events - package org.projectnessie.versioned.persist.adapter.events
 
org.projectnessie.versioned.persist.adapter.spi - package org.projectnessie.versioned.persist.adapter.spi
 

P

previousHash(Hash) - Method in interface org.projectnessie.versioned.persist.adapter.events.CommittingEvent.Builder
 
previousHash(Hash) - Method in interface org.projectnessie.versioned.persist.adapter.events.ReferenceAssignedEvent.Builder
 
putMergeTypes(ContentKey, MergeType) - Method in interface org.projectnessie.versioned.persist.adapter.MetadataRewriteParams.Builder
 

R

randomHash() - Static method in class org.projectnessie.versioned.persist.adapter.spi.DatabaseAdapterUtil
 
readCommitLog(OP_CONTEXT, Hash, Function<Hash, CommitLogEntry>) - Method in class org.projectnessie.versioned.persist.adapter.spi.AbstractDatabaseAdapter
 
readCommitLogHashes(OP_CONTEXT, Hash) - Method in class org.projectnessie.versioned.persist.adapter.spi.AbstractDatabaseAdapter
 
readCommitLogHashesStream(OP_CONTEXT, Hash) - Method in class org.projectnessie.versioned.persist.adapter.spi.AbstractDatabaseAdapter
Like AbstractDatabaseAdapter.readCommitLogStream(AutoCloseable, Hash), but only returns the commit-log-entry hashes, which can be taken from CommitLogEntry.getParents(), thus no need to perform a read-operation against every hash.
readCommitLogStream(OP_CONTEXT, Hash) - Method in class org.projectnessie.versioned.persist.adapter.spi.AbstractDatabaseAdapter
Reads from the commit-log starting at the given commit-log-hash.
readCommitLogStream(OP_CONTEXT, Hash, Function<Hash, CommitLogEntry>) - Method in class org.projectnessie.versioned.persist.adapter.spi.AbstractDatabaseAdapter
 
rebuildKeyList(CommitLogEntry, Function<Hash, CommitLogEntry>) - Method in interface org.projectnessie.versioned.persist.adapter.DatabaseAdapter
Populates the aggregated key-list for the given entry and returns it.
rebuildKeyList(CommitLogEntry, Function<Hash, CommitLogEntry>) - Method in class org.projectnessie.versioned.persist.adapter.spi.AbstractDatabaseAdapter
 
rebuildKeyList(CommitLogEntry, Function<Hash, CommitLogEntry>) - Method in class org.projectnessie.versioned.persist.adapter.spi.TracingDatabaseAdapter
 
ref(NamedRef) - Method in interface org.projectnessie.versioned.persist.adapter.events.ReferenceEvent.Builder
 
referenceAlreadyExists(NamedRef) - Static method in class org.projectnessie.versioned.persist.adapter.spi.DatabaseAdapterUtil
 
ReferenceAssignedEvent - Interface in org.projectnessie.versioned.persist.adapter.events
 
ReferenceAssignedEvent.Builder - Interface in org.projectnessie.versioned.persist.adapter.events
 
ReferenceCreatedEvent - Interface in org.projectnessie.versioned.persist.adapter.events
 
ReferenceCreatedEvent.Builder - Interface in org.projectnessie.versioned.persist.adapter.events
 
ReferencedAndUnreferencedHeads - Interface in org.projectnessie.versioned.persist.adapter
 
ReferenceDeletedEvent - Interface in org.projectnessie.versioned.persist.adapter.events
 
ReferenceDeletedEvent.Builder - Interface in org.projectnessie.versioned.persist.adapter.events
 
ReferenceEvent - Interface in org.projectnessie.versioned.persist.adapter.events
 
ReferenceEvent.Builder<B extends ReferenceEvent.Builder<B,​E>,​E extends ReferenceEvent> - Interface in org.projectnessie.versioned.persist.adapter.events
 
referenceNotFound(String) - Static method in class org.projectnessie.versioned.persist.adapter.spi.DatabaseAdapterUtil
 
referenceNotFound(Hash) - Static method in class org.projectnessie.versioned.persist.adapter.spi.DatabaseAdapterUtil
 
referenceNotFound(NamedRef) - Static method in class org.projectnessie.versioned.persist.adapter.spi.DatabaseAdapterUtil
 
ReferencesUtil - Class in org.projectnessie.versioned.persist.adapter
 
ReferencesUtil.IdentifyHeadsAndForkPoints - Class in org.projectnessie.versioned.persist.adapter
 
RepoDescription - Interface in org.projectnessie.versioned.persist.adapter
Keeps track of the logical state of a Nessie repository.
repoDescUpdateConflictMessage(String) - Static method in class org.projectnessie.versioned.persist.adapter.spi.DatabaseAdapterUtil
 
repoMaintenance(RepoMaintenanceParams) - Method in interface org.projectnessie.versioned.persist.adapter.DatabaseAdapter
 
repoMaintenance(RepoMaintenanceParams) - Method in class org.projectnessie.versioned.persist.adapter.spi.TracingDatabaseAdapter
 
RepoMaintenanceParams - Interface in org.projectnessie.versioned.persist.adapter
 
REPOSITORY_ERASED - org.projectnessie.versioned.persist.adapter.events.OperationType
 
REPOSITORY_INITIALIZED - org.projectnessie.versioned.persist.adapter.events.OperationType
 
RepositoryErasedEvent - Interface in org.projectnessie.versioned.persist.adapter.events
 
RepositoryErasedEvent.Builder - Interface in org.projectnessie.versioned.persist.adapter.events
 
repositoryEvent(Supplier<? extends AdapterEvent.Builder<?, ?>>) - Method in class org.projectnessie.versioned.persist.adapter.spi.AbstractDatabaseAdapter
 
RepositoryInitializedEvent - Interface in org.projectnessie.versioned.persist.adapter.events
 
RepositoryInitializedEvent.Builder - Interface in org.projectnessie.versioned.persist.adapter.events
 
resetBounds() - Method in class org.projectnessie.versioned.persist.adapter.spi.TryLoopState
 
retry() - Method in class org.projectnessie.versioned.persist.adapter.spi.TryLoopState
Called when a database-adapter operation needs to retry due to a concurrent-modification / CAS failure.
retryEndless() - Method in class org.projectnessie.versioned.persist.adapter.spi.TryLoopState
Similar to retry(), but never throws a ReferenceRetryFailureException (unless a preceding call to retry() already raised it).

S

scanAllCommitLogEntries() - Method in interface org.projectnessie.versioned.persist.adapter.DatabaseAdapter
Scan all commit log entries, no guarantees about order nor about the behavior when commits happen while the returned Stream is consumed.
scanAllCommitLogEntries() - Method in class org.projectnessie.versioned.persist.adapter.spi.AbstractDatabaseAdapter
 
scanAllCommitLogEntries() - Method in class org.projectnessie.versioned.persist.adapter.spi.TracingDatabaseAdapter
 
sequenceToTransplant(Iterable<? extends Hash>) - Method in interface org.projectnessie.versioned.persist.adapter.TransplantParams.Builder
 
squashCommits(OP_CONTEXT, long, Hash, List<CommitLogEntry>, Consumer<Hash>, MetadataRewriter<ByteString>, Predicate<ContentKey>, Iterable<Hash>, Consumer<CommitLogEntry>) - Method in class org.projectnessie.versioned.persist.adapter.spi.AbstractDatabaseAdapter
For merge/transplant, applies one squashed commit derived from the given commits onto the target-hash.
STORE_WORKER - Static variable in class org.projectnessie.versioned.persist.adapter.spi.AbstractDatabaseAdapter
 
success(R) - Method in class org.projectnessie.versioned.persist.adapter.spi.TryLoopState
Called when the operation succeeded.

T

tag(String, Number) - Method in class org.projectnessie.versioned.persist.adapter.spi.Traced
 
tag(String, String) - Method in class org.projectnessie.versioned.persist.adapter.spi.Traced
 
TAG_COUNT - Static variable in class org.projectnessie.versioned.persist.adapter.spi.AbstractDatabaseAdapter
 
TAG_HASH - Static variable in class org.projectnessie.versioned.persist.adapter.spi.AbstractDatabaseAdapter
 
takeUntilExcludeLast(Stream<T>, Predicate<T>) - Static method in class org.projectnessie.versioned.persist.adapter.spi.DatabaseAdapterUtil
Lets the given Stream stop when predicate returns true, does not return the "last" element for which the predicate returned true.
takeUntilIncludeLast(Stream<T>, Predicate<T>) - Static method in class org.projectnessie.versioned.persist.adapter.spi.DatabaseAdapterUtil
Lets the given Stream stop when predicate returns true, does return the "last" element for which the predicate returned true.
toBranch(BranchName) - Method in interface org.projectnessie.versioned.persist.adapter.ToBranchParams.Builder
 
ToBranchParams - Interface in org.projectnessie.versioned.persist.adapter
 
ToBranchParams.Builder<B> - Interface in org.projectnessie.versioned.persist.adapter
 
toString() - Method in class org.projectnessie.versioned.persist.adapter.ContentId
 
trace(String) - Static method in class org.projectnessie.versioned.persist.adapter.spi.Traced
 
Traced - Class in org.projectnessie.versioned.persist.adapter.spi
 
TracingDatabaseAdapter - Class in org.projectnessie.versioned.persist.adapter.spi
 
TracingDatabaseAdapter(DatabaseAdapter) - Constructor for class org.projectnessie.versioned.persist.adapter.spi.TracingDatabaseAdapter
 
transplant(TransplantParams) - Method in interface org.projectnessie.versioned.persist.adapter.DatabaseAdapter
Cherry-pick the commits with the hashes sequenceToTransplant from named reference source onto the reference targetBranch.
transplant(TransplantParams) - Method in class org.projectnessie.versioned.persist.adapter.spi.TracingDatabaseAdapter
 
TRANSPLANT - org.projectnessie.versioned.persist.adapter.events.OperationType
 
transplantAttempt(OP_CONTEXT, long, Hash, Consumer<Hash>, Consumer<Hash>, Consumer<CommitLogEntry>, Consumer<CommitLogEntry>, TransplantParams, ImmutableMergeResult.Builder<CommitLogEntry>) - Method in class org.projectnessie.versioned.persist.adapter.spi.AbstractDatabaseAdapter
Logic implementation of a transplant-attempt.
transplantConflictMessage(String, TransplantParams) - Static method in class org.projectnessie.versioned.persist.adapter.spi.DatabaseAdapterUtil
 
TransplantEvent - Interface in org.projectnessie.versioned.persist.adapter.events
 
TransplantEvent.Builder - Interface in org.projectnessie.versioned.persist.adapter.events
 
TransplantParams - Interface in org.projectnessie.versioned.persist.adapter
API helper method to encapsulate parameters for DatabaseAdapter.transplant(TransplantParams).
TransplantParams.Builder - Interface in org.projectnessie.versioned.persist.adapter
 
tryAdvance(Consumer<? super DST>) - Method in class org.projectnessie.versioned.persist.adapter.spi.BatchSpliterator
 
tryLoopCounts(String) - Static method in class org.projectnessie.versioned.persist.adapter.spi.DatabaseAdapterMetrics
 
tryLoopDuration(String) - Static method in class org.projectnessie.versioned.persist.adapter.spi.DatabaseAdapterMetrics
 
tryLoopRetries(String) - Static method in class org.projectnessie.versioned.persist.adapter.spi.DatabaseAdapterMetrics
 
TryLoopState<R> - Class in org.projectnessie.versioned.persist.adapter.spi
Retry-logic for attempts for compare-and-swap-like operations.
tryLoopStateCompletion(Boolean, TryLoopState) - Method in class org.projectnessie.versioned.persist.adapter.spi.AbstractDatabaseAdapter
 

U

updateCommitMetadata(MetadataRewriter<ByteString>) - Method in interface org.projectnessie.versioned.persist.adapter.MetadataRewriteParams.Builder
 
updateMultipleCommits(List<CommitLogEntry>) - Method in interface org.projectnessie.versioned.persist.adapter.DatabaseAdapter
Updates multiple commit-entries, the given commit entries are to be persisted as is.
updateMultipleCommits(List<CommitLogEntry>) - Method in class org.projectnessie.versioned.persist.adapter.spi.TracingDatabaseAdapter
 
updateRepositoryDescription(Function<RepoDescription, RepoDescription>) - Method in interface org.projectnessie.versioned.persist.adapter.DatabaseAdapter
Updates the repository description.
updateRepositoryDescription(Function<RepoDescription, RepoDescription>) - Method in class org.projectnessie.versioned.persist.adapter.spi.TracingDatabaseAdapter
 

V

validateHashExists(OP_CONTEXT, Hash) - Method in class org.projectnessie.versioned.persist.adapter.spi.AbstractDatabaseAdapter
 
validateNamespaces() - Method in interface org.projectnessie.versioned.persist.adapter.DatabaseAdapterConfig
Committing operations by default enforce that all (parent) namespaces exist.
valueOf(String) - Static method in enum org.projectnessie.versioned.persist.adapter.CommitLogEntry.KeyListVariant
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.projectnessie.versioned.persist.adapter.events.OperationType
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.projectnessie.versioned.persist.adapter.CommitLogEntry.KeyListVariant
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.projectnessie.versioned.persist.adapter.events.OperationType
Returns an array containing the constants of this enum type, in the order they are declared.
values(Hash, Collection<ContentKey>, KeyFilterPredicate) - Method in interface org.projectnessie.versioned.persist.adapter.DatabaseAdapter
Retrieve the reference-local and global state for the given keys for the specified commit.
values(Hash, Collection<ContentKey>, KeyFilterPredicate) - Method in class org.projectnessie.versioned.persist.adapter.spi.TracingDatabaseAdapter
 
verifyExpectedHash(Hash, NamedRef, Optional<Hash>) - Static method in class org.projectnessie.versioned.persist.adapter.spi.DatabaseAdapterUtil
Verifies that expectedHead, if present, is equal to referenceCurrentHead.

W

withAssumedWallClockDriftMicros(long) - Method in interface org.projectnessie.versioned.persist.adapter.AdjustableDatabaseAdapterConfig
 
withClock(Clock) - Method in interface org.projectnessie.versioned.persist.adapter.AdjustableDatabaseAdapterConfig
 
withCommitRetries(int) - Method in interface org.projectnessie.versioned.persist.adapter.AdjustableDatabaseAdapterConfig
 
withCommitTimeout(long) - Method in interface org.projectnessie.versioned.persist.adapter.AdjustableDatabaseAdapterConfig
 
withConfig(Config) - Method in class org.projectnessie.versioned.persist.adapter.DatabaseAdapterFactory.Builder
 
withConnector(Connector) - Method in class org.projectnessie.versioned.persist.adapter.DatabaseAdapterFactory.Builder
 
withEventConsumer(AdapterEventConsumer) - Method in class org.projectnessie.versioned.persist.adapter.DatabaseAdapterFactory.Builder
Register the AdapterEventConsumer to receive events from the database adapter.
withKeyListDistance(int) - Method in interface org.projectnessie.versioned.persist.adapter.AdjustableDatabaseAdapterConfig
 
withKeyListEntityPrefetch(int) - Method in interface org.projectnessie.versioned.persist.adapter.AdjustableDatabaseAdapterConfig
 
withKeyListHashLoadFactor(float) - Method in interface org.projectnessie.versioned.persist.adapter.AdjustableDatabaseAdapterConfig
 
withMaxKeyListEntitySize(int) - Method in interface org.projectnessie.versioned.persist.adapter.AdjustableDatabaseAdapterConfig
 
withMaxKeyListSize(int) - Method in interface org.projectnessie.versioned.persist.adapter.AdjustableDatabaseAdapterConfig
 
withParentsPerCommit(int) - Method in interface org.projectnessie.versioned.persist.adapter.AdjustableDatabaseAdapterConfig
 
withParentsPerRefLogEntry(int) - Method in interface org.projectnessie.versioned.persist.adapter.AdjustableDatabaseAdapterConfig
 
withRepositoryId(String) - Method in interface org.projectnessie.versioned.persist.adapter.AdjustableDatabaseAdapterConfig
 
withRetryInitialSleepMillisLower(long) - Method in interface org.projectnessie.versioned.persist.adapter.AdjustableDatabaseAdapterConfig
 
withRetryInitialSleepMillisUpper(long) - Method in interface org.projectnessie.versioned.persist.adapter.AdjustableDatabaseAdapterConfig
 
withRetryMaxSleepMillis(long) - Method in interface org.projectnessie.versioned.persist.adapter.AdjustableDatabaseAdapterConfig
 
withValidateNamespaces(boolean) - Method in interface org.projectnessie.versioned.persist.adapter.AdjustableDatabaseAdapterConfig
 
writeIndividualCommit(OP_CONTEXT, CommitLogEntry) - Method in class org.projectnessie.versioned.persist.adapter.spi.AbstractDatabaseAdapter
Write a new commit-entry, the given commit entry is to be persisted as is.
writeKeyListEntities(OP_CONTEXT, List<KeyListEntity>) - Method in class org.projectnessie.versioned.persist.adapter.spi.AbstractDatabaseAdapter
 
writeMultipleCommits(List<CommitLogEntry>) - Method in interface org.projectnessie.versioned.persist.adapter.DatabaseAdapter
Write multiple new commit-entries, the given commit entries are to be persisted as is.
writeMultipleCommits(List<CommitLogEntry>) - Method in class org.projectnessie.versioned.persist.adapter.spi.TracingDatabaseAdapter
 
writeMultipleCommits(OP_CONTEXT, List<CommitLogEntry>) - Method in class org.projectnessie.versioned.persist.adapter.spi.AbstractDatabaseAdapter
 
A B C D E F G H I K L M N O P R S T U V W 
All Classes All Packages