Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractDelegatingTable<T extends Entity<T>> - Class in tech.ydb.yoj.repository.db
- AbstractDelegatingTable() - Constructor for class tech.ydb.yoj.repository.db.AbstractDelegatingTable
- AbstractDelegatingTable(Table<T>) - Constructor for class tech.ydb.yoj.repository.db.AbstractDelegatingTable
- accept(D, Object) - Method in interface tech.ydb.yoj.repository.db.common.CommonConverters.ThrowingSetter
- acceptsMessageAt(TransactionLog.Level) - Method in enum class tech.ydb.yoj.repository.db.cache.TransactionLog.Level
- afterRetries(String, Throwable) - Static method in exception tech.ydb.yoj.repository.db.exception.UnavailableException
- AggregateRepositoryException - Exception in tech.ydb.yoj.repository.db.exception
- alreadyRetried - Variable in exception tech.ydb.yoj.repository.db.exception.UnavailableException
- and(String) - Method in class tech.ydb.yoj.repository.db.TableQueryBuilder
- and(UnaryOperator<FilterBuilder<T>>) - Method in class tech.ydb.yoj.repository.db.TableQueryBuilder
- and(FilterExpression<T>) - Method in class tech.ydb.yoj.repository.db.TableQueryBuilder
- apply(S) - Method in interface tech.ydb.yoj.repository.db.common.CommonConverters.ThrowingGetter
- applyProjectionChanges(RepositoryTransaction) - Method in interface tech.ydb.yoj.repository.db.projection.ProjectionCache
- applyProjectionChanges(RepositoryTransaction) - Method in class tech.ydb.yoj.repository.db.projection.RoProjectionCache
- applyProjectionChanges(RepositoryTransaction) - Method in class tech.ydb.yoj.repository.db.projection.RwProjectionCache
B
- BadListingException - Exception in tech.ydb.yoj.repository.db.list
- BadListingException(String) - Constructor for exception tech.ydb.yoj.repository.db.list.BadListingException
- BadListingException(String, Throwable) - Constructor for exception tech.ydb.yoj.repository.db.list.BadListingException
- BadListingException.BadOffset - Exception in tech.ydb.yoj.repository.db.list
- BadListingException.BadPageSize - Exception in tech.ydb.yoj.repository.db.list
- BadListingException.InvalidPageToken - Exception in tech.ydb.yoj.repository.db.list
- BadOffset(long) - Constructor for exception tech.ydb.yoj.repository.db.list.BadListingException.BadOffset
- BadPageSize(long, long) - Constructor for exception tech.ydb.yoj.repository.db.list.BadListingException.BadPageSize
- BaseDb - Interface in tech.ydb.yoj.repository
- between(Object, Object) - Method in class tech.ydb.yoj.repository.db.TableQueryBuilder.TableQueryFieldFilterBuilder
- build() - Method in class tech.ydb.yoj.repository.db.list.GenericListResult.Builder
- build() - Method in class tech.ydb.yoj.repository.db.list.ListRequest.Builder
- build() - Method in class tech.ydb.yoj.repository.db.list.ListResult.ListResultBuilder
- build() - Method in class tech.ydb.yoj.repository.db.list.ViewListResult.ViewListResultBuilder
- builder(Class<T>) - Static method in class tech.ydb.yoj.repository.db.list.ListRequest
- builder(Class<V>, ListRequest<T>) - Static method in class tech.ydb.yoj.repository.db.list.ViewListResult
- builder(Schema<T>) - Static method in class tech.ydb.yoj.repository.db.list.ListRequest
- builder(ListRequest<T>) - Static method in class tech.ydb.yoj.repository.db.list.ListResult
- Builder() - Constructor for class tech.ydb.yoj.repository.db.list.ListRequest.Builder
- BuildPageToken() - Constructor for class tech.ydb.yoj.repository.db.list.ListRequest.Builder.BuildPageToken
- BulkParams - Class in tech.ydb.yoj.repository.db.bulk
- BulkParams() - Constructor for class tech.ydb.yoj.repository.db.bulk.BulkParams
- bulkUpsert(List<T>, BulkParams) - Method in interface tech.ydb.yoj.repository.db.Table
C
- Changeset - Class in tech.ydb.yoj.repository.db.statement
-
Deprecated.
- Changeset() - Constructor for class tech.ydb.yoj.repository.db.statement.Changeset
-
Deprecated.
- checkDataCompatibility() - Method in interface tech.ydb.yoj.repository.db.Repository
- checkSameTx(Tx) - Static method in interface tech.ydb.yoj.repository.db.Tx
- checkSchemaCompatibility() - Method in interface tech.ydb.yoj.repository.db.Repository
- clone() - Method in class tech.ydb.yoj.repository.db.DelegatingTxManager
- commit() - Method in interface tech.ydb.yoj.repository.db.RepositoryTransaction
-
Commits the transaction or throws exception.
- CommonConverters - Class in tech.ydb.yoj.repository.db.common
- CommonConverters.ThrowingGetter<S> - Interface in tech.ydb.yoj.repository.db.common
- CommonConverters.ThrowingSetter<D> - Interface in tech.ydb.yoj.repository.db.common
- compare(ID, ID) - Method in class tech.ydb.yoj.repository.db.EntityIdSchema
- contains(ID) - Method in class tech.ydb.yoj.repository.db.Range
- contains(RepositoryCache.Key) - Method in interface tech.ydb.yoj.repository.db.cache.RepositoryCache
- contains(RepositoryCache.Key) - Method in class tech.ydb.yoj.repository.db.cache.RepositoryCacheImpl
- containsKey(Entity.Id<E>) - Method in interface tech.ydb.yoj.repository.db.cache.FirstLevelCache
- ConversionException - Exception in tech.ydb.yoj.repository.db.exception
-
Thrown when the repository cannot convert a raw database row to entity, or vice versa.
- ConversionException(String) - Constructor for exception tech.ydb.yoj.repository.db.exception.ConversionException
- ConversionException(String, Throwable) - Constructor for exception tech.ydb.yoj.repository.db.exception.ConversionException
- count() - Method in class tech.ydb.yoj.repository.db.TableQueryBuilder
- count(String, FilterExpression<T>) - Method in class tech.ydb.yoj.repository.db.AbstractDelegatingTable
- count(String, FilterExpression<T>) - Method in interface tech.ydb.yoj.repository.db.Table
- count(FilterExpression<T>) - Method in interface tech.ydb.yoj.repository.db.Table
- countAll() - Method in class tech.ydb.yoj.repository.db.AbstractDelegatingTable
- countAll() - Method in interface tech.ydb.yoj.repository.db.Table
- create() - Static method in interface tech.ydb.yoj.repository.db.cache.FirstLevelCache
- create() - Static method in class tech.ydb.yoj.repository.db.EntityList
- create() - Method in interface tech.ydb.yoj.repository.db.SchemaOperations
- create(IsolationLevel) - Static method in class tech.ydb.yoj.repository.db.TxOptions
- create(ID) - Static method in class tech.ydb.yoj.repository.db.Range
- create(ID, ID) - Static method in class tech.ydb.yoj.repository.db.Range
- create(EntityIdSchema<ID>, Map<String, Object>) - Static method in class tech.ydb.yoj.repository.db.Range
- create(EntityIdSchema<ID>, Map<String, Object>, Map<String, Object>) - Static method in class tech.ydb.yoj.repository.db.Range
- createProjections() - Method in interface tech.ydb.yoj.repository.db.Entity
- CreateTableException - Exception in tech.ydb.yoj.repository.db.exception
- CreateTableException(String) - Constructor for exception tech.ydb.yoj.repository.db.exception.CreateTableException
- createTablespace() - Method in interface tech.ydb.yoj.repository.db.Repository
- createThreadFactory(String) - Method in interface tech.ydb.yoj.repository.db.cache.DbValueUpdater.ThreadFactoryCreator
- createTxManager(TxManager) - Method in class tech.ydb.yoj.repository.db.DelegatingTxManager
-
Creates an instance of this class that wraps the specified
TxManager. - current(Class<T>) - Static method in interface tech.ydb.yoj.repository.BaseDb
- Current() - Constructor for class tech.ydb.yoj.repository.db.Tx.Current
D
- DbTypeQualifier - Interface in tech.ydb.yoj.repository
-
Common database type qualifiers that can be used with any
Repositoryimplementation. - DbValueUpdater<V> - Class in tech.ydb.yoj.repository.db.cache
-
Abstract base class for caching rarely updated values, e.g.
- DbValueUpdater() - Constructor for class tech.ydb.yoj.repository.db.cache.DbValueUpdater
- DbValueUpdater(String, Duration, Duration, Duration, Duration) - Constructor for class tech.ydb.yoj.repository.db.cache.DbValueUpdater
- DbValueUpdater(String, Duration, Duration, Duration, Duration, DbValueUpdater.ThreadFactoryCreator) - Constructor for class tech.ydb.yoj.repository.db.cache.DbValueUpdater
- DbValueUpdater(Duration, Duration, Duration, Duration) - Constructor for class tech.ydb.yoj.repository.db.cache.DbValueUpdater
- DbValueUpdater(Duration, Duration, Duration, Duration, Function<DbValueUpdater<V>, String>, DbValueUpdater.ThreadFactoryCreator) - Constructor for class tech.ydb.yoj.repository.db.cache.DbValueUpdater
- DbValueUpdater(Duration, Duration, Duration, Duration, DbValueUpdater.ThreadFactoryCreator) - Constructor for class tech.ydb.yoj.repository.db.cache.DbValueUpdater
- DbValueUpdater(ThreadFactory) - Constructor for class tech.ydb.yoj.repository.db.cache.DbValueUpdater
- DbValueUpdater(DbValueUpdater.ThreadFactoryCreator) - Constructor for class tech.ydb.yoj.repository.db.cache.DbValueUpdater
- DbValueUpdater.ThreadFactoryCreator - Interface in tech.ydb.yoj.repository.db.cache
- DeadlineExceededException - Exception in tech.ydb.yoj.repository.db.exception
- DeadlineExceededException(String) - Constructor for exception tech.ydb.yoj.repository.db.exception.DeadlineExceededException
- DeadlineExceededException(String, Throwable) - Constructor for exception tech.ydb.yoj.repository.db.exception.DeadlineExceededException
- debug(String) - Method in class tech.ydb.yoj.repository.db.cache.TransactionLog
- debug(String, Object...) - Method in class tech.ydb.yoj.repository.db.cache.TransactionLog
- DEBUG - Enum constant in enum class tech.ydb.yoj.repository.db.cache.TransactionLog.Level
-
Verbose logging: queries and query results are included in addition to all messages logged on
TransactionLog.Level.INFOlog level. - decode(String) - Method in class tech.ydb.yoj.repository.db.list.ListRequest.Builder.BuildPageToken
- decode(ListRequest.Builder<T>, String) - Method in class tech.ydb.yoj.repository.db.list.token.EmptyPageToken
- decode(ListRequest.Builder<T>, String) - Method in class tech.ydb.yoj.repository.db.list.token.FallbackPageToken
- decode(ListRequest.Builder<T>, String) - Method in interface tech.ydb.yoj.repository.db.list.token.PageToken
-
Decodes page token into listing request.
This method must be called only once per page, because it changes the listing request builder's state and is therefore non-idempotent. - DEFAULT - Static variable in class tech.ydb.yoj.repository.db.bulk.BulkParams
- DEFAULT - Static variable in class tech.ydb.yoj.repository.db.TxOptions.ScanOptions
- DEFAULT - Static variable in class tech.ydb.yoj.repository.db.TxOptions.TimeoutOptions
- DEFAULT_CACHE_TIMEOUT - Static variable in class tech.ydb.yoj.repository.db.cache.DbValueUpdater
- DEFAULT_MAX_LAG - Static variable in class tech.ydb.yoj.repository.db.cache.DbValueUpdater
- DEFAULT_MAX_READ_DURATION - Static variable in class tech.ydb.yoj.repository.db.cache.DbValueUpdater
- DEFAULT_PAGE_SIZE - Static variable in class tech.ydb.yoj.repository.db.list.ListRequest.Builder
- DEFAULT_SHUTDOWN_TIMEOUT - Static variable in class tech.ydb.yoj.repository.db.cache.DbValueUpdater
- DEFAULT_THREAD_FACTORY_CREATOR - Static variable in class tech.ydb.yoj.repository.db.cache.DbValueUpdater
- defaultOrder() - Method in class tech.ydb.yoj.repository.db.list.ListRequest.Builder
- defaultOrder() - Method in class tech.ydb.yoj.repository.db.TableQueryBuilder
- defaultOrder(Class<T>) - Static method in class tech.ydb.yoj.repository.db.EntityExpressions
- defer(Runnable) - Method in interface tech.ydb.yoj.repository.db.Tx
- deferBeforeCommit(Runnable) - Method in interface tech.ydb.yoj.repository.db.Tx
- deferFinally(Runnable) - Method in interface tech.ydb.yoj.repository.db.Tx
- defineJsonConverter(JsonConverter) - Static method in class tech.ydb.yoj.repository.db.common.CommonConverters
- delayedWrites() - Method in class tech.ydb.yoj.repository.db.DelegatingTxManager
- delayedWrites() - Method in class tech.ydb.yoj.repository.db.StdTxManager
- delayedWrites() - Method in interface tech.ydb.yoj.repository.db.TxManager
-
Enable pending write queue in transaction and execute write changes right before the transaction is committed.
- delegate - Variable in class tech.ydb.yoj.repository.db.DelegatingTxManager
- DelegatingTxManager - Class in tech.ydb.yoj.repository.db
-
Abstract base class for decorating
TxManagers: Enable additional tracing and logging, collect more metrics etc.:wrapTxBody()Transform transaction results and accept/reject transactions (e.g. - DelegatingTxManager(TxManager) - Constructor for class tech.ydb.yoj.repository.db.DelegatingTxManager
- delete(Set<ID>) - Method in interface tech.ydb.yoj.repository.db.Table
- delete(Entity.Id<?>) - Method in interface tech.ydb.yoj.repository.db.projection.ProjectionCache
- delete(Entity.Id<?>) - Method in class tech.ydb.yoj.repository.db.projection.RoProjectionCache
- delete(Entity.Id<?>) - Method in class tech.ydb.yoj.repository.db.projection.RwProjectionCache
- delete(Entity.Id<T>) - Method in class tech.ydb.yoj.repository.db.AbstractDelegatingTable
- delete(Entity.Id<T>) - Method in interface tech.ydb.yoj.repository.db.Table
- delete(Range<ID>) - Method in interface tech.ydb.yoj.repository.db.Table
- deleteAll() - Method in class tech.ydb.yoj.repository.db.AbstractDelegatingTable
- deleteAll() - Method in interface tech.ydb.yoj.repository.db.Table
- deleteAll(Set<ID>) - Method in interface tech.ydb.yoj.repository.db.Table
- deleteAll(Range<ID>) - Method in interface tech.ydb.yoj.repository.db.Table
- deleteIfExists(Entity.Id<T>) - Method in interface tech.ydb.yoj.repository.db.Table
- deserializeEnumToStringValue(Type, Object) - Static method in class tech.ydb.yoj.repository.db.common.CommonConverters
- deserializeEnumValue(Type, Object) - Static method in class tech.ydb.yoj.repository.db.common.CommonConverters
- deserializeOpaqueObjectValue(Type, Object) - Static method in class tech.ydb.yoj.repository.db.common.CommonConverters
- deserializeUuidValue(Object) - Static method in class tech.ydb.yoj.repository.db.common.CommonConverters
- disableJsonConverter() - Static method in class tech.ydb.yoj.repository.db.common.CommonConverters
- doReadValue() - Method in class tech.ydb.yoj.repository.db.cache.DbValueUpdater
- doRunTx(Supplier<T>) - Method in class tech.ydb.yoj.repository.db.DelegatingTxManager
-
Starts running the specified transaction manager logic in the desired environment (e.g.
- drop() - Method in interface tech.ydb.yoj.repository.db.SchemaOperations
-
Drops the table.
- dropDb() - Method in interface tech.ydb.yoj.repository.db.Repository
- DropTableException - Exception in tech.ydb.yoj.repository.db.exception
- DropTableException(String) - Constructor for exception tech.ydb.yoj.repository.db.exception.DropTableException
E
- empty() - Static method in interface tech.ydb.yoj.repository.db.cache.FirstLevelCache
- empty() - Static method in interface tech.ydb.yoj.repository.db.cache.RepositoryCache
- empty() - Static method in class tech.ydb.yoj.repository.db.list.ListRequest.ListingParams
- empty(ListRequest<T>) - Static method in class tech.ydb.yoj.repository.db.list.ListResult
- EMPTY - Static variable in interface tech.ydb.yoj.repository.db.list.token.PageToken
-
"Empty" page token that allows to have only one page of results.
- EmptyPageToken - Class in tech.ydb.yoj.repository.db.list.token
-
The most trivial implementation of
PageToken: it does not produce page tokens, and is thus only suitable when the listing produces at most one page of results. - EmptyPageToken() - Constructor for class tech.ydb.yoj.repository.db.list.token.EmptyPageToken
- encode(GenericListResult<T, R>) - Method in class tech.ydb.yoj.repository.db.list.token.EmptyPageToken
- encode(GenericListResult<T, R>) - Method in class tech.ydb.yoj.repository.db.list.token.FallbackPageToken
- encode(GenericListResult<T, R>) - Method in interface tech.ydb.yoj.repository.db.list.token.PageToken
-
Encodes information about next search result page.
- entities(Class<E>) - Method in interface tech.ydb.yoj.repository.db.cache.FirstLevelCache
-
Returns a unmodifiable map containing the entities of
entityTypetype that are in the transaction L1 cache. - entities(ListRequest<T>) - Method in class tech.ydb.yoj.repository.db.projection.ProjectionMappings.ListViaProjection
- entities(ListRequest<T>, UnaryOperator<String>) - Method in class tech.ydb.yoj.repository.db.projection.ProjectionMappings.ListViaProjection
- entities(ListRequest<T>, Map<String, String>) - Method in class tech.ydb.yoj.repository.db.projection.ProjectionMappings.ListViaProjection
- Entity<E extends Entity<E>> - Interface in tech.ydb.yoj.repository.db
- Entity.Id<E extends Entity<E>> - Interface in tech.ydb.yoj.repository.db
- EntityAlreadyExistsException - Exception in tech.ydb.yoj.repository.db.exception
- EntityAlreadyExistsException(String) - Constructor for exception tech.ydb.yoj.repository.db.exception.EntityAlreadyExistsException
- EntityExpressions - Class in tech.ydb.yoj.repository.db
- EntityIdSchema<ID extends Entity.Id<?>> - Class in tech.ydb.yoj.repository.db
- EntityList - Class in tech.ydb.yoj.repository.db
- EntityList() - Constructor for class tech.ydb.yoj.repository.db.EntityList
- EntitySchema<T extends Entity<T>> - Class in tech.ydb.yoj.repository.db
- entries - Variable in class tech.ydb.yoj.repository.db.list.GenericListResult.Builder
- entries(List<R>) - Method in class tech.ydb.yoj.repository.db.list.GenericListResult.Builder
- ENUM_NAME - Static variable in interface tech.ydb.yoj.repository.DbTypeQualifier
-
Serialize enum using name()
- ENUM_TO_STRING - Static variable in interface tech.ydb.yoj.repository.DbTypeQualifier
-
Serialize enum using toString()
- enumToStringValueGetter(Type, Function<S, Object>) - Static method in class tech.ydb.yoj.repository.db.common.CommonConverters
- enumToStringValueSetter(Type, BiConsumer<D, Object>) - Static method in class tech.ydb.yoj.repository.db.common.CommonConverters
- enumValueGetter(Type, Function<S, Object>) - Static method in class tech.ydb.yoj.repository.db.common.CommonConverters
- enumValueSetter(Type, BiConsumer<D, Object>) - Static method in class tech.ydb.yoj.repository.db.common.CommonConverters
- eq(Object) - Method in class tech.ydb.yoj.repository.db.TableQueryBuilder.TableQueryFieldFilterBuilder
- equals(Object) - Method in class tech.ydb.yoj.repository.db.DelegatingTxManager
- exists() - Method in interface tech.ydb.yoj.repository.db.SchemaOperations
- exists() - Method in class tech.ydb.yoj.repository.db.TableQueryBuilder
- exists() - Static method in class tech.ydb.yoj.repository.db.Tx.Current
F
- failOnUnknownSeparateTx() - Method in class tech.ydb.yoj.repository.db.DelegatingTxManager
- failOnUnknownSeparateTx() - Method in class tech.ydb.yoj.repository.db.StdTxManager
- failOnUnknownSeparateTx() - Method in interface tech.ydb.yoj.repository.db.TxManager
-
Fails if you try to create a separate transaction inside other transaction.
- FallbackPageToken - Class in tech.ydb.yoj.repository.db.list.token
-
Page token which eases migration from one token implementation (fallback) to another (primary).
- FallbackPageToken() - Constructor for class tech.ydb.yoj.repository.db.list.token.FallbackPageToken
- filter(UnaryOperator<FilterBuilder<T>>) - Method in class tech.ydb.yoj.repository.db.list.ListRequest.Builder
- filter(UnaryOperator<FilterBuilder<T>>) - Method in class tech.ydb.yoj.repository.db.TableQueryBuilder
- filter(FilterExpression<T>) - Method in class tech.ydb.yoj.repository.db.list.ListRequest.Builder
- filter(FilterExpression<T>) - Method in class tech.ydb.yoj.repository.db.TableQueryBuilder
- find() - Method in class tech.ydb.yoj.repository.db.TableQueryBuilder
- find(StreamSupplier<T>, FilterExpression<T>, OrderExpression<T>, Integer, Long) - Static method in class tech.ydb.yoj.repository.db.list.InMemoryQueries
- find(Class<V>) - Method in class tech.ydb.yoj.repository.db.TableQueryBuilder
- find(Class<V>, boolean) - Method in class tech.ydb.yoj.repository.db.TableQueryBuilder
- find(Class<V>, String, Set<K>, FilterExpression<T>, OrderExpression<T>, Integer) - Method in class tech.ydb.yoj.repository.db.AbstractDelegatingTable
- find(Class<V>, String, Set<K>, FilterExpression<T>, OrderExpression<T>, Integer) - Method in interface tech.ydb.yoj.repository.db.Table
- find(Class<V>, String, FilterExpression<T>, OrderExpression<T>, Integer, Long, boolean) - Method in class tech.ydb.yoj.repository.db.AbstractDelegatingTable
- find(Class<V>, String, FilterExpression<T>, OrderExpression<T>, Integer, Long, boolean) - Method in interface tech.ydb.yoj.repository.db.Table
- find(Class<V>, Set<ID>) - Method in class tech.ydb.yoj.repository.db.AbstractDelegatingTable
- find(Class<V>, Set<ID>) - Method in interface tech.ydb.yoj.repository.db.Table
- find(Class<V>, Set<ID>, FilterExpression<T>, OrderExpression<T>, Integer) - Method in class tech.ydb.yoj.repository.db.AbstractDelegatingTable
- find(Class<V>, Set<ID>, FilterExpression<T>, OrderExpression<T>, Integer) - Method in interface tech.ydb.yoj.repository.db.Table
- find(Class<V>, Entity.Id<T>) - Method in class tech.ydb.yoj.repository.db.AbstractDelegatingTable
- find(Class<V>, Entity.Id<T>) - Method in interface tech.ydb.yoj.repository.db.Table
- find(Class<V>, Entity.Id<T>, Supplier<? extends X>) - Method in interface tech.ydb.yoj.repository.db.Table
- find(Class<V>, Range<ID>) - Method in class tech.ydb.yoj.repository.db.AbstractDelegatingTable
- find(Class<V>, Range<ID>) - Method in interface tech.ydb.yoj.repository.db.Table
- find(String, Set<K>, FilterExpression<T>, OrderExpression<T>, Integer) - Method in class tech.ydb.yoj.repository.db.AbstractDelegatingTable
- find(String, Set<K>, FilterExpression<T>, OrderExpression<T>, Integer) - Method in interface tech.ydb.yoj.repository.db.Table
- find(String, FilterExpression<T>, OrderExpression<T>, Integer, Long) - Method in class tech.ydb.yoj.repository.db.AbstractDelegatingTable
- find(String, FilterExpression<T>, OrderExpression<T>, Integer, Long) - Method in interface tech.ydb.yoj.repository.db.Table
- find(Set<ID>) - Method in class tech.ydb.yoj.repository.db.AbstractDelegatingTable
- find(Set<ID>) - Method in interface tech.ydb.yoj.repository.db.Table
- find(Set<ID>, FilterExpression<T>, OrderExpression<T>, Integer) - Method in class tech.ydb.yoj.repository.db.AbstractDelegatingTable
- find(Set<ID>, FilterExpression<T>, OrderExpression<T>, Integer) - Method in interface tech.ydb.yoj.repository.db.Table
- find(Entity.Id<T>) - Method in class tech.ydb.yoj.repository.db.AbstractDelegatingTable
- find(Entity.Id<T>) - Method in interface tech.ydb.yoj.repository.db.Table
- find(Entity.Id<T>, Supplier<? extends X>) - Method in interface tech.ydb.yoj.repository.db.Table
- find(Range<ID>) - Method in class tech.ydb.yoj.repository.db.AbstractDelegatingTable
- find(Range<ID>) - Method in interface tech.ydb.yoj.repository.db.Table
- findAll() - Method in class tech.ydb.yoj.repository.db.AbstractDelegatingTable
- findAll() - Method in interface tech.ydb.yoj.repository.db.Table
- findAll(Class<V>) - Method in class tech.ydb.yoj.repository.db.AbstractDelegatingTable
- findAll(Class<V>) - Method in interface tech.ydb.yoj.repository.db.Table
- findIds() - Method in class tech.ydb.yoj.repository.db.TableQueryBuilder
- findIds(String, FilterExpression<T>, OrderExpression<T>, Integer, Long) - Method in class tech.ydb.yoj.repository.db.AbstractDelegatingTable
- findIds(String, FilterExpression<T>, OrderExpression<T>, Integer, Long) - Method in interface tech.ydb.yoj.repository.db.Table
- findIds(Set<ID>) - Method in class tech.ydb.yoj.repository.db.AbstractDelegatingTable
- findIds(Set<ID>) - Method in interface tech.ydb.yoj.repository.db.Table
- findIds(Range<ID>) - Method in class tech.ydb.yoj.repository.db.AbstractDelegatingTable
- findIds(Range<ID>) - Method in interface tech.ydb.yoj.repository.db.Table
- findOne() - Method in class tech.ydb.yoj.repository.db.TableQueryBuilder
- findOne(Class<V>) - Method in class tech.ydb.yoj.repository.db.TableQueryBuilder
- findOrDefault(Entity.Id<T>, Supplier<T>) - Method in interface tech.ydb.yoj.repository.db.Table
- findUncached(Set<ID>, FilterExpression<T>, OrderExpression<T>, Integer) - Method in class tech.ydb.yoj.repository.db.AbstractDelegatingTable
- findUncached(Set<ID>, FilterExpression<T>, OrderExpression<T>, Integer) - Method in interface tech.ydb.yoj.repository.db.Table
- first() - Method in class tech.ydb.yoj.repository.db.list.GenericListResult
- firstLevelCache() - Method in class tech.ydb.yoj.repository.db.cache.TransactionLocal
- FirstLevelCache - Interface in tech.ydb.yoj.repository.db.cache
- flattenId() - Method in class tech.ydb.yoj.repository.db.EntitySchema
- flattenId(Entity.Id<T>) - Method in class tech.ydb.yoj.repository.db.EntitySchema
- forceUpdate() - Method in class tech.ydb.yoj.repository.db.cache.DbValueUpdater
-
Forces an immediate value update.
- forEach(Consumer<? super R>) - Method in class tech.ydb.yoj.repository.db.list.GenericListResult
- forEntity(Class<U>, UnaryOperator<String>) - Method in class tech.ydb.yoj.repository.db.list.ListRequest
- format(String) - Method in class tech.ydb.yoj.repository.db.cache.TransactionLog
- forPage(ListRequest<T>, Class<V>, List<V>) - Static method in class tech.ydb.yoj.repository.db.list.ViewListResult
- forPage(ListRequest<T>, List<T>) - Static method in class tech.ydb.yoj.repository.db.list.ListResult
- forSchema(Schema<U>, UnaryOperator<String>) - Method in class tech.ydb.yoj.repository.db.list.ListRequest.ListingParams
- from(EntitySchema<T>) - Static method in class tech.ydb.yoj.repository.db.EntityIdSchema
- fromJson(Type, String) - Method in interface tech.ydb.yoj.repository.db.common.JsonConverter
-
Deserializes an object of the specified type from its JSON representation.
- fromKeyInclusive(ID) - Method in class tech.ydb.yoj.repository.db.readtable.ReadTableParams.ReadTableParamsBuilder
- fromObject(Type, Object) - Method in interface tech.ydb.yoj.repository.db.common.JsonConverter
-
Converts an object to a different type using JSON mapping logic as an intermediary.
- fromObject(Type, Object) - Static method in class tech.ydb.yoj.repository.db.common.CommonConverters
G
- generateAndSaveNew(Supplier<T>) - Method in interface tech.ydb.yoj.repository.db.Table
- GenericListResult<T,
R> - Class in tech.ydb.yoj.repository.db.list -
Common functionality for ListResult and ViewListResult: implementation of Iterable, last() first().
- GenericListResult() - Constructor for class tech.ydb.yoj.repository.db.list.GenericListResult
- GenericListResult.Builder<T extends Entity<T>,
R, Target> - Class in tech.ydb.yoj.repository.db.list - get() - Static method in class tech.ydb.yoj.repository.db.cache.TransactionLocal
- get() - Static method in class tech.ydb.yoj.repository.db.Tx.Current
- get(RepositoryCache.Key) - Method in interface tech.ydb.yoj.repository.db.cache.RepositoryCache
- get(RepositoryCache.Key) - Method in class tech.ydb.yoj.repository.db.cache.RepositoryCacheImpl
- get(Entity.Id<E>, Function<Entity.Id<E>, E>) - Method in interface tech.ydb.yoj.repository.db.cache.FirstLevelCache
- getCancelAfter() - Method in class tech.ydb.yoj.repository.db.TxOptions.TimeoutOptions
-
Calculates canceAfter parameter for ydb sdk, which must be 50-100ms less than a transport timeout.
- getDeadlineAfter() - Method in class tech.ydb.yoj.repository.db.TxOptions.TimeoutOptions
- getDefault() - Static method in class tech.ydb.yoj.repository.db.readtable.ReadTableParams
- getFilter() - Method in class tech.ydb.yoj.repository.db.list.ListRequest
- getFirstLevelCache() - Method in interface tech.ydb.yoj.repository.db.Table
- getId() - Method in interface tech.ydb.yoj.repository.db.Entity
- getId() - Method in interface tech.ydb.yoj.repository.db.RecordEntity
- getId() - Method in interface tech.ydb.yoj.repository.db.Table.RecordViewId
- getId() - Method in interface tech.ydb.yoj.repository.db.Table.ViewId
- getIdComparator(Class<T>) - Static method in class tech.ydb.yoj.repository.db.EntityIdSchema
- getIdSchema() - Method in class tech.ydb.yoj.repository.db.EntitySchema
- getIsolationLevel() - Method in class tech.ydb.yoj.repository.db.StdTxManager
- getIsolationLevel() - Method in interface tech.ydb.yoj.repository.db.TxManagerState
- getLogContext() - Method in interface tech.ydb.yoj.repository.db.TxManagerState
- getName() - Method in interface tech.ydb.yoj.repository.db.Tx
- getOptions() - Method in interface tech.ydb.yoj.repository.db.RepositoryTransaction
- getOrderBy() - Method in class tech.ydb.yoj.repository.db.list.ListRequest
- getParams() - Method in class tech.ydb.yoj.repository.db.list.GenericListResult
- getRepository() - Method in interface tech.ydb.yoj.repository.db.TxManagerState
- getRepositoryTransaction() - Method in interface tech.ydb.yoj.repository.db.Tx
- getRequestSchema() - Method in class tech.ydb.yoj.repository.db.list.GenericListResult
- getSchema() - Method in class tech.ydb.yoj.repository.db.Range
- getState() - Method in class tech.ydb.yoj.repository.db.DelegatingTxManager
- getState() - Method in class tech.ydb.yoj.repository.db.StdTxManager
- getState() - Method in interface tech.ydb.yoj.repository.db.TxManager
- getTransactionLocal() - Method in interface tech.ydb.yoj.repository.db.cache.TransactionLocal.Holder
- getTransactionLocal() - Method in interface tech.ydb.yoj.repository.db.RepositoryTransaction
- getType() - Method in class tech.ydb.yoj.repository.db.AbstractDelegatingTable
- getType() - Method in interface tech.ydb.yoj.repository.db.Entity.Id
- getType() - Method in interface tech.ydb.yoj.repository.db.Table
- gt(Object) - Method in class tech.ydb.yoj.repository.db.TableQueryBuilder.TableQueryFieldFilterBuilder
- gte(Object) - Method in class tech.ydb.yoj.repository.db.TableQueryBuilder.TableQueryFieldFilterBuilder
H
- hash() - Method in class tech.ydb.yoj.repository.db.list.ListRequest.ListingParams
- hashCode() - Method in class tech.ydb.yoj.repository.db.DelegatingTxManager
- having(boolean, Supplier<Entity<?>>) - Method in class tech.ydb.yoj.repository.db.EntityList
- having(boolean, Stream<Entity<?>>) - Method in class tech.ydb.yoj.repository.db.EntityList
- having(boolean, Entity<?>) - Method in class tech.ydb.yoj.repository.db.EntityList
- healthCheck() - Method in interface tech.ydb.yoj.repository.db.Repository
I
- id() - Method in interface tech.ydb.yoj.repository.db.Table.RecordViewId
- ID_FIELD_NAME - Static variable in class tech.ydb.yoj.repository.db.EntityIdSchema
- ids(Set<ID>) - Method in class tech.ydb.yoj.repository.db.TableQueryBuilder
- IllegalTransactionException - Exception in tech.ydb.yoj.repository.db.exception
- IllegalTransactionException(String) - Constructor for exception tech.ydb.yoj.repository.db.exception.IllegalTransactionException
- IllegalTransactionIsolationLevelException - Exception in tech.ydb.yoj.repository.db.exception
- IllegalTransactionIsolationLevelException(String, IsolationLevel) - Constructor for exception tech.ydb.yoj.repository.db.exception.IllegalTransactionIsolationLevelException
- IllegalTransactionScanException - Exception in tech.ydb.yoj.repository.db.exception
- IllegalTransactionScanException(String) - Constructor for exception tech.ydb.yoj.repository.db.exception.IllegalTransactionScanException
- immediateWrites() - Method in class tech.ydb.yoj.repository.db.DelegatingTxManager
- immediateWrites() - Method in class tech.ydb.yoj.repository.db.StdTxManager
- immediateWrites() - Method in interface tech.ydb.yoj.repository.db.TxManager
-
Disable pending write queue in transaction and execute write changes immediately.
- in(Collection<? extends V>) - Method in class tech.ydb.yoj.repository.db.TableQueryBuilder.TableQueryFieldFilterBuilder
- in(V, V...) - Method in class tech.ydb.yoj.repository.db.TableQueryBuilder.TableQueryFieldFilterBuilder
- index(String) - Method in class tech.ydb.yoj.repository.db.list.ListRequest.Builder
- index(String) - Method in class tech.ydb.yoj.repository.db.TableQueryBuilder
- info(String) - Method in class tech.ydb.yoj.repository.db.cache.TransactionLog
- info(String, Object...) - Method in class tech.ydb.yoj.repository.db.cache.TransactionLog
- INFO - Enum constant in enum class tech.ydb.yoj.repository.db.cache.TransactionLog.Level
-
Brief logging: commit and rollback timings, DB session timings.
- InMemoryQueries - Class in tech.ydb.yoj.repository.db.list
- InMemoryQueries() - Constructor for class tech.ydb.yoj.repository.db.list.InMemoryQueries
- insert(T) - Method in class tech.ydb.yoj.repository.db.AbstractDelegatingTable
- insert(T) - Method in interface tech.ydb.yoj.repository.db.Table
- insert(T, T...) - Method in interface tech.ydb.yoj.repository.db.Table
- insertAll(Collection<? extends T>) - Method in interface tech.ydb.yoj.repository.db.Table
- instance(Supplier<X>) - Method in class tech.ydb.yoj.repository.db.cache.TransactionLocal
- INSTANCE - Static variable in class tech.ydb.yoj.repository.db.list.token.EmptyPageToken
- InternalRepositoryException - Exception in tech.ydb.yoj.repository.db.exception
- InternalRepositoryException(Throwable) - Constructor for exception tech.ydb.yoj.repository.db.exception.InternalRepositoryException
- InvalidPageToken() - Constructor for exception tech.ydb.yoj.repository.db.list.BadListingException.InvalidPageToken
- InvalidPageToken(Throwable) - Constructor for exception tech.ydb.yoj.repository.db.list.BadListingException.InvalidPageToken
- isEmpty() - Method in class tech.ydb.yoj.repository.db.list.GenericListResult
- isFirstLevelCache() - Method in class tech.ydb.yoj.repository.db.StdTxManager
- isFirstLevelCache() - Method in interface tech.ydb.yoj.repository.db.TxManagerState
- isFlattenable(ReflectField) - Method in class tech.ydb.yoj.repository.db.EntityIdSchema
- isFlattenable(ReflectField) - Method in class tech.ydb.yoj.repository.db.EntitySchema
- isFlattenable(ReflectField) - Method in class tech.ydb.yoj.repository.db.ViewSchema
- isIdField(Schema.JavaField) - Static method in class tech.ydb.yoj.repository.db.EntityIdSchema
- isIdFieldName(String) - Static method in class tech.ydb.yoj.repository.db.EntityIdSchema
- isIdFieldPath(String) - Static method in class tech.ydb.yoj.repository.db.EntityIdSchema
- isImmutable() - Method in class tech.ydb.yoj.repository.db.TxOptions
- isMutable() - Method in class tech.ydb.yoj.repository.db.TxOptions
- isNotNull() - Method in class tech.ydb.yoj.repository.db.TableQueryBuilder.TableQueryFieldFilterBuilder
- isNull() - Method in class tech.ydb.yoj.repository.db.TableQueryBuilder.TableQueryFieldFilterBuilder
- IsolationLevel - Enum Class in tech.ydb.yoj.repository.db
-
The transaction isolation level.
- isPartial() - Method in interface tech.ydb.yoj.repository.db.Entity.Id
- isReadOnly() - Method in enum class tech.ydb.yoj.repository.db.IsolationLevel
-
Indicates whether the transaction is read-only.
- isReadOnly() - Method in class tech.ydb.yoj.repository.db.StdTxManager
- isReadOnly() - Method in interface tech.ydb.yoj.repository.db.TxManagerState
- isReadOnly() - Method in class tech.ydb.yoj.repository.db.TxOptions
- isReadWrite() - Method in enum class tech.ydb.yoj.repository.db.IsolationLevel
-
Indicates whether the transaction is read-write.
- isReadWrite() - Method in class tech.ydb.yoj.repository.db.TxOptions
- isScan() - Method in class tech.ydb.yoj.repository.db.StdTxManager
- isScan() - Method in interface tech.ydb.yoj.repository.db.TxManagerState
- isScan() - Method in class tech.ydb.yoj.repository.db.TxOptions
- isUpdaterActive() - Method in class tech.ydb.yoj.repository.db.cache.DbValueUpdater
-
Checks if updater is active
- iterator() - Method in class tech.ydb.yoj.repository.db.list.GenericListResult
J
- JsonConverter - Interface in tech.ydb.yoj.repository.db.common
K
- Key() - Constructor for class tech.ydb.yoj.repository.db.cache.RepositoryCache.Key
- keys(Set<?>) - Method in class tech.ydb.yoj.repository.db.TableQueryBuilder
L
- last() - Method in class tech.ydb.yoj.repository.db.list.GenericListResult
- lastPage - Variable in class tech.ydb.yoj.repository.db.list.GenericListResult.Builder
- lastPage(boolean) - Method in class tech.ydb.yoj.repository.db.list.GenericListResult.Builder
- lenientFieldMapping(Class<P>, Class<T>) - Static method in class tech.ydb.yoj.repository.db.projection.ProjectionMappings
-
Creates a lenient one-to-one mapping from entity fields to projection fields, which contains all
strict mappings, plus mappings of the form<entity field> <-> <projection field with the same path>(if both fields exist). - limit(long) - Method in class tech.ydb.yoj.repository.db.TableQueryBuilder
- list(StreamSupplier<T>, ListRequest<T>) - Static method in class tech.ydb.yoj.repository.db.list.InMemoryQueries
- list(Class<V>, ListRequest<T>) - Method in interface tech.ydb.yoj.repository.db.Table
- list(ListRequest<T>) - Method in interface tech.ydb.yoj.repository.db.Table
- Listing() - Constructor for class tech.ydb.yoj.repository.db.projection.ProjectionMappings.ListViaProjection.Listing
- ListingParams() - Constructor for class tech.ydb.yoj.repository.db.list.ListRequest.ListingParams
- ListRequest<T> - Class in tech.ydb.yoj.repository.db.list
-
Listing request.
- ListRequest() - Constructor for class tech.ydb.yoj.repository.db.list.ListRequest
- ListRequest.Builder<T> - Class in tech.ydb.yoj.repository.db.list
- ListRequest.Builder.BuildPageToken - Class in tech.ydb.yoj.repository.db.list
- ListRequest.ListingParams<T> - Class in tech.ydb.yoj.repository.db.list
- ListResult<T> - Class in tech.ydb.yoj.repository.db.list
-
Listing result page.
- ListResult.ListResultBuilder<T extends Entity<T>> - Class in tech.ydb.yoj.repository.db.list
- listViaProjection(Class<P>) - Static method in class tech.ydb.yoj.repository.db.projection.ProjectionMappings
- ListViaProjection() - Constructor for class tech.ydb.yoj.repository.db.projection.ProjectionMappings.ListViaProjection
- load(Entity<?>) - Method in interface tech.ydb.yoj.repository.db.projection.ProjectionCache
- load(Entity<?>) - Method in class tech.ydb.yoj.repository.db.projection.RoProjectionCache
- load(Entity<?>) - Method in class tech.ydb.yoj.repository.db.projection.RwProjectionCache
- loadSnapshot(String) - Method in interface tech.ydb.yoj.repository.db.Repository
- log - Static variable in class tech.ydb.yoj.repository.db.cache.DbValueUpdater
- log() - Method in class tech.ydb.yoj.repository.db.cache.TransactionLocal
- lt(Object) - Method in class tech.ydb.yoj.repository.db.TableQueryBuilder.TableQueryFieldFilterBuilder
- lte(Object) - Method in class tech.ydb.yoj.repository.db.TableQueryBuilder.TableQueryFieldFilterBuilder
M
- makeSnapshot() - Method in interface tech.ydb.yoj.repository.db.Repository
- MAX_PAGE_SIZE - Static variable in class tech.ydb.yoj.repository.db.list.ListRequest.Builder
- MAX_SKIP_SIZE - Static variable in class tech.ydb.yoj.repository.db.list.ListRequest.Builder
- maxAge - Variable in class tech.ydb.yoj.repository.db.cache.DbValueUpdater
- maxReadDuration - Variable in class tech.ydb.yoj.repository.db.cache.DbValueUpdater
- MILLISECONDS - Static variable in interface tech.ydb.yoj.repository.DbTypeQualifier
-
Timestamp is represented as epoch in milliseconds.
- minTimeoutOptions(Duration) - Method in class tech.ydb.yoj.repository.db.TxOptions
- modifyIfPresent(Entity.Id<T>, Function<T, T>) - Method in interface tech.ydb.yoj.repository.db.Table
N
- name - Variable in class tech.ydb.yoj.repository.db.cache.DbValueUpdater
- neq(Object) - Method in class tech.ydb.yoj.repository.db.TableQueryBuilder.TableQueryFieldFilterBuilder
- newFilterBuilder(Class<T>) - Static method in class tech.ydb.yoj.repository.db.EntityExpressions
- newOrderBuilder(Class<T>) - Static method in class tech.ydb.yoj.repository.db.EntityExpressions
- noFilter() - Method in class tech.ydb.yoj.repository.db.list.ListRequest.Builder
- noFirstLevelCache() - Method in class tech.ydb.yoj.repository.db.DelegatingTxManager
- noFirstLevelCache() - Method in class tech.ydb.yoj.repository.db.StdTxManager
- noFirstLevelCache() - Method in interface tech.ydb.yoj.repository.db.TxManager
-
Turn off first level cache
- noFirstLevelCache() - Method in interface tech.ydb.yoj.repository.db.TxManager.ReadonlyBuilder
- noLogging() - Method in class tech.ydb.yoj.repository.db.DelegatingTxManager
- noLogging() - Method in interface tech.ydb.yoj.repository.db.TxManager
-
Disables logging of this transaction's execution.
- NONE - Static variable in interface tech.ydb.yoj.repository.db.common.JsonConverter
- nonTx(Class<T>, T) - Static method in class tech.ydb.yoj.repository.db.NonTx
-
Wraps the specified object so that it cannot be invoked inside a transaction.
- NonTx - Class in tech.ydb.yoj.repository.db
- notIn(Collection<? extends V>) - Method in class tech.ydb.yoj.repository.db.TableQueryBuilder.TableQueryFieldFilterBuilder
- notIn(V, V...) - Method in class tech.ydb.yoj.repository.db.TableQueryBuilder.TableQueryFieldFilterBuilder
O
- of(Class<ID>) - Static method in class tech.ydb.yoj.repository.db.EntityIdSchema
- of(Class<ID>, NamingStrategy) - Static method in class tech.ydb.yoj.repository.db.EntityIdSchema
- of(Class<T>) - Static method in class tech.ydb.yoj.repository.db.EntitySchema
- of(Class<T>, NamingStrategy) - Static method in class tech.ydb.yoj.repository.db.EntitySchema
- of(Class<VIEW>) - Static method in class tech.ydb.yoj.repository.db.ViewSchema
- of(Class<VIEW>, NamingStrategy) - Static method in class tech.ydb.yoj.repository.db.ViewSchema
- of(SchemaRegistry, Class<ID>) - Static method in class tech.ydb.yoj.repository.db.EntityIdSchema
- of(SchemaRegistry, Class<ID>, NamingStrategy) - Static method in class tech.ydb.yoj.repository.db.EntityIdSchema
- of(SchemaRegistry, Class<T>) - Static method in class tech.ydb.yoj.repository.db.EntitySchema
- of(SchemaRegistry, Class<T>, NamingStrategy) - Static method in class tech.ydb.yoj.repository.db.EntitySchema
- of(SchemaRegistry, Class<VIEW>) - Static method in class tech.ydb.yoj.repository.db.ViewSchema
- of(SchemaRegistry, Class<VIEW>, NamingStrategy) - Static method in class tech.ydb.yoj.repository.db.ViewSchema
- of(SchemaRegistry, SchemaRegistry.SchemaKey<T>) - Static method in class tech.ydb.yoj.repository.db.EntitySchema
- ofEntity(Class<T>) - Static method in class tech.ydb.yoj.repository.db.EntityIdSchema
- ofEntity(Class<T>, NamingStrategy) - Static method in class tech.ydb.yoj.repository.db.EntityIdSchema
- ofEntity(SchemaRegistry, Class<T>, NamingStrategy) - Static method in class tech.ydb.yoj.repository.db.EntityIdSchema
- OFF - Enum constant in enum class tech.ydb.yoj.repository.db.cache.TransactionLog.Level
-
Disable transaction execution log.
- offset(long) - Method in class tech.ydb.yoj.repository.db.list.ListRequest.Builder
- offset(long) - Method in class tech.ydb.yoj.repository.db.TableQueryBuilder
- ONLINE_CONSISTENT_READ_ONLY - Enum constant in enum class tech.ydb.yoj.repository.db.IsolationLevel
-
The most recent consistent state of the database.
- ONLINE_INCONSISTENT_READ_ONLY - Enum constant in enum class tech.ydb.yoj.repository.db.IsolationLevel
-
The most recent inconsistent state of the database.
- opaqueObjectValueGetter(Type, Function<S, Object>) - Static method in class tech.ydb.yoj.repository.db.common.CommonConverters
- opaqueObjectValueSetter(Type, BiConsumer<D, Object>) - Static method in class tech.ydb.yoj.repository.db.common.CommonConverters
- OptimisticLockException - Exception in tech.ydb.yoj.repository.db.exception
- OptimisticLockException(String) - Constructor for exception tech.ydb.yoj.repository.db.exception.OptimisticLockException
- OptimisticLockException(String, Throwable) - Constructor for exception tech.ydb.yoj.repository.db.exception.OptimisticLockException
- or(String) - Method in class tech.ydb.yoj.repository.db.TableQueryBuilder
- or(UnaryOperator<FilterBuilder<T>>) - Method in class tech.ydb.yoj.repository.db.TableQueryBuilder
- or(FilterExpression<T>) - Method in class tech.ydb.yoj.repository.db.TableQueryBuilder
- orderBy(UnaryOperator<OrderBuilder<T>>) - Method in class tech.ydb.yoj.repository.db.list.ListRequest.Builder
- orderBy(UnaryOperator<OrderBuilder<T>>) - Method in class tech.ydb.yoj.repository.db.TableQueryBuilder
- orderBy(OrderExpression<T>) - Method in class tech.ydb.yoj.repository.db.list.ListRequest.Builder
- orderBy(OrderExpression<T>) - Method in class tech.ydb.yoj.repository.db.TableQueryBuilder
- orderById(Class<T>, OrderExpression.SortOrder) - Static method in class tech.ydb.yoj.repository.db.EntityExpressions
- ordered() - Method in class tech.ydb.yoj.repository.db.readtable.ReadTableParams.ReadTableParamsBuilder
P
- pageSize(long) - Method in class tech.ydb.yoj.repository.db.list.ListRequest.Builder
- pageToken(PageToken) - Method in class tech.ydb.yoj.repository.db.list.ListRequest.Builder
- PageToken - Interface in tech.ydb.yoj.repository.db.list.token
-
Encodes
search result pagesinto reasonably compact page tokens, and decodes them back intolisting requests. - params() - Method in class tech.ydb.yoj.repository.db.list.ListRequest.Builder
- peek(Entity.Id<E>) - Method in interface tech.ydb.yoj.repository.db.cache.FirstLevelCache
- pollInterval - Variable in class tech.ydb.yoj.repository.db.cache.DbValueUpdater
- postLoad() - Method in interface tech.ydb.yoj.repository.db.Entity
- postLoad(List<T>) - Method in interface tech.ydb.yoj.repository.db.Table
- postLoad(T) - Method in interface tech.ydb.yoj.repository.db.Table
- preSave() - Method in interface tech.ydb.yoj.repository.db.Entity
- projectionCache() - Method in class tech.ydb.yoj.repository.db.cache.TransactionLocal
- ProjectionCache - Interface in tech.ydb.yoj.repository.db.projection
- ProjectionMappings - Class in tech.ydb.yoj.repository.db.projection
- ProjectionMappings.ListViaProjection<P extends Entity<P>> - Class in tech.ydb.yoj.repository.db.projection
- ProjectionMappings.ListViaProjection.Listing<T extends Entity<T>,
P extends Entity<P>> - Class in tech.ydb.yoj.repository.db.projection - ProjectionMappings.ListViaProjection.TransformedListing<T extends Entity<T>,
P extends Entity<P>> - Class in tech.ydb.yoj.repository.db.projection - Projections - Annotation Interface in tech.ydb.yoj.repository.db.projection
- put(E) - Method in interface tech.ydb.yoj.repository.db.cache.FirstLevelCache
- put(RepositoryCache.Key, Object) - Method in interface tech.ydb.yoj.repository.db.cache.RepositoryCache
- put(RepositoryCache.Key, Object) - Method in class tech.ydb.yoj.repository.db.cache.RepositoryCacheImpl
- putEmpty(Entity.Id<E>) - Method in interface tech.ydb.yoj.repository.db.cache.FirstLevelCache
Q
- query() - Method in interface tech.ydb.yoj.repository.db.Table
- QueryCancelledException - Exception in tech.ydb.yoj.repository.db.exception
- QueryCancelledException(String) - Constructor for exception tech.ydb.yoj.repository.db.exception.QueryCancelledException
- QueryCancelledException(String, Throwable) - Constructor for exception tech.ydb.yoj.repository.db.exception.QueryCancelledException
- QueryInterruptedException - Exception in tech.ydb.yoj.repository.db.exception
-
Thrown if the thread awaiting the query's results has been interrupted.
- QueryInterruptedException(String) - Constructor for exception tech.ydb.yoj.repository.db.exception.QueryInterruptedException
- QueryInterruptedException(String, Throwable) - Constructor for exception tech.ydb.yoj.repository.db.exception.QueryInterruptedException
R
- Range<ID extends Entity.Id<?>> - Class in tech.ydb.yoj.repository.db
- Range() - Constructor for class tech.ydb.yoj.repository.db.Range
- readCached() - Method in class tech.ydb.yoj.repository.db.cache.DbValueUpdater
- readOnly() - Method in class tech.ydb.yoj.repository.db.DelegatingTxManager
- readOnly() - Method in class tech.ydb.yoj.repository.db.StdTxManager
- readOnly() - Method in interface tech.ydb.yoj.repository.db.TxManager
-
Start a transaction-like session of read-only statements.
- readTable() - Method in interface tech.ydb.yoj.repository.db.Table
- readTable(Class<V>, ReadTableParams<ID>) - Method in class tech.ydb.yoj.repository.db.AbstractDelegatingTable
- readTable(Class<V>, ReadTableParams<ID>) - Method in interface tech.ydb.yoj.repository.db.Table
- readTable(ReadTableParams<ID>) - Method in class tech.ydb.yoj.repository.db.AbstractDelegatingTable
- readTable(ReadTableParams<ID>) - Method in interface tech.ydb.yoj.repository.db.Table
- readTableIds() - Method in interface tech.ydb.yoj.repository.db.Table
- readTableIds(ReadTableParams<ID>) - Method in class tech.ydb.yoj.repository.db.AbstractDelegatingTable
- readTableIds(ReadTableParams<ID>) - Method in interface tech.ydb.yoj.repository.db.Table
- ReadTableParams<ID> - Class in tech.ydb.yoj.repository.db.readtable
- ReadTableParams() - Constructor for class tech.ydb.yoj.repository.db.readtable.ReadTableParams
- ReadTableParams.ReadTableParamsBuilder<ID> - Class in tech.ydb.yoj.repository.db.readtable
- ReadTableParamsBuilder() - Constructor for class tech.ydb.yoj.repository.db.readtable.ReadTableParams.ReadTableParamsBuilder
- RecordEntity<E extends RecordEntity<E>> - Interface in tech.ydb.yoj.repository.db
-
Base interface for entities that are Java
records. - Repository - Interface in tech.ydb.yoj.repository.db
- RepositoryCache - Interface in tech.ydb.yoj.repository.db.cache
- RepositoryCache.Key - Class in tech.ydb.yoj.repository.db.cache
- RepositoryCacheImpl - Class in tech.ydb.yoj.repository.db.cache
- RepositoryCacheImpl() - Constructor for class tech.ydb.yoj.repository.db.cache.RepositoryCacheImpl
- RepositoryException - Exception in tech.ydb.yoj.repository.db.exception
-
Base class for all database access exceptions.
- RepositoryException(String) - Constructor for exception tech.ydb.yoj.repository.db.exception.RepositoryException
- RepositoryException(String, Throwable) - Constructor for exception tech.ydb.yoj.repository.db.exception.RepositoryException
- RepositoryTransaction - Interface in tech.ydb.yoj.repository.db
-
A DB transaction.
- request - Variable in class tech.ydb.yoj.repository.db.list.GenericListResult.Builder
- resolve() - Method in interface tech.ydb.yoj.repository.db.Entity.Id
-
Deprecated, for removal: This API element is subject to removal in a future version.This method will be removed in YOJ 3.0.0. Use
Table.find(Entity.Id)instead. - resolve(Supplier<? extends EXCEPTION>) - Method in interface tech.ydb.yoj.repository.db.Entity.Id
-
Deprecated, for removal: This API element is subject to removal in a future version.This method will be removed in YOJ 3.0.0. Use
Table.find(Entity.Id, Supplier)instead. - rethrow() - Method in exception tech.ydb.yoj.repository.db.exception.EntityAlreadyExistsException
- rethrow() - Method in exception tech.ydb.yoj.repository.db.exception.RetryableException
- RetryableException - Exception in tech.ydb.yoj.repository.db.exception
-
Base class for retryable database access exceptions.
- RetryableException(String) - Constructor for exception tech.ydb.yoj.repository.db.exception.RetryableException
- RetryableException(String, Throwable) - Constructor for exception tech.ydb.yoj.repository.db.exception.RetryableException
- RetryableException(String, RetryPolicy) - Constructor for exception tech.ydb.yoj.repository.db.exception.RetryableException
- RetryableException(String, RetryPolicy, Throwable) - Constructor for exception tech.ydb.yoj.repository.db.exception.RetryableException
- returnWithParams(ListRequest.ListingParams<T>) - Method in class tech.ydb.yoj.repository.db.list.ListResult
- returnWithParams(ListRequest.ListingParams<T>) - Method in class tech.ydb.yoj.repository.db.list.ViewListResult
- rollback() - Method in interface tech.ydb.yoj.repository.db.RepositoryTransaction
-
Rollbacks that transaction.
- RoProjectionCache - Class in tech.ydb.yoj.repository.db.projection
- RoProjectionCache() - Constructor for class tech.ydb.yoj.repository.db.projection.RoProjectionCache
- run(Function<ListRequest<P>, ListResult<P>>) - Method in class tech.ydb.yoj.repository.db.projection.ProjectionMappings.ListViaProjection.Listing
- run(Function<ListRequest<P>, ListResult<P>>) - Method in class tech.ydb.yoj.repository.db.projection.ProjectionMappings.ListViaProjection.TransformedListing
- run(Runnable) - Method in interface tech.ydb.yoj.repository.db.TxManager.ReadonlyBuilder
- run(Runnable) - Method in interface tech.ydb.yoj.repository.db.TxManager.ScanBuilder
- run(Supplier<T>) - Method in interface tech.ydb.yoj.repository.db.TxManager.ReadonlyBuilder
- run(Supplier<T>) - Method in interface tech.ydb.yoj.repository.db.TxManager.ScanBuilder
- RwProjectionCache - Class in tech.ydb.yoj.repository.db.projection
- RwProjectionCache() - Constructor for class tech.ydb.yoj.repository.db.projection.RwProjectionCache
S
- save(T) - Method in class tech.ydb.yoj.repository.db.AbstractDelegatingTable
- save(T) - Method in interface tech.ydb.yoj.repository.db.Table
- save(Entity<?>) - Method in interface tech.ydb.yoj.repository.db.projection.ProjectionCache
- save(Entity<?>) - Method in class tech.ydb.yoj.repository.db.projection.RoProjectionCache
- save(Entity<?>) - Method in class tech.ydb.yoj.repository.db.projection.RwProjectionCache
- saveNewOrThrow(T, Supplier<? extends X>) - Method in interface tech.ydb.yoj.repository.db.Table
- saveOrUpdate(T) - Method in interface tech.ydb.yoj.repository.db.Table
- scan() - Method in class tech.ydb.yoj.repository.db.DelegatingTxManager
- scan() - Method in class tech.ydb.yoj.repository.db.StdTxManager
- scan() - Method in interface tech.ydb.yoj.repository.db.TxManager
-
Start a transaction-like session of scan queries.
- ScanOptions() - Constructor for class tech.ydb.yoj.repository.db.TxOptions.ScanOptions
- schema() - Method in class tech.ydb.yoj.repository.db.list.ListRequest.Builder
- schema(Class<T>) - Method in interface tech.ydb.yoj.repository.db.Repository
- SchemaOperations<T> - Interface in tech.ydb.yoj.repository.db
- SECONDS - Static variable in interface tech.ydb.yoj.repository.DbTypeQualifier
-
Timestamp is represented as epoch in seconds.
- separate() - Method in class tech.ydb.yoj.repository.db.DelegatingTxManager
- separate() - Method in class tech.ydb.yoj.repository.db.StdTxManager
- separate() - Method in interface tech.ydb.yoj.repository.db.TxManager
-
Mark transaction as explicitly separate from current transaction.
- SERIALIZABLE_READ_WRITE - Enum constant in enum class tech.ydb.yoj.repository.db.IsolationLevel
-
All transactions are serialized one-by-one.
- serializeEnumToStringValue(Type, Object) - Static method in class tech.ydb.yoj.repository.db.common.CommonConverters
- serializeEnumValue(Type, Object) - Static method in class tech.ydb.yoj.repository.db.common.CommonConverters
- serializeOpaqueObjectValue(Type, Object) - Static method in class tech.ydb.yoj.repository.db.common.CommonConverters
- serializeUuidValue(Object) - Static method in class tech.ydb.yoj.repository.db.common.CommonConverters
- set(String, T) - Method in class tech.ydb.yoj.repository.db.statement.Changeset
-
Deprecated.
- setAll(Map<String, ?>) - Method in class tech.ydb.yoj.repository.db.statement.Changeset
-
Deprecated.
- setAll(Changeset) - Method in class tech.ydb.yoj.repository.db.statement.Changeset
-
Deprecated.
- setField(String, V) - Static method in class tech.ydb.yoj.repository.db.statement.Changeset
-
Deprecated.
- shutdown() - Method in class tech.ydb.yoj.repository.db.cache.DbValueUpdater
- shutdown() - Method in interface tech.ydb.yoj.repository.db.Repository
- shutdownTimeout - Variable in class tech.ydb.yoj.repository.db.cache.DbValueUpdater
- size() - Method in class tech.ydb.yoj.repository.db.list.GenericListResult
- sleep(int) - Method in exception tech.ydb.yoj.repository.db.exception.RetryableException
-
Sleeps for the recommended amount of time before retrying.
- snapshot(Class<E>) - Method in interface tech.ydb.yoj.repository.db.cache.FirstLevelCache
-
Returns a immutable copy of the entities of
entityTypetype that are in the transaction L1 cache. - SORT_ENTITY_BY_ID - Static variable in class tech.ydb.yoj.repository.db.EntityIdSchema
- spliterator() - Method in class tech.ydb.yoj.repository.db.list.GenericListResult
- STALE_CONSISTENT_READ_ONLY - Enum constant in enum class tech.ydb.yoj.repository.db.IsolationLevel
-
An almost recent consistent state of the database.
- start() - Method in class tech.ydb.yoj.repository.db.cache.DbValueUpdater
- startTransaction() - Method in interface tech.ydb.yoj.repository.db.Repository
- startTransaction(IsolationLevel) - Method in interface tech.ydb.yoj.repository.db.Repository
- startTransaction(TxOptions) - Method in interface tech.ydb.yoj.repository.db.Repository
- StdTxManager - Class in tech.ydb.yoj.repository.db
-
Standard implementation of
transaction managerinterface, which logs transaction statements and results, and reports transaction execution metrics: rollback and commit counts; attempt duration, total duration and retry count histograms. - StdTxManager(Repository) - Constructor for class tech.ydb.yoj.repository.db.StdTxManager
- StdTxManager(Repository, int, String, Integer, String, TxOptions) - Constructor for class tech.ydb.yoj.repository.db.StdTxManager
-
Deprecated.Low-level constructor, kept for compatibility with existing code. Not recommended.
- stream() - Method in class tech.ydb.yoj.repository.db.list.GenericListResult
- streamAll(int) - Method in class tech.ydb.yoj.repository.db.AbstractDelegatingTable
- streamAll(int) - Method in interface tech.ydb.yoj.repository.db.Table
- streamAll(Class<V>, int) - Method in class tech.ydb.yoj.repository.db.AbstractDelegatingTable
- streamAll(Class<V>, int) - Method in interface tech.ydb.yoj.repository.db.Table
- streamAllIds(int) - Method in class tech.ydb.yoj.repository.db.AbstractDelegatingTable
- streamAllIds(int) - Method in interface tech.ydb.yoj.repository.db.Table
- streamPartial(ID, int) - Method in class tech.ydb.yoj.repository.db.AbstractDelegatingTable
- streamPartial(ID, int) - Method in interface tech.ydb.yoj.repository.db.Table
- streamPartial(Class<V>, ID, int) - Method in class tech.ydb.yoj.repository.db.AbstractDelegatingTable
- streamPartial(Class<V>, ID, int) - Method in interface tech.ydb.yoj.repository.db.Table
- streamPartialIds(ID, int) - Method in class tech.ydb.yoj.repository.db.AbstractDelegatingTable
- streamPartialIds(ID, int) - Method in interface tech.ydb.yoj.repository.db.Table
- strictFieldMapping(Class<P>, Class<T>) - Static method in class tech.ydb.yoj.repository.db.projection.ProjectionMappings
-
Creates a one-to-one mapping from entity fields to entity projection ID fields, assuming that the projection ID contains fields with the same name as in the main entity and at most one field for the main entity ID (with any name).
T
- table(Class<T>) - Method in interface tech.ydb.yoj.repository.BaseDb
- table(Class<T>) - Method in interface tech.ydb.yoj.repository.db.RepositoryTransaction
- Table<T extends Entity<T>> - Interface in tech.ydb.yoj.repository.db
- Table.RecordViewId<E extends Entity<E>> - Interface in tech.ydb.yoj.repository.db
-
Base interface for ID-aware views that are implemented as
Java Records. - Table.View - Interface in tech.ydb.yoj.repository.db
-
Base interface for views, that is, arbitrary subsets of
Entityfields. - Table.ViewId<E extends Entity<E>> - Interface in tech.ydb.yoj.repository.db
-
Base interface for ID-aware views, that is, subsets of
Entityfields that contain the Entity's ID. - TableQueryBuilder<T extends Entity<T>> - Class in tech.ydb.yoj.repository.db
- TableQueryBuilder(Table<T>) - Constructor for class tech.ydb.yoj.repository.db.TableQueryBuilder
- TableQueryBuilder.TableQueryFieldFilterBuilder - Class in tech.ydb.yoj.repository.db
- TableQueryFieldFilterBuilder() - Constructor for class tech.ydb.yoj.repository.db.TableQueryBuilder.TableQueryFieldFilterBuilder
- tables() - Method in interface tech.ydb.yoj.repository.db.Repository
-
Deprecated.For testing purposes only. Will only reliably work for tables that were created or inspected using calls to
Repository.schema(Class). - tech.ydb.yoj.repository - package tech.ydb.yoj.repository
- tech.ydb.yoj.repository.db - package tech.ydb.yoj.repository.db
- tech.ydb.yoj.repository.db.bulk - package tech.ydb.yoj.repository.db.bulk
- tech.ydb.yoj.repository.db.cache - package tech.ydb.yoj.repository.db.cache
- tech.ydb.yoj.repository.db.common - package tech.ydb.yoj.repository.db.common
- tech.ydb.yoj.repository.db.exception - package tech.ydb.yoj.repository.db.exception
- tech.ydb.yoj.repository.db.list - package tech.ydb.yoj.repository.db.list
- tech.ydb.yoj.repository.db.list.token - package tech.ydb.yoj.repository.db.list.token
- tech.ydb.yoj.repository.db.projection - package tech.ydb.yoj.repository.db.projection
- tech.ydb.yoj.repository.db.readtable - package tech.ydb.yoj.repository.db.readtable
- tech.ydb.yoj.repository.db.statement - package tech.ydb.yoj.repository.db.statement
- threadFactory - Variable in class tech.ydb.yoj.repository.db.cache.DbValueUpdater
- throwIfNeeded(Collection<? extends RepositoryException>) - Static method in exception tech.ydb.yoj.repository.db.exception.AggregateRepositoryException
- throwingGet(S) - Method in interface tech.ydb.yoj.repository.db.common.CommonConverters.ThrowingGetter
- throwingSet(D, Object) - Method in interface tech.ydb.yoj.repository.db.common.CommonConverters.ThrowingSetter
- TimeoutOptions() - Constructor for class tech.ydb.yoj.repository.db.TxOptions.TimeoutOptions
- toComparator(OrderExpression<T>) - Static method in class tech.ydb.yoj.repository.db.list.InMemoryQueries
- toJson(Type, Object) - Method in interface tech.ydb.yoj.repository.db.common.JsonConverter
-
Serializes an object of the specified type to its JSON representation.
- toKeyInclusive(ID) - Method in class tech.ydb.yoj.repository.db.readtable.ReadTableParams.ReadTableParamsBuilder
- toMap() - Method in class tech.ydb.yoj.repository.db.statement.Changeset
-
Deprecated.
- toPredicate(FilterExpression<T>) - Static method in class tech.ydb.yoj.repository.db.list.InMemoryQueries
- toQueryBuilder(ListRequest<T>) - Method in interface tech.ydb.yoj.repository.db.Table
- toString() - Method in class tech.ydb.yoj.repository.db.cache.DbValueUpdater
- toString() - Method in class tech.ydb.yoj.repository.db.DelegatingTxManager
- toString() - Method in class tech.ydb.yoj.repository.db.list.GenericListResult.Builder
- toString() - Method in class tech.ydb.yoj.repository.db.Range
- toString() - Method in class tech.ydb.yoj.repository.db.StdTxManager
- TransactionLocal - Class in tech.ydb.yoj.repository.db.cache
- TransactionLocal(TxOptions) - Constructor for class tech.ydb.yoj.repository.db.cache.TransactionLocal
- TransactionLocal.Holder - Interface in tech.ydb.yoj.repository.db.cache
- TransactionLog - Class in tech.ydb.yoj.repository.db.cache
- TransactionLog() - Constructor for class tech.ydb.yoj.repository.db.cache.TransactionLog
- TransactionLog.Level - Enum Class in tech.ydb.yoj.repository.db.cache
-
Log level.
- transform(UnaryOperator<T>) - Method in class tech.ydb.yoj.repository.db.list.ListResult
- TransformedListing() - Constructor for class tech.ydb.yoj.repository.db.projection.ProjectionMappings.ListViaProjection.TransformedListing
- transforming(Function<P, T>) - Method in class tech.ydb.yoj.repository.db.projection.ProjectionMappings.ListViaProjection.Listing
- tryReadValue() - Method in class tech.ydb.yoj.repository.db.cache.DbValueUpdater
- tx(Runnable) - Method in class tech.ydb.yoj.repository.db.DelegatingTxManager
- tx(Runnable) - Method in class tech.ydb.yoj.repository.db.StdTxManager
- tx(Runnable) - Method in interface tech.ydb.yoj.repository.db.TxManager
-
Performs the specified action inside a transaction.
- tx(Supplier<T>) - Method in class tech.ydb.yoj.repository.db.DelegatingTxManager
- tx(Supplier<T>) - Method in class tech.ydb.yoj.repository.db.StdTxManager
- tx(Supplier<T>) - Method in interface tech.ydb.yoj.repository.db.TxManager
-
Performs the specified action inside a transaction.
- Tx - Interface in tech.ydb.yoj.repository.db
- Tx.Current - Class in tech.ydb.yoj.repository.db
- TxManager - Interface in tech.ydb.yoj.repository.db
- TxManager.ReadonlyBuilder - Interface in tech.ydb.yoj.repository.db
- TxManager.ScanBuilder - Interface in tech.ydb.yoj.repository.db
- TxManagerState - Interface in tech.ydb.yoj.repository.db
- TxOptions - Class in tech.ydb.yoj.repository.db
-
Transaction options: isolation level, caching and logging settings.
- TxOptions() - Constructor for class tech.ydb.yoj.repository.db.TxOptions
- TxOptions.ScanOptions - Class in tech.ydb.yoj.repository.db
- TxOptions.TimeoutOptions - Class in tech.ydb.yoj.repository.db
U
- UnavailableException - Exception in tech.ydb.yoj.repository.db.exception
- UnavailableException(String) - Constructor for exception tech.ydb.yoj.repository.db.exception.UnavailableException
- UnavailableException(String, Throwable) - Constructor for exception tech.ydb.yoj.repository.db.exception.UnavailableException
- UnavailableException(String, Throwable, boolean) - Constructor for exception tech.ydb.yoj.repository.db.exception.UnavailableException
- update(Entity.Id<T>, Changeset) - Method in class tech.ydb.yoj.repository.db.AbstractDelegatingTable
- update(Entity.Id<T>, Changeset) - Method in interface tech.ydb.yoj.repository.db.Table
-
Deprecated.
- updateExistingOrThrow(T, Supplier<? extends X>) - Method in interface tech.ydb.yoj.repository.db.Table
- useNewTxNameGeneration - Static variable in class tech.ydb.yoj.repository.db.StdTxManager
- uuidValueGetter(Function<S, Object>) - Static method in class tech.ydb.yoj.repository.db.common.CommonConverters
- uuidValueSetter(BiConsumer<D, Object>) - Static method in class tech.ydb.yoj.repository.db.common.CommonConverters
V
- value() - Element in annotation interface tech.ydb.yoj.repository.db.projection.Projections
- valueOf(String) - Static method in enum class tech.ydb.yoj.repository.db.cache.TransactionLog.Level
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class tech.ydb.yoj.repository.db.IsolationLevel
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class tech.ydb.yoj.repository.db.cache.TransactionLog.Level
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class tech.ydb.yoj.repository.db.IsolationLevel
-
Returns an array containing the constants of this enum class, in the order they are declared.
- ViewListResult<T extends Entity<T>,
V extends Table.View> - Class in tech.ydb.yoj.repository.db.list -
Listing result page for entity view.
- ViewListResult.ViewListResultBuilder<T extends Entity<T>,
V extends Table.View> - Class in tech.ydb.yoj.repository.db.list - ViewSchema<VIEW extends Table.View> - Class in tech.ydb.yoj.repository.db
W
- where(String) - Method in class tech.ydb.yoj.repository.db.TableQueryBuilder
- where(UnaryOperator<FilterBuilder<T>>) - Method in class tech.ydb.yoj.repository.db.TableQueryBuilder
- where(FilterExpression<T>) - Method in class tech.ydb.yoj.repository.db.TableQueryBuilder
- with(Iterable<Entity<?>>) - Method in class tech.ydb.yoj.repository.db.EntityList
- with(Entity<?>...) - Method in class tech.ydb.yoj.repository.db.EntityList
- withBriefLogging() - Method in class tech.ydb.yoj.repository.db.DelegatingTxManager
- withBriefLogging() - Method in interface tech.ydb.yoj.repository.db.TxManager
-
Configures brief logging for this transactions's execution.
- withDryRun(boolean) - Method in class tech.ydb.yoj.repository.db.DelegatingTxManager
- withDryRun(boolean) - Method in class tech.ydb.yoj.repository.db.StdTxManager
- withDryRun(boolean) - Method in interface tech.ydb.yoj.repository.db.TxManager
-
Marks the transaction as dry-run.
- withFilter(UnaryOperator<FilterBuilder<T>>) - Method in class tech.ydb.yoj.repository.db.list.ListRequest
- withFilter(FilterExpression<T>) - Method in class tech.ydb.yoj.repository.db.list.ListRequest
- withFirstLevelCache() - Method in interface tech.ydb.yoj.repository.db.TxManager.ReadonlyBuilder
- withFirstLevelCache(boolean) - Method in interface tech.ydb.yoj.repository.db.TxManager.ReadonlyBuilder
- withLogContext(String) - Method in class tech.ydb.yoj.repository.db.DelegatingTxManager
- withLogContext(String) - Method in interface tech.ydb.yoj.repository.db.TxManager
- withLogLevel(TransactionLog.Level) - Method in class tech.ydb.yoj.repository.db.DelegatingTxManager
- withLogLevel(TransactionLog.Level) - Method in class tech.ydb.yoj.repository.db.StdTxManager
- withLogLevel(TransactionLog.Level) - Method in interface tech.ydb.yoj.repository.db.TxManager
-
Changes logging verbosity.
- withLogStatementOnSuccess(boolean) - Method in class tech.ydb.yoj.repository.db.DelegatingTxManager
- withLogStatementOnSuccess(boolean) - Method in class tech.ydb.yoj.repository.db.StdTxManager
- withLogStatementOnSuccess(boolean) - Method in interface tech.ydb.yoj.repository.db.TxManager
-
Flag for managing logging transaction statement on success.
- withMaxRetries(int) - Method in class tech.ydb.yoj.repository.db.DelegatingTxManager
- withMaxRetries(int) - Method in class tech.ydb.yoj.repository.db.StdTxManager
- withMaxRetries(int) - Method in interface tech.ydb.yoj.repository.db.TxManager
-
Sets maximum number of retries for each
tx() call:RetryableExceptions will cause the call to be retried at most(1 + maxRetries)times. - withMaxSize(long) - Method in interface tech.ydb.yoj.repository.db.TxManager.ScanBuilder
- withName(String) - Method in class tech.ydb.yoj.repository.db.DelegatingTxManager
- withName(String) - Method in interface tech.ydb.yoj.repository.db.TxManager
-
Set transaction name used for logging and metrics.
- withName(String, String) - Method in class tech.ydb.yoj.repository.db.DelegatingTxManager
- withName(String, String) - Method in interface tech.ydb.yoj.repository.db.TxManager
-
Short cut for:
- withOrderBy(UnaryOperator<OrderBuilder<T>>) - Method in class tech.ydb.yoj.repository.db.list.ListRequest
- withOrderBy(OrderExpression<T>) - Method in class tech.ydb.yoj.repository.db.list.ListRequest
- withStatementIsolationLevel(IsolationLevel) - Method in interface tech.ydb.yoj.repository.db.TxManager.ReadonlyBuilder
- withTimeout(Duration) - Method in class tech.ydb.yoj.repository.db.DelegatingTxManager
- withTimeout(Duration) - Method in class tech.ydb.yoj.repository.db.StdTxManager
- withTimeout(Duration) - Method in interface tech.ydb.yoj.repository.db.TxManager.ScanBuilder
- withTimeout(Duration) - Method in interface tech.ydb.yoj.repository.db.TxManager
-
Changes transaction timeout.
- withVerboseLogging() - Method in class tech.ydb.yoj.repository.db.DelegatingTxManager
- withVerboseLogging() - Method in interface tech.ydb.yoj.repository.db.TxManager
-
Configures verbose logging for this transactions's execution.
- wrapTxBody(Supplier<T>) - Method in class tech.ydb.yoj.repository.db.DelegatingTxManager
-
Wraps the transaction body logic, e.g.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
Table.modifyIfPresent()instead, unless you have specific requirements.Blind updates disrupt query merging mechanism, so you typically won't able to run multiple blind update statements in the same transaction, or interleave them with upserts (
Table.save()) and inserts.Blind updates also do not update projections because they do not load the entity before performing the update; this can cause projections to be inconsistent with the main entity.