Uses of Interface
tech.ydb.yoj.repository.db.Entity
Packages that use Entity
Package
Description
-
Uses of Entity in tech.ydb.yoj.repository
Methods in tech.ydb.yoj.repository with type parameters of type Entity -
Uses of Entity in tech.ydb.yoj.repository.db
Classes in tech.ydb.yoj.repository.db with type parameters of type EntityModifier and TypeClassDescriptionclassAbstractDelegatingTable<T extends Entity<T>>interfacestatic interfacefinal classEntitySchema<T extends Entity<T>>interfacestatic interfaceTable.RecordViewId<E extends Entity<E>>Base interface for ID-aware views that are implemented asJava Records.static interfaceTable.ViewId<E extends Entity<E>>Base interface for ID-aware views, that is, subsets ofEntityfields that contain the Entity's ID.final classTableQueryBuilder<T extends Entity<T>>Subinterfaces of Entity in tech.ydb.yoj.repository.dbModifier and TypeInterfaceDescriptioninterfaceRecordEntity<E extends RecordEntity<E>>Base interface for entities that are Javarecords.Fields in tech.ydb.yoj.repository.db with type parameters of type EntityModifier and TypeFieldDescriptionstatic final Comparator<Entity<?>>EntityIdSchema.SORT_ENTITY_BY_IDMethods in tech.ydb.yoj.repository.db with type parameters of type EntityModifier and TypeMethodDescriptionstatic <T extends Entity<T>>
OrderExpression<T>EntityExpressions.defaultOrder(@NonNull Class<T> entityType) static <T extends Entity<T>,ID extends Entity.Id<T>>
EntityIdSchema<ID>EntityIdSchema.from(EntitySchema<T> entitySchema) static <T extends Entity<T>>
Comparator<Entity.Id<T>>EntityIdSchema.getIdComparator(Class<T> type) static <T extends Entity<T>>
FilterBuilder<T>EntityExpressions.newFilterBuilder(@NonNull Class<T> entityType) static <T extends Entity<T>>
OrderBuilder<T>EntityExpressions.newOrderBuilder(@NonNull Class<T> entityType) static <T extends Entity<T>,ID extends Entity.Id<T>>
EntityIdSchema<ID>static <T extends Entity<T>,ID extends Entity.Id<T>>
EntityIdSchema<ID>EntityIdSchema.of(Class<ID> idType, NamingStrategy namingStrategy) static <T extends Entity<T>,ID extends Entity.Id<T>>
EntityIdSchema<ID>EntityIdSchema.of(SchemaRegistry registry, Class<ID> idType) static <T extends Entity<T>,ID extends Entity.Id<T>>
EntityIdSchema<ID>EntityIdSchema.of(SchemaRegistry registry, Class<ID> idType, NamingStrategy namingStrategy) static <T extends Entity<T>>
EntitySchema<T>static <T extends Entity<T>>
EntitySchema<T>EntitySchema.of(Class<T> type, NamingStrategy namingStrategy) static <T extends Entity<T>>
EntitySchema<T>EntitySchema.of(SchemaRegistry registry, Class<T> type) static <T extends Entity<T>>
EntitySchema<T>EntitySchema.of(SchemaRegistry registry, Class<T> type, NamingStrategy namingStrategy) static <T extends Entity<T>>
EntitySchema<T>EntitySchema.of(SchemaRegistry registry, SchemaRegistry.SchemaKey<T> key) static <T extends Entity<T>,ID extends Entity.Id<T>>
EntityIdSchema<ID>static <T extends Entity<T>,ID extends Entity.Id<T>>
EntityIdSchema<ID>EntityIdSchema.ofEntity(Class<T> entityType, NamingStrategy namingStrategy) static <T extends Entity<T>,ID extends Entity.Id<T>>
EntityIdSchema<ID>EntityIdSchema.ofEntity(SchemaRegistry registry, Class<T> entityType, NamingStrategy namingStrategy) static <T extends Entity<T>>
OrderExpression<T>EntityExpressions.orderById(Class<T> entityType, OrderExpression.SortOrder sortOrder) <T extends Entity<T>>
SchemaOperations<T>Methods in tech.ydb.yoj.repository.db that return types with arguments of type EntityModifier and TypeMethodDescriptionEntity.createProjections()Repository.tables()Deprecated.For testing purposes only.Methods in tech.ydb.yoj.repository.db with parameters of type EntityMethod parameters in tech.ydb.yoj.repository.db with type arguments of type Entity -
Uses of Entity in tech.ydb.yoj.repository.db.cache
Methods in tech.ydb.yoj.repository.db.cache with type parameters of type EntityModifier and TypeMethodDescription<E extends Entity<E>>
booleanFirstLevelCache.containsKey(Entity.Id<E> id) Returns a unmodifiable map containing the entities ofentityTypetype that are in the transaction L1 cache.<E extends Entity<E>>
E<E extends Entity<E>>
voidFirstLevelCache.put(E e) <E extends Entity<E>>
voidReturns a immutable copy of the entities ofentityTypetype that are in the transaction L1 cache. -
Uses of Entity in tech.ydb.yoj.repository.db.list
Classes in tech.ydb.yoj.repository.db.list with type parameters of type EntityModifier and TypeClassDescriptionstatic classGenericListResult.Builder<T extends Entity<T>,R, Target> static final classListResult.ListResultBuilder<T extends Entity<T>>final classViewListResult<T extends Entity<T>,V extends Table.View> Listing result page for entity view.static final classViewListResult.ViewListResultBuilder<T extends Entity<T>,V extends Table.View> Methods in tech.ydb.yoj.repository.db.list with type parameters of type EntityModifier and TypeMethodDescriptionstatic <T extends Entity<T>>
ListRequest.Builder<T>static <T extends Entity<T>>
@NonNull GenericListResult.Builder<T,T, ListResult<T>> ListResult.builder(@NonNull ListRequest<T> request) static <T extends Entity<T>,V extends Table.View>
@NonNull GenericListResult.Builder<T,V, ViewListResult<T, V>> ViewListResult.builder(@NonNull Class<V> viewType, @NonNull ListRequest<T> request) static <T extends Entity<T>>
@NonNull ListRequest.ListingParams<T>ListRequest.ListingParams.empty()static <T extends Entity<T>>
@NonNull ListResult<T>ListResult.empty(@NonNull ListRequest<T> request) InMemoryQueries.find(@NonNull StreamSupplier<T> streamSupplier, FilterExpression<T> filter, OrderExpression<T> orderBy, Integer limit, Long offset) <U extends Entity<U>>
ListRequest<U>ListRequest.forEntity(@NonNull Class<U> dstEntityType, @NonNull UnaryOperator<String> pathTransformer) static <T extends Entity<T>>
@NonNull ListResult<T>ListResult.forPage(@NonNull ListRequest<T> request, @NonNull List<T> entries) static <T extends Entity<T>,V extends Table.View>
@NonNull ViewListResult<T,V> ViewListResult.forPage(@NonNull ListRequest<T> request, @NonNull Class<V> viewClass, @NonNull List<V> entries) <U extends Entity<U>>
@NonNull ListRequest.ListingParams<U>ListRequest.ListingParams.forSchema(@NonNull Schema<U> dstSchema, @NonNull UnaryOperator<String> pathTransformer) static <T extends Entity<T>>
ListResult<T>InMemoryQueries.list(@NonNull StreamSupplier<T> streamSupplier, @NonNull ListRequest<T> request) static <T extends Entity<T>>
Comparator<T>InMemoryQueries.toComparator(@NonNull OrderExpression<T> orderBy) -
Uses of Entity in tech.ydb.yoj.repository.db.projection
Classes in tech.ydb.yoj.repository.db.projection with type parameters of type EntityModifier and TypeClassDescriptionstatic final classProjectionMappings.ListViaProjection<P extends Entity<P>>static final classProjectionMappings.ListViaProjection.Listing<T extends Entity<T>,P extends Entity<P>> static final classProjectionMappings.ListViaProjection.Listing<T extends Entity<T>,P extends Entity<P>> static final classProjectionMappings.ListViaProjection.TransformedListing<T extends Entity<T>,P extends Entity<P>> static final classProjectionMappings.ListViaProjection.TransformedListing<T extends Entity<T>,P extends Entity<P>> Methods in tech.ydb.yoj.repository.db.projection with type parameters of type EntityModifier and TypeMethodDescription<T extends Entity<T>>
@NonNull ProjectionMappings.ListViaProjection.Listing<T,P> ProjectionMappings.ListViaProjection.entities(@NonNull ListRequest<T> request) <T extends Entity<T>>
@NonNull ProjectionMappings.ListViaProjection.Listing<T,P> ProjectionMappings.ListViaProjection.entities(@NonNull ListRequest<T> request, @NonNull UnaryOperator<String> fieldMapping) <T extends Entity<T>>
@NonNull ProjectionMappings.ListViaProjection.Listing<T,P> ProjectionMappings.ListViaProjection.entities(@NonNull ListRequest<T> request, @NonNull Map<String, String> fieldMapping) ProjectionMappings.lenientFieldMapping(@NonNull Class<P> projectionType, @NonNull Class<T> entityType) Creates a lenient one-to-one mapping from entity fields to projection fields, which contains allstrict mappings, plus mappings of the form<entity field> <-> <projection field with the same path>(if both fields exist).ProjectionMappings.lenientFieldMapping(@NonNull Class<P> projectionType, @NonNull Class<T> entityType) Creates a lenient one-to-one mapping from entity fields to projection fields, which contains allstrict mappings, plus mappings of the form<entity field> <-> <projection field with the same path>(if both fields exist).static <P extends Entity<P>>
@NonNull ProjectionMappings.ListViaProjection<P>ProjectionMappings.listViaProjection(@NonNull Class<P> projectionType) ProjectionMappings.strictFieldMapping(@NonNull Class<P> projectionType, @NonNull Class<T> entityType) 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).ProjectionMappings.strictFieldMapping(@NonNull Class<P> projectionType, @NonNull Class<T> entityType) 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).Methods in tech.ydb.yoj.repository.db.projection with parameters of type EntityModifier and TypeMethodDescriptionvoidvoidvoidvoidvoidvoid