Uses of Class
org.litebridge.orm.persistence.OrmTable
Packages that use OrmTable
Package
Description
Fluent API for constructing DTO-mapped SQL queries (SELECT statements)
Query/clause specification models used in the query API
Fluent API for constructing SQL queries (SELECT statements) without result object mapping
Persistence subsystem; contains classes for saving/updating/deleting DTOs
-
Uses of OrmTable in org.litebridge.orm.api.select.dto
Methods in org.litebridge.orm.api.select.dto with parameters of type OrmTableModifier and TypeMethodDescriptionprotected ColumnDtoProtoExpressionResolver.getColumn(Resolvable resolvable, @Nullable OrmTable ormTable, Table table, ClauseType clause) protected ColumnExpressionSpecDtoProtoExpressionResolver.resolveSelectColumnSpec(Resolvable resolvable, @Nullable OrmTable ormTable, Table table, @Nullable String tableAlias, ClauseType clause) protected Stream<ExpressionSpec> DtoProtoExpressionResolver.resolveSelectColumnSpec(QueryField queryField, @Nullable OrmTable ormTable, Table table, @Nullable String tableAlias, ClauseType clause) -
Uses of OrmTable in org.litebridge.orm.api.select.model
Methods in org.litebridge.orm.api.select.model with parameters of type OrmTableModifier and TypeMethodDescriptionprotected abstract ColumnProtoExpressionResolver.getColumn(Resolvable resolvable, @Nullable OrmTable ormTable, Table table, ClauseType clause) Returns the database column for a resolvable.protected Stream<ExpressionSpec> ProtoExpressionResolver.resolveConvertSpec(ConvertSpec<?> convertSpec, @Nullable OrmTable ormTable, Table table, @Nullable String tableAlias, ClauseType clause) Resolves a convert specification.ProtoExpressionResolver.resolveExpression(ExpressionSpec expressionSpec, @Nullable OrmTable ormTable, Table table, @Nullable String tableAlias, ClauseType clause) Resolves a proto-expression into anExpressionSpec.ProtoExpressionResolver.resolveExpression(Resolvable resolvable, @Nullable OrmTable ormTable, Table table, @Nullable String tableAlias, ClauseType clause) Resolves aResolvableinto anExpressionSpec.ProtoExpressionResolver.resolveExpressions(List<ExpressionSpec> expressionSpecs, @Nullable OrmTable ormTable, Table table, @Nullable String tableAlias, ClauseType clause) Resolves a list of expression specifications.SelectExpressionMapper.resolveProtoExpression(ExpressionSpec expressionSpec, @Nullable OrmTable ormTable, Table table, @Nullable String tableAlias, ClauseType clause) Resolves a proto-expression into one or more concrete expression specifications.protected abstract ColumnExpressionSpecProtoExpressionResolver.resolveSelectColumnSpec(Resolvable resolvable, @Nullable OrmTable ormTable, Table table, @Nullable String tableAlias, ClauseType clause) Resolves a resolvable into a column expression specification.protected abstract Stream<ExpressionSpec> ProtoExpressionResolver.resolveSelectColumnSpec(QueryField queryField, @Nullable OrmTable ormTable, Table table, @Nullable String tableAlias, ClauseType clause) Resolves a query field into a column expression specification. -
Uses of OrmTable in org.litebridge.orm.api.select.sql
Methods in org.litebridge.orm.api.select.sql with parameters of type OrmTableModifier and TypeMethodDescriptionprotected ColumnSqlProtoExpressionResolver.getColumn(Resolvable resolvable, @Nullable OrmTable ormTable, Table table, ClauseType clause) protected ColumnExpressionSpecSqlProtoExpressionResolver.resolveSelectColumnSpec(Resolvable resolvable, @Nullable OrmTable ormTable, Table table, @Nullable String tableAlias, ClauseType clause) protected Stream<ExpressionSpec> SqlProtoExpressionResolver.resolveSelectColumnSpec(QueryField queryField, @Nullable OrmTable ormTable, Table table, @Nullable String tableAlias, ClauseType clause) -
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 OrmTableTableRegistry.getOrmTable(Class<?> dtoClass) Retrieves theOrmTableassociated with the specified DTO class.@Nullable OrmTableTableRegistry.getOrmTable(String table) Retrieves theOrmTableassociated with the specified table name.@Nullable OrmTableTableRegistry.getOrmTable(@Nullable Table table) Retrieves theOrmTableassociated with the specified table.@Nullable OrmTableTableRegistry.getOrmTableInContext(Class<?> dtoClass, Class<?> contextClass) Retrieves anOrmTableassociated with the specified DTO class within a given context class.TableRegistry.getOrmTableInContextOrThrow(Class<?> dtoClass, Class<?> contextClass) Retrieves theOrmTableassociated with the specified DTO class within the context of a given context class.TableRegistry.getOrmTableOrThrow(Class<?> dtoClass) Retrieves theOrmTableassociated with the specified DTO class, or throws an exception if no table is mapped to the class.TableRegistry.getOrmTableOrThrow(String table) Retrieves theOrmTableassociated with the specified table name, throwing an exception if not found.TableRegistry.getOrmTableOrThrow(Table table) Retrieves theOrmTableassociated with the specified SPI table, throwing an exception if not found.MappedManyToMany.joinOrmTable()Returns the value of thejoinOrmTablerecord 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 TypeMethodDescriptionMappedCompositeKey.targetOrmTable()Returns the value of thetargetOrmTablerecord component.MappedManyToMany.targetOrmTable()Returns the value of thetargetOrmTablerecord component.Methods in org.litebridge.orm.persistence with parameters of type OrmTableModifier and TypeMethodDescriptionvoidAdds an ORM table to the registry.voidAdds a table to the registry, but do not associate it with a root DTO class.DtoConstructor.getMappingInfo(OrmTable ormTable) Resolves and returns the mapping information for instantiating the DTO class corresponding to the specified ORM table.Constructors in org.litebridge.orm.persistence with parameters of type OrmTableModifierConstructorDescriptionAbstractConditionalStatementBuilder(Object dto, OrmTable ormTable, @Nullable Class<?> contextDtoClass, LitebridgeContext litebridgeContext) Creates a newAbstractConditionalStatementBuilderinstance.protectedAbstractStatementBuilder(Object dto, OrmTable ormTable, @Nullable Class<?> contextDtoClass, LitebridgeContext litebridgeContext) Constructs a newAbstractStatementBuilder.DeleteBuilder(Object dto, OrmTable table, @Nullable Class<?> contextDtoClass, LitebridgeContext litebridgeContext) Constructs aDeleteBuilderfor the specified ORM table.MappedManyToMany(OrmTable joinOrmTable, String[] joinColumns, FieldAccessor collection, Supplier<OrmTable> targetOrmTable, String[] inverseJoinColumns) 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 OrmTableModifierConstructorDescriptionMappedCompositeKey(MappedFieldTarget[] columns, Supplier<OrmTable> targetOrmTable, String[] targetColumns) Creates an instance of aMappedCompositeKeyrecord class.MappedManyToMany(OrmTable joinOrmTable, String[] joinColumns, FieldAccessor collection, Supplier<OrmTable> targetOrmTable, String[] inverseJoinColumns) Creates an instance of aMappedManyToManyrecord class.