Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractObjType<T> - Class in org.apache.polaris.persistence.nosql.api.obj
- AbstractObjType(String, String, Class<T>) - Constructor for class org.apache.polaris.persistence.nosql.api.obj.AbstractObjType
- AbstractObjType.AbstractUncachedObjType<T> - Class in org.apache.polaris.persistence.nosql.api.obj
- AbstractUncachedObjType(String, String, Class<T>) - Constructor for class org.apache.polaris.persistence.nosql.api.obj.AbstractObjType.AbstractUncachedObjType
- active() - Method in interface org.apache.polaris.persistence.nosql.api.PersistenceDecorator
-
Flag whether the decorator should be considered.
- asByteBuffer() - Method in class org.apache.polaris.persistence.nosql.api.index.IndexKey
- asLong() - Method in class org.apache.polaris.persistence.nosql.api.index.IndexKey
- asUpdatableIndex(Persistence, IndexValueSerializer<V>) - Method in interface org.apache.polaris.persistence.nosql.api.index.IndexContainer
-
Builds an
UpdatableIndexfrom index information in this container, to eventually build a new index container, using the given element serializer. - attempt(CommitterState<REF_OBJ, RESULT>, Supplier<Optional<REF_OBJ>>) - Method in interface org.apache.polaris.persistence.nosql.api.commit.CommitRetryable
-
Called from committer implementations.
- attributes() - Method in class org.apache.polaris.persistence.nosql.api.obj.GenericObj
- availableFactories() - Static method in class org.apache.polaris.persistence.nosql.api.backend.BackendLoader
B
- Backend - Interface in org.apache.polaris.persistence.nosql.api.backend
-
Provides "low-level" access to the database-specific backend.
- Backend.ObjScanCallback - Interface in org.apache.polaris.persistence.nosql.api.backend
-
Callback interface for
Backend.scanBackend(ReferenceScanCallback, ObjScanCallback). - Backend.ReferenceScanCallback - Interface in org.apache.polaris.persistence.nosql.api.backend
-
Callback interface for
Backend.scanBackend(ReferenceScanCallback, ObjScanCallback). - BackendConfiguration - Interface in org.apache.polaris.persistence.nosql.api.backend
-
Polaris persistence backend configuration.
- BackendConfiguration.BuildableBackendConfiguration - Interface in org.apache.polaris.persistence.nosql.api.backend
- BackendFactory<RUNTIME_CONFIG,
CONFIG_INTERFACE> - Interface in org.apache.polaris.persistence.nosql.api.backend -
Factory responsible to produce
Backendinstances. - BackendLoader - Class in org.apache.polaris.persistence.nosql.api.backend
- BaseCommitObj - Interface in org.apache.polaris.persistence.nosql.api.obj
- BaseCommitObj.Builder<O,
B> - Interface in org.apache.polaris.persistence.nosql.api.obj - batchDeleteObjs(Map<String, Set<PersistId>>) - Method in interface org.apache.polaris.persistence.nosql.api.backend.Backend
-
Bulk object-part deletion, grouped by realm.
- batchDeleteRefs(Map<String, Set<String>>) - Method in interface org.apache.polaris.persistence.nosql.api.backend.Backend
-
Bulk reference deletion, grouped by realm.
- bucketized(Stream<S>, Function<List<S>, List<R>>, int) - Static method in class org.apache.polaris.persistence.nosql.api.StreamUtil
-
Bucketizes the elements of the source stream, passes each bucket through the
bucketFetcherfunction, eventually yielding a stream the elements of all buckets. - bucketizedBulkFetches(Stream<ObjRef>, Class<O>) - Method in interface org.apache.polaris.persistence.nosql.api.Persistence
-
Convenience function to perform
Persistence.fetchMany(Class, ObjRef...)on an arbitrary number of objects to fetch. - bucketizedBulkFetchSize() - Method in interface org.apache.polaris.persistence.nosql.api.PersistenceParams
-
The number of objects to fetch at once via
Persistence.bucketizedBulkFetches(Stream, Class). - bucketizedBulkFetchSize() - Method in interface org.apache.polaris.persistence.nosql.api.PersistenceParams.BuildablePersistenceParams
- build() - Method in interface org.apache.polaris.persistence.nosql.api.cache.CacheConfig.BuildableCacheConfig.Builder
- build() - Method in interface org.apache.polaris.persistence.nosql.api.cache.CacheSizing.Builder
- build() - Method in interface org.apache.polaris.persistence.nosql.api.obj.BaseCommitObj.Builder
- build() - Method in interface org.apache.polaris.persistence.nosql.api.obj.Obj.Builder
- build() - Method in interface org.apache.polaris.persistence.nosql.api.RealmPersistenceFactory.RealmPersistenceBuilder
- buildBackend(RUNTIME_CONFIG) - Method in interface org.apache.polaris.persistence.nosql.api.backend.BackendFactory
- buildConfiguration(CONFIG_INTERFACE) - Method in interface org.apache.polaris.persistence.nosql.api.backend.BackendFactory
- builder() - Static method in interface org.apache.polaris.persistence.nosql.api.backend.BackendConfiguration.BuildableBackendConfiguration
- builder() - Static method in interface org.apache.polaris.persistence.nosql.api.cache.CacheConfig.BuildableCacheConfig
- builder() - Static method in interface org.apache.polaris.persistence.nosql.api.cache.CacheSizing
- builder() - Static method in interface org.apache.polaris.persistence.nosql.api.commit.RetryConfig.BuildableRetryConfig
- builder() - Static method in interface org.apache.polaris.persistence.nosql.api.PersistenceParams.BuildablePersistenceParams
- builder() - Static method in interface org.apache.polaris.persistence.nosql.api.ref.Reference
- buildReadIndex(IndexContainer<V>, IndexValueSerializer<V>) - Method in interface org.apache.polaris.persistence.nosql.api.Persistence
- buildWriteIndex(IndexContainer<V>, IndexValueSerializer<V>) - Method in interface org.apache.polaris.persistence.nosql.api.Persistence
C
- CACHE_UNLIMITED - Static variable in interface org.apache.polaris.persistence.nosql.api.obj.ObjType
- CacheBackend - Interface in org.apache.polaris.persistence.nosql.api.cache
-
Provides the cache primitives for a caching
Persistencefacade, suitable for multiple repositories. - cacheCapacityOvershoot() - Method in interface org.apache.polaris.persistence.nosql.api.cache.CacheSizing
-
Admitted cache-capacity-overshoot fraction, defaults to
0.1(10 %). - cacheCapacityOvershoot(double) - Method in interface org.apache.polaris.persistence.nosql.api.cache.CacheSizing.Builder
- cacheCapacityOvershoot(OptionalDouble) - Method in interface org.apache.polaris.persistence.nosql.api.cache.CacheSizing.Builder
- CacheConfig - Interface in org.apache.polaris.persistence.nosql.api.cache
-
Persistence cache configuration.
- CacheConfig.BuildableCacheConfig - Interface in org.apache.polaris.persistence.nosql.api.cache
- CacheConfig.BuildableCacheConfig.Builder - Interface in org.apache.polaris.persistence.nosql.api.cache
- cachedObjectExpiresAtMicros(Obj, LongSupplier) - Method in class org.apache.polaris.persistence.nosql.api.obj.AbstractObjType.AbstractUncachedObjType
- cachedObjectExpiresAtMicros(Obj, LongSupplier) - Method in interface org.apache.polaris.persistence.nosql.api.obj.ObjType
-
Allows an object type to define how long a particular object instance can be cached.
- cacheInvalidationEvictObj(String, ObjRef) - Static method in interface org.apache.polaris.persistence.nosql.api.cache.CacheInvalidations.CacheInvalidationEvictObj
- cacheInvalidationEvictReference(String, String) - Static method in interface org.apache.polaris.persistence.nosql.api.cache.CacheInvalidations.CacheInvalidationEvictReference
- cacheInvalidations(List<CacheInvalidations.CacheInvalidation>) - Static method in interface org.apache.polaris.persistence.nosql.api.cache.CacheInvalidations
- CacheInvalidations - Interface in org.apache.polaris.persistence.nosql.api.cache
- CacheInvalidations.CacheInvalidation - Interface in org.apache.polaris.persistence.nosql.api.cache
- CacheInvalidations.CacheInvalidationEvictObj - Interface in org.apache.polaris.persistence.nosql.api.cache
- CacheInvalidations.CacheInvalidationEvictReference - Interface in org.apache.polaris.persistence.nosql.api.cache
- CacheSizing - Interface in org.apache.polaris.persistence.nosql.api.cache
-
Parameters to size the persistence cache.
- CacheSizing.Builder - Interface in org.apache.polaris.persistence.nosql.api.cache
- calculateEffectiveSize(long, double) - Method in interface org.apache.polaris.persistence.nosql.api.cache.CacheSizing
- call(String, String, long) - Method in interface org.apache.polaris.persistence.nosql.api.backend.Backend.ReferenceScanCallback
-
Called for each discovered reference and object-part ("item").
- call(String, String, PersistId, long) - Method in interface org.apache.polaris.persistence.nosql.api.backend.Backend.ObjScanCallback
-
Called for each discovered reference and object-part ("item").
- check() - Method in interface org.apache.polaris.persistence.nosql.api.backend.PersistId
- check() - Method in interface org.apache.polaris.persistence.nosql.api.cache.CacheConfig.BuildableCacheConfig
- check() - Method in interface org.apache.polaris.persistence.nosql.api.cache.CacheSizing
- clear(String) - Method in interface org.apache.polaris.persistence.nosql.api.cache.CacheBackend
- clockNanos() - Method in interface org.apache.polaris.persistence.nosql.api.cache.CacheConfig
- clockNanos(LongSupplier) - Method in interface org.apache.polaris.persistence.nosql.api.cache.CacheConfig.BuildableCacheConfig.Builder
- commit(CommitRetryable<REF_OBJ, RESULT>) - Method in interface org.apache.polaris.persistence.nosql.api.commit.Committer
-
Perform an atomic change.
- CommitException - Exception Class in org.apache.polaris.persistence.nosql.api.commit
- CommitException(String) - Constructor for exception class org.apache.polaris.persistence.nosql.api.commit.CommitException
- CommitException(String, Throwable) - Constructor for exception class org.apache.polaris.persistence.nosql.api.commit.CommitException
- commitLog(String, OptionalLong, Class<C>) - Method in interface org.apache.polaris.persistence.nosql.api.commit.Commits
-
Retrieves the commit log in the natural, chronologically reverse order - most recent commit first.
- commitLogReversed(String, long, Class<C>) - Method in interface org.apache.polaris.persistence.nosql.api.commit.Commits
-
Retrieves the commit log in chronological order starting at the given offset.
- commitResult(RESULT, B, Optional<REF_OBJ>) - Method in interface org.apache.polaris.persistence.nosql.api.commit.CommitterState
- CommitRetryable<REF_OBJ,
RESULT> - Interface in org.apache.polaris.persistence.nosql.api.commit - commitRuntimeException(CommitRetryable<REF_OBJ, RESULT>) - Method in interface org.apache.polaris.persistence.nosql.api.commit.Committer
-
Same as
Committer.commit(CommitRetryable), but wraps the checked exceptions in aRuntimeException. - commits() - Method in interface org.apache.polaris.persistence.nosql.api.Persistence
- Commits - Interface in org.apache.polaris.persistence.nosql.api.commit
-
Provides iterator-based access to the history of a named reference.
- Committer<REF_OBJ,
RESULT> - Interface in org.apache.polaris.persistence.nosql.api.commit -
A
Committerperforms an atomic change against a named reference. - CommitterState<REF_OBJ,
RESULT> - Interface in org.apache.polaris.persistence.nosql.api.commit - compareTo(IndexKey) - Method in class org.apache.polaris.persistence.nosql.api.index.IndexKey
- conditionalDelete(String, PersistId, String) - Method in interface org.apache.polaris.persistence.nosql.api.backend.Backend
- conditionalDelete(T, Class<T>) - Method in interface org.apache.polaris.persistence.nosql.api.Persistence
-
Delete an object with strong consistent guarantees.
- conditionalInsert(String, String, PersistId, long, String, byte[]) - Method in interface org.apache.polaris.persistence.nosql.api.backend.Backend
- conditionalInsert(T, Class<T>) - Method in interface org.apache.polaris.persistence.nosql.api.Persistence
-
Persist
objwith strong consistent guarantees. - conditionalUpdate(String, String, PersistId, long, String, String, byte[]) - Method in interface org.apache.polaris.persistence.nosql.api.backend.Backend
- conditionalUpdate(T, T, Class<T>) - Method in interface org.apache.polaris.persistence.nosql.api.Persistence
-
Update an object with strong consistent guarantees.
- configurationInterface() - Method in interface org.apache.polaris.persistence.nosql.api.backend.BackendFactory
- contains(IndexKey) - Method in interface org.apache.polaris.persistence.nosql.api.index.Index
-
Check whether the index contains the given key and whether its value is not
null. - contextualReader(ObjectMapper, ObjType, long, int, String, long) - Static method in class org.apache.polaris.persistence.nosql.api.obj.ObjSerializationHelper
-
Returns an
ObjectReaderfor the given targetObjTypeusing the key "polaris.persistence.ObjType", with the givenlong idinjectable under the key "polaris.persistence.ObjId", version token using the key "polaris.persistence.ObjVersion",createdAtMicrostimestamp using the key "polaris.persistence.ObjCreatedAt",numPartsusing the key "polaris.persistence.ObjNumParts". - createCommitter(String, Class<REF_OBJ>, Class<RESULT>) - Method in interface org.apache.polaris.persistence.nosql.api.Persistence
- createdAtMicros() - Method in record class org.apache.polaris.persistence.nosql.api.backend.FetchedObj
-
Returns the value of the
createdAtMicrosrecord component. - createdAtMicros() - Method in record class org.apache.polaris.persistence.nosql.api.backend.WriteObj
-
Returns the value of the
createdAtMicrosrecord component. - createdAtMicros() - Method in class org.apache.polaris.persistence.nosql.api.obj.GenericObj
- createdAtMicros() - Method in interface org.apache.polaris.persistence.nosql.api.obj.Obj
-
Contains the timestamp in microseconds since (Unix) epoch when the object was last written, only intended for repository cleanup mechanisms.
- createdAtMicros() - Method in interface org.apache.polaris.persistence.nosql.api.ref.Reference
-
Timestamp in microseconds since (Unix) epoch when the reference was created in the database.
- createReference(String, Optional<ObjRef>) - Method in interface org.apache.polaris.persistence.nosql.api.Persistence
-
Creates the reference with the given name and pointer value.
- createReference(String, Reference) - Method in interface org.apache.polaris.persistence.nosql.api.backend.Backend
- createReferences(String, List<Reference>) - Method in interface org.apache.polaris.persistence.nosql.api.backend.Backend
- createReferenceSilent(String) - Method in interface org.apache.polaris.persistence.nosql.api.Persistence
-
Convenience function to create a reference with an empty pointer, if it does not already exist.
- createReferencesSilent(Set<String>) - Method in interface org.apache.polaris.persistence.nosql.api.Persistence
-
Ensures that multiple references exist, leveraging bulk operations, if possible.
- currentInstant() - Method in interface org.apache.polaris.persistence.nosql.api.Persistence
-
Convenience for
monotonicClock().MonotonicClock.currentInstant(). - currentTimeMicros() - Method in interface org.apache.polaris.persistence.nosql.api.Persistence
-
Convenience for
monotonicClock().MonotonicClock.currentTimeMicros(). - currentTimeMillis() - Method in interface org.apache.polaris.persistence.nosql.api.Persistence
-
Convenience for
monotonicClock().MonotonicClock.currentTimeMillis().
D
- decorate(Persistence) - Method in interface org.apache.polaris.persistence.nosql.api.PersistenceDecorator
- DEFAULT_BUCKETIZED_BULK_FETCH_SIZE - Static variable in interface org.apache.polaris.persistence.nosql.api.PersistenceParams
- DEFAULT_BUCKETIZED_BULK_FETCH_SIZE_STRING - Static variable in interface org.apache.polaris.persistence.nosql.api.PersistenceParams
- DEFAULT_CACHE_CAPACITY_OVERSHOOT - Static variable in interface org.apache.polaris.persistence.nosql.api.cache.CacheSizing
- DEFAULT_CACHE_CAPACITY_OVERSHOOT_STRING - Static variable in interface org.apache.polaris.persistence.nosql.api.cache.CacheSizing
- DEFAULT_ENABLE - Static variable in interface org.apache.polaris.persistence.nosql.api.cache.CacheConfig
- DEFAULT_HEAP_FRACTION - Static variable in interface org.apache.polaris.persistence.nosql.api.cache.CacheSizing
- DEFAULT_HEAP_SIZE_KEEP_FREE - Static variable in interface org.apache.polaris.persistence.nosql.api.cache.CacheSizing
- DEFAULT_HEAP_SIZE_KEEP_FREE_STRING - Static variable in interface org.apache.polaris.persistence.nosql.api.cache.CacheSizing
- DEFAULT_MAX_EMBEDDED_INDEX_SIZE - Static variable in interface org.apache.polaris.persistence.nosql.api.PersistenceParams
- DEFAULT_MAX_EMBEDDED_INDEX_SIZE_STRING - Static variable in interface org.apache.polaris.persistence.nosql.api.PersistenceParams
- DEFAULT_MAX_INDEX_STRIPE_SIZE - Static variable in interface org.apache.polaris.persistence.nosql.api.PersistenceParams
- DEFAULT_MAX_INDEX_STRIPE_SIZE_STRING - Static variable in interface org.apache.polaris.persistence.nosql.api.PersistenceParams
- DEFAULT_MAX_INDEX_STRIPES - Static variable in interface org.apache.polaris.persistence.nosql.api.PersistenceParams
- DEFAULT_MAX_INDEX_STRIPES_STRING - Static variable in interface org.apache.polaris.persistence.nosql.api.PersistenceParams
- DEFAULT_MAX_SERIALIZED_VALUE_SIZE - Static variable in interface org.apache.polaris.persistence.nosql.api.PersistenceParams
- DEFAULT_MAX_SERIALIZED_VALUE_SIZE_STRING - Static variable in interface org.apache.polaris.persistence.nosql.api.PersistenceParams
- DEFAULT_MIN_SIZE - Static variable in interface org.apache.polaris.persistence.nosql.api.cache.CacheSizing
- DEFAULT_MIN_SIZE_STRING - Static variable in interface org.apache.polaris.persistence.nosql.api.cache.CacheSizing
- DEFAULT_REFERENCE_PREVIOUS_HEAD_COUNT - Static variable in interface org.apache.polaris.persistence.nosql.api.PersistenceParams
- DEFAULT_REFERENCE_PREVIOUS_HEAD_COUNT_STRING - Static variable in interface org.apache.polaris.persistence.nosql.api.PersistenceParams
- DEFAULT_REFERENCE_TTL - Static variable in interface org.apache.polaris.persistence.nosql.api.cache.CacheConfig
- DEFAULT_REFERENCE_TTL_STRING - Static variable in interface org.apache.polaris.persistence.nosql.api.cache.CacheConfig
- DEFAULT_RETRIES - Static variable in interface org.apache.polaris.persistence.nosql.api.commit.RetryConfig
- DEFAULT_RETRY_CONFIG - Static variable in interface org.apache.polaris.persistence.nosql.api.commit.RetryConfig
- DEFAULT_RETRY_INITIAL_SLEEP_LOWER - Static variable in interface org.apache.polaris.persistence.nosql.api.commit.RetryConfig
- DEFAULT_RETRY_INITIAL_SLEEP_UPPER - Static variable in interface org.apache.polaris.persistence.nosql.api.commit.RetryConfig
- DEFAULT_RETRY_MAX_SLEEP - Static variable in interface org.apache.polaris.persistence.nosql.api.commit.RetryConfig
- DEFAULT_TIMEOUT - Static variable in interface org.apache.polaris.persistence.nosql.api.commit.RetryConfig
- delete(String, Set<PersistId>) - Method in interface org.apache.polaris.persistence.nosql.api.backend.Backend
- delete(ObjRef) - Method in interface org.apache.polaris.persistence.nosql.api.Persistence
-
Unconditionally delete the object with the given id.
- deleteMany(ObjRef...) - Method in interface org.apache.polaris.persistence.nosql.api.Persistence
-
Unconditionally delete the objects with the given ids.
- deleteRealms(Set<String>) - Method in interface org.apache.polaris.persistence.nosql.api.backend.Backend
-
Delete the given realms.
- deserialize(JsonParser, DeserializationContext) - Method in class org.apache.polaris.persistence.nosql.api.backend.PersistId.PersistIdDeserializer
- deserialize(JsonParser, DeserializationContext) - Method in class org.apache.polaris.persistence.nosql.api.index.IndexKey.IndexKeyDeserializer
- deserialize(JsonParser, DeserializationContext) - Method in class org.apache.polaris.persistence.nosql.api.obj.ObjRef.ObjRefDeserializer
- deserialize(JsonParser, DeserializationContext) - Method in class org.apache.polaris.persistence.nosql.api.obj.ObjType.ObjTypeDeserializer
- deserialize(ByteBuffer) - Method in interface org.apache.polaris.persistence.nosql.api.index.IndexValueSerializer
-
Deserialize a value from
buffer. - deserializeKey(ByteBuffer) - Static method in class org.apache.polaris.persistence.nosql.api.index.IndexKey
- directParent() - Method in interface org.apache.polaris.persistence.nosql.api.obj.BaseCommitObj
- DistributedCacheInvalidation - Interface in org.apache.polaris.persistence.nosql.api.cache
- DistributedCacheInvalidation.Receiver - Interface in org.apache.polaris.persistence.nosql.api.cache
- DistributedCacheInvalidation.Sender - Interface in org.apache.polaris.persistence.nosql.api.cache
E
- embedded() - Method in interface org.apache.polaris.persistence.nosql.api.index.IndexContainer
-
DO NOT ACCESS DIRECTLY, this is the serialized representation of the "embedded" index.
- empty() - Static method in interface org.apache.polaris.persistence.nosql.api.index.Index
-
Retrieves a read-only, empty index.
- enable() - Method in interface org.apache.polaris.persistence.nosql.api.cache.CacheConfig
-
Optionally disable the cache, the default value is
true, meaning that the cache is enabled by default. - equals(Object) - Method in record class org.apache.polaris.persistence.nosql.api.backend.FetchedObj
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.apache.polaris.persistence.nosql.api.backend.WriteObj
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class org.apache.polaris.persistence.nosql.api.index.IndexKey
- equals(Object) - Method in class org.apache.polaris.persistence.nosql.api.obj.AbstractObjType
- estimatedSize() - Method in interface org.apache.polaris.persistence.nosql.api.cache.CacheBackend
- evictObj(String, ObjRef) - Method in interface org.apache.polaris.persistence.nosql.api.cache.DistributedCacheInvalidation
- evictReference(String, String) - Method in interface org.apache.polaris.persistence.nosql.api.cache.DistributedCacheInvalidation
F
- fairRetries() - Method in interface org.apache.polaris.persistence.nosql.api.commit.RetryConfig.BuildableRetryConfig
- fairRetries() - Method in interface org.apache.polaris.persistence.nosql.api.commit.RetryConfig
-
Without mitigation, very frequently started retry-loops running against highly contended resources can result in some retry-loops invocations never making any progress and eventually time out.
- FairRetriesType - Enum Class in org.apache.polaris.persistence.nosql.api.commit
- fetch(String, Set<PersistId>) - Method in interface org.apache.polaris.persistence.nosql.api.backend.Backend
- fetch(ObjRef, Class<T>) - Method in interface org.apache.polaris.persistence.nosql.api.Persistence
-
Fetch the objects for the given object Ids.
- FetchedObj - Record Class in org.apache.polaris.persistence.nosql.api.backend
- FetchedObj(String, long, String, byte[], int) - Constructor for record class org.apache.polaris.persistence.nosql.api.backend.FetchedObj
-
Creates an instance of a
FetchedObjrecord class. - fetchMany(Class<T>, ObjRef...) - Method in interface org.apache.polaris.persistence.nosql.api.Persistence
-
Fetch multiple objects for the given object Ids.
- fetchOrCreateReference(String, Supplier<Optional<ObjRef>>) - Method in interface org.apache.polaris.persistence.nosql.api.Persistence
-
Convenience function to return an existing reference or to create the reference with a supplied pointer, if it does not already exist.
- fetchReference(String) - Method in interface org.apache.polaris.persistence.nosql.api.Persistence
-
Fetch the reference with the given name, leveraging the reference cache.
- fetchReference(String, String) - Method in interface org.apache.polaris.persistence.nosql.api.backend.Backend
- fetchReferenceForUpdate(String) - Method in interface org.apache.polaris.persistence.nosql.api.Persistence
-
Fetches the reference with the given name, but will always fetch the most recent state from the backend database.
- fetchReferenceHead(String, Class<T>) - Method in interface org.apache.polaris.persistence.nosql.api.Persistence
-
Convenience function to return the
Objas pointed to from the reference with the given name. - findFactory(Predicate<BackendFactory<?, ?>>) - Static method in class org.apache.polaris.persistence.nosql.api.backend.BackendLoader
- findFactoryByName(String) - Static method in class org.apache.polaris.persistence.nosql.api.backend.BackendLoader
- firstKey() - Method in interface org.apache.polaris.persistence.nosql.api.index.IndexStripe
- fixedSize() - Method in interface org.apache.polaris.persistence.nosql.api.cache.CacheSizing
-
Capacity of the persistence cache in MiB.
- fixedSize(Optional<? extends MemorySize>) - Method in interface org.apache.polaris.persistence.nosql.api.cache.CacheSizing.Builder
- fixedSize(MemorySize) - Method in interface org.apache.polaris.persistence.nosql.api.cache.CacheSizing.Builder
- fractionAdjustment() - Method in interface org.apache.polaris.persistence.nosql.api.cache.CacheSizing
-
When using fractional cache sizing, this amount in MB of the heap will always be "kept free" when calculating the cache size.
- fractionAdjustment(Optional<? extends MemorySize>) - Method in interface org.apache.polaris.persistence.nosql.api.cache.CacheSizing.Builder
- fractionAdjustment(MemorySize) - Method in interface org.apache.polaris.persistence.nosql.api.cache.CacheSizing.Builder
- fractionMinSize() - Method in interface org.apache.polaris.persistence.nosql.api.cache.CacheSizing
-
When using fractional cache sizing, this amount in MB is the minimum cache size.
- fractionMinSize(Optional<? extends MemorySize>) - Method in interface org.apache.polaris.persistence.nosql.api.cache.CacheSizing.Builder
- fractionMinSize(MemorySize) - Method in interface org.apache.polaris.persistence.nosql.api.cache.CacheSizing.Builder
- fractionOfMaxHeapSize() - Method in interface org.apache.polaris.persistence.nosql.api.cache.CacheSizing
-
Fraction of Java’s max heap size to use for cache objects, set to 0 to disable.
- fractionOfMaxHeapSize(double) - Method in interface org.apache.polaris.persistence.nosql.api.cache.CacheSizing.Builder
- fractionOfMaxHeapSize(OptionalDouble) - Method in interface org.apache.polaris.persistence.nosql.api.cache.CacheSizing.Builder
- fromByteBuffer(ByteBuffer) - Static method in interface org.apache.polaris.persistence.nosql.api.obj.ObjRef
- fromBytes(byte[]) - Static method in interface org.apache.polaris.persistence.nosql.api.backend.PersistId
- fromBytes(byte[]) - Static method in interface org.apache.polaris.persistence.nosql.api.obj.ObjRef
G
- generateId() - Method in interface org.apache.polaris.persistence.nosql.api.Persistence
- generateObjId(ObjType) - Method in interface org.apache.polaris.persistence.nosql.api.Persistence
- GenericObj - Class in org.apache.polaris.persistence.nosql.api.obj
- GenericObj() - Constructor for class org.apache.polaris.persistence.nosql.api.obj.GenericObj
- get(String, ObjRef) - Method in interface org.apache.polaris.persistence.nosql.api.cache.CacheBackend
- get(IndexKey) - Method in interface org.apache.polaris.persistence.nosql.api.index.Index
-
Retrieve the value for a key.
- getImmediate(ObjRef, Class<T>) - Method in interface org.apache.polaris.persistence.nosql.api.Persistence
-
If the persistence implementation is caching, this function returns the object with the ID from the cache, but does not consult the backend.
- getReference(String, String) - Method in interface org.apache.polaris.persistence.nosql.api.cache.CacheBackend
- getRetry() - Method in exception class org.apache.polaris.persistence.nosql.api.commit.RetryTimeoutException
- getTimeNanos() - Method in exception class org.apache.polaris.persistence.nosql.api.commit.RetryTimeoutException
- getWrittenById(ObjRef, Class<C>) - Method in interface org.apache.polaris.persistence.nosql.api.commit.UpdateState
-
Get an already present object by its
ObjRef. - getWrittenByKey(Object) - Method in interface org.apache.polaris.persistence.nosql.api.commit.UpdateState
-
Get an already present object by a use-case defined key.
H
- hashCode() - Method in record class org.apache.polaris.persistence.nosql.api.backend.FetchedObj
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.apache.polaris.persistence.nosql.api.backend.WriteObj
-
Returns a hash code value for this object.
- hashCode() - Method in class org.apache.polaris.persistence.nosql.api.index.IndexKey
- hashCode() - Method in class org.apache.polaris.persistence.nosql.api.obj.AbstractObjType
I
- id() - Method in interface org.apache.polaris.persistence.nosql.api.backend.PersistId
- id() - Method in record class org.apache.polaris.persistence.nosql.api.backend.WriteObj
-
Returns the value of the
idrecord component. - id() - Method in interface org.apache.polaris.persistence.nosql.api.cache.CacheInvalidations.CacheInvalidationEvictObj
- id() - Method in class org.apache.polaris.persistence.nosql.api.obj.AbstractObjType
- id() - Method in class org.apache.polaris.persistence.nosql.api.obj.GenericObj
- id() - Method in interface org.apache.polaris.persistence.nosql.api.obj.Obj
- id() - Method in interface org.apache.polaris.persistence.nosql.api.obj.ObjRef
-
Numeric ID of this object reference.
- id() - Method in interface org.apache.polaris.persistence.nosql.api.obj.ObjType
-
Must be unique among all registered object types.
- id(long) - Method in interface org.apache.polaris.persistence.nosql.api.obj.BaseCommitObj.Builder
- id(long) - Method in interface org.apache.polaris.persistence.nosql.api.obj.Obj.Builder
- idGenerator() - Method in interface org.apache.polaris.persistence.nosql.api.Persistence
- Index<V> - Interface in org.apache.polaris.persistence.nosql.api.index
-
General interface for all store indexes.
- INDEX_KEY_SERIALIZER - Static variable in class org.apache.polaris.persistence.nosql.api.index.IndexKey
- IndexContainer<V> - Interface in org.apache.polaris.persistence.nosql.api.index
-
Container to hold an index, to be used as an attribute in
Objs, see the rules below which functions to use. - indexForRead(Persistence, IndexValueSerializer<V>) - Method in interface org.apache.polaris.persistence.nosql.api.index.IndexContainer
-
Returns a read-only representation of the whole index from index information in this container.
- IndexKey - Class in org.apache.polaris.persistence.nosql.api.index
-
Represents a key in an
Index. - IndexKey.IndexKeyDeserializer - Class in org.apache.polaris.persistence.nosql.api.index
- IndexKey.IndexKeySerializer - Class in org.apache.polaris.persistence.nosql.api.index
- IndexKeyDeserializer() - Constructor for class org.apache.polaris.persistence.nosql.api.index.IndexKey.IndexKeyDeserializer
- IndexKeySerializer() - Constructor for class org.apache.polaris.persistence.nosql.api.index.IndexKey.IndexKeySerializer
- indexStripe(IndexKey, IndexKey, ObjRef) - Static method in interface org.apache.polaris.persistence.nosql.api.index.IndexStripe
- IndexStripe - Interface in org.apache.polaris.persistence.nosql.api.index
-
Describes a spilled-out index stripe, do not use/interpret this type.
- IndexValueSerializer<V> - Interface in org.apache.polaris.persistence.nosql.api.index
- initialSleepLower() - Method in interface org.apache.polaris.persistence.nosql.api.commit.RetryConfig.BuildableRetryConfig
- initialSleepLower() - Method in interface org.apache.polaris.persistence.nosql.api.commit.RetryConfig
-
Initial lower bound for a retry-sleep duration for the retry-loop, defaults to
RetryConfig.DEFAULT_RETRY_INITIAL_SLEEP_LOWER. - initialSleepUpper() - Method in interface org.apache.polaris.persistence.nosql.api.commit.RetryConfig.BuildableRetryConfig
- initialSleepUpper() - Method in interface org.apache.polaris.persistence.nosql.api.commit.RetryConfig
-
Initial upper bound for a retry-sleep duration for the retry-loop, defaults to
RetryConfig.DEFAULT_RETRY_INITIAL_SLEEP_UPPER. - INVALID_REFERENCE_NEGATIVE_TTL - Static variable in interface org.apache.polaris.persistence.nosql.api.cache.CacheConfig
- INVALID_REFERENCE_TTL - Static variable in interface org.apache.polaris.persistence.nosql.api.cache.CacheConfig
- invalidations() - Method in interface org.apache.polaris.persistence.nosql.api.cache.CacheInvalidations
- iterator() - Method in interface org.apache.polaris.persistence.nosql.api.index.Index
-
Convenience for
iterator(null, null, false). - iterator(IndexKey, IndexKey, boolean) - Method in interface org.apache.polaris.persistence.nosql.api.index.Index
-
Iterate over the elements in this index, with optional lower/higher or prefix restrictions.
K
- key(long) - Static method in class org.apache.polaris.persistence.nosql.api.index.IndexKey
- key(String) - Static method in class org.apache.polaris.persistence.nosql.api.index.IndexKey
- key(ByteBuffer) - Static method in class org.apache.polaris.persistence.nosql.api.index.IndexKey
L
- lastKey() - Method in interface org.apache.polaris.persistence.nosql.api.index.IndexStripe
- Literal() - Constructor for class org.apache.polaris.persistence.nosql.api.StartupPersistence.Literal
- Literal() - Constructor for class org.apache.polaris.persistence.nosql.api.SystemPersistence.Literal
M
- MAX_LENGTH - Static variable in class org.apache.polaris.persistence.nosql.api.index.IndexKey
-
Maximum number of characters in a key.
- maxEmbeddedIndexSize() - Method in interface org.apache.polaris.persistence.nosql.api.PersistenceParams.BuildablePersistenceParams
- maxEmbeddedIndexSize() - Method in interface org.apache.polaris.persistence.nosql.api.PersistenceParams
- maxIndexStripes() - Method in interface org.apache.polaris.persistence.nosql.api.PersistenceParams.BuildablePersistenceParams
- maxIndexStripes() - Method in interface org.apache.polaris.persistence.nosql.api.PersistenceParams
- maxIndexStripeSize() - Method in interface org.apache.polaris.persistence.nosql.api.PersistenceParams.BuildablePersistenceParams
- maxIndexStripeSize() - Method in interface org.apache.polaris.persistence.nosql.api.PersistenceParams
- maxSerializedValueSize() - Method in interface org.apache.polaris.persistence.nosql.api.Persistence
-
Defines the maximum allowed serialized object size.
- maxSerializedValueSize() - Method in interface org.apache.polaris.persistence.nosql.api.PersistenceParams.BuildablePersistenceParams
- maxSerializedValueSize() - Method in interface org.apache.polaris.persistence.nosql.api.PersistenceParams
-
The maximum size of a serialized value in a persisted database row.
- maxSleep() - Method in interface org.apache.polaris.persistence.nosql.api.commit.RetryConfig.BuildableRetryConfig
- maxSleep() - Method in interface org.apache.polaris.persistence.nosql.api.commit.RetryConfig
-
Maximum retry-sleep duration, defaults to
RetryConfig.DEFAULT_RETRY_MAX_SLEEP. - ModifiableIndex<V> - Interface in org.apache.polaris.persistence.nosql.api.index
-
Represents an
Indexthat can be modified using put and remove functions. - monotonicClock() - Method in interface org.apache.polaris.persistence.nosql.api.Persistence
N
- name() - Method in interface org.apache.polaris.persistence.nosql.api.backend.BackendFactory
-
Human-readable name.
- name() - Method in class org.apache.polaris.persistence.nosql.api.obj.AbstractObjType
- name() - Method in interface org.apache.polaris.persistence.nosql.api.obj.ObjType
-
Human-readable name.
- name() - Method in interface org.apache.polaris.persistence.nosql.api.ref.Reference
- negativeCacheExpiresAtMicros(LongSupplier) - Method in interface org.apache.polaris.persistence.nosql.api.obj.ObjType
-
Allows an object type to define how long the fact of a non-existing object instance can be cached.
- newBuilder() - Method in interface org.apache.polaris.persistence.nosql.api.RealmPersistenceFactory
-
Return a new builder for per-realm persistence.
- newPersistence(Function<Backend, Backend>, PersistenceParams, String, MonotonicClock, IdGenerator) - Method in interface org.apache.polaris.persistence.nosql.api.backend.Backend
- newUpdatableIndex(Persistence, IndexValueSerializer<V>) - Static method in interface org.apache.polaris.persistence.nosql.api.index.IndexContainer
-
Creates a new
UpdatableIndexto eventually build a new index container, using the given element serializer. - noCommit() - Method in interface org.apache.polaris.persistence.nosql.api.commit.CommitterState
- noCommit(RESULT) - Method in interface org.apache.polaris.persistence.nosql.api.commit.CommitterState
- NON_EXISTENT_REFERENCE_SENTINEL - Static variable in interface org.apache.polaris.persistence.nosql.api.cache.CacheBackend
-
Special sentinel reference instance to indicate that a reference object has been marked as "not found".
- nonGenericObjTypes() - Static method in class org.apache.polaris.persistence.nosql.api.obj.ObjTypes
- NOT_CACHED - Static variable in interface org.apache.polaris.persistence.nosql.api.obj.ObjType
- NOT_FOUND_OBJ_SENTINEL - Static variable in interface org.apache.polaris.persistence.nosql.api.cache.CacheBackend
-
Special sentinel object instance to indicate that an object has been marked as "not found".
- numParts() - Method in class org.apache.polaris.persistence.nosql.api.obj.GenericObj
- numParts() - Method in interface org.apache.polaris.persistence.nosql.api.obj.Obj
-
Indicates the number of parts of which the object is split in the backing database.
- numParts() - Method in interface org.apache.polaris.persistence.nosql.api.obj.ObjRef
-
Indicates the number of parts of which the object is split in the backing database.
- numParts(int) - Method in interface org.apache.polaris.persistence.nosql.api.obj.Obj.Builder
O
- Obj - Interface in org.apache.polaris.persistence.nosql.api.obj
- OBJ_REF_SERIALIZER - Static variable in interface org.apache.polaris.persistence.nosql.api.obj.ObjRef
- Obj.Builder<O,
B> - Interface in org.apache.polaris.persistence.nosql.api.obj - Obj.ObjSerializeAll - Class in org.apache.polaris.persistence.nosql.api.obj
- Obj.StorageView - Class in org.apache.polaris.persistence.nosql.api.obj
-
The Jackson view used when
Objs are serialized to be persisted. - objAge(Obj) - Method in interface org.apache.polaris.persistence.nosql.api.Persistence
- objRef(String, long) - Static method in interface org.apache.polaris.persistence.nosql.api.obj.ObjRef
- objRef(String, long, int) - Static method in interface org.apache.polaris.persistence.nosql.api.obj.ObjRef
- objRef(Obj) - Static method in interface org.apache.polaris.persistence.nosql.api.obj.ObjRef
- objRef(ObjType, long) - Static method in interface org.apache.polaris.persistence.nosql.api.obj.ObjRef
- objRef(ObjType, long, int) - Static method in interface org.apache.polaris.persistence.nosql.api.obj.ObjRef
- ObjRef - Interface in org.apache.polaris.persistence.nosql.api.obj
-
Describes a reference to an object.
- ObjRef.ObjRefDeserializer - Class in org.apache.polaris.persistence.nosql.api.obj
- ObjRef.ObjRefSerializer - Class in org.apache.polaris.persistence.nosql.api.obj
- ObjRefDeserializer() - Constructor for class org.apache.polaris.persistence.nosql.api.obj.ObjRef.ObjRefDeserializer
- ObjRefSerializer() - Constructor for class org.apache.polaris.persistence.nosql.api.obj.ObjRef.ObjRefSerializer
- ObjSerializationHelper - Class in org.apache.polaris.persistence.nosql.api.obj
- ObjType - Interface in org.apache.polaris.persistence.nosql.api.obj
- ObjType.ObjTypeDeserializer - Class in org.apache.polaris.persistence.nosql.api.obj
- ObjType.ObjTypeSerializer - Class in org.apache.polaris.persistence.nosql.api.obj
- objTypeById(String) - Static method in class org.apache.polaris.persistence.nosql.api.obj.ObjTypes
- ObjTypeDeserializer() - Constructor for class org.apache.polaris.persistence.nosql.api.obj.ObjType.ObjTypeDeserializer
- ObjTypes - Class in org.apache.polaris.persistence.nosql.api.obj
- ObjTypeSerializer() - Constructor for class org.apache.polaris.persistence.nosql.api.obj.ObjType.ObjTypeSerializer
- org.apache.polaris.persistence.nosql.api - package org.apache.polaris.persistence.nosql.api
- org.apache.polaris.persistence.nosql.api.backend - package org.apache.polaris.persistence.nosql.api.backend
- org.apache.polaris.persistence.nosql.api.cache - package org.apache.polaris.persistence.nosql.api.cache
- org.apache.polaris.persistence.nosql.api.commit - package org.apache.polaris.persistence.nosql.api.commit
- org.apache.polaris.persistence.nosql.api.exceptions - package org.apache.polaris.persistence.nosql.api.exceptions
- org.apache.polaris.persistence.nosql.api.index - package org.apache.polaris.persistence.nosql.api.index
- org.apache.polaris.persistence.nosql.api.obj - package org.apache.polaris.persistence.nosql.api.obj
- org.apache.polaris.persistence.nosql.api.ref - package org.apache.polaris.persistence.nosql.api.ref
P
- params() - Method in interface org.apache.polaris.persistence.nosql.api.Persistence
- part() - Method in interface org.apache.polaris.persistence.nosql.api.backend.PersistId
- part() - Method in record class org.apache.polaris.persistence.nosql.api.backend.WriteObj
-
Returns the value of the
partrecord component. - partNum() - Method in record class org.apache.polaris.persistence.nosql.api.backend.WriteObj
-
Returns the value of the
partNumrecord component. - persistence() - Method in interface org.apache.polaris.persistence.nosql.api.commit.UpdateState
-
Use this instance of
Persistenceinstead for operations related to this state, especially fromCommitRetryable.attempt(CommitterState, Supplier). - Persistence - Interface in org.apache.polaris.persistence.nosql.api
-
Polaris NoSQL persistence interface providing fundamental primitive operations to manage named-references including atomic updates and to read and write
Objs. - PersistenceDecorator - Interface in org.apache.polaris.persistence.nosql.api
- PersistenceException - Exception Class in org.apache.polaris.persistence.nosql.api.exceptions
- PersistenceException(String) - Constructor for exception class org.apache.polaris.persistence.nosql.api.exceptions.PersistenceException
- PersistenceException(String, Throwable) - Constructor for exception class org.apache.polaris.persistence.nosql.api.exceptions.PersistenceException
- PersistenceException(Throwable) - Constructor for exception class org.apache.polaris.persistence.nosql.api.exceptions.PersistenceException
- PersistenceParams - Interface in org.apache.polaris.persistence.nosql.api
- PersistenceParams.BuildablePersistenceParams - Interface in org.apache.polaris.persistence.nosql.api
- persistId(long, int) - Static method in interface org.apache.polaris.persistence.nosql.api.backend.PersistId
- PersistId - Interface in org.apache.polaris.persistence.nosql.api.backend
-
Represents the key of a serialized part of an
Obj, wherePersistId.part()defines the0-based offset of the serialized part. - PersistId.PersistIdDeserializer - Class in org.apache.polaris.persistence.nosql.api.backend
- PersistId.PersistIdSerializer - Class in org.apache.polaris.persistence.nosql.api.backend
- PersistIdDeserializer() - Constructor for class org.apache.polaris.persistence.nosql.api.backend.PersistId.PersistIdDeserializer
- persistIdPart0(Obj) - Static method in interface org.apache.polaris.persistence.nosql.api.backend.PersistId
- PersistIdSerializer() - Constructor for class org.apache.polaris.persistence.nosql.api.backend.PersistId.PersistIdSerializer
- pointer() - Method in interface org.apache.polaris.persistence.nosql.api.ref.Reference
-
Current pointer of this reference.
- prefetchIfNecessary(Iterable<IndexKey>) - Method in interface org.apache.polaris.persistence.nosql.api.index.Index
-
Prefetch this index and/or index splits that are needed to satisfy operations against the given keys.
- previousPointers() - Method in interface org.apache.polaris.persistence.nosql.api.ref.Reference
-
List of previously assigned pointers.
- priority() - Method in interface org.apache.polaris.persistence.nosql.api.PersistenceDecorator
-
Indicates the priority.
- purge() - Method in interface org.apache.polaris.persistence.nosql.api.cache.CacheBackend
- put(String, Obj) - Method in interface org.apache.polaris.persistence.nosql.api.cache.CacheBackend
-
Adds the given object to the local cache and sends a cache-invalidation message to Polaris peers.
- put(IndexKey, V) - Method in interface org.apache.polaris.persistence.nosql.api.index.ModifiableIndex
- putLocal(String, Obj) - Method in interface org.apache.polaris.persistence.nosql.api.cache.CacheBackend
-
Adds the given object only to the local cache, does not send a cache-invalidation message.
- putNegative(String, ObjRef) - Method in interface org.apache.polaris.persistence.nosql.api.cache.CacheBackend
- putReference(String, Reference) - Method in interface org.apache.polaris.persistence.nosql.api.cache.CacheBackend
-
Adds the given reference to the local cache and sends a cache-invalidation message to Polaris peers.
- putReferenceLocal(String, Reference) - Method in interface org.apache.polaris.persistence.nosql.api.cache.CacheBackend
-
Adds the given reference only to the local cache, does not send a cache-invalidation message.
- putReferenceNegative(String, String) - Method in interface org.apache.polaris.persistence.nosql.api.cache.CacheBackend
R
- realmId() - Method in interface org.apache.polaris.persistence.nosql.api.cache.CacheInvalidations.CacheInvalidationEvictObj
- realmId() - Method in interface org.apache.polaris.persistence.nosql.api.cache.CacheInvalidations.CacheInvalidationEvictReference
- realmId() - Method in interface org.apache.polaris.persistence.nosql.api.Persistence
- realmId(String) - Method in interface org.apache.polaris.persistence.nosql.api.RealmPersistenceFactory.RealmPersistenceBuilder
- RealmPersistenceFactory - Interface in org.apache.polaris.persistence.nosql.api
-
Builder factory to generate "realm-scoped"
Persistenceinstances. - RealmPersistenceFactory.RealmPersistenceBuilder - Interface in org.apache.polaris.persistence.nosql.api
- Realms - Class in org.apache.polaris.persistence.nosql.api
- realNumParts() - Method in record class org.apache.polaris.persistence.nosql.api.backend.FetchedObj
-
Returns the value of the
realNumPartsrecord component. - ref() - Method in interface org.apache.polaris.persistence.nosql.api.cache.CacheInvalidations.CacheInvalidationEvictReference
- Reference - Interface in org.apache.polaris.persistence.nosql.api.ref
- ReferenceAlreadyExistsException - Exception Class in org.apache.polaris.persistence.nosql.api.exceptions
- ReferenceAlreadyExistsException(String) - Constructor for exception class org.apache.polaris.persistence.nosql.api.exceptions.ReferenceAlreadyExistsException
- referenceNegativeTtl() - Method in interface org.apache.polaris.persistence.nosql.api.cache.CacheConfig
-
Duration to cache whether a reference does not exist (negative caching).
- referenceNegativeTtl(Duration) - Method in interface org.apache.polaris.persistence.nosql.api.cache.CacheConfig.BuildableCacheConfig.Builder
- ReferenceNotFoundException - Exception Class in org.apache.polaris.persistence.nosql.api.exceptions
- ReferenceNotFoundException(String) - Constructor for exception class org.apache.polaris.persistence.nosql.api.exceptions.ReferenceNotFoundException
- referencePreviousHeadCount() - Method in interface org.apache.polaris.persistence.nosql.api.PersistenceParams.BuildablePersistenceParams
- referencePreviousHeadCount() - Method in interface org.apache.polaris.persistence.nosql.api.PersistenceParams
- referenceTtl() - Method in interface org.apache.polaris.persistence.nosql.api.cache.CacheConfig
-
Duration to cache the state of references.
- referenceTtl(Duration) - Method in interface org.apache.polaris.persistence.nosql.api.cache.CacheConfig.BuildableCacheConfig.Builder
- remove(String, ObjRef) - Method in interface org.apache.polaris.persistence.nosql.api.cache.CacheBackend
- remove(IndexKey) - Method in interface org.apache.polaris.persistence.nosql.api.index.ModifiableIndex
-
Removes the index element for the given key.
- removeReference(String, String) - Method in interface org.apache.polaris.persistence.nosql.api.cache.CacheBackend
- retries() - Method in interface org.apache.polaris.persistence.nosql.api.commit.RetryConfig.BuildableRetryConfig
- retries() - Method in interface org.apache.polaris.persistence.nosql.api.commit.RetryConfig
-
Maximum number of allowed retries, defaults to "10000".
- retryConfig() - Method in interface org.apache.polaris.persistence.nosql.api.PersistenceParams.BuildablePersistenceParams
- retryConfig() - Method in interface org.apache.polaris.persistence.nosql.api.PersistenceParams
- RetryConfig - Interface in org.apache.polaris.persistence.nosql.api.commit
- RetryConfig.BuildableRetryConfig - Interface in org.apache.polaris.persistence.nosql.api.commit
- RetryTimeoutException - Exception Class in org.apache.polaris.persistence.nosql.api.commit
-
Thrown to indicate that a retryable (commit) attempt eventually failed due to a timeout.
- RetryTimeoutException(int, long) - Constructor for exception class org.apache.polaris.persistence.nosql.api.commit.RetryTimeoutException
- reverseIterator() - Method in interface org.apache.polaris.persistence.nosql.api.index.Index
-
Convenience for
reverseIterator(null, null, false). - reverseIterator(IndexKey, IndexKey, boolean) - Method in interface org.apache.polaris.persistence.nosql.api.index.Index
-
Iterate in reverse order over the elements in this index, with optional lower/higher or prefix restrictions.
S
- scanBackend(Backend.ReferenceScanCallback, Backend.ObjScanCallback) - Method in interface org.apache.polaris.persistence.nosql.api.backend.Backend
-
Scan the whole backend database and return each discovered reference and object-part via the provided callbacks.
- segment() - Method in interface org.apache.polaris.persistence.nosql.api.index.IndexStripe
- seq() - Method in interface org.apache.polaris.persistence.nosql.api.obj.BaseCommitObj
-
Monotonically increasing counter representing the number of commits since the "beginning of time".
- seq(long) - Method in interface org.apache.polaris.persistence.nosql.api.obj.BaseCommitObj.Builder
- serialize(ByteBuffer) - Method in class org.apache.polaris.persistence.nosql.api.index.IndexKey
- serialize(PersistId, JsonGenerator, SerializerProvider) - Method in class org.apache.polaris.persistence.nosql.api.backend.PersistId.PersistIdSerializer
- serialize(IndexKey, JsonGenerator, SerializerProvider) - Method in class org.apache.polaris.persistence.nosql.api.index.IndexKey.IndexKeySerializer
- serialize(ObjRef, JsonGenerator, SerializerProvider) - Method in class org.apache.polaris.persistence.nosql.api.obj.ObjRef.ObjRefSerializer
- serialize(ObjType, JsonGenerator, SerializerProvider) - Method in class org.apache.polaris.persistence.nosql.api.obj.ObjType.ObjTypeSerializer
- serialize(V, ByteBuffer) - Method in interface org.apache.polaris.persistence.nosql.api.index.IndexValueSerializer
-
Serialize
valueintotarget, returnstarget. - serializeAsBytes(PersistId) - Static method in interface org.apache.polaris.persistence.nosql.api.backend.PersistId
- serialized() - Method in record class org.apache.polaris.persistence.nosql.api.backend.FetchedObj
-
Returns the value of the
serializedrecord component. - serialized() - Method in record class org.apache.polaris.persistence.nosql.api.backend.WriteObj
-
Returns the value of the
serializedrecord component. - serializedNullSize() - Static method in interface org.apache.polaris.persistence.nosql.api.obj.ObjRef
- serializedSize() - Method in class org.apache.polaris.persistence.nosql.api.index.IndexKey
- serializedSize() - Method in interface org.apache.polaris.persistence.nosql.api.obj.ObjRef
- serializedSize(PersistId) - Static method in interface org.apache.polaris.persistence.nosql.api.backend.PersistId
- serializedSize(V) - Method in interface org.apache.polaris.persistence.nosql.api.index.IndexValueSerializer
- serializeNoFail(ByteBuffer) - Method in class org.apache.polaris.persistence.nosql.api.index.IndexKey
- serializeNullToByteBuffer(ByteBuffer) - Static method in interface org.apache.polaris.persistence.nosql.api.obj.ObjRef
- serializeToByteBuffer(ByteBuffer) - Method in interface org.apache.polaris.persistence.nosql.api.obj.ObjRef
- setupSchema() - Method in interface org.apache.polaris.persistence.nosql.api.backend.Backend
-
Called to set up the database schema.
- sizing() - Method in interface org.apache.polaris.persistence.nosql.api.cache.CacheConfig
- sizing(CacheSizing) - Method in interface org.apache.polaris.persistence.nosql.api.cache.CacheConfig.BuildableCacheConfig.Builder
- skip(ByteBuffer) - Static method in class org.apache.polaris.persistence.nosql.api.index.IndexKey
- skip(ByteBuffer) - Method in interface org.apache.polaris.persistence.nosql.api.index.IndexValueSerializer
-
Skips an element, only updating the
buffer'sBuffer.position(). - skipDecorators() - Method in interface org.apache.polaris.persistence.nosql.api.RealmPersistenceFactory.RealmPersistenceBuilder
- skipObjId(ByteBuffer) - Static method in interface org.apache.polaris.persistence.nosql.api.obj.ObjRef
- SLEEPING - Enum constant in enum class org.apache.polaris.persistence.nosql.api.commit.FairRetriesType
- startsWith(IndexKey) - Method in class org.apache.polaris.persistence.nosql.api.index.IndexKey
- StartupPersistence - Annotation Interface in org.apache.polaris.persistence.nosql.api
-
Qualifier for system-level
Persistenceinstance against the system realm needed for node management. - StartupPersistence.Literal - Class in org.apache.polaris.persistence.nosql.api
- StreamUtil - Class in org.apache.polaris.persistence.nosql.api
- StreamUtil() - Constructor for class org.apache.polaris.persistence.nosql.api.StreamUtil
- stripes() - Method in interface org.apache.polaris.persistence.nosql.api.index.IndexContainer
-
DO NOT ACCESS DIRECTLY, these are pointers to the composite reference index stripes, an "embedded" version of
IndexSegmentsObj. - supportsRealmDeletion() - Method in interface org.apache.polaris.persistence.nosql.api.backend.Backend
-
Whether the implementation supports
Backend.deleteRealms(Set). - synchronizingLocally() - Method in interface org.apache.polaris.persistence.nosql.api.commit.Committer
-
When called, commits to the same reference will be synchronized locally.
- SYSTEM_REALM_ID - Static variable in class org.apache.polaris.persistence.nosql.api.Realms
- SYSTEM_REALM_PREFIX - Static variable in class org.apache.polaris.persistence.nosql.api.Realms
-
Realms with special meanings and "non-standard behavior" (as per
org.apache.polaris.realms.api.RealmDefinition.RealmStatus) have to have an ID that starts with this prefix. - SystemPersistence - Annotation Interface in org.apache.polaris.persistence.nosql.api
-
Qualifier for system-level
Persistenceinstance against the system realm needed for realm management. - SystemPersistence.Literal - Class in org.apache.polaris.persistence.nosql.api
T
- tail() - Method in interface org.apache.polaris.persistence.nosql.api.obj.BaseCommitObj
-
Zero, one or more parent-entry hashes of this commit, the nearest parent first.
- tail(long[]) - Method in interface org.apache.polaris.persistence.nosql.api.obj.BaseCommitObj.Builder
- targetClass() - Method in class org.apache.polaris.persistence.nosql.api.obj.AbstractObjType
- targetClass() - Method in interface org.apache.polaris.persistence.nosql.api.obj.ObjType
-
The target class that objects of this type should be serialized from and deserialized to.
- timeout() - Method in interface org.apache.polaris.persistence.nosql.api.commit.RetryConfig.BuildableRetryConfig
- timeout() - Method in interface org.apache.polaris.persistence.nosql.api.commit.RetryConfig
-
Maximum allowed time until a retry-loop and commits fails with a
RetryTimeoutException, defaults to "PT15S". - toByteBuffer() - Method in interface org.apache.polaris.persistence.nosql.api.obj.ObjRef
- toBytes() - Method in interface org.apache.polaris.persistence.nosql.api.backend.PersistId
- toBytes() - Method in interface org.apache.polaris.persistence.nosql.api.obj.ObjRef
- toIndexed(String, BiConsumer<String, ? super Obj>) - Method in interface org.apache.polaris.persistence.nosql.api.index.UpdatableIndex
-
Build a serializable index container from this index object.
- toOptionalIndexed(String, BiConsumer<String, ? super Obj>) - Method in interface org.apache.polaris.persistence.nosql.api.index.UpdatableIndex
-
Similar to
UpdatableIndex.toIndexed(String, BiConsumer), but returns an emptyOptional, if the index container is empty. - toSafeString(String) - Method in class org.apache.polaris.persistence.nosql.api.index.IndexKey
- toString() - Method in record class org.apache.polaris.persistence.nosql.api.backend.FetchedObj
-
Returns a string representation of this record class.
- toString() - Method in record class org.apache.polaris.persistence.nosql.api.backend.WriteObj
-
Returns a string representation of this record class.
- toString() - Method in class org.apache.polaris.persistence.nosql.api.index.IndexKey
- toString() - Method in class org.apache.polaris.persistence.nosql.api.obj.AbstractObjType
- type() - Method in interface org.apache.polaris.persistence.nosql.api.backend.Backend
-
Name of this backend.
- type() - Method in interface org.apache.polaris.persistence.nosql.api.backend.BackendConfiguration.BuildableBackendConfiguration
- type() - Method in interface org.apache.polaris.persistence.nosql.api.backend.BackendConfiguration
-
Name of the persistence backend to use.
- type() - Method in record class org.apache.polaris.persistence.nosql.api.backend.FetchedObj
-
Returns the value of the
typerecord component. - type() - Method in record class org.apache.polaris.persistence.nosql.api.backend.WriteObj
-
Returns the value of the
typerecord component. - type() - Method in interface org.apache.polaris.persistence.nosql.api.cache.CacheInvalidations.CacheInvalidation
- type() - Method in interface org.apache.polaris.persistence.nosql.api.cache.CacheInvalidations.CacheInvalidationEvictObj
- type() - Method in interface org.apache.polaris.persistence.nosql.api.cache.CacheInvalidations.CacheInvalidationEvictReference
- type() - Method in class org.apache.polaris.persistence.nosql.api.obj.GenericObj
- type() - Method in interface org.apache.polaris.persistence.nosql.api.obj.Obj
- type() - Method in interface org.apache.polaris.persistence.nosql.api.obj.ObjRef
-
Object type ID this object reference refers to.
- TYPE - Static variable in interface org.apache.polaris.persistence.nosql.api.cache.CacheInvalidations.CacheInvalidationEvictObj
- TYPE - Static variable in interface org.apache.polaris.persistence.nosql.api.cache.CacheInvalidations.CacheInvalidationEvictReference
U
- UNFAIR - Enum constant in enum class org.apache.polaris.persistence.nosql.api.commit.FairRetriesType
- UnknownOperationResultException - Exception Class in org.apache.polaris.persistence.nosql.api.exceptions
-
Thrown by
Persistenceimplementations when the result of a database operation is unknown, for example, due to a timeout. - UnknownOperationResultException(String, Throwable) - Constructor for exception class org.apache.polaris.persistence.nosql.api.exceptions.UnknownOperationResultException
- UnknownOperationResultException(Throwable) - Constructor for exception class org.apache.polaris.persistence.nosql.api.exceptions.UnknownOperationResultException
- UpdatableIndex<V> - Interface in org.apache.polaris.persistence.nosql.api.index
-
Represents an index that can be modifies using put and remove functions and that can be serialized as an attribute in an
Objinterface viaIndexContainer. - updateReference(String, Reference, Optional<ObjRef>) - Method in interface org.apache.polaris.persistence.nosql.api.backend.Backend
- updateReferencePointer(Reference, ObjRef) - Method in interface org.apache.polaris.persistence.nosql.api.Persistence
-
Updates the pointer to
newPointer, if the reference exists and the current persisted pointer is the same as inreference. - UpdateState - Interface in org.apache.polaris.persistence.nosql.api.commit
V
- valueOf(String) - Static method in enum class org.apache.polaris.persistence.nosql.api.commit.FairRetriesType
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.apache.polaris.persistence.nosql.api.commit.FairRetriesType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- versionToken() - Method in record class org.apache.polaris.persistence.nosql.api.backend.FetchedObj
-
Returns the value of the
versionTokenrecord component. - versionToken() - Method in class org.apache.polaris.persistence.nosql.api.obj.GenericObj
- versionToken() - Method in interface org.apache.polaris.persistence.nosql.api.obj.Obj
- versionToken(String) - Method in interface org.apache.polaris.persistence.nosql.api.obj.Obj.Builder
W
- withCreatedAtMicros(long) - Method in interface org.apache.polaris.persistence.nosql.api.obj.Obj
- withNumParts(int) - Method in interface org.apache.polaris.persistence.nosql.api.obj.Obj
- wrap(Persistence) - Method in interface org.apache.polaris.persistence.nosql.api.cache.CacheBackend
- write(String, List<WriteObj>) - Method in interface org.apache.polaris.persistence.nosql.api.backend.Backend
- write(T, Class<T>) - Method in interface org.apache.polaris.persistence.nosql.api.Persistence
-
Persist
objwith eventually consistent guarantees. - writeIfNew(Object, Obj) - Method in interface org.apache.polaris.persistence.nosql.api.commit.UpdateState
- writeIfNew(Object, O, Class<O>) - Method in interface org.apache.polaris.persistence.nosql.api.commit.UpdateState
-
Add
objto the list of objects to be persisted, usingkeyto identify/reuse an already persisted object in a retried attempt. - writeIntent(Object, Obj) - Method in interface org.apache.polaris.persistence.nosql.api.commit.UpdateState
-
Add
objto the list of objects to be persisted, usingkeyto identify/reuse an already persisted object in a retried attempt. - writeMany(Class<T>, T...) - Method in interface org.apache.polaris.persistence.nosql.api.Persistence
-
Persist multiple
objswith eventually consistent guarantees. - WriteObj - Record Class in org.apache.polaris.persistence.nosql.api.backend
- WriteObj(String, long, int, long, byte[], int) - Constructor for record class org.apache.polaris.persistence.nosql.api.backend.WriteObj
-
Creates an instance of a
WriteObjrecord class. - writeOrReplace(Object, Obj) - Method in interface org.apache.polaris.persistence.nosql.api.commit.UpdateState
- writeOrReplace(Object, O, Class<O>) - Method in interface org.apache.polaris.persistence.nosql.api.commit.UpdateState
-
Add
objto the list of objects to be persisted, usingkeyto identify/reuse an already persisted object in a retried attempt.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form