Uses of Class
org.litebridge.orm.persistence.OrmTable
Packages that use OrmTable
Package
Description
Fluent API for constructing DTO-mapped SQL queries (SELECT statements)
DTO condition construction clauses.
Fluent API for constructing DTO-based deletes (DELETE statements)
Fluent API for constructing DTO-based updates (UPDATE statements)
Persistence subsystem; contains classes for saving/updating/deleting DTOs
Provides classes for generating aliases for tables and columns in a database schema.
-
Uses of OrmTable in org.litebridge.orm.api.dto
Methods in org.litebridge.orm.api.dto that return OrmTableModifier and TypeMethodDescriptionDtoDataSpec.dtoTable()Returns the ORM table metadata for the DTO.DtoJoinSpec.dtoTable()DtoSelectSpec.dtoTable()Methods in org.litebridge.orm.api.dto with parameters of type OrmTableModifier and TypeMethodDescriptionDtoSelectSpec.newJoinSpec(Class<?> dtoClass, OrmTable ormTable, Table table) Creates a new join specification.DtoSelectSpec.newJoinSpecBefore(DtoJoinSpec other, Class<?> dtoClass, OrmTable ormTable, Table table) Creates a new join specification before another join specification.Constructors in org.litebridge.orm.api.dto with parameters of type OrmTableModifierConstructorDescriptionDtoJoinClause(Class<?> dtoClass, OrmTable joinTable, DtoSelector<DTO> delegate) Creates a new instance ofDtoJoinClause.DtoJoinSpec(Class<?> dtoClass, OrmTable ormTable, Table table, SelectExpressionMapper selectExpressionMapper) Creates a new instance ofDtoJoinSpec.DtoSelector(Class<TypeOverride> typeOverride, OrmTable ormTable, TableRegistry tableRegistry, ClassFieldAccessorCache classFieldAccessorCache, DtoConstructor dtoConstructor, TransactionalDatabaseProvider databaseProvider, AliasGenerator aliasGenerator, LitebridgeContext litebridgeContext) Creates a new DtoSelector.DtoSelectSpec(Class<?> dtoClass, OrmTable dtoTable, AliasGenerator aliasGenerator, LitebridgeContext litebridgeContext) Creates a new DtoSelectSpec without type override.DtoSelectSpec(Class<?> dtoClass, OrmTable dtoTable, AliasGenerator aliasGenerator, LitebridgeContext litebridgeContext, @Nullable Class<?> typeOverride) Creates a new DtoSelectSpec. -
Uses of OrmTable in org.litebridge.orm.api.dto.condition
Constructors in org.litebridge.orm.api.dto.condition with parameters of type OrmTableModifierConstructorDescriptionCbDtoConditionClause(ConditionSpec conditionSpec, ConditionGroupSpec conditionGroupSpec, OrmTable ormTable, FromClauseEngine fromClauseEngine) Constructs a newCbDtoConditionClause.CbDtoConditionClauseTerminal(ConditionGroupSpec conditionGroupSpec, OrmTable ormTable, FromClauseEngine fromClauseEngine) Constructs a newCbDtoConditionClauseTerminal.DtoConditionClauseStart(ConditionGroupSpec conditionGroupSpec, OrmTable ormTable, FromClauseEngine fromClauseEngine) Creates a new DTO condition clause start. -
Uses of OrmTable in org.litebridge.orm.api.dto.delete
Methods in org.litebridge.orm.api.dto.delete that return OrmTableConstructors in org.litebridge.orm.api.dto.delete with parameters of type OrmTableModifierConstructorDescriptionDtoDeleteSpec(Class<?> dtoClass, OrmTable dtoTable, SelectExpressionMapper selectExpressionMapper) Creates a new DTO delete specification.DtoDeletor(Class<DTO> dtoClass, OrmTable dtoTable, TransactionalDatabaseProvider databaseProvider, SelectExpressionMapper selectExpressionMapper, LitebridgeContext litebridgeContext) Creates a new DtoDeletor. -
Uses of OrmTable in org.litebridge.orm.api.dto.update
Methods in org.litebridge.orm.api.dto.update that return OrmTableConstructors in org.litebridge.orm.api.dto.update with parameters of type OrmTableModifierConstructorDescriptionDtoUpdater(Class<DTO> dtoClass, OrmTable dtoTable, TransactionalDatabaseProvider databaseProvider, SelectExpressionMapper selectExpressionMapper, LitebridgeContext litebridgeContext) Creates a new DtoUpdater.DtoUpdateSpec(Class<?> dtoClass, OrmTable dtoTable, SelectExpressionMapper selectExpressionMapper) Creates a new DtoUpdateSpec. -
Uses of OrmTable in org.litebridge.orm.persistence
Fields in org.litebridge.orm.persistence declared as OrmTableModifier and TypeFieldDescriptionprotected final OrmTableAbstractStatementBuilder.ormTableThe ORM table associated with the statement.Methods in org.litebridge.orm.persistence that return OrmTableModifier and TypeMethodDescription@Nullable OrmTableRetrieves theOrmTableassociated with the specified DTO class.@Nullable OrmTableRetrieves theOrmTableassociated with the specified table name.@Nullable OrmTableRetrieves theOrmTableassociated with the specified schema and table name.@Nullable OrmTableRetrieves theOrmTableassociated with the specified table.TableRegistry.getTableInContextOrThrow(Class<?> dtoClass, Class<?> contextClass) Retrieves theOrmTableassociated with the specified DTO class within the context of a given context class.TableRegistry.getTableOrThrow(Class<?> dtoClass) Retrieves theOrmTableassociated with the specified DTO class, or throws an exception if no table is mapped to the class.MappedManyToMany.joinTable()Returns the value of thejoinTablerecord component.TableMapper.MappedTable.ormTable()Returns the value of theormTablerecord component.Methods in org.litebridge.orm.persistence that return types with arguments of type OrmTableModifier and TypeMethodDescriptionTableRegistry.getTableInContext(Class<?> dtoClass, Class<?> contextClass) Retrieves anOrmTableassociated with the specified DTO class within a given context class.TableRegistry.tableStream()Returns a stream of all registered tables.MappedManyToMany.targetTable()Returns the value of thetargetTablerecord component.Methods in org.litebridge.orm.persistence with parameters of type OrmTableModifier and TypeMethodDescriptionvoidAdds a table to the registry.Constructors in org.litebridge.orm.persistence with parameters of type OrmTableModifierConstructorDescriptionprotectedAbstractStatementBuilder(OrmTable ormTable) Constructs a newAbstractStatementBuilder.DeleteBuilder(OrmTable table) Constructs aDeleteBuilderfor the specified ORM table.MappedManyToMany(OrmTable joinTable, String joinColumn, FieldAccessor collection, ConcurrentLazy<OrmTable> targetTable, String inverseJoinColumn) Creates an instance of aMappedManyToManyrecord class.MappedTable(OrmTable ormTable, List<FieldAccessor> manyToOneDependencies) Creates an instance of aMappedTablerecord class.Constructor parameters in org.litebridge.orm.persistence with type arguments of type OrmTableModifierConstructorDescriptionMappedManyToMany(OrmTable joinTable, String joinColumn, FieldAccessor collection, ConcurrentLazy<OrmTable> targetTable, String inverseJoinColumn) Creates an instance of aMappedManyToManyrecord class. -
Uses of OrmTable in org.litebridge.orm.persistence.alias
Methods in org.litebridge.orm.persistence.alias with parameters of type OrmTableModifier and TypeMethodDescriptionAliasGenerator.aliasTable(OrmTable ormTable) Generates an aliased table for the specified ORM table.DefaultAliasGenerator.aliasTable(OrmTable ormTable) NoOpAliasGenerator.aliasTable(OrmTable ormTable)