Index
All Classes and Interfaces|All Packages|Serialized Form
A
- abbreviate(String) - Static method in class org.litebridge.commons.StringUtils
-
Returns a lowercase string consisting of: the first letter of each "word" (a letter that follows a non-letter/digit), the first letter of each camelCase hump (an uppercase letter that follows a lowercase letter), and all digits found anywhere in the input. Non-letter/digit characters act as separators and are otherwise ignored.
- abort(Executor) - Method in class org.litebridge.db.spi.tx.ManagedConnection
- abs() - Method in record class org.litebridge.db.spi.expression.SqlFunctionRegistry.Scalar
-
Returns the value of the
absrecord component. - abs(String) - Static method in class org.litebridge.orm.expression.Fn
-
ABS(): Absolute value of a number. - abs(ExpressionSpec) - Static method in class org.litebridge.orm.expression.Fn
-
ABS(): Absolute value of a number. - Abs - Class in org.litebridge.db.spi.impl.function.scalar
-
ABS(column)scalar function. - Abs(ColumnExpression, ColumnIdentifierGenerator) - Constructor for class org.litebridge.db.spi.impl.function.scalar.Abs
-
Constructs a new
ABSfunction expression. - AbsSpec - Record Class in org.litebridge.orm.expression.function.scalar
-
ABS(): Absolute value of a number. - AbsSpec(ColumnExpressionSpec) - Constructor for record class org.litebridge.orm.expression.function.scalar.AbsSpec
-
Creates an instance of a
AbsSpecrecord class. - AbstractCbConditionClause<DTO> - Class in org.litebridge.orm.api.condition
-
Abstract base class for condition clauses in the fluent select API.
- AbstractCbConditionClause(FromClauseEngine, LogicOperator, ExpressionSpec, QueryNode, Function<QueryNode, AbstractCbConditionClauseTerminal<DTO>>) - Constructor for class org.litebridge.orm.api.condition.AbstractCbConditionClause
-
Constructs a new
AbstractCbConditionClause. - AbstractCbConditionClauseTerminal<DTO> - Class in org.litebridge.orm.api.condition
-
Abstract base class for terminal condition clauses in the fluent select API.
- AbstractCbConditionClauseTerminal(FromClauseEngine, QueryNode) - Constructor for class org.litebridge.orm.api.condition.AbstractCbConditionClauseTerminal
-
Constructs a new
AbstractCbConditionClauseTerminal. - AbstractConditionalStatementBuilder - Class in org.litebridge.orm.persistence
-
Abstract base class for building SQL statements.
- AbstractConditionalStatementBuilder(OrmTable, LitebridgeContext) - Constructor for class org.litebridge.orm.persistence.AbstractConditionalStatementBuilder
-
Constructs a new
AbstractConditionalStatementBuilder. - AbstractConditionClauseStart<DTO> - Class in org.litebridge.orm.api.condition
-
Abstract base class for the start of a condition clause in the fluent select API.
- AbstractConditionClauseStart(FromClauseEngine) - Constructor for class org.litebridge.orm.api.condition.AbstractConditionClauseStart
-
Constructs a new
AbstractConditionClauseStart. - AbstractDatabaseProvider - Class in org.litebridge.db.spi.impl
-
An abstract implementation of the
DatabaseProviderinterface that provides a framework for interacting with a database by managing SQL queries, metadata retrieval, and type conversions. - AbstractDatabaseProvider(TypeConverter) - Constructor for class org.litebridge.db.spi.impl.AbstractDatabaseProvider
-
Constructs a new
AbstractDatabaseProvider. - AbstractNumberConverter<T> - Class in org.litebridge.convert.converter
-
An abstract base class for
Converterimplementations that handle numeric types. - AbstractNumberConverter() - Constructor for class org.litebridge.convert.converter.AbstractNumberConverter
- AbstractSqlGenerator - Class in org.litebridge.db.spi.impl.sql
-
Abstract base class for SQL generators.
- AbstractSqlGenerator(TypeConverter, ColumnIdentifierGenerator, BiFunction<Table, ConnectionProvider, TableMetaData>) - Constructor for class org.litebridge.db.spi.impl.sql.AbstractSqlGenerator
-
Constructs a new
AbstractSqlGenerator. - AbstractStatementBuilder - Class in org.litebridge.orm.persistence
-
Abstract base class for building SQL statements.
- AbstractStatementBuilder(OrmTable, LitebridgeContext) - Constructor for class org.litebridge.orm.persistence.AbstractStatementBuilder
-
Constructs a new
AbstractStatementBuilder. - AbstractStringParsingConverter<T> - Class in org.litebridge.convert.converter
-
An abstract base class for
Converterimplementations that primarily convert values by parsing their string representation. - AbstractStringParsingConverter() - Constructor for class org.litebridge.convert.converter.AbstractStringParsingConverter
- accessor() - Method in record class org.litebridge.orm.persistence.MappingPlan.FieldMapping
-
Returns the value of the
accessorrecord component. - add(E) - Method in class org.litebridge.commons.type.WeakIdentitySet
- add(Object) - Method in class org.litebridge.orm.api.sql.update.SqlUpdateSetStep
- add(Object) - Method in class org.litebridge.orm.api.update.UpdateSetStep
- add(DtoUpdateResult) - Method in class org.litebridge.orm.persistence.CompositeUpdateResult
-
Adds a
DtoUpdateResultto the composite update result. - add(FieldAccessor) - Method in class org.litebridge.tracking.FieldAccessorChain
-
Adds a field accessor to the chain.
- ADD - Enum constant in enum class org.litebridge.db.spi.math.MathOperation.Operator
-
Addition operator for mathematical calculations.
- addColumn(ColumnValue) - Method in class org.litebridge.orm.persistence.AbstractStatementBuilder
-
Adds a column value to the statement.
- addColumnValue(ColumnValue) - Method in class org.litebridge.orm.api.update.model.UpdateSpec
- addColumnValue(ColumnValue, boolean) - Method in class org.litebridge.orm.api.insert.model.InsertSpec
- addColumnValue(ColumnValue, boolean) - Method in class org.litebridge.orm.api.update.model.UpdateSpec
- addCommitCallback(Runnable) - Method in interface org.litebridge.db.spi.tx.TransactionManager
-
Adds a
Runnableto be executed if the transaction is committed. - addCommitCallback(Runnable) - Method in class org.litebridge.orm.tx.DefaultTransactionManager
- addDependant(Object, PipedStatement) - Method in class org.litebridge.orm.persistence.StatementChain
- addDependency(Object, PipedStatement) - Method in class org.litebridge.orm.persistence.StatementChain
- addExpressions(List<? extends ExpressionSpec>) - Method in class org.litebridge.orm.api.select.model.SelectSpec
- addForeignKeyConstraint(ForeignKeyConstraint) - Method in class org.litebridge.db.spi.ColumnMetaData
-
Adds a foreign key constraint to this column.
- addForeignReference(ForeignKeyConstraint) - Method in class org.litebridge.db.spi.ColumnMetaData
-
Adds a foreign reference to this column.
- addHavingCondition(ExpressionSpec) - Method in class org.litebridge.orm.api.select.model.SelectSpec
- addJoin(JoinSpec) - Method in class org.litebridge.orm.api.select.model.SelectSpec
- addJoinedDtoData(DtoJoinSpec, List<Object>, Row) - Method in class org.litebridge.orm.persistence.DtoBlueprint
-
Adds joined DTO data to this blueprint.
- addOneToManyReverseMapping(FieldAccessor) - Method in class org.litebridge.orm.persistence.OrmTable
-
Add a one-to-many reverse mapping for the specified field.
- addOrderBy(ExpressionSpec, boolean) - Method in class org.litebridge.orm.api.select.model.SelectSpec
- addRollbackCallback(Runnable) - Method in interface org.litebridge.db.spi.tx.TransactionManager
-
Adds a
Runnableto be executed if the transaction is rolled back. - addRollbackCallback(Runnable) - Method in class org.litebridge.orm.tx.DefaultTransactionManager
- addSetNode(Column, Object, boolean) - Method in class org.litebridge.orm.persistence.AbstractStatementBuilder
- addSetNode(Column, Object, boolean) - Method in class org.litebridge.orm.persistence.NoOpStatementBuilder
-
Invoking this method will throw an
UnsupportedOperationException. - addSetNode(Column, Object, boolean) - Method in interface org.litebridge.orm.persistence.StatementBuilder
-
Adds a set node to the statement.
- addSetNode(Column, Object) - Method in class org.litebridge.orm.api.sql.update.SqlUpdater
- addTable(Class<?>, OrmTable) - Method in class org.litebridge.orm.persistence.TableRegistry
-
Adds a table to the registry.
- addWhereCondition(ExpressionSpec) - Method in class org.litebridge.orm.api.select.model.SelectSpec
- aggregate() - Method in record class org.litebridge.db.spi.expression.SqlFunctionRegistry
-
Returns the value of the
aggregaterecord component. - Aggregate(DelegateExpressionFactory, DelegateExpressionFactory, DelegateExpressionFactory, SelectExpression) - Constructor for record class org.litebridge.db.spi.expression.SqlFunctionRegistry.Aggregate
-
Creates an instance of a
Aggregaterecord class. - alias() - Method in class org.litebridge.db.spi.Aliased
-
Retrieve the alias of the aliased entity.
- alias() - Method in record class org.litebridge.orm.expression.ProtoColumnExpressionSpec
-
Returns the value of the
aliasrecord component. - alias() - Method in interface org.litebridge.orm.expression.ProtoExpressionSpec
-
Gets the column alias to use, or
nullif not specified. - alias() - Method in record class org.litebridge.orm.expression.ProtoNestableBasicExprSpec
-
Returns the value of the
aliasrecord component. - alias() - Method in record class org.litebridge.orm.expression.ProtoNestableTOExpr
-
Returns the value of the
aliasrecord component. - aliasColumn(Table, Column) - Method in interface org.litebridge.orm.persistence.alias.AliasGenerator
-
Generates an aliased column for the specified table and column.
- aliasColumn(Table, Column) - Method in class org.litebridge.orm.persistence.alias.DefaultAliasGenerator
- aliasColumn(Table, Column) - Method in class org.litebridge.orm.persistence.alias.NoOpAliasGenerator
- aliasColumn(Table, ColumnMetaData) - Method in interface org.litebridge.orm.persistence.alias.AliasGenerator
-
Generates an aliased column for the specified table and column metadata.
- aliasColumn(Table, ColumnMetaData) - Method in class org.litebridge.orm.persistence.alias.DefaultAliasGenerator
- aliasColumn(Table, ColumnMetaData) - Method in class org.litebridge.orm.persistence.alias.NoOpAliasGenerator
- Aliased - Class in org.litebridge.db.spi
-
A name and an optional alias.
- Aliased(String) - Constructor for class org.litebridge.db.spi.Aliased
-
Constructs a new
Aliasedinstance with the specified name. - Aliased(String, String) - Constructor for class org.litebridge.db.spi.Aliased
-
Constructs a new
Aliasedinstance with the specified name and alias. - aliasGenerator() - Method in class org.litebridge.orm.engine.LitebridgeContext
- AliasGenerator - Interface in org.litebridge.orm.persistence.alias
-
Interface for generating aliases for tables and columns.
- AliasGeneratorFactory - Interface in org.litebridge.orm.persistence.alias
-
Factory for creating
AliasGeneratorinstances. - aliasOrName() - Method in class org.litebridge.db.spi.Aliased
-
Retrieve the alias if it is set; otherwise, return the name.
- aliasTable(OrmTable) - Method in interface org.litebridge.orm.persistence.alias.AliasGenerator
-
Generates an aliased table for the specified ORM table.
- aliasTable(OrmTable) - Method in class org.litebridge.orm.persistence.alias.DefaultAliasGenerator
- aliasTable(OrmTable) - Method in class org.litebridge.orm.persistence.alias.NoOpAliasGenerator
- AliasTransformer - Interface in org.litebridge.db.spi.alias
-
A transformer for database aliases
- ALL_COLUMNS - Static variable in class org.litebridge.orm.engine.FromClauseEngine
-
Used to indicate that all fields or expressions should be selected.
- allowInterface(Class<?>) - Method in class org.litebridge.orm.api.register.RegistrationContext
-
Specifies an additional superinterface of the DTO class that will be recognised by Litebridge relational mapping if used in collections.
- AllowInterface - Annotation Interface in org.litebridge.orm.annotation
-
Specifies additional superinterfaces of the entity class that will be recognised by Litebridge relational mapping if used in collections.
- and(String) - Method in class org.litebridge.orm.api.condition.AbstractCbConditionClauseTerminal
- and(String) - Method in class org.litebridge.orm.api.dto.delete.DtoDeleteWhereConditionClauseTerminalImpl
- and(String) - Method in class org.litebridge.orm.api.dto.DtoHavingConditionClauseTerminal
-
Adds an "AND" condition to the current condition clause using the specified column.
- and(String) - Method in class org.litebridge.orm.api.dto.DtoJoinConditionClauseTerminal
- and(String) - Method in class org.litebridge.orm.api.dto.DtoWhereConditionClauseTerminal
- and(String) - Method in class org.litebridge.orm.api.dto.update.DtoUpdateWhereConditionClauseTerminalImpl
- and(String) - Method in interface org.litebridge.orm.api.select.ConditionClauseTerminal
-
Adds an "AND" condition to the current condition clause using the specified column.
- and(String) - Method in class org.litebridge.orm.api.sql.delete.SqlDeleteWhereConditionClauseTerminalImpl
- and(String) - Method in class org.litebridge.orm.api.sql.SqlHavingConditionClauseTerminal
- and(String) - Method in class org.litebridge.orm.api.sql.SqlJoinConditionClauseTerminal
- and(String) - Method in class org.litebridge.orm.api.sql.SqlWhereConditionClauseTerminal
- and(String) - Method in class org.litebridge.orm.api.sql.update.SqlUpdateWhereConditionClauseTerminalImpl
- and(QueryConditionBuilder<DTO>) - Method in class org.litebridge.orm.api.condition.AbstractCbConditionClauseTerminal
- and(QueryConditionBuilder<DTO>) - Method in class org.litebridge.orm.api.dto.delete.DtoDeleteWhereConditionClauseTerminalImpl
- and(QueryConditionBuilder<DTO>) - Method in class org.litebridge.orm.api.dto.DtoHavingConditionClauseTerminal
- and(QueryConditionBuilder<DTO>) - Method in class org.litebridge.orm.api.dto.DtoJoinConditionClauseTerminal
- and(QueryConditionBuilder<DTO>) - Method in class org.litebridge.orm.api.dto.DtoWhereConditionClauseTerminal
- and(QueryConditionBuilder<DTO>) - Method in class org.litebridge.orm.api.dto.update.DtoUpdateWhereConditionClauseTerminalImpl
- and(QueryConditionBuilder<DTO>) - Method in interface org.litebridge.orm.api.select.ConditionClauseTerminal
-
Adds an "AND" condition with a nested condition clause.
- and(QueryConditionBuilder<Row>) - Method in class org.litebridge.orm.api.sql.delete.SqlDeleteWhereConditionClauseTerminalImpl
- and(QueryConditionBuilder<Row>) - Method in class org.litebridge.orm.api.sql.SqlHavingConditionClauseTerminal
- and(QueryConditionBuilder<Row>) - Method in class org.litebridge.orm.api.sql.SqlJoinConditionClauseTerminal
- and(QueryConditionBuilder<Row>) - Method in class org.litebridge.orm.api.sql.SqlWhereConditionClauseTerminal
- and(QueryConditionBuilder<Row>) - Method in class org.litebridge.orm.api.sql.update.SqlUpdateWhereConditionClauseTerminalImpl
- and(ExpressionSpec) - Method in class org.litebridge.orm.api.condition.AbstractCbConditionClauseTerminal
- and(ExpressionSpec) - Method in class org.litebridge.orm.api.dto.delete.DtoDeleteWhereConditionClauseTerminalImpl
- and(ExpressionSpec) - Method in class org.litebridge.orm.api.dto.DtoHavingConditionClauseTerminal
- and(ExpressionSpec) - Method in class org.litebridge.orm.api.dto.DtoJoinConditionClauseTerminal
- and(ExpressionSpec) - Method in class org.litebridge.orm.api.dto.DtoWhereConditionClauseTerminal
- and(ExpressionSpec) - Method in class org.litebridge.orm.api.dto.update.DtoUpdateWhereConditionClauseTerminalImpl
- and(ExpressionSpec) - Method in interface org.litebridge.orm.api.select.ConditionClauseTerminal
-
Adds an "AND" condition to the current condition clause using the specified expression.
- and(ExpressionSpec) - Method in class org.litebridge.orm.api.sql.delete.SqlDeleteWhereConditionClauseTerminalImpl
- and(ExpressionSpec) - Method in class org.litebridge.orm.api.sql.SqlHavingConditionClauseTerminal
- and(ExpressionSpec) - Method in class org.litebridge.orm.api.sql.SqlJoinConditionClauseTerminal
- and(ExpressionSpec) - Method in class org.litebridge.orm.api.sql.SqlWhereConditionClauseTerminal
- and(ExpressionSpec) - Method in class org.litebridge.orm.api.sql.update.SqlUpdateWhereConditionClauseTerminalImpl
- AND - Enum constant in enum class org.litebridge.db.spi.query.LogicOperator
-
AND logical operator
- appendConditionsAndSubgroups(StringBuilder, ConditionGroup, Operation, ConnectionProvider) - Method in class org.litebridge.db.spi.impl.sql.AbstractSqlGenerator
-
Appends conditions and subgroups to the SQL builder.
- appendLimitClause(Limit, StringBuilder) - Method in class org.litebridge.db.spi.impl.sql.SelectSqlGenerator
-
Appends a LIMIT clause to the SQL.
- appendTable(StringBuilder, String, String) - Method in class org.litebridge.db.spi.impl.sql.AbstractSqlGenerator
-
Appends a table name to the SQL builder, quoting identifiers.
- appendTable(StringBuilder, Table) - Method in class org.litebridge.db.spi.impl.sql.AbstractSqlGenerator
-
Appends a table name to the SQL builder, quoting identifiers.
- apply(T, U, V) - Method in interface org.litebridge.commons.type.TriFunction
- args() - Method in record class org.litebridge.orm.expression.ProtoColumnExpressionSpec
-
Returns the value of the
argsrecord component. - args() - Method in interface org.litebridge.orm.expression.ProtoExpressionSpec
-
Gets any extra expression-specific arguments.
- args() - Method in record class org.litebridge.orm.expression.ProtoNestableBasicExprSpec
- args() - Method in record class org.litebridge.orm.expression.ProtoNestableTOExpr
-
Returns the value of the
argsrecord component. - as(String) - Method in class org.litebridge.db.spi.Aliased
-
Set the alias for this entity and return the updated instance.
- as(String) - Method in class org.litebridge.db.spi.Column
-
Assign an alias to the current
Columninstance and return the updated instance. - as(String) - Method in class org.litebridge.db.spi.Table
- asc() - Method in record class org.litebridge.db.spi.query.OrderBy
-
Returns the value of the
ascrecord component. - asc() - Method in class org.litebridge.orm.api.dto.DtoOrderByClause
- asc() - Method in interface org.litebridge.orm.api.select.OrderByClause
-
Specifies an ascending order for the current ordering clause in a query.
- asc() - Method in class org.litebridge.orm.api.sql.SqlOrderByClause
- ascending() - Method in record class org.litebridge.orm.api.select.ast.OrderByNode
-
Returns the value of the
ascendingrecord component. - avg() - Method in record class org.litebridge.db.spi.expression.SqlFunctionRegistry.Aggregate
-
Returns the value of the
avgrecord component. - avg() - Method in class org.litebridge.orm.meta.NumericQueryField
-
AVG(): Returns the average value of a column/field. - avg(String) - Static method in class org.litebridge.orm.expression.Fn
-
AVG(): Returns the average value of a column/field. - avg(ExpressionSpec) - Static method in class org.litebridge.orm.expression.Fn
-
AVG(): Returns the average value of a column/field. - Avg - Class in org.litebridge.db.spi.impl.function.aggregate
-
AVG(column)aggregate function. - Avg(ColumnExpression, ColumnIdentifierGenerator) - Constructor for class org.litebridge.db.spi.impl.function.aggregate.Avg
-
Constructs a new
AVGfunction expression. - AvgSpec<T> - Record Class in org.litebridge.orm.expression.function.aggregate
-
AVG(): Returns the average value of a column. - AvgSpec(ColumnExpressionSpec, Class<T>) - Constructor for record class org.litebridge.orm.expression.function.aggregate.AvgSpec
-
Creates an instance of a
AvgSpecrecord class.
B
- begin() - Method in interface org.litebridge.db.spi.tx.TransactionManager
-
Begins a new transaction for the current thread.
- begin() - Method in class org.litebridge.orm.api.tx.IsolationClause
-
Begins a new transaction for the current thread.
- begin() - Method in class org.litebridge.orm.api.tx.ReadOnlyClause
-
Begins a new transaction for the current thread.
- begin() - Method in class org.litebridge.orm.api.tx.TransactionContextTerminal
-
Begins a new transaction for the current thread.
- begin() - Method in class org.litebridge.orm.tx.DefaultTransactionManager
- begin(boolean, Isolation) - Method in interface org.litebridge.db.spi.tx.TransactionManager
-
Begins a new transaction for the current thread with the specified read-only status and isolation level.
- begin(boolean, Isolation) - Method in class org.litebridge.orm.tx.DefaultTransactionManager
- beginRequest() - Method in class org.litebridge.db.spi.tx.ManagedConnection
- BigDecimalConverter - Class in org.litebridge.convert.converter
-
A converter for
BigDecimalvalues. - BigDecimalConverter() - Constructor for class org.litebridge.convert.converter.BigDecimalConverter
- BigIntegerConverter - Class in org.litebridge.convert.converter
-
A converter for
BigIntegervalues. - BigIntegerConverter() - Constructor for class org.litebridge.convert.converter.BigIntegerConverter
- bindParameterNames() - Method in record class org.litebridge.orm.nativesql.ParsedSql
-
Returns the value of the
bindParameterNamesrecord component. - bindValue() - Method in record class org.litebridge.orm.api.select.ast.SetNode
-
Returns the value of the
bindValuerecord component. - BindValue - Record Class in org.litebridge.db.spi.sql
-
A binding value and its associated SQL data type.
- BindValue(Object, int) - Constructor for record class org.litebridge.db.spi.sql.BindValue
-
Creates an instance of a
BindValuerecord class. - BindValueExpression - Record Class in org.litebridge.db.spi.expression
-
An encapsulated literal value in a query expression.
- BindValueExpression(int, int) - Constructor for record class org.litebridge.db.spi.expression.BindValueExpression
-
Creates an instance of a
BindValueExpressionrecord class. - BindValueExpressionCreator - Interface in org.litebridge.orm.api.select.model
-
Functional interface for creating bind value expressions.
- bindValues() - Method in record class org.litebridge.db.spi.impl.sql.PreparedRow
-
Returns the value of the
bindValuesrecord component. - bindValues() - Method in record class org.litebridge.db.spi.PreparedOperation
-
Returns the value of the
bindValuesrecord component. - bindValues() - Method in record class org.litebridge.db.spi.sql.PreparedSql
-
Returns the value of the
bindValuesrecord component. - bindValueSqlTypes() - Method in record class org.litebridge.orm.engine.QueryPlanCache.CachedOperation
-
Returns the value of the
bindValueSqlTypesrecord component. - blankIfNull(String) - Static method in class org.litebridge.commons.StringUtils
-
Returns an empty string if the given string is null; otherwise, returns the input string.
- BooleanConverter - Class in org.litebridge.convert.converter
-
A converter for
Booleanvalues. - BooleanConverter() - Constructor for class org.litebridge.convert.converter.BooleanConverter
- BooleanUtils - Class in org.litebridge.commons
-
Utility class for boolean operations.
- build() - Method in class org.litebridge.orm.api.register.DtoTableSpecBuilder
-
Builds the
DtoTableSpecinstance encapsulating the DTO class, table specification, and superinterfaces. - build() - Method in class org.litebridge.orm.api.register.FieldColumnSpecBuilderTerminalImpl
-
Builds the field column specification.
- build() - Method in class org.litebridge.orm.persistence.AbstractStatementBuilder
- build() - Method in class org.litebridge.orm.persistence.DeleteBuilder
- build() - Method in class org.litebridge.orm.persistence.NoOpStatementBuilder
-
Invoking this method will throw an
UnsupportedOperationException. - build() - Method in interface org.litebridge.orm.persistence.StatementBuilder
-
Builds the final SQL statement.
- ByteArrayConverter - Class in org.litebridge.convert.converter
-
A converter for
byte[]values. - ByteArrayConverter() - Constructor for class org.litebridge.convert.converter.ByteArrayConverter
- ByteConverter - Class in org.litebridge.convert.converter
-
A converter for
Bytevalues. - ByteConverter() - Constructor for class org.litebridge.convert.converter.ByteConverter
C
- c(String) - Static method in class org.litebridge.orm.expression.Fn
-
Selects a database column by name.
- c(String, String) - Static method in class org.litebridge.db.spi.Column
-
Create a new
Columninstance associated with the specified table and column name. - c(String, String) - Static method in class org.litebridge.orm.expression.Fn
-
Selects a database column by name.
- c(String, String, String) - Static method in class org.litebridge.db.spi.Column
-
Create a new
Columninstance associated with the specified schema, table, and column name. - c(String, String, String, String) - Static method in class org.litebridge.db.spi.Column
-
Create a new
Columninstance associated with the specified catalog, schema, table, and column name. - c(Table, String) - Static method in class org.litebridge.db.spi.Column
-
Create a new
Columninstance for the specified table and column name. - c(Table, String) - Static method in class org.litebridge.orm.expression.Fn
-
Selects a database column by name.
- ca(String, String) - Static method in class org.litebridge.orm.expression.Fn
-
Selects a database column by name and alias.
- ca(String, String, String) - Static method in class org.litebridge.orm.expression.Fn
-
Selects a database column by name and alias.
- ca(Table, String, String) - Static method in class org.litebridge.orm.expression.Fn
-
Selects a database column by name and alias.
- CachedOperation(String, List<Integer>, TypeConversionMetaData, UpdateMetaData, SelectSpec) - Constructor for record class org.litebridge.orm.engine.QueryPlanCache.CachedOperation
-
Creates an instance of a
CachedOperationrecord class. - canonicalConstructorFieldAccessors() - Method in record class org.litebridge.orm.persistence.DtoConstructor.MappingInfo
-
Returns the value of the
canonicalConstructorFieldAccessorsrecord component. - canonicalConstructorFieldAccessors() - Method in record class org.litebridge.orm.persistence.MappingPlan
-
Returns the value of the
canonicalConstructorFieldAccessorsrecord component. - cast(Class<T>) - Method in class org.litebridge.tracking.ChangedField
-
Attempts to cast this
ChangedFieldinstance to a specific subtype. - catalog() - Method in class org.litebridge.db.spi.Table
-
Returns the catalog name of the table.
- catalog() - Method in class org.litebridge.db.spi.TableMetaData
-
Returns the catalog name of the table.
- CbDtoConditionClause<DTO> - Class in org.litebridge.orm.api.dto.condition
-
Implementation of a condition clause for DTO-based queries.
- CbDtoConditionClause(OrmTable, FromClauseEngine, LogicOperator, ExpressionSpec, QueryNode, Function<QueryNode, AbstractCbConditionClauseTerminal<DTO>>) - Constructor for class org.litebridge.orm.api.dto.condition.CbDtoConditionClause
-
Constructs a new
CbDtoConditionClause. - CbDtoConditionClauseTerminal<DTO> - Class in org.litebridge.orm.api.dto.condition
-
Implementation of a terminal condition clause for DTO-based queries.
- CbDtoConditionClauseTerminal(OrmTable, FromClauseEngine, QueryNode) - Constructor for class org.litebridge.orm.api.dto.condition.CbDtoConditionClauseTerminal
-
Constructs a new
CbDtoConditionClauseTerminal. - ChangedCollectionField - Class in org.litebridge.tracking
-
List-specific type ofChangedFieldwhich holds a snapshot of the original underlying map. - ChangedCollectionField(String, Object, List<Integer>, List<Integer>) - Constructor for class org.litebridge.tracking.ChangedCollectionField
-
Construct a
ChangedMapFieldinstance representing a change in a map field, including a snapshot of its original state as an immutable map. - ChangedField - Class in org.litebridge.tracking
-
A field which has undergone a change.
- ChangedField(String, Object) - Constructor for class org.litebridge.tracking.ChangedField
-
Construct a new instance of
ChangedField, representing a change in a specific field. - changedFields() - Method in class org.litebridge.tracking.TrackedDto
-
Retrieves the collection of modified fields in the tracked DTO since the last snapshot.
- changedFields(boolean) - Method in class org.litebridge.tracking.TrackedDto
-
Retrieves the collection of modified fields in the tracked DTO since the last snapshot.
- ChangedFields - Class in org.litebridge.tracking
-
A collection of modified fields in a DTO, since the last snapshot.
- ChangedFields(Map<String, ChangedField>) - Constructor for class org.litebridge.tracking.ChangedFields
-
Construct a new
ChangedFieldsinstance with the provided map of changed fields. - ChangedMapField - Class in org.litebridge.tracking
-
Map-specific type ofChangedFieldwhich holds a snapshot of the original underlying map. - ChangedMapField(String, Object, Map<?, Integer>) - Constructor for class org.litebridge.tracking.ChangedMapField
-
Construct a
ChangedMapFieldinstance representing a change in a map field, including a snapshot of its original state as an immutable map. - ChangeTracker - Class in org.litebridge.tracking
-
This class provides functionality to track field-level changes of data transfer objects (DTOs) by maintaining a snapshot of their specified fields.
- ChangeTracker() - Constructor for class org.litebridge.tracking.ChangeTracker
-
Constructs a new
ChangeTrackerusing the defaultMethodHandles.lookup(). - ChangeTracker(MethodHandles.Lookup) - Constructor for class org.litebridge.tracking.ChangeTracker
-
Constructs a new
ChangeTrackerusing the providedMethodHandles.Lookup. - CharacterConverter - Class in org.litebridge.convert.converter
-
A converter for
Charactervalues. - CharacterConverter() - Constructor for class org.litebridge.convert.converter.CharacterConverter
- classFieldAccessorCache() - Method in class org.litebridge.orm.api.dto.DtoSelector
-
Returns the class field accessor cache.
- classFieldAccessorCache() - Method in class org.litebridge.tracking.ChangeTracker
-
Retrieves the instance of
ClassFieldAccessorCacheassociated with theChangeTracker. - ClassFieldAccessorCache - Class in org.litebridge.tracking
-
A utility class that facilitates caching and retrieving
FieldAccessorinstances for DTO classes. - ClassFieldAccessorCache() - Constructor for class org.litebridge.tracking.ClassFieldAccessorCache
-
Constructs a new
ClassFieldAccessorCacheusing the defaultMethodHandles.lookup(). - ClassFieldAccessorCache(MethodHandles.Lookup) - Constructor for class org.litebridge.tracking.ClassFieldAccessorCache
-
Constructs a new
ClassFieldAccessorCacheusing the providedMethodHandles.Lookup. - ClassUtils - Class in org.litebridge.commons
-
Utility class for working with Java reflection.
- ClauseType - Enum Class in org.litebridge.db.spi.expression
-
Represents the different types of SQL clauses where an expression can be used.
- cleanup() - Method in interface org.litebridge.db.spi.tx.TransactionManager
-
Performs cleanup operations for the transaction manager, releasing any resources held.
- cleanup() - Method in class org.litebridge.orm.tx.DefaultTransactionManager
- clear() - Method in class org.litebridge.commons.type.WeakIdentityMap
- clear() - Method in class org.litebridge.orm.engine.QueryPlanCache
-
Clears the cache.
- clear() - Method in class org.litebridge.orm.persistence.alias.DefaultAliasGenerator
- clearWarnings() - Method in class org.litebridge.db.spi.tx.ManagedConnection
- close() - Method in class org.litebridge.db.spi.tx.ManagedConnection
- close() - Method in class org.litebridge.orm.tx.Transaction
- collection() - Method in record class org.litebridge.orm.persistence.MappedManyToMany
-
Returns the value of the
collectionrecord component. - collection() - Method in record class org.litebridge.orm.persistence.MappedOneToMany
-
Returns the value of the
collectionrecord component. - collectionField() - Method in class org.litebridge.orm.api.dto.DtoJoinSpec
-
Returns the collection field for this join.
- CollectionUtils - Class in org.litebridge.commons
-
Utility class for working with collections.
- column - Variable in class org.litebridge.db.spi.expression.ColumnExpressionImpl
-
The target column of this expression.
- column() - Method in interface org.litebridge.db.spi.expression.ColumnExpression
-
Retrieves the target column of this expression.
- column() - Method in class org.litebridge.db.spi.expression.ColumnExpressionImpl
- column() - Method in class org.litebridge.db.spi.expression.DelegateColumnExpression
-
Retrieves the target column of this expression.
- column() - Method in record class org.litebridge.db.spi.expression.SqlFunctionRegistry.Select
-
Returns the value of the
columnrecord component. - column() - Method in class org.litebridge.db.spi.Row.RowColumn
-
Retrieve the
Columninstance associated with thisRowColumn. - column() - Method in record class org.litebridge.db.spi.update.ColumnValue
-
Returns the value of the
columnrecord component. - column() - Method in record class org.litebridge.orm.api.dto.DtoSelectSpec.FieldColumn
-
Returns the value of the
columnrecord component. - column() - Method in record class org.litebridge.orm.api.select.ast.SetNode
-
Returns the value of the
columnrecord component. - column() - Method in record class org.litebridge.orm.api.spec.FieldColumnSpec
-
Returns the value of the
columnrecord component. - column() - Method in class org.litebridge.orm.expression.intent.ConvertSpec
- column() - Method in record class org.litebridge.orm.expression.ProtoColumnExpressionSpec
-
Returns the value of the
columnrecord component. - column() - Method in interface org.litebridge.orm.expression.ProtoNestableExpressionSpec
-
Retrieves the column name associated with the target expression.
- column() - Method in interface org.litebridge.orm.expression.Resolvable
-
Returns the target column name for this expression.
- column(int) - Method in class org.litebridge.db.spi.Row
-
Retrieves a column from the row by its index.
- column(String) - Method in class org.litebridge.db.spi.Row
-
Retrieve a column from the row by its name if it exists.
- column(String) - Method in class org.litebridge.db.spi.TableMetaData
-
Retrieve the metadata for a specific column given its name.
- column(String) - Static method in class org.litebridge.orm.expression.Fn
-
Selects a database column by name.
- column(String, String) - Static method in class org.litebridge.orm.expression.Fn
-
Selects a database column by name.
- column(Column) - Method in class org.litebridge.db.spi.Row
-
Retrieves a column from the row by its
Columnmetadata. - column(Table, String) - Static method in class org.litebridge.orm.expression.Fn
-
Selects a database column by name.
- Column - Class in org.litebridge.db.spi
-
A database column that belongs to a specific table and optionally has an alias.
- Column - Annotation Interface in org.litebridge.orm.annotation
-
Annotation used to define mapping between a Java field or method and a database column.
- Column(Table, String) - Constructor for class org.litebridge.db.spi.Column
-
Construct a new
Columninstance associated with the specified table and column name. - Column(Table, String, String) - Constructor for class org.litebridge.db.spi.Column
-
Construct a new
Columninstance associated with the specified table, column name, and optional column alias. - columnAlias(String, String) - Static method in class org.litebridge.orm.expression.Fn
-
Selects a database column by name and alias.
- columnAlias(String, String, String) - Static method in class org.litebridge.orm.expression.Fn
-
Selects a database column by name and alias.
- columnAlias(Table, String, String) - Static method in class org.litebridge.orm.expression.Fn
-
Selects a database column by name and alias.
- ColumnExpression - Interface in org.litebridge.db.spi.expression
-
A column-based expression within a SQL query.
- ColumnExpressionFactory - Interface in org.litebridge.db.spi.expression
-
Factory to create expressions targeting a specific column.
- ColumnExpressionImpl - Class in org.litebridge.db.spi.expression
-
Abstract base class for column-specific SQL expressions.
- ColumnExpressionImpl(Column) - Constructor for class org.litebridge.db.spi.expression.ColumnExpressionImpl
-
Constructor.
- ColumnExpressionSpec - Interface in org.litebridge.orm.expression
-
Query expression encapsulating a target column.
- columnForAlias(String) - Method in class org.litebridge.db.spi.Row
-
Retrieve a column from the row by its name if it exists.
- columnIdentifierGenerator - Variable in class org.litebridge.db.spi.impl.AbstractDatabaseProvider
-
Lazy-loaded column identifier generator.
- columnIdentifierGenerator - Variable in class org.litebridge.db.spi.impl.function.DelegateColumnExpressionImpl
-
The generator used for creating SQL column identifiers.
- columnIdentifierGenerator - Variable in class org.litebridge.db.spi.impl.function.SelectColumn
-
The column identifier generator used to create SQL column identifiers.
- columnIdentifierGenerator - Variable in class org.litebridge.db.spi.impl.function.SqlFunctionRegistryFactory
-
The column identifier generator.
- columnIdentifierGenerator - Variable in class org.litebridge.db.spi.impl.sql.AbstractSqlGenerator
-
The generator for column identifiers.
- ColumnIdentifierGenerator - Class in org.litebridge.db.spi.impl
-
The ColumnIdentifierGenerator class provides utilities for generating SQL column identifiers with optional table qualifiers, handling reserved keywords, and creating aliases for columns.
- ColumnIdentifierGenerator() - Constructor for class org.litebridge.db.spi.impl.ColumnIdentifierGenerator
- columnLabelsToColumnMetaData() - Method in record class org.litebridge.db.spi.query.TypeConversionMetaData
-
Returns the value of the
columnLabelsToColumnMetaDatarecord component. - ColumnMapping - Interface in org.litebridge.orm.api.spec
-
Represents a base type for various kinds of database column mappings.
- ColumnMetaData - Class in org.litebridge.db.spi
-
Metadata information for a database column.
- ColumnMetaData(Table, String, boolean, int) - Constructor for class org.litebridge.db.spi.ColumnMetaData
-
Construct an instance of
ColumnMetaDatawith specified metadata details about a database column. - ColumnMetaData(Table, String, boolean, int, int) - Constructor for class org.litebridge.db.spi.ColumnMetaData
-
Construct an instance of
ColumnMetaDatawith specified metadata details about a database column. - ColumnMetaData(Table, String, boolean, int, int, int, boolean, String, ColumnValueGenerator) - Constructor for class org.litebridge.db.spi.ColumnMetaData
-
Construct an instance of
ColumnMetaDatawith specified metadata details about a database column. - columns() - Method in class org.litebridge.db.spi.Row
-
Returns a list of all columns in the current row.
- columns() - Method in class org.litebridge.db.spi.TableMetaData
-
Retrieve a list of metadata for the expressions in the table.
- columns() - Method in record class org.litebridge.db.spi.update.Insert
-
Returns the value of the
columnsrecord component. - columns() - Method in record class org.litebridge.db.spi.update.RowValue
-
Returns the value of the
columnsrecord component. - ColumnSpec - Record Class in org.litebridge.orm.api.spec
-
Specification of a database column, used to map DTO fields to target expressions.
- ColumnSpec(String) - Constructor for record class org.litebridge.orm.api.spec.ColumnSpec
-
Constructs a new
ColumnSpecinstance with the specified name. - ColumnSpec(String, ColumnValueGenerator) - Constructor for record class org.litebridge.orm.api.spec.ColumnSpec
-
Constructs a new
ColumnSpecinstance with the specified name and value generator. - ColumnSpec(String, ColumnValueGenerator, String) - Constructor for record class org.litebridge.orm.api.spec.ColumnSpec
-
Constructs a new
ColumnSpecinstance with the specified name, value generator, and join column. - ColumnSpec(String, ColumnValueGenerator, String, TableMapping) - Constructor for record class org.litebridge.orm.api.spec.ColumnSpec
-
Creates an instance of a
ColumnSpecrecord class. - columnStream() - Method in class org.litebridge.db.spi.Row
-
Return a stream of
Row.RowColumnobjects, each representing a column in the current row along with its associated value. - ColumnValue - Record Class in org.litebridge.db.spi.update
-
A value associated with a specific column in a database operation.
- ColumnValue(Column, Object) - Constructor for record class org.litebridge.db.spi.update.ColumnValue
-
Creates an instance of a
ColumnValuerecord class. - ColumnValueGenerator - Interface in org.litebridge.db.spi.generator
-
A functional interface for generating values for a specific database column.
- columnValues() - Method in record class org.litebridge.db.spi.update.Update
-
Returns the value of the
columnValuesrecord component. - commit() - Method in class org.litebridge.db.spi.tx.ManagedConnection
- commit() - Method in interface org.litebridge.db.spi.tx.TransactionControl
-
Commits the current transaction.
- commit() - Method in class org.litebridge.orm.api.tx.TransactionContext
-
Commits the current transaction.
- commit() - Method in class org.litebridge.orm.tx.DefaultTransactionManager
- commit() - Method in class org.litebridge.orm.tx.Transaction
- compile(QueryNode, DeleteSpec) - Method in class org.litebridge.orm.engine.QueryCompiler
-
Compiles the given
QueryNodechain into the providedDeleteSpec. - compile(QueryNode, InsertSpec) - Method in class org.litebridge.orm.engine.QueryCompiler
-
Compiles the given
QueryNodechain into the providedInsertSpec. - compile(QueryNode, SelectSpec) - Method in class org.litebridge.orm.engine.QueryCompiler
-
Compiles the given
QueryNodechain into the providedSelectSpec. - compile(QueryNode, UpdateSpec) - Method in class org.litebridge.orm.engine.QueryCompiler
-
Compiles the given
QueryNodechain into the providedUpdateSpec. - CompositeUpdateResult - Class in org.litebridge.orm.persistence
-
Represents the result of a composite update operation, aggregating multiple
DtoUpdateResultobjects that represent individual update results. - CompositeUpdateResult() - Constructor for class org.litebridge.orm.persistence.CompositeUpdateResult
- ConcurrentLazy<T> - Class in org.litebridge.commons.type
-
A thread-safe, lazily initialized value holder that allows resetting the value.
- ConcurrentLazy(Supplier<T>) - Constructor for class org.litebridge.commons.type.ConcurrentLazy
-
Constructs a new
ResettableLazywith the given initializer. - condition() - Method in record class org.litebridge.db.spi.query.LogicCondition
-
Returns the value of the
conditionrecord component. - condition() - Method in class org.litebridge.orm.api.select.ast.HavingNode
-
Returns the HAVING condition node.
- condition() - Method in class org.litebridge.orm.api.select.ast.JoinNode
-
Returns the join condition node.
- condition() - Method in class org.litebridge.orm.api.select.ast.WhereNode
- Condition - Record Class in org.litebridge.db.spi.query
-
A condition in a database query, specifying a column, operator, and value/operand.
- Condition(SelectExpression, Operator) - Constructor for record class org.litebridge.db.spi.query.Condition
-
Convenience constructor for
Operator.IS_NULLand @{code Operator.IS_NOT_NULL} operators. - Condition(SelectExpression, Operator, Object) - Constructor for record class org.litebridge.db.spi.query.Condition
-
Convenience constructor that wraps the given value into a
LiteralExpression. - Condition(SelectExpression, Operator, SelectExpression) - Constructor for record class org.litebridge.db.spi.query.Condition
-
Creates an instance of a
Conditionrecord class. - ConditionClause<DTO,
SELF, - Interface in org.litebridge.orm.api.selectCCT> -
Generic condition clause for building conditional expressions in a fluent and type-safe manner.
- ConditionClauseTerminal<DTO,
CC, - Interface in org.litebridge.orm.api.selectSELF> -
Terminal interface for building SQL condition clauses in a fluent and type-safe manner.
- conditionGroup() - Method in record class org.litebridge.db.spi.query.LogicConditionGroup
-
Returns the value of the
conditionGrouprecord component. - ConditionGroup - Record Class in org.litebridge.db.spi.query
-
A group of logically combined conditions and condition subgroups.
- ConditionGroup(List<LogicCondition>) - Constructor for record class org.litebridge.db.spi.query.ConditionGroup
-
Constructs a
ConditionGroupwith the specified conditions. - ConditionGroup(List<LogicCondition>, List<LogicConditionGroup>) - Constructor for record class org.litebridge.db.spi.query.ConditionGroup
-
Creates an instance of a
ConditionGrouprecord class. - ConditionGroup(LogicCondition) - Constructor for record class org.litebridge.db.spi.query.ConditionGroup
-
Constructs a
ConditionGroupwith a single condition. - ConditionGroupNode - Record Class in org.litebridge.orm.api.select.ast
-
Represents a group of conditions in the query AST.
- ConditionGroupNode(QueryNode, LogicOperator, QueryNode) - Constructor for record class org.litebridge.orm.api.select.ast.ConditionGroupNode
-
Creates an instance of a
ConditionGroupNoderecord class. - conditionGroupSpec() - Method in record class org.litebridge.orm.api.select.model.LogicConditionGroupSpec
-
Returns the value of the
conditionGroupSpecrecord component. - ConditionGroupSpec - Record Class in org.litebridge.orm.api.select.model
-
Groups conditions and condition subgroups using a logical operator.
- ConditionGroupSpec() - Constructor for record class org.litebridge.orm.api.select.model.ConditionGroupSpec
-
Constructs an empty
ConditionGroupSpec. - ConditionGroupSpec(List<LogicConditionSpec>) - Constructor for record class org.litebridge.orm.api.select.model.ConditionGroupSpec
-
Constructs a
ConditionGroupSpecwith the specified conditions. - ConditionGroupSpec(List<LogicConditionSpec>, List<LogicConditionGroupSpec>) - Constructor for record class org.litebridge.orm.api.select.model.ConditionGroupSpec
-
Constructs a
ConditionGroupSpecwith the specified conditions and subgroups. - ConditionNode - Record Class in org.litebridge.orm.api.select.ast
-
Represents a condition within a JOIN, WHERE or HAVING clause in the query AST.
- ConditionNode(QueryNode, LogicOperator, ExpressionSpec, Operator, Object) - Constructor for record class org.litebridge.orm.api.select.ast.ConditionNode
- ConditionNode(QueryNode, LogicOperator, ExpressionSpec, Operator, Object, String) - Constructor for record class org.litebridge.orm.api.select.ast.ConditionNode
-
Creates an instance of a
ConditionNoderecord class. - ConditionQueryNode - Interface in org.litebridge.orm.api.select.ast
-
A node in a lightweight AST representing a step in a fluent query chain.
- conditions() - Method in record class org.litebridge.db.spi.query.ConditionGroup
-
Returns the value of the
conditionsrecord component. - conditions() - Method in record class org.litebridge.db.spi.query.Join
-
Returns the value of the
conditionsrecord component. - conditions() - Method in record class org.litebridge.orm.api.select.model.ConditionGroupSpec
-
Returns the value of the
conditionsrecord component. - conditionSpec() - Method in record class org.litebridge.orm.api.select.model.LogicConditionSpec
-
Returns the value of the
conditionSpecrecord component. - ConditionSpec - Class in org.litebridge.orm.api.select.model
-
Specification for a condition in a database query.
- ConditionSpec() - Constructor for class org.litebridge.orm.api.select.model.ConditionSpec
- config() - Method in class org.litebridge.orm.engine.LitebridgeContext
- ConfigurableTypeConverter - Class in org.litebridge.convert
-
A concrete implementation of
TypeConverterthat allows manual registration and unregistration of converters. - ConfigurableTypeConverter() - Constructor for class org.litebridge.convert.ConfigurableTypeConverter
- connection() - Method in interface org.litebridge.db.spi.tx.ConnectionProvider
-
Provides a transaction-bound managed connection to the underlying database.
- connection() - Method in class org.litebridge.orm.tx.DefaultTransactionManager
- connection() - Method in class org.litebridge.orm.tx.Transaction
- ConnectionProvider - Interface in org.litebridge.db.spi.tx
-
Provides a mechanism to obtain a managed database connection, typically bound to the scope of a transaction.
- ConnectionProviderExpression - Interface in org.litebridge.db.spi.expression
-
A select expression in a SQL query that requires a
ConnectionProviderto render. - constructDto(Class<DTO>, List<DtoConstructor.FieldAccessorValue>, DtoConstructor) - Static method in class org.litebridge.orm.persistence.SelectSpecDtoMapper
- ConstructionResult(DTO, boolean) - Constructor for record class org.litebridge.orm.persistence.DtoConstructor.ConstructionResult
-
Creates an instance of a
ConstructionResultrecord class. - constructor() - Method in record class org.litebridge.orm.persistence.DtoConstructor.MappingInfo
-
Returns the value of the
constructorrecord component. - constructor() - Method in record class org.litebridge.orm.persistence.MappingPlan
-
Returns the value of the
constructorrecord component. - contains(Object) - Method in class org.litebridge.commons.type.WeakIdentitySet
- contains(String) - Static method in class org.litebridge.db.spi.util.SqlReservedWords
-
Checks if the given word is a SQL reserved word.
- contains(String) - Method in class org.litebridge.tracking.ChangedFields
-
Check if the provided field name exists within the collection of changed fields.
- containsKey(Object) - Method in class org.litebridge.commons.type.WeakIdentityMap
- containsKey(Object, Map<?, ?>) - Static method in class org.litebridge.commons.MapUtils
-
Checks if the specified key is present in the given map.
- containsResolvable() - Method in record class org.litebridge.orm.expression.intent.ExpressionSpecArray
-
Checks if the array contains a resolvable expression.
- containsTable(Class<?>) - Method in class org.litebridge.orm.persistence.TableRegistry
-
Checks if a table associated with the specified DTO class exists in the registry.
- containsValue(Object) - Method in class org.litebridge.commons.type.WeakIdentityMap
- convert(Object) - Method in class org.litebridge.convert.converter.AbstractNumberConverter
-
Converts the given value to the target numeric type.
- convert(Object) - Method in class org.litebridge.convert.converter.AbstractStringParsingConverter
-
Converts the given value to the target type.
- convert(Object) - Method in class org.litebridge.convert.converter.BigDecimalConverter
-
Converts the given value to a
BigDecimal. - convert(Object) - Method in class org.litebridge.convert.converter.BigIntegerConverter
-
Converts the given value to a
BigInteger. - convert(Object) - Method in class org.litebridge.convert.converter.ByteArrayConverter
-
Converts the given value to a
byte[]. - convert(Object) - Method in interface org.litebridge.convert.converter.ConverterFunction
-
Converts the given value to the target type.
- convert(Object) - Method in class org.litebridge.convert.converter.DateConverter
- convert(Object) - Method in class org.litebridge.convert.converter.GenericConverter
-
Converts the given value to the target type using the provided conversion function.
- convert(Object) - Method in class org.litebridge.convert.converter.LocalDateConverter
- convert(Object) - Method in class org.litebridge.convert.converter.LocalDateTimeConverter
- convert(Object) - Method in class org.litebridge.convert.converter.OffsetDateTimeConverter
- convert(Object) - Method in class org.litebridge.convert.converter.SqlTimeConverter
-
Converts the given value to a
Time. - convert(Object) - Method in class org.litebridge.convert.converter.SqlTimestampConverter
-
Converts the given value to a
Timestamp. - convert(Object) - Method in class org.litebridge.convert.converter.StringConverter
-
Converts the given value to a
String. - convert(Object) - Method in class org.litebridge.convert.converter.ZonedDateTimeConverter
- convert(Object) - Method in class org.litebridge.db.oracle.convert.OracleOffsetDateTimeConverter
- convert(Object, int) - Method in class org.litebridge.convert.ConfigurableTypeConverter
-
Converts a value to a database-specific representation (or vice-versa) based on the
Typescode. - convert(Object, int) - Method in interface org.litebridge.db.spi.convert.TypeConverter
-
Convert the given value into a different object type based on the specified database data type.
- convert(Object, Class<T>) - Method in class org.litebridge.convert.ConfigurableTypeConverter
-
Converts a value to a specific Java type.
- convert(Object, Class<T>) - Method in interface org.litebridge.db.spi.convert.TypeConverter
-
Convert the given input object to an instance of the specified type.
- convert(Class<T>) - Method in class org.litebridge.orm.meta.QueryField
-
Converts the value of the database column targeted by this field into the specified Java type.
- convert(Class<T>, ExpressionSpec...) - Static method in class org.litebridge.orm.expression.Fn
-
Converts the results of multiple expressions into a single Java object of the specified type.
- convert(ExpressionSpec, Class<T>) - Static method in class org.litebridge.orm.expression.Fn
-
Converts a database result into the specified Java type.
- Converter<T> - Interface in org.litebridge.convert.converter
-
Represents a converter for a specific Java type.
- ConverterFunction<T> - Interface in org.litebridge.convert.converter
-
A functional interface for converting an object to a specific type.
- ConvertExpression - Class in org.litebridge.db.spi.expression
-
Represents a conversion expression that wraps another
SelectExpression, potentially overriding its type. - ConvertExpression(SelectExpression, Class<?>) - Constructor for class org.litebridge.db.spi.expression.ConvertExpression
-
Constructor.
- ConvertIntent<T> - Record Class in org.litebridge.orm.expression.intent
-
Intent to convert a database result into the specified Java type.
- ConvertIntent(ExpressionSpec[], Class<T>) - Constructor for record class org.litebridge.orm.expression.intent.ConvertIntent
-
Creates an instance of a
ConvertIntentrecord class. - convertNumber(Number) - Method in class org.litebridge.convert.converter.AbstractNumberConverter
-
Converts a
Numberinstance to the target type. - convertNumber(Number) - Method in class org.litebridge.convert.converter.ByteConverter
- convertNumber(Number) - Method in class org.litebridge.convert.converter.DoubleConverter
- convertNumber(Number) - Method in class org.litebridge.convert.converter.FloatConverter
- convertNumber(Number) - Method in class org.litebridge.convert.converter.IntegerConverter
- convertNumber(Number) - Method in class org.litebridge.convert.converter.LongConverter
- convertNumber(Number) - Method in class org.litebridge.convert.converter.ShortConverter
- ConvertSpec<T> - Class in org.litebridge.orm.expression.intent
-
Converts a database result into the specified Java type.
- ConvertSpec(ExpressionSpec, Class<T>) - Constructor for class org.litebridge.orm.expression.intent.ConvertSpec
-
Constructs a
ConvertSpecwith the specified target expression and return type. - convertString(String) - Method in class org.litebridge.convert.converter.AbstractNumberConverter
-
Parses a string value into the target type.
- convertString(String) - Method in class org.litebridge.convert.converter.AbstractStringParsingConverter
-
Parses a string value into the target type.
- convertString(String) - Method in class org.litebridge.convert.converter.BooleanConverter
- convertString(String) - Method in class org.litebridge.convert.converter.ByteConverter
- convertString(String) - Method in class org.litebridge.convert.converter.CharacterConverter
- convertString(String) - Method in class org.litebridge.convert.converter.DoubleConverter
- convertString(String) - Method in class org.litebridge.convert.converter.FloatConverter
- convertString(String) - Method in class org.litebridge.convert.converter.IntegerConverter
- convertString(String) - Method in class org.litebridge.convert.converter.LongConverter
- convertString(String) - Method in class org.litebridge.convert.converter.ShortConverter
- convertString(String) - Method in class org.litebridge.convert.converter.SqlDateConverter
- convertToSelectExpressionStream(ExpressionSpec[], boolean) - Method in class org.litebridge.orm.api.select.model.SelectSpec
- count() - Method in record class org.litebridge.db.spi.expression.SqlFunctionRegistry.Aggregate
-
Returns the value of the
countrecord component. - count() - Static method in class org.litebridge.orm.expression.Fn
-
COUNT(): Selects the count of rows matching the query. - Count - Class in org.litebridge.db.spi.impl.function.aggregate
-
COUNT(*)aggregate function. - Count() - Constructor for class org.litebridge.db.spi.impl.function.aggregate.Count
- CountSpec - Record Class in org.litebridge.orm.expression.function.aggregate
-
COUNT(): Selects the count of rows matching the query. - CountSpec() - Constructor for record class org.litebridge.orm.expression.function.aggregate.CountSpec
-
Creates an instance of a
CountSpecrecord class. - create() - Method in class org.litebridge.db.spi.impl.function.SqlFunctionRegistryFactory
-
Creates a SQL function registry for this database provider.
- create() - Method in interface org.litebridge.orm.persistence.alias.AliasGeneratorFactory
-
Creates a new, fresh instance of an
AliasGenerator. - create(Object) - Method in interface org.litebridge.db.spi.expression.LiteralExpressionFactory
-
Creates a literal value expression.
- create(Object) - Method in interface org.litebridge.orm.api.select.model.BindValueExpressionCreator
-
Creates a select expression for the specified value.
- create(Object, boolean) - Method in interface org.litebridge.db.spi.expression.LiteralExpressionFactory
-
Creates a literal value expression that may be treated as a bind parameter.
- create(DataSource) - Method in interface org.litebridge.db.spi.tx.TransactionManagerFactory
-
Creates a new transaction manager instance.
- create(DataSource) - Method in class org.litebridge.orm.tx.DefaultTransactionManagerFactory
- create(Column) - Method in interface org.litebridge.db.spi.expression.SelectReferenceExpressionFactory
-
Creates a reference to a selected column.
- create(Column, Object...) - Method in interface org.litebridge.db.spi.expression.ColumnExpressionFactory
-
Creates a column expression.
- create(ColumnExpression, Object...) - Method in interface org.litebridge.db.spi.expression.DelegateExpressionFactory
-
Creates a nestable column expression.
- create(Select) - Method in interface org.litebridge.db.spi.expression.SubselectExpressionFactory
-
Creates a sub-select expression.
- createAbs(ColumnExpression, Object...) - Method in class org.litebridge.db.spi.impl.function.SqlFunctionRegistryFactory
-
Creates an ABS-implementing expression.
- createAliasDeclaration(String) - Method in class org.litebridge.db.oracle.OracleColumnIdentifierGenerator
- createAliasDeclaration(String) - Method in class org.litebridge.db.spi.impl.ColumnIdentifierGenerator
-
Creates a SQL alias declaration.
- createAliasTransformer() - Method in class org.litebridge.db.postgres.PostgresDatabaseProvider
- createAliasTransformer() - Method in class org.litebridge.db.spi.impl.AbstractDatabaseProvider
-
Create an
AliasTransformerinstance for the database provider. - createArrayOf(String, Object[]) - Method in class org.litebridge.db.spi.tx.ManagedConnection
- createAvg(ColumnExpression, Object...) - Method in class org.litebridge.db.spi.impl.function.SqlFunctionRegistryFactory
-
Creates an AVG-implementing expression.
- createBindValue(Column, Object, ConnectionProvider) - Method in class org.litebridge.db.spi.impl.sql.AbstractSqlGenerator
-
Creates a bind value for a column and raw value.
- createBlob() - Method in class org.litebridge.db.spi.tx.ManagedConnection
- createCbConditionClauseTerminal(QueryNode) - Method in class org.litebridge.orm.api.condition.AbstractCbConditionClause
-
Creates a new terminal condition clause instance.
- createCbConditionClauseTerminal(QueryNode) - Method in class org.litebridge.orm.api.dto.condition.CbDtoConditionClause
- createClob() - Method in class org.litebridge.db.spi.tx.ManagedConnection
- createColumnIdentifierGenerator() - Method in class org.litebridge.db.oracle.OracleDatabaseProvider
- createColumnIdentifierGenerator() - Method in class org.litebridge.db.spi.impl.AbstractDatabaseProvider
-
Create a
ColumnIdentifierGeneratorinstance for the database provider. - createColumnRef(Column, Operation, ClauseType) - Method in class org.litebridge.db.oracle.OracleColumnIdentifierGenerator
- createColumnRef(Column, Operation, ClauseType) - Method in class org.litebridge.db.spi.impl.ColumnIdentifierGenerator
-
Creates a SQL reference to a column.
- createCondition(Condition, Operation, ConnectionProvider) - Method in class org.litebridge.db.spi.impl.sql.AbstractSqlGenerator
-
Generate a SQL condition string based on the given
Condition. - createCount() - Method in class org.litebridge.db.spi.impl.function.SqlFunctionRegistryFactory
-
Creates a COUNT-implementing expression.
- createCurrentTimestamp() - Method in class org.litebridge.db.spi.impl.function.SqlFunctionRegistryFactory
-
Creates a CURRENT_TIMESTAMP-implementing expression.
- createDeleteSqlGenerator() - Method in class org.litebridge.db.spi.impl.AbstractDatabaseProvider
-
Create a
DeleteSqlGeneratorinstance for the database provider. - createInsertSqlGenerator() - Method in class org.litebridge.db.spi.impl.AbstractDatabaseProvider
-
Create an
InsertSqlGeneratorinstance for the database provider. - createJoin(Join, Select, ConnectionProvider) - Method in class org.litebridge.db.spi.impl.sql.SelectSqlGenerator
-
Create a SQL JOIN clause based on the provided
Joinobject. - createLiteral(Object) - Method in class org.litebridge.db.spi.impl.function.SqlFunctionRegistryFactory
-
Creates a literal expression.
- createLiteral(Object, boolean) - Method in class org.litebridge.db.spi.impl.function.SqlFunctionRegistryFactory
-
Creates a literal expression.
- createLower(ColumnExpression, Object...) - Method in class org.litebridge.db.spi.impl.function.SqlFunctionRegistryFactory
-
Creates a LOWER-implementing expression.
- createMathOperation(ColumnMetaData, MathOperation) - Method in class org.litebridge.db.spi.impl.sql.UpdateSqlGenerator
-
Creates a SQL representation of a math operation.
- createMax(ColumnExpression, Object...) - Method in class org.litebridge.db.spi.impl.function.SqlFunctionRegistryFactory
-
Creates an MAX-implementing expression.
- createMin(ColumnExpression, Object...) - Method in class org.litebridge.db.spi.impl.function.SqlFunctionRegistryFactory
-
Creates an MIN-implementing expression.
- createNClob() - Method in class org.litebridge.db.spi.tx.ManagedConnection
- createPreparedStatementUsingConnection(PreparedSql, ManagedConnection) - Method in class org.litebridge.db.h2.H2DatabaseProvider
- createPreparedStatementUsingConnection(PreparedSql, ManagedConnection) - Method in class org.litebridge.db.postgres.PostgresDatabaseProvider
- createPreparedStatementUsingConnection(PreparedSql, ManagedConnection) - Method in class org.litebridge.db.spi.impl.AbstractDatabaseProvider
-
Creates a
PreparedStatementusing the provided connection and prepared SQL. - createPreparedStatementUsingConnection(PreparedSql, ManagedConnection) - Method in class org.litebridge.db.sqlite.SQLiteDatabaseProvider
- createQueryCompiler() - Method in class org.litebridge.orm.engine.LitebridgeContext
- createSelectColumn(Column, Object...) - Method in class org.litebridge.db.spi.impl.function.SqlFunctionRegistryFactory
-
Creates an expression to select a specific column.
- createSelectColumn(Column, Operation, ClauseType, boolean) - Method in class org.litebridge.db.oracle.OracleColumnIdentifierGenerator
- createSelectColumn(Column, Operation, ClauseType, boolean) - Method in class org.litebridge.db.spi.impl.ColumnIdentifierGenerator
-
Creates a SQL identifier for a column to be used in a SELECT clause.
- createSelectColumnSpecs(String[]) - Static method in class org.litebridge.orm.api.sql.SqlSelectSpec
- createSelectFieldSpecs(String[]) - Method in class org.litebridge.orm.api.dto.DtoSelector
-
Creates select field specifications for the given fields.
- createSelectFieldSpecs(String[]) - Method in class org.litebridge.orm.api.dto.DtoSelectSpec
-
Deprecated, for removal: This API element is subject to removal in a future version.
- createSelectReference(Column) - Method in class org.litebridge.db.spi.impl.function.SqlFunctionRegistryFactory
-
Creates a select reference expression.
- createSelectSpec(AliasGenerator) - Method in class org.litebridge.orm.api.dto.DtoSelector
- createSelectSpec(AliasGenerator) - Method in class org.litebridge.orm.api.sql.SqlSelector
- createSelectSqlGenerator() - Method in class org.litebridge.db.oracle.OracleDatabaseProvider
- createSelectSqlGenerator() - Method in class org.litebridge.db.spi.impl.AbstractDatabaseProvider
-
Create a
SelectSqlGeneratorinstance for the database provider. - createSqlFunctionRegistryFactory() - Method in class org.litebridge.db.oracle.OracleDatabaseProvider
- createSqlFunctionRegistryFactory() - Method in class org.litebridge.db.spi.impl.AbstractDatabaseProvider
-
Create a
SqlFunctionRegistryFactoryinstance for the generation of a SQL function registry. - createSQLXML() - Method in class org.litebridge.db.spi.tx.ManagedConnection
- createStatement() - Method in class org.litebridge.db.spi.tx.ManagedConnection
- createStatement(int, int) - Method in class org.litebridge.db.spi.tx.ManagedConnection
- createStatement(int, int, int) - Method in class org.litebridge.db.spi.tx.ManagedConnection
- createStruct(String, Object[]) - Method in class org.litebridge.db.spi.tx.ManagedConnection
- createSubselect(Select) - Method in class org.litebridge.db.spi.impl.function.SqlFunctionRegistryFactory
-
Creates a subselect expression.
- createSubstring(ColumnExpression, int, Integer) - Method in class org.litebridge.db.spi.impl.function.SqlFunctionRegistryFactory
-
Creates a SUBSTRING-implementing expression.
- createSubstring(ColumnExpression, Object...) - Method in class org.litebridge.db.spi.impl.function.SqlFunctionRegistryFactory
-
Creates a SUBSTRING-implementing expression.
- createUpdateMetaData() - Method in class org.litebridge.orm.persistence.AbstractStatementBuilder
- createUpdateMetaData() - Method in class org.litebridge.orm.persistence.NoOpStatementBuilder
-
Invoking this method will throw an
UnsupportedOperationException. - createUpdateMetaData() - Method in interface org.litebridge.orm.persistence.StatementBuilder
-
Creates the update metadata for the statement.
- createUpdateSqlGenerator() - Method in class org.litebridge.db.spi.impl.AbstractDatabaseProvider
-
Create an
UpdateSqlGeneratorinstance for the database provider. - createUpper(ColumnExpression, Object...) - Method in class org.litebridge.db.spi.impl.function.SqlFunctionRegistryFactory
-
Creates an UPPER-implementing expression.
- currentConditionGroupSpec() - Method in interface org.litebridge.orm.api.select.model.JoinSpec
-
Returns the current condition group specification.
- currentHavingConditionGroupSpec() - Method in class org.litebridge.orm.api.select.model.SelectSpec
- currentTimestamp() - Method in record class org.litebridge.db.spi.expression.SqlFunctionRegistry.Date
-
Returns the value of the
currentTimestamprecord component. - currentTimestamp() - Static method in class org.litebridge.orm.expression.Fn
-
CURRENT_TIMESTAMP: Returns the current date and time. - CurrentTimestampSpec - Class in org.litebridge.orm.expression.function.date
-
CURRENT_TIMESTAMP(): Returns the current date/time from the database. - CurrentTimestampSpec() - Constructor for class org.litebridge.orm.expression.function.date.CurrentTimestampSpec
- currentWhereConditionGroupSpec() - Method in class org.litebridge.orm.api.select.model.SelectSpec
D
- DatabaseProvider - Interface in org.litebridge.db.spi
-
Main interface for interacting with a database.
- date() - Method in record class org.litebridge.db.spi.expression.SqlFunctionRegistry
-
Returns the value of the
daterecord component. - Date(SelectExpression) - Constructor for record class org.litebridge.db.spi.expression.SqlFunctionRegistry.Date
-
Creates an instance of a
Daterecord class. - DateConverter - Class in org.litebridge.convert.converter
-
A converter that converts various date/time types to
Date. - DateConverter() - Constructor for class org.litebridge.convert.converter.DateConverter
- DEFAULT - Enum constant in enum class org.litebridge.db.spi.tx.Isolation
-
Let the database decide
- DefaultAliasGenerator - Class in org.litebridge.orm.persistence.alias
-
DefaultAliasGenerator is an implementation of
AliasGeneratorused for generating unique aliases for tables and columns in a database schema. - DefaultAliasGenerator(AliasTransformer) - Constructor for class org.litebridge.orm.persistence.alias.DefaultAliasGenerator
-
Constructs a
DefaultAliasGeneratorwith the specifiedAliasTransformer. - DefaultAliasTransformer - Class in org.litebridge.db.spi.alias
-
Default implementation of
AliasTransformerthat returns the alias as-is. - DefaultAliasTransformer() - Constructor for class org.litebridge.db.spi.alias.DefaultAliasTransformer
- defaultConstructorUsed() - Method in record class org.litebridge.orm.persistence.DtoConstructor.ConstructionResult
-
Returns the value of the
defaultConstructorUsedrecord component. - defaultConstructorUsed() - Method in record class org.litebridge.orm.persistence.DtoConstructor.MappingInfo
-
Returns the value of the
defaultConstructorUsedrecord component. - defaultConstructorUsed() - Method in record class org.litebridge.orm.persistence.MappingPlan
-
Returns the value of the
defaultConstructorUsedrecord component. - DefaultSequenceColumnValueGenerator - Class in org.litebridge.db.spi.impl
-
A concrete implementation of
SequenceColumnValueGeneratorthat provides a standardized SQL fragment for fetching the next value from a database sequence. - DefaultSequenceColumnValueGenerator(String) - Constructor for class org.litebridge.db.spi.impl.DefaultSequenceColumnValueGenerator
-
Constructs a new instance of
DefaultSequenceColumnValueGenerator. - DefaultTransactionManager - Class in org.litebridge.orm.tx
-
Default Litebridge Transaction Manager
- DefaultTransactionManager(DataSource) - Constructor for class org.litebridge.orm.tx.DefaultTransactionManager
-
Constructs a new
DefaultTransactionManagerusing the providedDataSource. - DefaultTransactionManagerFactory - Class in org.litebridge.orm.tx
-
A factory for creating instances of
DefaultTransactionManager. - DefaultTransactionManagerFactory() - Constructor for class org.litebridge.orm.tx.DefaultTransactionManagerFactory
- DefaultTypeConverter - Class in org.litebridge.convert
-
Extends
ConfigurableTypeConverterand automatically populates itself with allConverterimplementations found on the classpath using the JavaServiceLoadermechanism. - DefaultTypeConverter() - Constructor for class org.litebridge.convert.DefaultTypeConverter
-
Constructs a new
DefaultTypeConverterand registers all converters found viaServiceLoader. - DelegateColumnExpression - Class in org.litebridge.db.spi.expression
-
Abstract base class for nesting query expressions such as SQL functions.
- DelegateColumnExpression(ColumnExpression) - Constructor for class org.litebridge.db.spi.expression.DelegateColumnExpression
-
Constructor.
- DelegateColumnExpressionImpl - Class in org.litebridge.db.spi.impl.function
-
A nestable column expression with support for SQL aliasing.
- DelegateColumnExpressionImpl(ColumnExpression, ColumnIdentifierGenerator) - Constructor for class org.litebridge.db.spi.impl.function.DelegateColumnExpressionImpl
-
Constructs a
DelegateColumnExpressionImplwith the specified target column and identifier generator. - DelegateExpression - Interface in org.litebridge.db.spi.expression
-
Interface for nesting query expressions such as SQL functions.
- DelegateExpressionFactory - Interface in org.litebridge.db.spi.expression
-
Factory to create nestable column expressions.
- DelegateExpressionSpec - Interface in org.litebridge.orm.expression
-
A query expression that can nest another query expression.
- delete(Class<DTO>) - Method in class org.litebridge.orm.Litebridge
-
Deletes the specified DTO type (all records) by providing its class as a parameter.
- delete(Class<DTO>, Function<DtoDeleteWhereClause<DTO>, DeleteQuery>) - Method in class org.litebridge.orm.Litebridge
-
Deletes records from the database for the given DTO class based on the specified query.
- delete(Object) - Method in class org.litebridge.orm.Litebridge
-
Deletes the specified data transfer object (DTO) using the underlying persistence layer.
- delete(Object) - Method in class org.litebridge.orm.persistence.PersistenceFacade
-
Deletes the specified Data Transfer Object (DTO) from the corresponding database table.
- delete(String) - Method in class org.litebridge.orm.Litebridge
-
Deletes all entries from the specified table.
- delete(String, Function<SqlDeleteWhereClause, DeleteQuery>) - Method in class org.litebridge.orm.Litebridge
-
Deletes records from the specified table in the database based on the provided delete query.
- delete(PreparedSql, ConnectionProvider) - Method in interface org.litebridge.db.spi.DatabaseProvider
-
Execute a DELETE operation in the database using the provided
Deletestatement. - delete(PreparedSql, ConnectionProvider) - Method in class org.litebridge.db.spi.impl.AbstractDatabaseProvider
- delete(PreparedSql, ConnectionProvider) - Method in class org.litebridge.orm.persistence.TransactionalDatabaseProvider
- Delete - Record Class in org.litebridge.db.spi.update
-
A SQL DELETE statement targeting a specific table with optional conditions.
- Delete(Table, ConditionGroup) - Constructor for record class org.litebridge.db.spi.update.Delete
-
Creates an instance of a
Deleterecord class. - DeleteBuilder - Class in org.litebridge.orm.persistence
-
A builder class for constructing SQL DELETE statements.
- DeleteBuilder(OrmTable, LitebridgeContext) - Constructor for class org.litebridge.orm.persistence.DeleteBuilder
-
Constructs a
DeleteBuilderfor the specified ORM table. - DeleteNode - Record Class in org.litebridge.orm.api.select.ast
-
Represents a DELETE statement in the query AST.
- DeleteNode(QueryNode, Table) - Constructor for record class org.litebridge.orm.api.select.ast.DeleteNode
-
Creates an instance of a
DeleteNoderecord class. - DeleteQuery - Interface in org.litebridge.orm.api.delete
-
Marker interface for a delete query at various stages of construction.
- DeleteSpec - Class in org.litebridge.orm.api.delete.model
-
Base specification for constructing a SQL DELETE statement.
- DeleteSpec(Table, SelectExpressionMapper) - Constructor for class org.litebridge.orm.api.delete.model.DeleteSpec
- deleteSqlGenerator - Variable in class org.litebridge.db.spi.impl.AbstractDatabaseProvider
-
Lazy-loaded DELETE SQL generator.
- DeleteSqlGenerator - Class in org.litebridge.db.spi.impl.sql
-
Generator for SQL DELETE statements.
- DeleteSqlGenerator(TypeConverter, ColumnIdentifierGenerator, BiFunction<Table, ConnectionProvider, TableMetaData>) - Constructor for class org.litebridge.db.spi.impl.sql.DeleteSqlGenerator
-
Constructs a
DeleteSqlGeneratorwith the specified components. - DeleteTerminal - Interface in org.litebridge.orm.api.delete
-
Represents the final stage of a delete query that can be executed.
- DeleteWhereConditionClause<DTO,
SELF, - Interface in org.litebridge.orm.api.deleteWCCT> -
Interface for a WHERE condition clause in a delete query.
- DeleteWhereConditionClauseTerminal<DTO,
WCC, - Interface in org.litebridge.orm.api.deleteSELF> -
Interface for the terminal part of a WHERE condition clause in a delete query.
- desc() - Method in class org.litebridge.orm.api.dto.DtoOrderByClause
- desc() - Method in interface org.litebridge.orm.api.select.OrderByClause
-
Specifies a descending order for the current ordering clause in a query.
- desc() - Method in class org.litebridge.orm.api.sql.SqlOrderByClause
- DirectFieldAccessor - Class in org.litebridge.tracking
-
Direct field access
FieldAccessorimplementation using Java 9'sVarHandle. - DirectFieldAccessor(Field, MethodHandles.Lookup) - Constructor for class org.litebridge.tracking.DirectFieldAccessor
-
Constructs a new
DirectFieldAccessorfor the specified field using the provided lookup. - divide(Object) - Method in class org.litebridge.orm.api.sql.update.SqlUpdateSetStep
- divide(Object) - Method in class org.litebridge.orm.api.update.UpdateSetStep
- DIVIDE - Enum constant in enum class org.litebridge.db.spi.math.MathOperation.Operator
-
Division operator for mathematical calculations.
- DoubleConverter - Class in org.litebridge.convert.converter
-
A converter for
Doublevalues. - DoubleConverter() - Constructor for class org.litebridge.convert.converter.DoubleConverter
- dto() - Method in record class org.litebridge.orm.persistence.DtoConstructor.ConstructionResult
-
Returns the value of the
dtorecord component. - dto() - Method in record class org.litebridge.orm.persistence.DtoRowValue
-
Returns the value of the
dtorecord component. - dto() - Method in record class org.litebridge.orm.persistence.PipedStatement
-
Returns the value of the
dtorecord component. - dto() - Method in class org.litebridge.tracking.TrackedDto
-
Retrieve the underlying DTO that is being tracked.
- dto(Object...) - Method in class org.litebridge.orm.persistence.EntityDtoMapper
-
Converts the specified entity objects into a Data Transfer Object (DTO).
- dto(List<Object>) - Method in class org.litebridge.orm.persistence.EntityDtoMapper
-
Converts a list of entity objects into a Data Transfer Object (DTO).
- DtoBlueprint - Class in org.litebridge.orm.persistence
-
A blueprint for creating and managing data transfer objects (DTOs).
- DtoBlueprint(DtoSelectSpec, List<Object>, Row) - Constructor for class org.litebridge.orm.persistence.DtoBlueprint
-
Creates a new DTO blueprint.
- DtoBlueprint.DtoData<S> - Class in org.litebridge.orm.persistence
-
Base class for entity/DTO-specific blueprint data.
- DtoBlueprint.JoinDtoData - Class in org.litebridge.orm.persistence
-
Specialised data container for DTO-based joins in the context of a
DtoBlueprint. - DtoBlueprint.SelectDtoData - Class in org.litebridge.orm.persistence
-
Specialised data container for DTO-based selections in the context of a
DtoBlueprint. - DtoCache - Interface in org.litebridge.orm.persistence
-
The DtoCache interface defines methods for caching Data Transfer Objects (DTOs).
- DtoCacheImpl - Class in org.litebridge.orm.persistence
-
A concrete implementation of the
DtoCacheinterface that uses aMap-based caching mechanism. - DtoCacheImpl() - Constructor for class org.litebridge.orm.persistence.DtoCacheImpl
- dtoClass - Variable in class org.litebridge.orm.meta.QueryField
-
Class of the DTO the field belongs to
- dtoClass() - Method in class org.litebridge.orm.api.dto.delete.DtoDeleteSpec
-
Returns the DTO class.
- dtoClass() - Method in class org.litebridge.orm.api.dto.DtoJoinSpec
-
Returns the DTO class being joined.
- dtoClass() - Method in class org.litebridge.orm.api.dto.DtoSelectSpec
-
Returns the DTO class.
- dtoClass() - Method in class org.litebridge.orm.api.dto.update.DtoUpdateSpec
-
Returns the DTO class.
- dtoClass() - Method in class org.litebridge.orm.api.select.ast.JoinNode
-
Returns the DTO class being joined.
- dtoClass() - Method in record class org.litebridge.orm.api.spec.DtoTableSpec
-
Returns the value of the
dtoClassrecord component. - dtoClass() - Method in record class org.litebridge.orm.api.spec.FieldSpec
-
Returns the value of the
dtoClassrecord component. - dtoClass() - Method in record class org.litebridge.orm.api.spec.TableMapping
-
Returns the value of the
dtoClassrecord component. - dtoClass() - Method in class org.litebridge.orm.persistence.DtoBlueprint.DtoData
-
Provides the class type of the Data Transfer Object (DTO) associated with the implementing class.
- dtoClass() - Method in class org.litebridge.orm.persistence.DtoBlueprint.JoinDtoData
- dtoClass() - Method in class org.litebridge.orm.persistence.DtoBlueprint.SelectDtoData
- dtoClass() - Method in class org.litebridge.orm.persistence.EntityDtoMapper
-
Returns the DTO class.
- dtoClass() - Method in record class org.litebridge.orm.persistence.MappingPlan
-
Returns the value of the
dtoClassrecord component. - dtoClass() - Method in class org.litebridge.orm.persistence.OrmTable
-
Get the DTO class associated with the table.
- dtoClass() - Method in class org.litebridge.tracking.DirectFieldAccessor
- dtoClass() - Method in interface org.litebridge.tracking.FieldAccessor
-
Retrieves the parent
Classof the DTO containing the field targeted by thisFieldAccessor. - dtoClass() - Method in class org.litebridge.tracking.FieldAccessorChain
- dtoClass() - Method in class org.litebridge.tracking.PropertyAccessor
- DtoConditionClauseStart<DTO> - Class in org.litebridge.orm.api.dto.condition
-
Start of a DTO-based condition clause.
- DtoConditionClauseStart(OrmTable, FromClauseEngine, QueryNode) - Constructor for class org.litebridge.orm.api.dto.condition.DtoConditionClauseStart
-
Creates a new DTO condition clause start.
- DtoConstructor - Class in org.litebridge.orm.persistence
-
A utility class responsible for constructing Data Transfer Object (DTO) instances using default or canonical constructors.
- DtoConstructor(TableRegistry) - Constructor for class org.litebridge.orm.persistence.DtoConstructor
-
Creates a new DTO constructor instance.
- DtoConstructor.ConstructionResult<DTO> - Record Class in org.litebridge.orm.persistence
-
The result of constructing a Data Transfer Object (DTO).
- DtoConstructor.DtoDependency - Record Class in org.litebridge.orm.persistence
-
Dependency configuration for a Data Transfer Object (DTO).
- DtoConstructor.FieldAccessorValue - Record Class in org.litebridge.orm.persistence
-
A pair consisting of a
FieldAccessorand its corresponding value. - DtoConstructor.MappingInfo - Record Class in org.litebridge.orm.persistence
-
Information about a particular constructor.
- dtoData() - Method in class org.litebridge.orm.persistence.DtoBlueprint
-
Returns the primary DTO data.
- DtoDataSpec - Interface in org.litebridge.orm.api.dto
-
Specification for DTO-based data.
- DtoDeleteSpec - Class in org.litebridge.orm.api.dto.delete
-
Specification for a DTO-based delete operation.
- DtoDeleteSpec(Class<?>, OrmTable, SelectExpressionMapper) - Constructor for class org.litebridge.orm.api.dto.delete.DtoDeleteSpec
-
Creates a new DTO delete specification.
- DtoDeleteWhereClause<DTO> - Interface in org.litebridge.orm.api.dto.delete
-
A WHERE clause for DTO-based delete operations.
- DtoDeleteWhereConditionClause<DTO> - Class in org.litebridge.orm.api.dto.delete
-
Represents a WHERE condition clause for DTO delete operations.
- DtoDeleteWhereConditionClause(LitebridgeContext, LogicOperator, ExpressionSpec, Function<QueryNode, DtoDeleteWhereConditionClauseTerminal<DTO>>) - Constructor for class org.litebridge.orm.api.dto.delete.DtoDeleteWhereConditionClause
- DtoDeleteWhereConditionClauseTerminal<DTO> - Interface in org.litebridge.orm.api.dto.delete
-
Terminal clause for DTO delete WHERE conditions.
- DtoDeleteWhereConditionClauseTerminalImpl<DTO> - Class in org.litebridge.orm.api.dto.delete
-
Implementation of
DtoDeleteWhereConditionClauseTerminalfor DTO delete operations. - DtoDeleteWhereConditionClauseTerminalImpl(DtoDeletor<DTO>) - Constructor for class org.litebridge.orm.api.dto.delete.DtoDeleteWhereConditionClauseTerminalImpl
-
Creates a new DtoDeleteWhereConditionClauseTerminalImpl.
- DtoDeletor<DTO> - Class in org.litebridge.orm.api.dto.delete
-
Executor for DTO delete operations.
- DtoDeletor(Class<DTO>, OrmTable, TransactionalDatabaseProvider, SelectExpressionMapper, LitebridgeContext) - Constructor for class org.litebridge.orm.api.dto.delete.DtoDeletor
-
Creates a new DtoDeletor.
- DtoDependency(FieldAccessor, Class<?>, List<DtoConstructor.FieldAccessorValue>) - Constructor for record class org.litebridge.orm.persistence.DtoConstructor.DtoDependency
-
Creates an instance of a
DtoDependencyrecord class. - dtoEntityFieldMap() - Method in record class org.litebridge.orm.persistence.DtoEntityMapping
-
Returns the value of the
dtoEntityFieldMaprecord component. - DtoEntityMapping - Record Class in org.litebridge.orm.persistence
-
Mapping between an entity class and its DTO fields.
- DtoEntityMapping(Class<?>, Map<FieldSpec, FieldSpec>) - Constructor for record class org.litebridge.orm.persistence.DtoEntityMapping
-
Creates an instance of a
DtoEntityMappingrecord class. - DtoFromClauseTerminal<DTO> - Class in org.litebridge.orm.api.dto
-
Terminal clause for DTO FROM clauses.
- DtoFromClauseTerminal(DtoSelector<DTO>) - Constructor for class org.litebridge.orm.api.dto.DtoFromClauseTerminal
-
Creates a new DtoFromClauseTerminal.
- DtoGroupByClauseTerminal<DTO> - Class in org.litebridge.orm.api.dto
-
Terminal clause for DTO GROUP BY clauses.
- DtoGroupByClauseTerminal(DtoSelector<DTO>) - Constructor for class org.litebridge.orm.api.dto.DtoGroupByClauseTerminal
-
Creates a new DtoGroupByClauseTerminal.
- DtoHavingConditionClause<DTO> - Class in org.litebridge.orm.api.dto
-
Represents a HAVING condition clause for DTO queries.
- DtoHavingConditionClause(LitebridgeContext, LogicOperator, ExpressionSpec, QueryNode, Function<QueryNode, DtoHavingConditionClauseTerminal<DTO>>) - Constructor for class org.litebridge.orm.api.dto.DtoHavingConditionClause
- DtoHavingConditionClauseTerminal<DTO> - Class in org.litebridge.orm.api.dto
-
Terminal clause for DTO HAVING conditions.
- DtoHavingConditionClauseTerminal(DtoSelector<DTO>) - Constructor for class org.litebridge.orm.api.dto.DtoHavingConditionClauseTerminal
-
Creates a new DtoHavingConditionClauseTerminal.
- dtoInterfaces() - Method in record class org.litebridge.orm.api.spec.DtoTableSpec
-
Returns the value of the
dtoInterfacesrecord component. - DtoJoinClassTerminal<DTO> - Interface in org.litebridge.orm.api.dto
-
Terminal clause for DTO JOIN operations.
- DtoJoinClause<DTO> - Class in org.litebridge.orm.api.dto
-
Represents a JOIN clause in a DTO-based query.
- DtoJoinClause(DtoSelector<DTO>, OrmTable, Function<QueryNode, DtoJoinConditionClauseTerminal<DTO>>) - Constructor for class org.litebridge.orm.api.dto.DtoJoinClause
-
Creates a new instance of
DtoJoinClause. - DtoJoinConditionClause<DTO> - Class in org.litebridge.orm.api.dto
-
Represents a condition within a JOIN clause in a DTO-based query.
- DtoJoinConditionClause(LitebridgeContext, LogicOperator, ExpressionSpec, QueryNode, Function<QueryNode, DtoJoinConditionClauseTerminal<DTO>>) - Constructor for class org.litebridge.orm.api.dto.DtoJoinConditionClause
- DtoJoinConditionClauseTerminal<DTO> - Class in org.litebridge.orm.api.dto
-
Represents the terminal part of a JOIN condition clause in a DTO-based query.
- DtoJoinConditionClauseTerminal(JoinNode, DtoSelector<DTO>) - Constructor for class org.litebridge.orm.api.dto.DtoJoinConditionClauseTerminal
-
Creates a new instance of
DtoJoinConditionClauseTerminal. - DtoJoinSpec - Class in org.litebridge.orm.api.dto
-
Specification for a JOIN clause in a DTO-based query.
- DtoJoinSpec(Class<?>, OrmTable, Table, SelectExpressionMapper) - Constructor for class org.litebridge.orm.api.dto.DtoJoinSpec
-
Creates a new instance of
DtoJoinSpec. - DtoOrderByClause<DTO> - Class in org.litebridge.orm.api.dto
-
Represents an ORDER BY clause in a DTO-based query.
- DtoOrderByClause(ExpressionSpec[], DtoSelector<DTO>) - Constructor for class org.litebridge.orm.api.dto.DtoOrderByClause
-
Creates a new instance of
DtoOrderByClause. - DtoOrderByClauseChain<DTO> - Class in org.litebridge.orm.api.dto
-
Represents a chain of ORDER BY clauses in a DTO-based query.
- DtoOrderByClauseChain(DtoSelector<DTO>) - Constructor for class org.litebridge.orm.api.dto.DtoOrderByClauseChain
-
Creates a new instance of
DtoOrderByClauseChain. - DtoProtoExpressionResolver - Class in org.litebridge.orm.api.dto
-
Resolves proto-expressions into DTO-based select expressions.
- DtoProtoExpressionResolver(DtoSelectSpec, AliasGenerator, ClassFieldAccessorCache, TableRegistry) - Constructor for class org.litebridge.orm.api.dto.DtoProtoExpressionResolver
-
Creates a new instance of
DtoProtoExpressionResolver. - DtoProtoExpressionResolver(AliasGenerator, ClassFieldAccessorCache, TableRegistry) - Constructor for class org.litebridge.orm.api.dto.DtoProtoExpressionResolver
-
Creates a new instance of
DtoProtoExpressionResolverwithout a select specification. - DtoRowValue - Record Class in org.litebridge.orm.persistence
-
Represents a pair of a DTO and its corresponding row value.
- DtoRowValue(Object, RowValue) - Constructor for record class org.litebridge.orm.persistence.DtoRowValue
-
Creates an instance of a
DtoRowValuerecord class. - DtoSelector<TypeOverride> - Class in org.litebridge.orm.api.dto
-
Selector for DTOs.
- DtoSelector(Class<TypeOverride>, OrmTable, TableRegistry, ClassFieldAccessorCache, DtoConstructor, TransactionalDatabaseProvider, AliasGenerator, LitebridgeContext, QueryNode) - Constructor for class org.litebridge.orm.api.dto.DtoSelector
-
Creates a new DtoSelector.
- DtoSelectSpec - Class in org.litebridge.orm.api.dto
-
Specification for a DTO select query.
- DtoSelectSpec(Class<?>, OrmTable, AliasGenerator, LitebridgeContext) - Constructor for class org.litebridge.orm.api.dto.DtoSelectSpec
-
Creates a new DtoSelectSpec.
- DtoSelectSpec.FieldColumn - Record Class in org.litebridge.orm.api.dto
-
Represents a pair of a field accessor and its corresponding database column.
- dtoTable() - Method in class org.litebridge.orm.api.dto.delete.DtoDeleteSpec
- dtoTable() - Method in interface org.litebridge.orm.api.dto.DtoDataSpec
-
Returns the ORM table metadata for the DTO.
- dtoTable() - Method in class org.litebridge.orm.api.dto.DtoJoinSpec
- dtoTable() - Method in class org.litebridge.orm.api.dto.DtoSelectSpec
- dtoTable() - Method in class org.litebridge.orm.api.dto.update.DtoUpdateSpec
- DtoTableSpec - Record Class in org.litebridge.orm.api.spec
-
DTO-to-table mapping details, used for registering a DTO class as an entity with the Litebridge ORM.
- DtoTableSpec(Class<?>, TableSpec) - Constructor for record class org.litebridge.orm.api.spec.DtoTableSpec
-
Constructs a DtoTableSpec instance using the specified DTO class and table specification.
- DtoTableSpec(Class<?>, TableSpec, List<Class<?>>) - Constructor for record class org.litebridge.orm.api.spec.DtoTableSpec
-
Creates an instance of a
DtoTableSpecrecord class. - DtoTableSpecBuilder - Class in org.litebridge.orm.api.register
-
Builder class for constructing instances of
DtoTableSpec. - DtoTableSpecBuilder(RegistrationContextTerminal) - Constructor for class org.litebridge.orm.api.register.DtoTableSpecBuilder
-
Constructs a new instance of
DtoTableSpecBuilderusing the specified registration context. - DtoUpdater<DTO> - Class in org.litebridge.orm.api.dto.update
-
Updater for DTOs.
- DtoUpdater(Class<DTO>, OrmTable, TransactionalDatabaseProvider, SelectExpressionMapper, LitebridgeContext) - Constructor for class org.litebridge.orm.api.dto.update.DtoUpdater
-
Creates a new DtoUpdater.
- DtoUpdateResult - Class in org.litebridge.orm.persistence
-
Represents the result of an update operation on a Data Transfer Object (DTO).
- DtoUpdateResult(Object, DtoUpdateResult) - Constructor for class org.litebridge.orm.persistence.DtoUpdateResult
-
Creates a new DtoUpdateResult.
- DtoUpdateSpec - Class in org.litebridge.orm.api.dto.update
-
Specification for a DTO update query.
- DtoUpdateSpec(Class<?>, OrmTable, SelectExpressionMapper) - Constructor for class org.litebridge.orm.api.dto.update.DtoUpdateSpec
-
Creates a new DtoUpdateSpec.
- DtoUpdateStart<DTO> - Interface in org.litebridge.orm.api.dto.update
-
The starting interface for DTO update queries.
- DtoUpdateStep<DTO> - Interface in org.litebridge.orm.api.dto.update
-
The step interface for DTO update queries.
- DtoUpdateWhereConditionClause<DTO> - Class in org.litebridge.orm.api.dto.update
-
Represents a where condition clause for a DTO update.
- DtoUpdateWhereConditionClause(LitebridgeContext, LogicOperator, ExpressionSpec, Function<QueryNode, DtoUpdateWhereConditionClauseTerminal<DTO>>) - Constructor for class org.litebridge.orm.api.dto.update.DtoUpdateWhereConditionClause
- DtoUpdateWhereConditionClauseTerminal<DTO> - Interface in org.litebridge.orm.api.dto.update
-
The terminal interface for DTO update where condition clauses.
- DtoUpdateWhereConditionClauseTerminalImpl<DTO> - Class in org.litebridge.orm.api.dto.update
-
Implementation of the terminal interface for DTO update where condition clauses.
- DtoUpdateWhereConditionClauseTerminalImpl(DtoUpdater<DTO>) - Constructor for class org.litebridge.orm.api.dto.update.DtoUpdateWhereConditionClauseTerminalImpl
-
Creates a new DtoUpdateWhereConditionClauseTerminalImpl.
- DtoWhereConditionClause<DTO> - Class in org.litebridge.orm.api.dto
-
DTO where condition clause.
- DtoWhereConditionClause(LitebridgeContext, LogicOperator, ExpressionSpec, QueryNode, Function<QueryNode, DtoWhereConditionClauseTerminal<DTO>>) - Constructor for class org.litebridge.orm.api.dto.DtoWhereConditionClause
- DtoWhereConditionClauseTerminal<DTO> - Class in org.litebridge.orm.api.dto
-
DTO where condition clause terminal.
- DtoWhereConditionClauseTerminal(DtoSelector<DTO>) - Constructor for class org.litebridge.orm.api.dto.DtoWhereConditionClauseTerminal
-
Constructs a new
DtoWhereConditionClauseTerminal.
E
- endRequest() - Method in class org.litebridge.db.spi.tx.ManagedConnection
- ensureColumnMetaData(Column, ConnectionProvider) - Method in class org.litebridge.db.spi.impl.sql.AbstractSqlGenerator
-
Ensures that column metadata is available for the specified column.
- ensureLimit() - Method in class org.litebridge.orm.api.select.model.SelectSpec
- ensureTableMetaData(Table) - Method in class org.litebridge.orm.persistence.TableMetaDataCache
- ensureTableMetaData(Table, ConnectionProvider) - Method in class org.litebridge.db.spi.impl.AbstractDatabaseProvider
-
Ensure that table metadata is available for the specified table, fetching it if not already cached.
- ensureTableMetaData(Table, ConnectionProvider) - Method in class org.litebridge.db.spi.impl.sql.AbstractSqlGenerator
-
Ensures that table metadata is available for the specified table.
- ensureTrackedDto(DTO) - Method in class org.litebridge.orm.persistence.OrmTable
-
Get the tracked version of the specified DTO, tracking its fields if not already tracked.
- entities(DTO) - Method in class org.litebridge.orm.persistence.EntityDtoMapper
-
Converts the given DTO into a list of entity objects based on the mappings defined in the class.
- entityClass() - Method in record class org.litebridge.orm.persistence.DtoEntityMapping
-
Returns the value of the
entityClassrecord component. - entityClasses() - Method in class org.litebridge.orm.persistence.EntityDtoMapper
-
Returns the entity classes.
- entityDtoMapper(Class<DTO>, List<DtoEntityMapping>) - Method in class org.litebridge.orm.Litebridge
-
Creates an instance of EntityDtoMapper for the specified DTO class and entity-to-DTO mappings.
- EntityDtoMapper<DTO> - Class in org.litebridge.orm.persistence
-
Mapper for converting between complex Data Transfer Objects (DTOs) and their corresponding "entity" objects.
- EntityDtoMapper(Class<DTO>, List<DtoEntityMapping>, ClassFieldAccessorCache) - Constructor for class org.litebridge.orm.persistence.EntityDtoMapper
-
Constructs a new
EntityDtoMapper. - entrySet() - Method in class org.litebridge.commons.type.WeakIdentityMap
- eq(Object) - Method in class org.litebridge.orm.api.condition.AbstractCbConditionClause
-
Equals
- eq(Object) - Method in interface org.litebridge.orm.api.select.ConditionClause
-
Equals
- eq(Function<SelectEngine, SelectTerminal<?>>) - Method in class org.litebridge.orm.api.condition.AbstractCbConditionClause
-
Equals
- EQ - Enum constant in enum class org.litebridge.db.spi.query.Operator
-
Equals
- equals(Object) - Method in class org.litebridge.db.spi.TableMetaData
- equals(Object) - Method in class org.litebridge.orm.api.select.ast.HavingNode
- equals(Object) - Method in class org.litebridge.orm.api.select.ast.JoinNode
- equals(Object) - Method in class org.litebridge.orm.api.select.ast.WhereNode
- equals(Object) - Method in class org.litebridge.tracking.ChangedCollectionField
- equals(Object) - Method in class org.litebridge.tracking.ChangedField
- equals(Object) - Method in class org.litebridge.tracking.ChangedMapField
- equals(Object) - Method in class org.litebridge.db.spi.Aliased
- equals(Object) - Method in class org.litebridge.db.spi.Column
- equals(Object) - Method in class org.litebridge.db.spi.ColumnMetaData
- equals(Object) - Method in record class org.litebridge.db.spi.expression.BindValueExpression
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class org.litebridge.db.spi.expression.LiteralExpression
- equals(Object) - Method in record class org.litebridge.db.spi.expression.SqlFunctionRegistry.Aggregate
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.litebridge.db.spi.expression.SqlFunctionRegistry.Date
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.litebridge.db.spi.expression.SqlFunctionRegistry
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.litebridge.db.spi.expression.SqlFunctionRegistry.Scalar
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.litebridge.db.spi.expression.SqlFunctionRegistry.Select
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.litebridge.db.spi.ForeignKeyConstraint
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.litebridge.db.spi.impl.sql.PreparedRow
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.litebridge.db.spi.math.MathOperation
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.litebridge.db.spi.PreparedOperation
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.litebridge.db.spi.query.Condition
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.litebridge.db.spi.query.ConditionGroup
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.litebridge.db.spi.query.Join
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.litebridge.db.spi.query.Limit
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.litebridge.db.spi.query.LogicCondition
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.litebridge.db.spi.query.LogicConditionGroup
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.litebridge.db.spi.query.OrderBy
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.litebridge.db.spi.query.Select
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.litebridge.db.spi.query.TypeConversionMetaData
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.litebridge.db.spi.query.UpdateMetaData
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class org.litebridge.db.spi.Row.RowColumn
- equals(Object) - Method in record class org.litebridge.db.spi.sql.BindValue
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.litebridge.db.spi.sql.PreparedSql
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class org.litebridge.db.spi.Table
- equals(Object) - Method in record class org.litebridge.db.spi.update.ColumnValue
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.litebridge.db.spi.update.Delete
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.litebridge.db.spi.update.Insert
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.litebridge.db.spi.update.RowValue
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.litebridge.db.spi.update.Update
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.litebridge.orm.api.dto.DtoSelectSpec.FieldColumn
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.litebridge.orm.api.select.ast.ConditionGroupNode
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.litebridge.orm.api.select.ast.ConditionNode
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.litebridge.orm.api.select.ast.DeleteNode
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.litebridge.orm.api.select.ast.GroupByNode
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.litebridge.orm.api.select.ast.InsertNode
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.litebridge.orm.api.select.ast.LimitNode
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.litebridge.orm.api.select.ast.OrderByNode
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.litebridge.orm.api.select.ast.SelectNode
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.litebridge.orm.api.select.ast.SetNode
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.litebridge.orm.api.select.ast.UpdateNode
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.litebridge.orm.api.select.model.ConditionGroupSpec
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.litebridge.orm.api.select.model.GroupBySpec
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.litebridge.orm.api.select.model.LogicConditionGroupSpec
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.litebridge.orm.api.select.model.LogicConditionSpec
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.litebridge.orm.api.spec.ColumnSpec
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.litebridge.orm.api.spec.DtoTableSpec
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.litebridge.orm.api.spec.FieldColumnSpec
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.litebridge.orm.api.spec.FieldSpec
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.litebridge.orm.api.spec.ManyToMany
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.litebridge.orm.api.spec.OneToMany
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.litebridge.orm.api.spec.TableMapping
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.litebridge.orm.config.LitebridgeConfig
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.litebridge.orm.engine.QueryPlanCache.CachedOperation
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.litebridge.orm.expression.function.aggregate.AvgSpec
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.litebridge.orm.expression.function.aggregate.CountSpec
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.litebridge.orm.expression.function.aggregate.MaxSpec
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.litebridge.orm.expression.function.aggregate.MinSpec
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.litebridge.orm.expression.function.scalar.AbsSpec
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.litebridge.orm.expression.function.scalar.LowerSpec
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.litebridge.orm.expression.function.scalar.SubstringSpec
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.litebridge.orm.expression.function.scalar.UpperSpec
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.litebridge.orm.expression.intent.ConvertIntent
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.litebridge.orm.expression.intent.ExpressionSpecArray
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.litebridge.orm.expression.ProtoColumnExpressionSpec
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.litebridge.orm.expression.ProtoNestableBasicExprSpec
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.litebridge.orm.expression.ProtoNestableTOExpr
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class org.litebridge.orm.expression.select.SelectColumnSpec
- equals(Object) - Method in record class org.litebridge.orm.expression.select.SubselectSpec
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.litebridge.orm.nativesql.ParsedSql
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.litebridge.orm.persistence.DtoConstructor.ConstructionResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.litebridge.orm.persistence.DtoConstructor.DtoDependency
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.litebridge.orm.persistence.DtoConstructor.FieldAccessorValue
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.litebridge.orm.persistence.DtoConstructor.MappingInfo
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.litebridge.orm.persistence.DtoEntityMapping
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.litebridge.orm.persistence.DtoRowValue
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.litebridge.orm.persistence.MappedManyToMany
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.litebridge.orm.persistence.MappedOneToMany
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.litebridge.orm.persistence.MappingPlan
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.litebridge.orm.persistence.MappingPlan.FieldMapping
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.litebridge.orm.persistence.PipedStatement
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.litebridge.orm.persistence.TableMapper.MappedTable
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class org.litebridge.tracking.DirectFieldAccessor
- equals(Object) - Method in class org.litebridge.tracking.FieldAccessorChain
- equals(Object) - Method in class org.litebridge.tracking.PropertyAccessor
- equalsColumnOnlyIgnoreAlias(Column) - Method in class org.litebridge.db.spi.Column
-
Compares this column with another column, ignoring the alias and the table.
- equalsIgnoreAlias(Aliased) - Method in class org.litebridge.db.spi.Aliased
-
Compares this instance with another
Aliasedinstance, ignoring their aliases. - equalsIgnoreAlias(Aliased) - Method in class org.litebridge.db.spi.Column
- equalsIgnoreAlias(Aliased) - Method in class org.litebridge.db.spi.Table
- execute() - Method in interface org.litebridge.orm.api.delete.DeleteTerminal
-
Executes the delete query and returns the result.
- execute() - Method in class org.litebridge.orm.api.dto.delete.DtoDeleteWhereConditionClauseTerminalImpl
- execute() - Method in class org.litebridge.orm.api.dto.update.DtoUpdateWhereConditionClauseTerminalImpl
- execute() - Method in class org.litebridge.orm.api.sql.delete.SqlDeleteWhereConditionClauseTerminalImpl
- execute() - Method in class org.litebridge.orm.api.sql.update.SqlUpdateWhereConditionClauseTerminalImpl
- execute() - Method in interface org.litebridge.orm.api.update.UpdateTerminal
-
Executes the update.
- execute(Runnable) - Method in class org.litebridge.orm.api.tx.IsolationClause
-
Executes a given
Runnablewithin the context of a transaction. - execute(Runnable) - Method in class org.litebridge.orm.api.tx.ReadOnlyClause
-
Executes a given
Runnablewithin the context of a transaction. - execute(Runnable) - Method in class org.litebridge.orm.api.tx.TransactionContextTerminal
-
Executes a given
Runnablewithin the context of a transaction. - execute(String, Object...) - Method in class org.litebridge.orm.nativesql.NativeSqlContext
-
Executes a SQL update statement with the given SQL string and a variable-length list of positional bind parameters.
- execute(String, List<Object>) - Method in class org.litebridge.orm.nativesql.NativeSqlContext
-
Executes a SQL update statement with the given SQL string and a list of positional bind parameters.
- execute(String, Map<String, Object>) - Method in class org.litebridge.orm.nativesql.NativeSqlContext
-
Executes a SQL update statement with the given SQL string and a map of named bind parameters.
- executeSqlInsert(PreparedSql, ConnectionProvider) - Method in class org.litebridge.db.spi.impl.AbstractDatabaseProvider
-
Execute a SQL INSERT operation using the provided prepared SQL statement and table metadata.
- executeSqlUpdate(PreparedSql, ConnectionProvider) - Method in class org.litebridge.db.spi.impl.AbstractDatabaseProvider
-
Execute a SQL UPDATE operation using the provided prepared SQL statement and table metadata.
- expression() - Method in record class org.litebridge.db.spi.query.OrderBy
-
Returns the value of the
expressionrecord component. - expression() - Method in record class org.litebridge.orm.api.select.ast.OrderByNode
-
Returns the value of the
expressionrecord component. - ExpressionModifier - Interface in org.litebridge.orm.expression
-
A query expression modifier that changes the result of the query.
- expressions() - Method in record class org.litebridge.db.spi.query.Select
-
Returns the value of the
expressionsrecord component. - expressions() - Method in record class org.litebridge.orm.api.select.ast.GroupByNode
-
Returns the value of the
expressionsrecord component. - expressions() - Method in record class org.litebridge.orm.api.select.ast.SelectNode
-
Returns the value of the
expressionsrecord component. - expressions() - Method in record class org.litebridge.orm.api.select.model.GroupBySpec
-
Returns the value of the
expressionsrecord component. - expressions() - Method in class org.litebridge.orm.api.select.model.OrderBySpec
-
Returns the expressions to order by.
- expressions() - Method in record class org.litebridge.orm.expression.intent.ExpressionSpecArray
-
Returns the value of the
expressionsrecord component. - ExpressionSpec - Interface in org.litebridge.orm.expression
-
Marker interface for select query expressions.
- ExpressionSpecArray - Record Class in org.litebridge.orm.expression.intent
-
Array of expression specifications.
- ExpressionSpecArray(ExpressionSpec[]) - Constructor for record class org.litebridge.orm.expression.intent.ExpressionSpecArray
-
Creates an instance of a
ExpressionSpecArrayrecord class. - expressionSpecs - Variable in class org.litebridge.orm.api.select.model.SelectSpec
- extractBindValues(QueryNode) - Static method in class org.litebridge.orm.engine.QueryBindValueExtractor
- extractGeneratedKeys(List<ColumnMetaData>, PreparedStatement) - Method in class org.litebridge.db.oracle.OracleDatabaseProvider
- extractGeneratedKeys(List<ColumnMetaData>, PreparedStatement) - Method in class org.litebridge.db.spi.impl.AbstractDatabaseProvider
-
Extract the generated primary key values from the provided prepared statement.
- extractGeneratedKeys(List<ColumnMetaData>, PreparedStatement) - Method in class org.litebridge.db.sqlite.SQLiteDatabaseProvider
F
- f(Class<?>, String) - Static method in class org.litebridge.orm.expression.Fn
-
Selects a DTO field by name for the specified DTO type that is selected/joined in the query.
- f(String) - Static method in interface org.litebridge.orm.api.spec.FieldMapping
-
Shortcut for
FieldMapping.field(String). - f(String) - Static method in class org.litebridge.orm.expression.Fn
-
Selects a DTO field by name for the DTO class selected in the query.
- fetchTableMetaData(Table, ConnectionProvider) - Method in class org.litebridge.db.spi.impl.AbstractDatabaseProvider
-
Retrieve metadata for the specified table, including its primary keys and expressions.
- fetchTableMetaData(Table, ConnectionProvider) - Method in class org.litebridge.db.sqlite.SQLiteDatabaseProvider
- field - Variable in class org.litebridge.orm.meta.QueryField
-
Target field name.
- field() - Method in record class org.litebridge.orm.api.spec.FieldColumnSpec
-
Returns the value of the
fieldrecord component. - field() - Method in class org.litebridge.orm.expression.select.SelectFieldSpec
- field() - Method in record class org.litebridge.orm.persistence.DtoConstructor.DtoDependency
-
Returns the value of the
fieldrecord component. - field() - Method in record class org.litebridge.orm.persistence.DtoConstructor.FieldAccessorValue
-
Returns the value of the
fieldrecord component. - field(Class<?>, String) - Static method in class org.litebridge.orm.expression.Fn
-
Selects a DTO field by name for the specified DTO type that is selected/joined in the query.
- field(String) - Static method in interface org.litebridge.orm.api.spec.FieldMapping
-
Creates a new
FieldSpecconfigured for field-level access of the specified field name. - field(String) - Static method in class org.litebridge.orm.expression.Fn
-
Selects a DTO field by name for the DTO class selected in the query.
- fieldAccessor() - Method in record class org.litebridge.orm.api.dto.DtoSelectSpec.FieldColumn
-
Returns the value of the
fieldAccessorrecord component. - fieldAccessor(Class<?>, String) - Method in class org.litebridge.tracking.ClassFieldAccessorCache
-
Retrieves a
FieldAccessorfor the specified field name or path. - FieldAccessor - Interface in org.litebridge.tracking
-
Abstraction for accessing and manipulating fields or properties of a data transfer object (DTO).
- FieldAccessorChain - Class in org.litebridge.tracking
-
Represents a chain of
FieldAccessorinstances, allowing the traversal and manipulation of nested fields of a data transfer object (DTO). - FieldAccessorChain(FieldAccessor, String, ClassFieldAccessorCache) - Constructor for class org.litebridge.tracking.FieldAccessorChain
-
Constructs a new
FieldAccessorChain. - fieldAccessorOrNull(Class<?>, String) - Method in class org.litebridge.tracking.ClassFieldAccessorCache
-
Retrieves a
FieldAccessorfor the specified field path, ornullif it doesn't exist. - fieldAccessorOrThrow(Class<?>, String) - Method in class org.litebridge.tracking.ClassFieldAccessorCache
-
Retrieves a
FieldAccessorfor the specified field path, or throws an exception if it doesn't exist. - fieldAccessors() - Method in class org.litebridge.tracking.FieldAccessorChain
-
Returns the field accessors.
- fieldAccessors(Class<?>) - Method in class org.litebridge.tracking.ClassFieldAccessorCache
-
Retrieves all field accessors for the specified class.
- FieldAccessorValue(FieldAccessor, Object) - Constructor for record class org.litebridge.orm.persistence.DtoConstructor.FieldAccessorValue
-
Creates an instance of a
FieldAccessorValuerecord class. - fieldAcessorStream() - Method in class org.litebridge.orm.persistence.OrmTable
-
Get a stream of field accessors for the table.
- FieldColumn(FieldAccessor, Column) - Constructor for record class org.litebridge.orm.api.dto.DtoSelectSpec.FieldColumn
-
Creates an instance of a
FieldColumnrecord class. - fieldColumnMap() - Method in class org.litebridge.orm.api.spec.TableSpec
-
Field name to
ColumnSpecmap; key is field name, value is the column definition - fieldColumns() - Method in class org.litebridge.orm.persistence.DtoBlueprint.DtoData
-
Retrieves the list of field-to-column mappings managed by this DTO data instance.
- FieldColumnSpec - Record Class in org.litebridge.orm.api.spec
-
Represents the mapping between a specific field in a Data Transfer Object (DTO) and its corresponding database column specification.
- FieldColumnSpec(FieldSpec, ColumnMapping) - Constructor for record class org.litebridge.orm.api.spec.FieldColumnSpec
-
Creates an instance of a
FieldColumnSpecrecord class. - FieldColumnSpecBuilder - Class in org.litebridge.orm.api.register
-
A builder for specifying mappings between fields or properties in a DTO (Data Transfer Object) and database expressions.
- FieldColumnSpecBuilder() - Constructor for class org.litebridge.orm.api.register.FieldColumnSpecBuilder
- FieldColumnSpecBuilderColumnStep - Class in org.litebridge.orm.api.register
-
A builder step for defining the column specification associated with a field in a data model.
- FieldColumnSpecBuilderFieldStep - Class in org.litebridge.orm.api.register
-
A builder step for configuring the mapping of a field in a data model to a database column or relationship.
- FieldColumnSpecBuilderJoinStep - Class in org.litebridge.orm.api.register
-
A builder step for defining the join column mapping in a field-to-database-column specification.
- FieldColumnSpecBuilderJoinStep(FieldSpec, String, String) - Constructor for class org.litebridge.orm.api.register.FieldColumnSpecBuilderJoinStep
-
Constructs a new
FieldColumnSpecBuilderJoinStep. - FieldColumnSpecBuilderTerminal - Interface in org.litebridge.orm.api.register
-
A terminal step in the fluent API for configuring field-to-database-column mappings within an Object-Relational Mapping (ORM) system.
- FieldColumnSpecBuilderTerminalImpl - Class in org.litebridge.orm.api.register
-
Final implementation of the
FieldColumnSpecBuilderTerminalinterface, used to build aFieldColumnSpecinstance representing the mapping between a DTO field and its corresponding database column or relationship specification. - FieldColumnSpecBuilderTerminalImpl(FieldSpec, ColumnMapping) - Constructor for class org.litebridge.orm.api.register.FieldColumnSpecBuilderTerminalImpl
-
Constructs a new
FieldColumnSpecBuilderTerminalImpl. - fieldForColumnNameOrNull(String) - Method in class org.litebridge.orm.persistence.OrmTable
-
Get the field accessor for the specified column name, or null if not found.
- FieldMapping - Interface in org.litebridge.orm.api.spec
-
Defines a mapping of a field or a property in a class to its corresponding representation.
- FieldMapping(int, FieldAccessor, Class<?>, boolean, boolean, FieldAccessor) - Constructor for record class org.litebridge.orm.persistence.MappingPlan.FieldMapping
-
Creates an instance of a
FieldMappingrecord class. - fieldMappings() - Method in record class org.litebridge.orm.persistence.MappingPlan
-
Returns the value of the
fieldMappingsrecord component. - fieldPath() - Method in class org.litebridge.tracking.FieldAccessorChain
-
Returns the field path.
- FieldSpec - Record Class in org.litebridge.orm.api.spec
-
Represents a specification for mapping a field in a class to a database column or property.
- FieldSpec(Class<?>, String, boolean) - Constructor for record class org.litebridge.orm.api.spec.FieldSpec
-
Creates an instance of a
FieldSpecrecord class. - FieldSpec(String, boolean) - Constructor for record class org.litebridge.orm.api.spec.FieldSpec
-
Constructs a new
FieldSpecwith the given name and property flag. - fieldType() - Method in record class org.litebridge.orm.persistence.MappingPlan.FieldMapping
-
Returns the value of the
fieldTyperecord component. - first() - Method in interface org.litebridge.orm.api.select.SelectTerminal
-
Executes the query and returns the first row if present.
- firstOrNull() - Method in class org.litebridge.orm.api.dto.DtoSelector
- firstOrNull() - Method in interface org.litebridge.orm.api.select.SelectTerminal
-
Executes the query and returns the first row if present.
- firstOrNull() - Method in class org.litebridge.orm.api.sql.SqlSelector
- firstOrThrow() - Method in interface org.litebridge.orm.api.select.SelectTerminal
-
Executes the query and returns the first row.
- firstOrThrow(Supplier<? extends X>) - Method in interface org.litebridge.orm.api.select.SelectTerminal
-
Executes the query and returns the first row.
- FloatConverter - Class in org.litebridge.convert.converter
-
A converter for
Floatvalues. - FloatConverter() - Constructor for class org.litebridge.convert.converter.FloatConverter
- Fn - Class in org.litebridge.orm.expression
-
Functions: Utility class that provides static methods for constructing query expressions.
- forEach(Consumer<ChangedField>) - Method in class org.litebridge.tracking.ChangedFields
-
Perform the given action for each
ChangedFieldin the collection. - foreignKey() - Method in record class org.litebridge.db.spi.ForeignKeyConstraint
-
Returns the value of the
foreignKeyrecord component. - ForeignKeyConstraint - Record Class in org.litebridge.db.spi
-
A foreign key constraint between two columns.
- ForeignKeyConstraint(String, Column) - Constructor for record class org.litebridge.db.spi.ForeignKeyConstraint
-
Creates an instance of a
ForeignKeyConstraintrecord class. - format(Temporal, String) - Static method in class org.litebridge.commons.TimeUtils
- from(Class<?>) - Method in class org.litebridge.orm.api.select.FromClauseStartTypeOverride
-
Starts a FROM clause for the given DTO class with the current type override.
- from(Class<DTO>) - Method in class org.litebridge.orm.api.select.FromClauseStart
-
Starts a FROM clause for the given DTO class.
- from(Class<DTO>, Class<?>) - Method in class org.litebridge.orm.api.select.FromClauseStart
-
Starts a FROM clause for the given DTO class within the context of another DTO class.
- from(Class<DTO>, Class<?>) - Method in class org.litebridge.orm.api.select.FromClauseStartTypeOverride
-
Starts a FROM clause for the given DTO class within the context of another DTO class.
- from(Class<DTO>, Class<?>) - Method in class org.litebridge.orm.engine.FromClauseEngine
-
Constructs a DTO-based FROM clause using a context DTO class.
- from(Class<DTO>, RelatedDtoStrategy) - Method in class org.litebridge.orm.api.select.FromClauseStartTypeOverride
-
Starts a FROM clause for the given DTO class with a specific related DTO strategy.
- from(Class<DTO>, RelatedDtoStrategy) - Method in class org.litebridge.orm.engine.FromClauseEngine
-
Constructs a DTO-based FROM clause.
- from(String) - Method in class org.litebridge.orm.api.select.FromClauseStart
-
Starts a FROM clause for the given SQL table.
- from(String) - Method in class org.litebridge.orm.api.select.FromClauseStartTypeOverride
-
Starts a FROM clause for the given SQL table.
- from(String) - Method in interface org.litebridge.orm.api.select.FromClause
-
Specifies the source table and schema for the SQL query, setting the base table and expressions used in the query construction.
- from(String) - Method in class org.litebridge.orm.api.sql.SqlFromClause
- from(SelectNode, Class<DTO>, RelatedDtoStrategy) - Method in class org.litebridge.orm.engine.FromClauseEngine
-
Constructs a DTO-based FROM clause.
- from(QueryNode, Class<?>, Class<TypeOverride>, RelatedDtoStrategy) - Method in class org.litebridge.orm.engine.FromClauseEngine
-
Constructs a DTO-based FROM clause with a type override.
- from(SelectNode, String) - Method in class org.litebridge.orm.engine.FromClauseEngine
-
Constructs an SQL-based FROM clause.
- FromClause<DTO,
FCT, - Interface in org.litebridge.orm.api.selectJC, JCC, JCCT, WCC, WCCT, GBCT, HCC, HCCT, OBC, OBCC> -
Starting point for constructing a SQL query by specifying the source table and schema.
- fromClauseEngine - Variable in class org.litebridge.orm.api.condition.AbstractCbConditionClause
-
The engine used to process the FROM clause.
- fromClauseEngine - Variable in class org.litebridge.orm.api.condition.AbstractCbConditionClauseTerminal
-
The engine used to process the FROM clause.
- fromClauseEngine - Variable in class org.litebridge.orm.api.condition.AbstractConditionClauseStart
-
The engine used to process the FROM clause.
- fromClauseEngine - Variable in class org.litebridge.orm.api.select.FromClauseStart
-
The from clause engine.
- fromClauseEngine - Variable in class org.litebridge.orm.api.select.FromClauseStartTypeOverride
-
The from clause engine.
- fromClauseEngine() - Method in class org.litebridge.orm.engine.LitebridgeContext
- FromClauseEngine - Class in org.litebridge.orm.engine
-
The
FromClauseEngineclass represents the generation of SQL "FROM" clauses with support for both DTO-based and raw expression-based queries. - FromClauseEngine(TransactionalDatabaseProvider, TableRegistry, ChangeTracker, DtoConstructor, Supplier<LitebridgeContext>) - Constructor for class org.litebridge.orm.engine.FromClauseEngine
-
Constructs a new
FromClauseEngine. - FromClauseStart - Class in org.litebridge.orm.api.select
-
Entry point for the "FROM" clause of a query.
- FromClauseStart(SelectNode, FromClauseEngine) - Constructor for class org.litebridge.orm.api.select.FromClauseStart
-
Constructs a new
FromClauseStart. - FromClauseStartTypeOverride<TypeOverride> - Class in org.litebridge.orm.api.select
-
Entry point for the "FROM" clause of a query with a type override.
- FromClauseStartTypeOverride(Class<TypeOverride>, SelectNode, FromClauseEngine) - Constructor for class org.litebridge.orm.api.select.FromClauseStartTypeOverride
-
Constructs a new
FromClauseStartTypeOverride. - FromClauseTerminal<DTO,
JC, - Interface in org.litebridge.orm.api.selectJCC, JCCT, WCC, WCCT, GBCT, HCC, HCCT, OBC, OBCC> -
Terminal stage of the FROM clause in a fluent API for constructing SQL queries.
- FunctionExpression - Class in org.litebridge.db.spi.impl.function
-
Base class for function expressions operating on a column.
- FunctionExpression(ColumnExpression, ColumnIdentifierGenerator) - Constructor for class org.litebridge.db.spi.impl.function.FunctionExpression
-
Constructor.
G
- generate(ColumnMetaData) - Method in class org.litebridge.db.oracle.OracleSequenceColumnValueGenerator
-
Generate a SQL fragment to retrieve the next value from a sequence for direct use in an INSERT or UPDATE statement, e.g. to generate "INSERT INTO LB.ACCOUNT(ACCOUNT_ID, ACCOUNT_NAME) VALUES (sequence_name.NEXTVAL, ?)"
- generate(ColumnMetaData) - Method in class org.litebridge.db.postgres.PostgresSequenceColumnValueGenerator
-
Generate a SQL fragment to retrieve the next value from a sequence for direct use in an INSERT or UPDATE statement, e.g. to generate "INSERT INTO LB.ACCOUNT(ACCOUNT_ID, ACCOUNT_NAME) VALUES (nextval('sequence_name'), ?)"
- generate(ColumnMetaData) - Method in interface org.litebridge.db.spi.generator.ColumnValueGenerator
-
Generates a value for a given database column based on its metadata.
- generate(ColumnMetaData) - Method in class org.litebridge.db.spi.generator.SequenceColumnValueGenerator
-
Generate a SQL fragment to retrieve the next value from a sequence for direct use in an INSERT or UPDATE statement, e.g. to generate "INSERT INTO LB.ACCOUNT(ACCOUNT_ID, ACCOUNT_NAME) VALUES (NEXT VALUE FOR sequence_name, ?)"
- generate(ColumnMetaData) - Method in class org.litebridge.db.spi.impl.DefaultSequenceColumnValueGenerator
-
Generate a SQL fragment to retrieve the next value from a sequence for direct use in an INSERT or UPDATE statement, e.g. to generate "INSERT INTO LB.ACCOUNT(ACCOUNT_ID, ACCOUNT_NAME) VALUES (NEXT VALUE FOR sequence_name, ?)"
- generate(ColumnValueGenerator) - Method in class org.litebridge.orm.api.register.FieldColumnSpecBuilderColumnStep
-
Configures the value generation strategy for a database column using a specified custom generator.
- generatedKeyNames() - Method in record class org.litebridge.db.spi.query.UpdateMetaData
-
Returns the value of the
generatedKeyNamesrecord component. - generatedKeys() - Method in record class org.litebridge.db.spi.query.UpdateMetaData
-
Returns the value of the
generatedKeysrecord component. - generatedKeys() - Method in class org.litebridge.db.spi.update.InsertResult
-
Returns a map of generated keys resulting from the insert operation.
- generateUsingSequence() - Element in annotation interface org.litebridge.orm.annotation.Column
-
Specifies the database sequence to be used for generating values for the annotated field or method.
- generateUsingSequence(String) - Method in class org.litebridge.orm.api.register.FieldColumnSpecBuilderColumnStep
-
Configures the column value generator to use a sequence-based approach for populating column values.
- generator() - Element in annotation interface org.litebridge.orm.annotation.Column
-
Specifies a custom implementation of
ColumnValueGeneratorto dynamically generate or compute values for the database column during runtime. - generator() - Method in record class org.litebridge.orm.api.spec.ColumnSpec
-
Returns the value of the
generatorrecord component. - GenericConverter<T> - Class in org.litebridge.convert.converter
-
A generic implementation of
Converterthat uses aConverterFunctionfor the conversion logic. - GenericConverter(Class<T>, ConverterFunction<T>) - Constructor for class org.litebridge.convert.converter.GenericConverter
-
Constructs a new
GenericConverterfor the specified type and conversion function. - GenericSqlConverter<T> - Class in org.litebridge.convert.converter
-
A generic implementation of
SqlConverterthat uses aConverterFunctionfor the conversion logic. - GenericSqlConverter(Class<T>, int[], ConverterFunction<T>) - Constructor for class org.litebridge.convert.converter.GenericSqlConverter
-
Constructs a new
GenericSqlConverterfor the specified type, SQL types, and conversion function. - GenericSqlConverter(Class<T>, int, ConverterFunction<T>) - Constructor for class org.litebridge.convert.converter.GenericSqlConverter
-
Constructs a new
GenericSqlConverterfor the specified type, single SQL type, and conversion function. - genericType() - Method in interface org.litebridge.tracking.FieldAccessor
-
Retrieves the single generic type associated with the field or property represented by this
FieldAccessor. - genericTypes() - Method in class org.litebridge.tracking.DirectFieldAccessor
- genericTypes() - Method in interface org.litebridge.tracking.FieldAccessor
-
Returns an array of
Classobjects representing the generic types associated with the field or property represented by thisFieldAccessor. - genericTypes() - Method in class org.litebridge.tracking.FieldAccessorChain
- genericTypes() - Method in class org.litebridge.tracking.PropertyAccessor
- get(int) - Method in class org.litebridge.orm.engine.QueryPlanCache
-
Retrieves a cached execution plan for the given select operation.
- get(Class<DTO>, List<Object>) - Method in interface org.litebridge.orm.persistence.DtoCache
-
Retrieves a cached Data Transfer Object (DTO) of the specified class type and identifier.
- get(Class<DTO>, List<Object>) - Method in class org.litebridge.orm.persistence.DtoCacheImpl
- get(Class<DTO>, List<Object>) - Method in class org.litebridge.orm.persistence.NoOpDtoCache
- get(Object) - Method in class org.litebridge.commons.type.WeakIdentityMap
- get(Object) - Method in class org.litebridge.tracking.DirectFieldAccessor
- get(Object) - Method in interface org.litebridge.tracking.FieldAccessor
-
Retrieve the value of a field or property from the provided data transfer object (DTO).
- get(Object) - Method in class org.litebridge.tracking.FieldAccessorChain
- get(Object) - Method in class org.litebridge.tracking.PropertyAccessor
- get(String) - Method in class org.litebridge.tracking.ChangedFields
-
Retrieve an
Optionalcontaining theChangedFieldassociated with the specified field name. - get(QueryNode) - Method in class org.litebridge.orm.engine.QueryPlanCache
-
Retrieves a cached execution plan for the given select operation.
- getAliasTransformer() - Method in interface org.litebridge.db.spi.DatabaseProvider
-
Retrieve the
AliasTransformerinstance associated with the database provider. - getAliasTransformer() - Method in class org.litebridge.db.spi.impl.AbstractDatabaseProvider
- getAliasTransformer() - Method in class org.litebridge.orm.persistence.TransactionalDatabaseProvider
- getAll(Class<DTO>) - Method in interface org.litebridge.orm.persistence.DtoCache
-
Retrieves a list of all cached Data Transfer Objects (DTOs) of the specified class type.
- getAll(Class<DTO>) - Method in class org.litebridge.orm.persistence.DtoCacheImpl
- getAll(Class<DTO>) - Method in class org.litebridge.orm.persistence.NoOpDtoCache
- getAllFields(Class<?>, boolean, MethodHandles.Lookup) - Static method in class org.litebridge.commons.ClassUtils
-
Retrieves all fields from a given class, including fields declared in its superclasses (except for fields of the `Object` class) and (optionally) static fields.
- getAllFields(Class<?>, MethodHandles.Lookup) - Static method in class org.litebridge.commons.ClassUtils
-
Retrieves all non-static fields from a given class, including fields declared in its superclasses (except for fields the `Object` class).
- getAllMethods(Class<?>, boolean, MethodHandles.Lookup) - Static method in class org.litebridge.commons.ClassUtils
-
Retrieves all methods from a given class, including methods declared in its superclasses (except for methods of the `Object` class) and (optionally) static methods.
- getAutoCommit() - Method in class org.litebridge.db.spi.tx.ManagedConnection
- getCachedSql(String) - Method in class org.litebridge.orm.nativesql.NativeSqlCache
-
Retrieves a cached parsed SQL statement for the given raw SQL string.
- getCatalog() - Method in class org.litebridge.db.spi.tx.ManagedConnection
- getClassForSqlType(int) - Method in class org.litebridge.convert.ConfigurableTypeConverter
- getClassForSqlType(int) - Method in interface org.litebridge.db.spi.convert.TypeConverter
-
Retrieves the Java
Classcorresponding to the specified SQL data type. - getClientInfo() - Method in class org.litebridge.db.spi.tx.ManagedConnection
- getClientInfo(String) - Method in class org.litebridge.db.spi.tx.ManagedConnection
- getColumn() - Method in interface org.litebridge.orm.expression.ColumnExpressionSpec
-
Gets the target column of this expression.
- getColumn() - Method in interface org.litebridge.orm.expression.DelegateExpressionSpec
-
Gets the target column of this expression.
- getColumn() - Method in class org.litebridge.orm.expression.select.SelectColumnSpec
- getColumn(Resolvable, ClauseType) - Method in class org.litebridge.orm.api.dto.DtoProtoExpressionResolver
- getColumn(Resolvable, ClauseType) - Method in class org.litebridge.orm.api.select.model.ProtoExpressionResolver
-
Returns the database column for a resolvable.
- getColumn(Resolvable, ClauseType) - Method in class org.litebridge.orm.api.sql.SqlProtoExpressionResolver
- getColumnForFieldName(String) - Method in class org.litebridge.orm.persistence.OrmTable
-
Get the column metadata for the specified field name.
- getColumnIndex(String) - Method in class org.litebridge.db.spi.Row
-
Retrieves the index of a column from the row by its name.
- getColumnIndex(Column) - Method in class org.litebridge.db.spi.Row
-
Retrieves the index of a column from the row by its
Columnmetadata. - getColumnIndexForAlias(String) - Method in class org.litebridge.db.spi.Row
-
Retrieves the index of a column from the row by its alias.
- getColumnMetaData(String) - Method in class org.litebridge.orm.persistence.OrmTable
-
Get the column metadata for the specified column name.
- getColumnMetaData(Table, DatabaseMetaData) - Method in class org.litebridge.db.spi.impl.AbstractDatabaseProvider
-
Retrieve column metadata for the specified table.
- getColumnMetaData(Table, DatabaseMetaData) - Method in class org.litebridge.db.sqlite.SQLiteDatabaseProvider
- getConnection() - Method in class org.litebridge.orm.tx.LitebridgeDriverManagerDataSource
- getConnection(String, String) - Method in class org.litebridge.orm.tx.LitebridgeDriverManagerDataSource
- getConstructors(Class<DTO>) - Static method in class org.litebridge.commons.ClassUtils
-
Retrieves all declared constructors for the specified class.
- getContextTableRegistry() - Method in class org.litebridge.orm.persistence.OrmTable
-
Get the context table registry.
- getDataType() - Method in class org.litebridge.db.spi.ColumnMetaData
-
Retrieve the data type of the column, as specified in
Types. - getDecimalDigits() - Method in class org.litebridge.db.spi.ColumnMetaData
-
Retrieve the number of decimal digits for the column.
- getDefaultValue() - Method in class org.litebridge.db.spi.ColumnMetaData
-
Gets the default value of the column as a string.
- getDefaultValue(Class<?>) - Static method in class org.litebridge.commons.ClassUtils
-
Retrieves the default value for a primitive type.
- getDependants() - Method in class org.litebridge.orm.persistence.StatementChain
- getDependencies() - Method in class org.litebridge.orm.persistence.StatementChain
- getDependency(Object) - Method in class org.litebridge.orm.persistence.StatementChain
- getDto() - Method in class org.litebridge.orm.persistence.DtoUpdateResult
-
Returns the updated DTO.
- getDtoClass(QueryField) - Static method in class org.litebridge.orm.meta.QueryFieldInspector
-
Get the DTO class of the specified query field.
- getDtoClassInterfaces() - Method in class org.litebridge.orm.persistence.OrmTable
-
Get the DTO class interfaces.
- getDtoUpdateResult(Object) - Method in class org.litebridge.orm.persistence.CompositeUpdateResult
-
Returns the
DtoUpdateResultfor the given DTO. - getExpressions() - Method in class org.litebridge.orm.api.select.model.SelectSpec
- getExpressionValue(SelectExpression, List<Object>) - Method in class org.litebridge.db.spi.impl.sql.AbstractSqlGenerator
-
Extracts the value from a select expression.
- getField(Class<?>, String) - Static method in class org.litebridge.commons.ClassUtils
-
Retrieves a specific field from the specified class or its superclasses.
- getFieldColumns() - Method in class org.litebridge.orm.api.dto.DtoJoinSpec
-
Returns the list of field columns for this join.
- getFieldColumns() - Method in class org.litebridge.orm.api.dto.DtoSelectSpec
-
Returns the list of field columns for this select.
- getFieldForColumnName(String) - Method in class org.litebridge.orm.persistence.OrmTable
-
Get the field accessor for the specified column name.
- getFieldName(QueryField) - Static method in class org.litebridge.orm.meta.QueryFieldInspector
-
Get the field name of the specified query field.
- getFieldValue(Object, String, Class<T>) - Static method in class org.litebridge.commons.ObjectUtils
-
Retrieves the value of a specified field from the given object.
- getForeignKeyConstraints() - Method in class org.litebridge.db.spi.ColumnMetaData
-
Gets all foreign key constraints associated with this column.
- getForeignReferences() - Method in class org.litebridge.db.spi.ColumnMetaData
-
Gets all foreign references associated with this column.
- getGenerator() - Method in class org.litebridge.db.spi.ColumnMetaData
-
Gets the value generator for this column.
- getGenericType(Field) - Static method in class org.litebridge.commons.ClassUtils
-
Retrieves the first generic type argument of a given
Field, if the field is parameterized. - getGenericTypes(Field) - Static method in class org.litebridge.commons.ClassUtils
-
Retrieves the generic type arguments of a given
Field, if the field is parameterized. - getGenericTypes(Field) - Method in class org.litebridge.tracking.ClassFieldAccessorCache
-
Retrieves the generic type arguments for a given field, with caching.
- getGenericTypes(Type) - Static method in class org.litebridge.commons.ClassUtils
-
Retrieves the generic type arguments of a given
Type, if it is parameterized. - getGroupBy() - Method in class org.litebridge.orm.api.select.model.SelectSpec
- getHoldability() - Method in class org.litebridge.db.spi.tx.ManagedConnection
- getJoinColumn() - Method in class org.litebridge.db.spi.ColumnMetaData
-
Gets the name of the join column, if applicable.
- getJoins() - Method in class org.litebridge.orm.api.select.model.SelectSpec
- getLhs() - Method in class org.litebridge.orm.api.select.model.ConditionSpec
-
Gets the left-hand side expression of the condition.
- getLimit() - Method in class org.litebridge.orm.api.select.model.LimitSpec
-
Returns the limit as an
Optional. - getLimit() - Method in class org.litebridge.orm.api.select.model.SelectSpec
- getLitebridgeContext() - Method in class org.litebridge.orm.api.select.model.SelectSpec
- getLogger() - Method in class org.litebridge.db.h2.H2DatabaseProvider
- getLogger() - Method in class org.litebridge.db.oracle.OracleDatabaseProvider
- getLogger() - Method in class org.litebridge.db.postgres.PostgresDatabaseProvider
- getLogger() - Method in class org.litebridge.db.spi.impl.AbstractDatabaseProvider
-
Return the logger instance for this database provider.
- getLogger() - Method in class org.litebridge.db.sqlite.SQLiteDatabaseProvider
- getLoginTimeout() - Method in class org.litebridge.orm.tx.LitebridgeDriverManagerDataSource
- getLogWriter() - Method in class org.litebridge.orm.tx.LitebridgeDriverManagerDataSource
- getManyToManyMappingForField(FieldAccessor) - Method in class org.litebridge.orm.persistence.OrmTable
-
Get the many-to-many mapping for the specified field.
- getManyToManyMappings() - Method in class org.litebridge.orm.persistence.OrmTable
-
Get the many-to-many mappings for the table.
- getMappingInfo(Class<?>) - Method in class org.litebridge.orm.persistence.DtoConstructor
- getMetaData() - Method in class org.litebridge.db.spi.tx.ManagedConnection
- getMetaData() - Method in class org.litebridge.orm.persistence.OrmTable
-
Get the table metadata.
- getNestedDtoClasses() - Method in class org.litebridge.orm.persistence.OrmTable
-
Get the nested DTO classes.
- getNetworkTimeout() - Method in class org.litebridge.db.spi.tx.ManagedConnection
- getOffset() - Method in class org.litebridge.orm.api.select.model.LimitSpec
-
Returns the offset as an
Optional. - getOneToManyMappingForField(FieldAccessor) - Method in class org.litebridge.orm.persistence.OrmTable
-
Get the one-to-many mapping for the specified field.
- getOneToManyMappings() - Method in class org.litebridge.orm.persistence.OrmTable
-
Get the one-to-many mappings for the table.
- getOneToManyReverseMappings() - Method in class org.litebridge.orm.persistence.OrmTable
-
Get the one-to-many reverse mappings for the table.
- getOperator() - Method in class org.litebridge.orm.api.select.model.ConditionSpec
-
Gets the operator used in the condition.
- getOrCreateSpiTable(String) - Method in class org.litebridge.orm.persistence.TableRegistry
-
Returns the SPI table for the specified table name.
- getOrderBys() - Method in class org.litebridge.orm.api.select.model.SelectSpec
- getOrmTable(Class<?>) - Method in class org.litebridge.orm.persistence.TableRegistry
-
Retrieves the
OrmTableassociated with the specified DTO class. - getOrmTable(String) - Method in class org.litebridge.orm.persistence.TableRegistry
-
Retrieves the
OrmTableassociated with the specified table name. - getOrmTable(String, String) - Method in class org.litebridge.orm.persistence.TableRegistry
-
Retrieves the
OrmTableassociated with the specified schema and table name. - getOrmTable(Table) - Method in class org.litebridge.orm.persistence.TableRegistry
-
Retrieves the
OrmTableassociated with the specified table. - getOrNull(String) - Method in class org.litebridge.tracking.ChangedFields
-
Retrieve the
ChangedFieldassociated with the specified field name, ornullif no such field exists. - getParentLogger() - Method in class org.litebridge.orm.tx.LitebridgeDriverManagerDataSource
- getParentResult() - Method in class org.litebridge.orm.persistence.DtoUpdateResult
-
Returns the parent update result.
- getPrimaryKeyColumnNames(Table, DatabaseMetaData) - Method in class org.litebridge.db.spi.impl.AbstractDatabaseProvider
-
Retrieve the names of the primary key columns for the specified table.
- getPrimaryKeyType() - Method in class org.litebridge.orm.persistence.OrmTable
- getRelatedDtoClasses() - Method in class org.litebridge.orm.persistence.OrmTable
-
Get the related DTO classes.
- getRelatedDtoStrategy() - Method in class org.litebridge.orm.engine.LitebridgeContext
- getSchema() - Method in class org.litebridge.db.spi.tx.ManagedConnection
- getSelectExpressionMapper() - Method in class org.litebridge.orm.api.select.model.SelectSpec
- getSequenceColumnValueGenerator(String) - Method in class org.litebridge.db.oracle.OracleDatabaseProvider
- getSequenceColumnValueGenerator(String) - Method in class org.litebridge.db.postgres.PostgresDatabaseProvider
- getSequenceColumnValueGenerator(String) - Method in interface org.litebridge.db.spi.DatabaseProvider
-
Retrieves a
SequenceColumnValueGeneratorinstance for generating SQL fragments that fetch the next value from a specified database sequence. - getSequenceColumnValueGenerator(String) - Method in class org.litebridge.db.spi.impl.AbstractDatabaseProvider
- getSequenceColumnValueGenerator(String) - Method in class org.litebridge.db.sqlite.SQLiteDatabaseProvider
-
SQLite does not support sequences.
- getSequenceColumnValueGenerator(String) - Method in class org.litebridge.orm.persistence.TransactionalDatabaseProvider
- getSize() - Method in class org.litebridge.db.spi.ColumnMetaData
-
Retrieve the size of the column.
- getSqlDataType(Class<?>) - Method in class org.litebridge.convert.ConfigurableTypeConverter
- getSqlDataType(Class<?>) - Method in interface org.litebridge.db.spi.convert.TypeConverter
-
Determines the SQL data type corresponding to the provided Java class.
- getSqlFunctionRegistry() - Method in interface org.litebridge.db.spi.DatabaseProvider
-
Retrieve the
SqlFunctionRegistryinstance associated with the database provider. - getSqlFunctionRegistry() - Method in class org.litebridge.db.spi.impl.AbstractDatabaseProvider
- getSqlFunctionRegistry() - Method in class org.litebridge.orm.persistence.TransactionalDatabaseProvider
- getTable() - Method in class org.litebridge.orm.api.select.model.SelectSpec
- getTableInContext(Class<?>, Class<?>) - Method in class org.litebridge.orm.persistence.TableRegistry
-
Retrieves an
OrmTableassociated with the specified DTO class within a given context class. - getTableInContextOrThrow(Class<?>, Class<?>) - Method in class org.litebridge.orm.persistence.TableRegistry
-
Retrieves the
OrmTableassociated with the specified DTO class within the context of a given context class. - getTableOrThrow(Class<?>) - Method in class org.litebridge.orm.persistence.TableRegistry
-
Retrieves the
OrmTableassociated with the specified DTO class, or throws an exception if no table is mapped to the class. - getTrackedDto(DTO) - Method in class org.litebridge.orm.persistence.OrmTable
-
Get the tracked version of the specified DTO.
- getTrackedDto(DTO) - Method in class org.litebridge.tracking.ChangeTracker
-
Retrieves the tracked version of the specified Data Transfer Object (DTO), if it exists.
- getTrackedDtoOrNull(DTO) - Method in class org.litebridge.tracking.ChangeTracker
-
Retrieves the tracked version of the specified Data Transfer Object (DTO), if it exists.
- getTrackedDtos(Class<DTO>) - Method in class org.litebridge.tracking.ChangeTracker
-
Retrieves a set of tracked Data Transfer Objects (DTOs) of the specified type.
- getTransactionIsolation() - Method in class org.litebridge.db.spi.tx.ManagedConnection
- getTypeConverter() - Method in interface org.litebridge.db.spi.DatabaseProvider
-
Retrieve the
TypeConverterinstance associated with the database provider. - getTypeConverter() - Method in class org.litebridge.db.spi.impl.AbstractDatabaseProvider
- getTypeConverter() - Method in class org.litebridge.orm.persistence.TransactionalDatabaseProvider
- getTypeMap() - Method in class org.litebridge.db.spi.tx.ManagedConnection
- getUpdateResult() - Method in class org.litebridge.orm.persistence.DtoUpdateResult
-
Returns the underlying update result.
- getValue() - Method in class org.litebridge.orm.api.select.model.ConditionSpec
-
Gets the right-hand side value of the condition.
- getValue(int) - Method in class org.litebridge.db.spi.Row
-
Retrieves the value of a column by its index.
- getWarnings() - Method in class org.litebridge.db.spi.tx.ManagedConnection
- GROUP_BY - Enum constant in enum class org.litebridge.db.spi.expression.ClauseType
-
The GROUP BY clause.
- groupBy - Variable in class org.litebridge.orm.api.select.model.SelectSpec
- groupBy() - Method in record class org.litebridge.db.spi.query.Select
-
Returns the value of the
groupByrecord component. - groupBy(String...) - Method in class org.litebridge.orm.api.dto.DtoFromClauseTerminal
- groupBy(String...) - Method in class org.litebridge.orm.api.dto.DtoJoinConditionClauseTerminal
- groupBy(String...) - Method in class org.litebridge.orm.api.dto.DtoWhereConditionClauseTerminal
- groupBy(String...) - Method in interface org.litebridge.orm.api.select.WhereClauseTerminal
-
Adds a GROUP BY clause to the query, specifying the column(s) to group the results by.
- groupBy(String...) - Method in class org.litebridge.orm.api.sql.SqlFromClauseTerminal
- groupBy(String...) - Method in class org.litebridge.orm.api.sql.SqlJoinConditionClauseTerminal
- groupBy(String...) - Method in class org.litebridge.orm.api.sql.SqlWhereConditionClauseTerminal
- groupBy(ExpressionSpec...) - Method in class org.litebridge.orm.api.dto.DtoFromClauseTerminal
- groupBy(ExpressionSpec...) - Method in class org.litebridge.orm.api.dto.DtoJoinConditionClauseTerminal
- groupBy(ExpressionSpec...) - Method in class org.litebridge.orm.api.dto.DtoWhereConditionClauseTerminal
- groupBy(ExpressionSpec...) - Method in interface org.litebridge.orm.api.select.WhereClauseTerminal
-
Adds a GROUP BY clause to the query, specifying the expressions to group the results by.
- groupBy(ExpressionSpec...) - Method in class org.litebridge.orm.api.sql.SqlFromClauseTerminal
- groupBy(ExpressionSpec...) - Method in class org.litebridge.orm.api.sql.SqlJoinConditionClauseTerminal
- groupBy(ExpressionSpec...) - Method in class org.litebridge.orm.api.sql.SqlWhereConditionClauseTerminal
- GroupByClauseTerminal<DTO,
HCC, - Interface in org.litebridge.orm.api.selectHCCT, OBC, OBCC> -
Terminal clause in a fluent API for constructing SQL GROUP BY statements.
- GroupByNode - Record Class in org.litebridge.orm.api.select.ast
-
Represents a GROUP BY clause in the query AST.
- GroupByNode(QueryNode, ExpressionSpec[]) - Constructor for record class org.litebridge.orm.api.select.ast.GroupByNode
-
Creates an instance of a
GroupByNoderecord class. - GroupBySpec - Record Class in org.litebridge.orm.api.select.model
-
Specification for a "GROUP BY" clause in a database query.
- GroupBySpec(List<ExpressionSpec>) - Constructor for record class org.litebridge.orm.api.select.model.GroupBySpec
-
Creates an instance of a
GroupBySpecrecord class. - GroupBySpec(ExpressionSpec[]) - Constructor for record class org.litebridge.orm.api.select.model.GroupBySpec
-
Constructs a new
GroupBySpecfrom an array of expression specifications. - gt(Object) - Method in class org.litebridge.orm.api.condition.AbstractCbConditionClause
-
Greater than
- gt(Object) - Method in interface org.litebridge.orm.api.select.ConditionClause
-
Greater than
- gt(Function<SelectEngine, SelectTerminal<?>>) - Method in class org.litebridge.orm.api.condition.AbstractCbConditionClause
-
Greater than
- GT - Enum constant in enum class org.litebridge.db.spi.query.Operator
-
Greater than
- gte(Object) - Method in class org.litebridge.orm.api.condition.AbstractCbConditionClause
-
Greater than or equals
- gte(Object) - Method in interface org.litebridge.orm.api.select.ConditionClause
-
Greater than or equals
- gte(Function<SelectEngine, SelectTerminal<?>>) - Method in class org.litebridge.orm.api.condition.AbstractCbConditionClause
-
Greater than or equals
- GTE - Enum constant in enum class org.litebridge.db.spi.query.Operator
-
Greater than or equal to
H
- H2DatabaseProvider - Class in org.litebridge.db.h2
-
H2DatabaseProvider is a concrete implementation of AbstractDatabaseProvider specifically designed to interact with H2 database instances.
- H2DatabaseProvider() - Constructor for class org.litebridge.db.h2.H2DatabaseProvider
-
Creates a new
H2DatabaseProvider. - hasColumn(String) - Method in class org.litebridge.db.spi.TableMetaData
-
Check if the specified column name exists in the table.
- hashCode() - Method in class org.litebridge.db.spi.Aliased
- hashCode() - Method in class org.litebridge.db.spi.Column
- hashCode() - Method in class org.litebridge.db.spi.ColumnMetaData
- hashCode() - Method in record class org.litebridge.db.spi.expression.BindValueExpression
-
Returns a hash code value for this object.
- hashCode() - Method in class org.litebridge.db.spi.expression.LiteralExpression
- hashCode() - Method in record class org.litebridge.db.spi.expression.SqlFunctionRegistry.Aggregate
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.litebridge.db.spi.expression.SqlFunctionRegistry.Date
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.litebridge.db.spi.expression.SqlFunctionRegistry
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.litebridge.db.spi.expression.SqlFunctionRegistry.Scalar
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.litebridge.db.spi.expression.SqlFunctionRegistry.Select
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.litebridge.db.spi.ForeignKeyConstraint
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.litebridge.db.spi.impl.sql.PreparedRow
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.litebridge.db.spi.math.MathOperation
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.litebridge.db.spi.PreparedOperation
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.litebridge.db.spi.query.Condition
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.litebridge.db.spi.query.ConditionGroup
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.litebridge.db.spi.query.Join
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.litebridge.db.spi.query.Limit
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.litebridge.db.spi.query.LogicCondition
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.litebridge.db.spi.query.LogicConditionGroup
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.litebridge.db.spi.query.OrderBy
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.litebridge.db.spi.query.Select
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.litebridge.db.spi.query.TypeConversionMetaData
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.litebridge.db.spi.query.UpdateMetaData
-
Returns a hash code value for this object.
- hashCode() - Method in class org.litebridge.db.spi.Row.RowColumn
- hashCode() - Method in record class org.litebridge.db.spi.sql.BindValue
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.litebridge.db.spi.sql.PreparedSql
-
Returns a hash code value for this object.
- hashCode() - Method in class org.litebridge.db.spi.Table
- hashCode() - Method in class org.litebridge.db.spi.TableMetaData
- hashCode() - Method in record class org.litebridge.db.spi.update.ColumnValue
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.litebridge.db.spi.update.Delete
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.litebridge.db.spi.update.Insert
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.litebridge.db.spi.update.RowValue
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.litebridge.db.spi.update.Update
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.litebridge.orm.api.dto.DtoSelectSpec.FieldColumn
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.litebridge.orm.api.select.ast.ConditionGroupNode
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.litebridge.orm.api.select.ast.ConditionNode
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.litebridge.orm.api.select.ast.DeleteNode
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.litebridge.orm.api.select.ast.GroupByNode
-
Returns a hash code value for this object.
- hashCode() - Method in class org.litebridge.orm.api.select.ast.HavingNode
- hashCode() - Method in record class org.litebridge.orm.api.select.ast.InsertNode
-
Returns a hash code value for this object.
- hashCode() - Method in class org.litebridge.orm.api.select.ast.JoinNode
- hashCode() - Method in record class org.litebridge.orm.api.select.ast.LimitNode
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.litebridge.orm.api.select.ast.OrderByNode
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.litebridge.orm.api.select.ast.SelectNode
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.litebridge.orm.api.select.ast.SetNode
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.litebridge.orm.api.select.ast.UpdateNode
-
Returns a hash code value for this object.
- hashCode() - Method in class org.litebridge.orm.api.select.ast.WhereNode
- hashCode() - Method in record class org.litebridge.orm.api.select.model.ConditionGroupSpec
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.litebridge.orm.api.select.model.GroupBySpec
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.litebridge.orm.api.select.model.LogicConditionGroupSpec
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.litebridge.orm.api.select.model.LogicConditionSpec
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.litebridge.orm.api.spec.ColumnSpec
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.litebridge.orm.api.spec.DtoTableSpec
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.litebridge.orm.api.spec.FieldColumnSpec
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.litebridge.orm.api.spec.FieldSpec
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.litebridge.orm.api.spec.ManyToMany
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.litebridge.orm.api.spec.OneToMany
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.litebridge.orm.api.spec.TableMapping
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.litebridge.orm.config.LitebridgeConfig
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.litebridge.orm.engine.QueryPlanCache.CachedOperation
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.litebridge.orm.expression.function.aggregate.AvgSpec
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.litebridge.orm.expression.function.aggregate.CountSpec
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.litebridge.orm.expression.function.aggregate.MaxSpec
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.litebridge.orm.expression.function.aggregate.MinSpec
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.litebridge.orm.expression.function.scalar.AbsSpec
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.litebridge.orm.expression.function.scalar.LowerSpec
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.litebridge.orm.expression.function.scalar.SubstringSpec
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.litebridge.orm.expression.function.scalar.UpperSpec
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.litebridge.orm.expression.intent.ConvertIntent
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.litebridge.orm.expression.intent.ExpressionSpecArray
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.litebridge.orm.expression.ProtoColumnExpressionSpec
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.litebridge.orm.expression.ProtoNestableBasicExprSpec
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.litebridge.orm.expression.ProtoNestableTOExpr
-
Returns a hash code value for this object.
- hashCode() - Method in class org.litebridge.orm.expression.select.SelectColumnSpec
- hashCode() - Method in record class org.litebridge.orm.expression.select.SubselectSpec
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.litebridge.orm.nativesql.ParsedSql
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.litebridge.orm.persistence.DtoConstructor.ConstructionResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.litebridge.orm.persistence.DtoConstructor.DtoDependency
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.litebridge.orm.persistence.DtoConstructor.FieldAccessorValue
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.litebridge.orm.persistence.DtoConstructor.MappingInfo
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.litebridge.orm.persistence.DtoEntityMapping
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.litebridge.orm.persistence.DtoRowValue
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.litebridge.orm.persistence.MappedManyToMany
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.litebridge.orm.persistence.MappedOneToMany
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.litebridge.orm.persistence.MappingPlan.FieldMapping
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.litebridge.orm.persistence.MappingPlan
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.litebridge.orm.persistence.PipedStatement
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.litebridge.orm.persistence.TableMapper.MappedTable
-
Returns a hash code value for this object.
- hashCode() - Method in class org.litebridge.tracking.ChangedCollectionField
- hashCode() - Method in class org.litebridge.tracking.ChangedField
- hashCode() - Method in class org.litebridge.tracking.ChangedMapField
- hashCode() - Method in class org.litebridge.tracking.DirectFieldAccessor
- hashCode() - Method in class org.litebridge.tracking.FieldAccessorChain
- hashCode() - Method in class org.litebridge.tracking.PropertyAccessor
- having() - Method in record class org.litebridge.db.spi.query.Select
-
Returns the value of the
havingrecord component. - having(ExpressionSpec) - Method in class org.litebridge.orm.api.dto.DtoGroupByClauseTerminal
- having(ExpressionSpec) - Method in interface org.litebridge.orm.api.select.GroupByClauseTerminal
-
Starts a HAVING clause for the SQL query.
- having(ExpressionSpec) - Method in class org.litebridge.orm.api.sql.SqlGroupByClauseTerminal
- HAVING - Enum constant in enum class org.litebridge.db.spi.expression.ClauseType
-
The HAVING clause.
- HavingClauseTerminal<DTO,
OBC, - Interface in org.litebridge.orm.api.selectOBCC> -
A terminal step for a
HAVINGclause in a SQL query. - HavingConditionClause<DTO,
SELF, - Interface in org.litebridge.orm.api.selectHCCT, OBC, OBCC> -
A condition clause for a
HAVINGclause in a SQL query. - HavingConditionClauseTerminal<DTO,
HCC, - Interface in org.litebridge.orm.api.selectSELF, OBC, OBCC> -
A terminal condition clause for a
HAVINGclause in a SQL query. - havingConditions - Variable in class org.litebridge.orm.api.select.model.SelectSpec
- HavingNode - Class in org.litebridge.orm.api.select.ast
-
HAVING clause condition in the query AST.
- HavingNode(QueryNode, QueryNode) - Constructor for class org.litebridge.orm.api.select.ast.HavingNode
-
Creates a new
HavingNodeinstance.
I
- Implementation Details: - Search tag in class org.litebridge.orm.persistence.TransactionalDatabaseProvider
- Section
- in(Object, Object...) - Method in class org.litebridge.orm.api.condition.AbstractCbConditionClause
- in(Object, Object...) - Method in interface org.litebridge.orm.api.select.ConditionClause
-
Inclusion in a set.
- in(Collection<?>) - Method in class org.litebridge.orm.api.condition.AbstractCbConditionClause
- in(Collection<?>) - Method in interface org.litebridge.orm.api.select.ConditionClause
-
Inclusion in a set.
- in(Function<SelectEngine, SelectTerminal<?>>) - Method in class org.litebridge.orm.api.condition.AbstractCbConditionClause
- in(Function<SelectEngine, SelectTerminal<?>>) - Method in interface org.litebridge.orm.api.select.ConditionClause
-
Inclusion in the result set from the specified sub-select.
- IN - Enum constant in enum class org.litebridge.db.spi.query.Operator
-
Inclusion in a set
- increment() - Method in class org.litebridge.orm.api.sql.update.SqlUpdateSetStep
- increment() - Method in class org.litebridge.orm.api.update.UpdateSetStep
- index() - Method in record class org.litebridge.db.spi.expression.BindValueExpression
-
Returns the value of the
indexrecord component. - index() - Method in record class org.litebridge.orm.persistence.MappingPlan.FieldMapping
-
Returns the value of the
indexrecord component. - insert(Object) - Method in class org.litebridge.orm.Litebridge
-
Inserts the specified Data Transfer Object (DTO) into the database via a SQL INSERT statement.
- insert(Object) - Method in class org.litebridge.orm.persistence.PersistenceFacade
-
Inserts the specified Data Transfer Object (DTO) into the database.
- insert(PreparedSql, ConnectionProvider) - Method in interface org.litebridge.db.spi.DatabaseProvider
-
Execute an INSERT operation in the database using the provided
Insertstatement. - insert(PreparedSql, ConnectionProvider) - Method in class org.litebridge.db.spi.impl.AbstractDatabaseProvider
- insert(PreparedSql, ConnectionProvider) - Method in class org.litebridge.orm.persistence.TransactionalDatabaseProvider
- Insert - Record Class in org.litebridge.db.spi.update
-
A SQL INSERT statement targeting specific table metadata with associated columns and rows of values.
- Insert(Table, List<Column>, List<RowValue>, boolean) - Constructor for record class org.litebridge.db.spi.update.Insert
-
Creates an instance of a
Insertrecord class. - Insert(Table, List<RowValue>, boolean) - Constructor for record class org.litebridge.db.spi.update.Insert
-
Constructs a new
Insertinstance for multiple rows. - Insert(Table, RowValue, boolean) - Constructor for record class org.litebridge.db.spi.update.Insert
-
Constructs a new
Insertinstance for a single row. - InsertNode - Record Class in org.litebridge.orm.api.select.ast
-
Represents an INSERT statement in the query AST.
- InsertNode(QueryNode, Table) - Constructor for record class org.litebridge.orm.api.select.ast.InsertNode
-
Creates an instance of a
InsertNoderecord class. - InsertResult - Class in org.litebridge.db.spi.update
-
The result of an insert operation performed on the database.
- InsertResult(int) - Constructor for class org.litebridge.db.spi.update.InsertResult
-
Constructs an
InsertResultinstance representing the result of an insert operation performed on the database. - InsertResult(int, Map<ColumnMetaData, Object>) - Constructor for class org.litebridge.db.spi.update.InsertResult
-
Constructs an
InsertResultinstance representing the result of an insert operation performed on the database. - InsertSpec - Class in org.litebridge.orm.api.insert.model
- InsertSpec(Table, SelectExpressionMapper) - Constructor for class org.litebridge.orm.api.insert.model.InsertSpec
- insertSqlGenerator - Variable in class org.litebridge.db.spi.impl.AbstractDatabaseProvider
-
Lazy-loaded INSERT SQL generator.
- InsertSqlGenerator - Class in org.litebridge.db.spi.impl.sql
-
SQL generator for INSERT statements.
- InsertSqlGenerator(TypeConverter, ColumnIdentifierGenerator, BiFunction<Table, ConnectionProvider, TableMetaData>) - Constructor for class org.litebridge.db.spi.impl.sql.InsertSqlGenerator
-
Creates a new
InsertSqlGenerator. - INSTANCE - Static variable in class org.litebridge.orm.persistence.NoOpDtoCache
-
The singleton instance of the
NoOpDtoCacheclass. - IntegerConverter - Class in org.litebridge.convert.converter
-
A converter for
Integervalues. - IntegerConverter() - Constructor for class org.litebridge.convert.converter.IntegerConverter
- inverseJoinColumn() - Element in annotation interface org.litebridge.orm.annotation.ManyToMany
-
Specifies the name of the column in the join table that references the primary key of the associated entity.
- inverseJoinColumn() - Method in record class org.litebridge.orm.api.spec.ManyToMany
-
Returns the value of the
inverseJoinColumnrecord component. - inverseJoinColumn() - Method in record class org.litebridge.orm.persistence.MappedManyToMany
-
Returns the value of the
inverseJoinColumnrecord component. - inverseJoinColumn(String) - Method in class org.litebridge.orm.api.register.ManyToManyBuilderInverseJoinColumnStep
-
Defines the inverse join column in the many-to-many relationship mapping.
- IS_NOT_NULL - Enum constant in enum class org.litebridge.db.spi.query.Operator
-
Checks if a value is not
null - IS_NULL - Enum constant in enum class org.litebridge.db.spi.query.Operator
-
Checks if a value is
null - isAsc() - Method in class org.litebridge.orm.api.select.model.OrderBySpec
-
Returns whether the sort order is ascending.
- isAsciiOnly(String) - Static method in class org.litebridge.commons.StringUtils
-
Checks if the given string contains only ASCII characters.
- isAutoIncrement() - Method in class org.litebridge.db.spi.ColumnMetaData
-
Check if the column's value is automatically incremented by the database.
- isBasicType(Class<?>) - Static method in class org.litebridge.commons.ClassUtils
-
Determines if the provided class type represents a basic type.
- isBlank(String) - Static method in class org.litebridge.commons.StringUtils
-
Checks if the given string is null, empty, or contains only whitespace characters.
- isClosed() - Method in class org.litebridge.db.spi.tx.ManagedConnection
- isEmpty() - Method in class org.litebridge.commons.type.WeakIdentityMap
- isEmpty() - Method in record class org.litebridge.db.spi.query.ConditionGroup
-
Checks if the condition group is empty.
- isEmpty() - Method in class org.litebridge.tracking.ChangedFields
-
Check if the collection of changed fields is empty.
- isEmpty(Iterable<?>) - Static method in class org.litebridge.commons.CollectionUtils
-
Checks if the provided iterable is null or empty.
- isEmpty(Object[]) - Static method in class org.litebridge.commons.CollectionUtils
-
Checks if the provided array is null or empty.
- isEmpty(String) - Static method in class org.litebridge.commons.StringUtils
-
Checks if the given string is null or empty.
- isEmpty(Collection<?>) - Static method in class org.litebridge.commons.CollectionUtils
-
Checks if the provided collection is null or empty.
- isEmpty(Map<?, ?>) - Static method in class org.litebridge.commons.CollectionUtils
-
Checks if the provided map is null or empty.
- isInitialised() - Method in class org.litebridge.commons.type.ConcurrentLazy
-
Returns
trueif the value has already been initialised, orfalseotherwise. - isLast(FieldAccessor) - Method in class org.litebridge.tracking.FieldAccessorChain
-
Returns
trueif the given field accessor is the last one in the chain. - isNestedDto() - Method in record class org.litebridge.orm.persistence.MappingPlan.FieldMapping
-
Returns the value of the
isNestedDtorecord component. - isNestedDtoField(Class<?>, FieldAccessor) - Method in class org.litebridge.tracking.ClassFieldAccessorCache
-
Determines if a field represents a nested DTO.
- isNotNull() - Method in class org.litebridge.orm.api.condition.AbstractCbConditionClause
-
Not null comparison.
- isNotNull() - Method in interface org.litebridge.orm.api.select.ConditionClause
-
Not null comparison.
- isNull() - Method in class org.litebridge.orm.api.condition.AbstractCbConditionClause
-
Null comparison.
- isNull() - Method in interface org.litebridge.orm.api.select.ConditionClause
-
Null comparison.
- isNullable() - Method in class org.litebridge.db.spi.ColumnMetaData
-
Determine if the column allows null values.
- isolation - Variable in class org.litebridge.orm.api.tx.TransactionContextTerminal
- isolation(Isolation) - Method in class org.litebridge.orm.api.tx.ReadOnlyClause
-
Sets the transaction isolation level for the current thread.
- isolation(Isolation) - Method in class org.litebridge.orm.api.tx.TransactionContext
-
Sets the transaction isolation level for the current thread.
- Isolation - Enum Class in org.litebridge.db.spi.tx
-
Transaction isolation levels.
- IsolationClause - Class in org.litebridge.orm.api.tx
-
Represents an isolation clause in the context of transactional operations.
- IsolationClause(Isolation, TransactionContextTerminal) - Constructor for class org.litebridge.orm.api.tx.IsolationClause
-
Constructs a new
IsolationClausewith the specified isolation level. - isParameter() - Method in class org.litebridge.db.spi.expression.LiteralExpression
-
Returns whether this literal should be treated as a bind parameter.
- isPersistedDto(Object) - Method in class org.litebridge.orm.persistence.OrmTable
-
Check if the specified DTO is persisted.
- isReadOnly() - Method in class org.litebridge.db.spi.tx.ManagedConnection
- isRelatedDto() - Method in record class org.litebridge.orm.persistence.MappingPlan.FieldMapping
-
Returns the value of the
isRelatedDtorecord component. - isRollbackOnly() - Method in interface org.litebridge.db.spi.tx.TransactionControl
-
Checks if the current transaction is marked as rollback-only.
- isRollbackOnly() - Method in class org.litebridge.orm.tx.DefaultTransactionManager
- isRollbackOnly() - Method in class org.litebridge.orm.tx.Transaction
- isSupported(Class<? extends ExpressionSpec>) - Static method in class org.litebridge.orm.api.select.model.ProtoExpressionResolver
-
Checks if a given expression type is supported for resolution.
- isTransactionActive() - Method in interface org.litebridge.db.spi.tx.TransactionControl
-
Checks if there is an active transaction for the current thread.
- isTransactionActive() - Method in class org.litebridge.orm.tx.DefaultTransactionManager
- isTransactionActive() - Method in class org.litebridge.orm.tx.Transaction
- isValid(int) - Method in class org.litebridge.db.spi.tx.ManagedConnection
- isWrapperFor(Class<?>) - Method in class org.litebridge.db.spi.tx.ManagedConnection
- isWrapperFor(Class<?>) - Method in class org.litebridge.orm.tx.LitebridgeDriverManagerDataSource
- iterator() - Method in class org.litebridge.commons.type.WeakIdentitySet
-
Returns an iterator over the elements of the set, allowing traversal of the elements while cleaning up any stale entries.
J
- join(Class<?>) - Method in class org.litebridge.orm.api.dto.DtoFromClauseTerminal
- join(Class<?>) - Method in interface org.litebridge.orm.api.dto.DtoJoinClassTerminal
-
Adds a JOIN clause for the specified DTO class.
- join(Class<?>) - Method in class org.litebridge.orm.api.dto.DtoJoinConditionClauseTerminal
- join(String) - Method in class org.litebridge.orm.api.sql.SqlFromClauseTerminal
- join(String) - Method in interface org.litebridge.orm.api.sql.SqlJoinClauseTerminal
- join(String) - Method in class org.litebridge.orm.api.sql.SqlJoinConditionClauseTerminal
- Join - Record Class in org.litebridge.db.spi.query
-
A database table join operation in a query.
- Join(Table, ConditionGroup) - Constructor for record class org.litebridge.db.spi.query.Join
-
Creates an instance of a
Joinrecord class. - JOIN - Enum constant in enum class org.litebridge.db.spi.expression.ClauseType
-
A JOIN clause.
- JoinClause<DTO,
JCC, - Interface in org.litebridge.orm.api.selectJCCT> -
Represents a join clause in a SQL query, allowing the definition of join operations between tables.
- JoinClauseTerminal<DTO,
JC, - Interface in org.litebridge.orm.api.selectJCC, JCCT, WCC, WCCT, GBCT, HCC, HCCT, OBC, OBCC> -
Terminal clause in a fluent API for constructing SQL JOIN statements.
- joinColumn() - Element in annotation interface org.litebridge.orm.annotation.ManyToMany
-
Specifies the name of the column in the join table that references the primary key of the current entity.
- joinColumn() - Method in record class org.litebridge.orm.api.spec.ColumnSpec
-
Returns the value of the
joinColumnrecord component. - joinColumn() - Method in record class org.litebridge.orm.api.spec.ManyToMany
-
Returns the value of the
joinColumnrecord component. - joinColumn() - Method in record class org.litebridge.orm.persistence.MappedManyToMany
-
Returns the value of the
joinColumnrecord component. - joinColumn(String) - Method in class org.litebridge.orm.api.register.ManyToManyBuilderJoinColumnStep
-
Defines the join column for a many-to-many relationship's join table.
- JoinConditionClause<DTO,
SELF, - Interface in org.litebridge.orm.api.selectJCCT> -
Generic join condition clause for constructing SQL-like join conditions in a type-safe and fluent manner.
- JoinConditionClauseTerminal<DTO,
JCC, - Interface in org.litebridge.orm.api.selectSELF> -
Terminal state of a join condition clause.
- JoinDtoData(DtoJoinSpec, List<Object>, Row) - Constructor for class org.litebridge.orm.persistence.DtoBlueprint.JoinDtoData
-
Creates a new join DTO data instance.
- joinedDtoData() - Method in class org.litebridge.orm.persistence.DtoBlueprint
-
Returns the list of joined DTO data.
- JoinNode - Class in org.litebridge.orm.api.select.ast
-
Represents a JOIN clause metadata in the query AST.
- JoinNode(QueryNode, String, Class<?>, Class<?>, String) - Constructor for class org.litebridge.orm.api.select.ast.JoinNode
-
Constructs a new
JoinNode. - JoinNode(QueryNode, String, Class<?>, String) - Constructor for class org.litebridge.orm.api.select.ast.JoinNode
-
Constructs a new
JoinNodewithout a source DTO class. - joinOn() - Element in annotation interface org.litebridge.orm.annotation.Column
-
The remote column name to which this column is joined.
- joinOn(String) - Method in class org.litebridge.orm.api.register.FieldColumnSpecBuilderColumnStep
-
Defines the join condition for a database column during field-to-column mapping configuration.
- joinPlans() - Method in record class org.litebridge.orm.persistence.MappingPlan
-
Returns the value of the
joinPlansrecord component. - joins - Variable in class org.litebridge.orm.api.select.model.SelectSpec
- joins() - Method in record class org.litebridge.db.spi.query.Select
-
Returns the value of the
joinsrecord component. - JoinSpec - Interface in org.litebridge.orm.api.select.model
-
Specification for a database "JOIN" clause.
- joinTable() - Element in annotation interface org.litebridge.orm.annotation.ManyToMany
-
Specifies the name of the intermediate join table used to represent a many-to-many relationship between two entities in the context of Object-Relational Mapping (ORM).
- joinTable() - Method in record class org.litebridge.orm.api.spec.ManyToMany
-
Returns the value of the
joinTablerecord component. - joinTable() - Method in record class org.litebridge.orm.persistence.MappedManyToMany
-
Returns the value of the
joinTablerecord component. - joinTable(String) - Method in class org.litebridge.orm.api.register.ManyToManyBuilder
-
Specifies the name of the join table to be used in a many-to-many relationship.
- joinUsing() - Element in annotation interface org.litebridge.orm.annotation.Column
-
Join using the the current column's name.
- joinUsing() - Method in class org.litebridge.orm.api.register.FieldColumnSpecBuilderColumnStep
-
Configures the join condition for a database column using the previously set column in the current field-to-column mapping configuration (i.e. a
JOIN USINGjoin).
K
- Key Operations: - Search tag in class org.litebridge.orm.api.register.FieldColumnSpecBuilderFieldStep
- Section
- keySet() - Method in class org.litebridge.commons.type.WeakIdentityMap
L
- lastChild() - Method in record class org.litebridge.orm.api.select.ast.ConditionGroupNode
-
Returns the value of the
lastChildrecord component. - length - Variable in class org.litebridge.db.spi.impl.function.scalar.Substring
-
The number of characters to return.
- length() - Method in record class org.litebridge.orm.expression.function.scalar.SubstringSpec
-
Returns the value of the
lengthrecord component. - level() - Method in enum class org.litebridge.db.spi.tx.Isolation
-
Retrieves the numeric isolation level associated with this instance.
- lhs() - Method in record class org.litebridge.db.spi.query.Condition
-
Returns the value of the
lhsrecord component. - lhs() - Method in record class org.litebridge.orm.api.select.ast.ConditionNode
-
Returns the value of the
lhsrecord component. - like(String) - Method in class org.litebridge.orm.api.condition.AbstractCbConditionClause
-
Like
- like(String) - Method in interface org.litebridge.orm.api.select.ConditionClause
-
Creates a condition terminal for LIKE comparison with the specified value.
- LIKE - Enum constant in enum class org.litebridge.db.spi.query.Operator
-
Like
- limit - Variable in class org.litebridge.orm.api.select.model.SelectSpec
- limit() - Method in record class org.litebridge.db.spi.query.Limit
-
Returns the value of the
limitrecord component. - limit() - Method in record class org.litebridge.db.spi.query.Select
-
Returns the value of the
limitrecord component. - limit() - Method in record class org.litebridge.orm.api.select.ast.LimitNode
-
Returns the value of the
limitrecord component. - limit(int) - Method in interface org.litebridge.orm.api.select.OrderByClauseTerminal
-
Limits the number of rows returned in a query result.
- Limit - Record Class in org.litebridge.db.spi.query
-
Pagination parameters for database queries, defining a limit on the number of rows returned and an optional offset indicating the starting point for the result set.
- Limit(Optional<Integer>, Optional<Integer>) - Constructor for record class org.litebridge.db.spi.query.Limit
-
Creates an instance of a
Limitrecord class. - LimitClauseTerminal<DTO> - Interface in org.litebridge.orm.api.select
-
Terminal clause for applying a LIMIT clause in a SQL query.
- LimitNode - Record Class in org.litebridge.orm.api.select.ast
-
Represents a LIMIT clause in the query AST.
- LimitNode(QueryNode, Optional<Integer>, Optional<Integer>) - Constructor for record class org.litebridge.orm.api.select.ast.LimitNode
-
Creates an instance of a
LimitNoderecord class. - LimitSpec - Class in org.litebridge.orm.api.select.model
-
Specification for limiting and offsetting the results of a database query.
- LimitSpec() - Constructor for class org.litebridge.orm.api.select.model.LimitSpec
- list() - Method in class org.litebridge.orm.api.dto.DtoSelector
- list() - Method in interface org.litebridge.orm.api.select.SelectTerminal
-
Executes the query and materializes all results into a
List. - list() - Method in class org.litebridge.orm.api.sql.SqlSelector
- listSnapshot() - Method in class org.litebridge.tracking.ChangedCollectionField
-
Returns the snapshot of the list at the time tracking started.
- Litebridge - Class in org.litebridge.orm
-
Primary entry point for Litebridge.
- Litebridge(DatabaseProvider, DataSource) - Constructor for class org.litebridge.orm.Litebridge
-
Constructs a Litebridge instance with the specified database provider and data source.
- Litebridge(DatabaseProvider, DataSource, LitebridgeConfig) - Constructor for class org.litebridge.orm.Litebridge
-
Constructs a Litebridge instance with the specified database provider and data source.
- Litebridge(DatabaseProvider, DataSource, LitebridgeConfig, MethodHandles.Lookup) - Constructor for class org.litebridge.orm.Litebridge
-
Constructs a Litebridge instance with the specified database provider and data source.
- Litebridge(DatabaseProvider, TransactionManager) - Constructor for class org.litebridge.orm.Litebridge
-
Constructs a Litebridge instance with the specified database provider, transaction manager, and default method handle lookup.
- Litebridge(DatabaseProvider, TransactionManager, MethodHandles.Lookup) - Constructor for class org.litebridge.orm.Litebridge
-
Constructs an instance of Litebridge, responsible for managing database operations, transaction contexts, change tracking, and persistence functionality.
- Litebridge(DatabaseProvider, TransactionManager, LitebridgeConfig, MethodHandles.Lookup) - Constructor for class org.litebridge.orm.Litebridge
-
Constructs an instance of Litebridge, responsible for managing database operations, transaction contexts, change tracking, and persistence functionality.
- Litebridge(DatabaseProvider, TransactionManager, LitebridgeConfig) - Constructor for class org.litebridge.orm.Litebridge
-
Constructs a Litebridge instance with the specified database provider, transaction manager, and default method handle lookup.
- litebridge.annotations - module litebridge.annotations
-
Litebridge ORM entity annotations
- litebridge.commons - module litebridge.commons
-
Litebridge Commons
- litebridge.converter - module litebridge.converter
-
Litebridge type converter
- litebridge.db.h2 - module litebridge.db.h2
-
H2 Database Provider
- litebridge.db.oracle - module litebridge.db.oracle
-
Oracle Database Provider
- litebridge.db.postgres - module litebridge.db.postgres
-
PostgreSQL Database Provider
- litebridge.db.spi - module litebridge.db.spi
-
Litebridge Database Service Provider Interface
- litebridge.db.spi.impl - module litebridge.db.spi.impl
-
Abstract DatabaseProvider implementation.
- litebridge.db.sqlite - module litebridge.db.sqlite
-
SQLite Database Provider
- litebridge.orm - module litebridge.orm
-
Litebridge ORM
- litebridge.tracking - module litebridge.tracking
-
Litebridge Change Tracker
- LitebridgeConfig - Record Class in org.litebridge.orm.config
-
Runtime configuration class for managing the behaviour of Litebridge, particularly the handling strategy for related DTO (Data Transfer Object) fields in queries.
- LitebridgeConfig() - Constructor for record class org.litebridge.orm.config.LitebridgeConfig
- LitebridgeConfig(RelatedDtoStrategy) - Constructor for record class org.litebridge.orm.config.LitebridgeConfig
-
Creates an instance of a
LitebridgeConfigrecord class. - litebridgeContext - Variable in class org.litebridge.orm.api.select.model.SelectSpec
- litebridgeContext - Variable in class org.litebridge.orm.persistence.AbstractStatementBuilder
-
The ORM context.
- LitebridgeContext - Class in org.litebridge.orm.engine
-
A context object that provides access to core Litebridge components and configuration.
- LitebridgeContext(LitebridgeConfig, FromClauseEngine, SqlFunctionRegistry, QueryPlanCache, AliasGenerator, TableMetaDataCache, TypeConverter, SelectExpressionMapper) - Constructor for class org.litebridge.orm.engine.LitebridgeContext
-
Create a new Litebridge context with the specified components.
- LitebridgeDriverManagerDataSource - Class in org.litebridge.orm.tx
-
A simple
DataSourceimplementation that utilisesDriverManagerto create connections. - LitebridgeDriverManagerDataSource(String, String, String) - Constructor for class org.litebridge.orm.tx.LitebridgeDriverManagerDataSource
-
Constructs a new
LitebridgeDriverManagerDataSourcewith the given URL, username, and password. - literal() - Method in record class org.litebridge.db.spi.expression.SqlFunctionRegistry.Select
-
Returns the value of the
literalrecord component. - LiteralExpression - Class in org.litebridge.db.spi.expression
-
An encapsulated literal value in a query expression.
- LiteralExpression(Object) - Constructor for class org.litebridge.db.spi.expression.LiteralExpression
-
Constructs a new
LiteralExpressionwith the given value. - LiteralExpression(Object, boolean) - Constructor for class org.litebridge.db.spi.expression.LiteralExpression
-
Constructs a new
LiteralExpressionwith the given value and parameter flag. - LiteralExpressionFactory - Interface in org.litebridge.db.spi.expression
-
Factory to create literal value expressions.
- LocalDateConverter - Class in org.litebridge.convert.converter
-
A converter for
LocalDateobjects. - LocalDateConverter() - Constructor for class org.litebridge.convert.converter.LocalDateConverter
- LocalDateTimeConverter - Class in org.litebridge.convert.converter
-
A converter for
LocalDateTimeobjects. - LocalDateTimeConverter() - Constructor for class org.litebridge.convert.converter.LocalDateTimeConverter
- LogicCondition - Record Class in org.litebridge.db.spi.query
-
Logically combined condition.
- LogicCondition(SelectExpression, Operator, Object) - Constructor for record class org.litebridge.db.spi.query.LogicCondition
-
Constructs a logical condition with the specified left-hand side (LHS) expression, operator, and value.
- LogicCondition(LogicOperator, Condition) - Constructor for record class org.litebridge.db.spi.query.LogicCondition
-
Creates an instance of a
LogicConditionrecord class. - LogicConditionGroup - Record Class in org.litebridge.db.spi.query
-
Logically combined condition subgroup.
- LogicConditionGroup(LogicOperator, ConditionGroup) - Constructor for record class org.litebridge.db.spi.query.LogicConditionGroup
-
Creates an instance of a
LogicConditionGrouprecord class. - LogicConditionGroupSpec - Record Class in org.litebridge.orm.api.select.model
-
Specification for a logical condition group.
- LogicConditionGroupSpec(LogicOperator) - Constructor for record class org.litebridge.orm.api.select.model.LogicConditionGroupSpec
-
Constructs a new
LogicConditionGroupSpecwith the specified logical operator. - LogicConditionGroupSpec(LogicOperator, ConditionGroupSpec) - Constructor for record class org.litebridge.orm.api.select.model.LogicConditionGroupSpec
-
Creates an instance of a
LogicConditionGroupSpecrecord class. - LogicConditionSpec - Record Class in org.litebridge.orm.api.select.model
-
Specification for a logical condition.
- LogicConditionSpec(LogicOperator, ConditionSpec) - Constructor for record class org.litebridge.orm.api.select.model.LogicConditionSpec
-
Creates an instance of a
LogicConditionSpecrecord class. - logicOperator() - Method in record class org.litebridge.db.spi.query.LogicCondition
-
Returns the value of the
logicOperatorrecord component. - logicOperator() - Method in record class org.litebridge.db.spi.query.LogicConditionGroup
-
Returns the value of the
logicOperatorrecord component. - logicOperator() - Method in record class org.litebridge.orm.api.select.ast.ConditionGroupNode
-
Returns the value of the
logicOperatorrecord component. - logicOperator() - Method in record class org.litebridge.orm.api.select.ast.ConditionNode
-
Returns the value of the
logicOperatorrecord component. - logicOperator() - Method in record class org.litebridge.orm.api.select.model.LogicConditionGroupSpec
-
Returns the value of the
logicOperatorrecord component. - logicOperator() - Method in record class org.litebridge.orm.api.select.model.LogicConditionSpec
-
Returns the value of the
logicOperatorrecord component. - LogicOperator - Enum Class in org.litebridge.db.spi.query
-
Logical operator for chaining conditions in a query.
- LongConverter - Class in org.litebridge.convert.converter
-
A converter for
Longvalues. - LongConverter() - Constructor for class org.litebridge.convert.converter.LongConverter
- lookup() - Method in record class org.litebridge.orm.api.spec.TableMapping
-
Returns the value of the
lookuprecord component. - lower() - Method in record class org.litebridge.db.spi.expression.SqlFunctionRegistry.Scalar
-
Returns the value of the
lowerrecord component. - lower() - Method in class org.litebridge.orm.meta.StringQueryField
-
LOWER(): Returns the lowercase value of a column's text. - lower(String) - Static method in class org.litebridge.orm.expression.Fn
-
LOWER(): Returns the lowercase value of a column's text. - lower(ExpressionSpec) - Static method in class org.litebridge.orm.expression.Fn
-
LOWER(): Returns the lowercase value of a column's text. - Lower - Class in org.litebridge.db.spi.impl.function.scalar
-
LOWER(column)scalar function. - Lower(ColumnExpression, ColumnIdentifierGenerator) - Constructor for class org.litebridge.db.spi.impl.function.scalar.Lower
-
Creates a new
LOWERscalar function expression. - LowerSpec - Record Class in org.litebridge.orm.expression.function.scalar
-
LOWER(): Returns the lowercase value of a column. - LowerSpec(ColumnExpressionSpec) - Constructor for record class org.litebridge.orm.expression.function.scalar.LowerSpec
-
Creates an instance of a
LowerSpecrecord class. - lt(Object) - Method in class org.litebridge.orm.api.condition.AbstractCbConditionClause
-
Less than
- lt(Object) - Method in interface org.litebridge.orm.api.select.ConditionClause
-
Creates a condition terminal for less-than comparison with the specified value.
- lt(Function<SelectEngine, SelectTerminal<?>>) - Method in class org.litebridge.orm.api.condition.AbstractCbConditionClause
-
Less than
- LT - Enum constant in enum class org.litebridge.db.spi.query.Operator
-
Less than
- lte(Object) - Method in class org.litebridge.orm.api.condition.AbstractCbConditionClause
-
Less than or equals
- lte(Object) - Method in interface org.litebridge.orm.api.select.ConditionClause
-
Less than or equals
- lte(Function<SelectEngine, SelectTerminal<?>>) - Method in class org.litebridge.orm.api.condition.AbstractCbConditionClause
-
Less than or equals
- LTE - Enum constant in enum class org.litebridge.db.spi.query.Operator
-
Less than or equal to
M
- ManagedConnection - Class in org.litebridge.db.spi.tx
-
A wrapper for a
Connectionobject that ensures certain methods associated with transaction and connection management are not directly invoked. - ManagedConnection(Connection) - Constructor for class org.litebridge.db.spi.tx.ManagedConnection
-
Constructs a new
ManagedConnectionwrapping the specified connection. - manyToMany(Function<ManyToManyBuilder, ManyToMany>) - Method in class org.litebridge.orm.api.register.FieldColumnSpecBuilderFieldStep
-
Defines a many-to-many relationship for the current field in the fluent API builder.
- ManyToMany - Record Class in org.litebridge.orm.api.spec
-
Represents a many-to-many relationship mapping between two tables using a join table.
- ManyToMany - Annotation Interface in org.litebridge.orm.annotation
-
Annotation used to define a many-to-many relationship between two entities in the context of Object-Relational Mapping (ORM).
- ManyToMany(String, String, String) - Constructor for record class org.litebridge.orm.api.spec.ManyToMany
-
Creates an instance of a
ManyToManyrecord class. - ManyToManyBuilder - Class in org.litebridge.orm.api.register
-
Builder class for defining many-to-many relationships between DTOs (Data Transfer Objects) and their corresponding relationship tables in a database.
- ManyToManyBuilder() - Constructor for class org.litebridge.orm.api.register.ManyToManyBuilder
- ManyToManyBuilderInverseJoinColumnStep - Class in org.litebridge.orm.api.register
-
Represents a step in the fluent API for defining the inverse join column in a many-to-many relationship mapping.
- ManyToManyBuilderJoinColumnStep - Class in org.litebridge.orm.api.register
-
Represents a configuration step in the fluent API for defining many-to-many relationships between DTOs (Data Transfer Objects) and their corresponding join tables in a database.
- manyToManyMappings() - Method in record class org.litebridge.orm.persistence.MappingPlan
-
Returns the value of the
manyToManyMappingsrecord component. - manyToOneDependencies() - Method in record class org.litebridge.orm.persistence.TableMapper.MappedTable
-
Returns the value of the
manyToOneDependenciesrecord component. - MapCollector - Class in org.litebridge.commons.collector
-
Utility class for Collectors providing functionality to create
LinkedHashMapinstances. - mapField(String) - Method in class org.litebridge.orm.api.register.FieldColumnSpecBuilder
-
Maps a specific field in a DTO to begin the configuration process for defining its database column mapping.
- mapOperator(Operator) - Method in class org.litebridge.db.spi.impl.sql.AbstractSqlGenerator
-
Map an
Operatorenum to its corresponding string representation used in logical or database operations. - mappedByField() - Element in annotation interface org.litebridge.orm.annotation.OneToMany
-
Specifies the name of the field in the child entity that owns the relationship in a bidirectional association.
- mappedByField() - Method in record class org.litebridge.orm.api.spec.OneToMany
-
Returns the value of the
mappedByFieldrecord component. - mappedByField() - Method in record class org.litebridge.orm.persistence.MappedOneToMany
-
Returns the value of the
mappedByFieldrecord component. - mappedByField(String) - Method in class org.litebridge.orm.api.register.OneToManyBuilder
-
Defines a one-to-many relationship between a specified field in a DTO (Data Transfer Object) and a corresponding collection of rows in a database table.
- mappedByProperty(String) - Method in class org.litebridge.orm.api.register.OneToManyBuilder
-
Defines a one-to-many relationship based on a specified property in a DTO (Data Transfer Object).
- MappedFieldTarget - Interface in org.litebridge.db.spi
-
Marker interface for a target for a mapped field in an object-relational mapping (ORM) context.
- mappedFieldTargets() - Method in class org.litebridge.orm.persistence.OrmTable
-
Get the mapped field targets.
- MappedManyToMany - Record Class in org.litebridge.orm.persistence
-
A many-to-many relationship mapping in an object-relational mapping (ORM) context.
- MappedManyToMany(OrmTable, String, FieldAccessor, ConcurrentLazy<OrmTable>, String) - Constructor for record class org.litebridge.orm.persistence.MappedManyToMany
-
Creates an instance of a
MappedManyToManyrecord class. - MappedOneToMany - Record Class in org.litebridge.orm.persistence
-
Represents a one-to-many relationship mapping in an object-relational mapping (ORM) context.
- MappedOneToMany(FieldAccessor, FieldAccessor) - Constructor for record class org.litebridge.orm.persistence.MappedOneToMany
-
Creates an instance of a
MappedOneToManyrecord class. - mappedTable() - Method in record class org.litebridge.orm.api.spec.ColumnSpec
-
Returns the value of the
mappedTablerecord component. - MappedTable(OrmTable, List<FieldAccessor>) - Constructor for record class org.litebridge.orm.persistence.TableMapper.MappedTable
-
Creates an instance of a
MappedTablerecord class. - MappingInfo(MethodHandle, boolean, List<FieldAccessor>) - Constructor for record class org.litebridge.orm.persistence.DtoConstructor.MappingInfo
-
Creates an instance of a
MappingInforecord class. - MappingPlan - Record Class in org.litebridge.orm.persistence
-
A "pre-compiled" mapping plan for a specific DTO class and query specification.
- MappingPlan(Class<?>, OrmTable, int[], Class<?>[], MappingPlan.FieldMapping[], MethodHandle, boolean, List<FieldAccessor>, Map<DtoJoinSpec, MappingPlan>, Map<FieldAccessor, MappingPlan>, List<MappedOneToMany>, List<MappedManyToMany>) - Constructor for record class org.litebridge.orm.persistence.MappingPlan
-
Creates an instance of a
MappingPlanrecord class. - MappingPlan.FieldMapping - Record Class in org.litebridge.orm.persistence
- mapProperty(String) - Method in class org.litebridge.orm.api.register.FieldColumnSpecBuilder
-
Maps a specific property in a DTO to begin the configuration process for defining its database property-based mapping.
- mapSnapshot() - Method in class org.litebridge.tracking.ChangedMapField
-
Retrieve the snapshot of the original map associated with this field.
- mapToTable(MethodHandles.Lookup, Class<?>, TableSpec, Set<Class<?>>) - Method in class org.litebridge.orm.persistence.TableMapper
-
Maps a Data Transfer Object (DTO) class to a database table based on the provided specification.
- mapToTable(String) - Method in class org.litebridge.orm.api.register.RegistrationContext
-
Maps a Data Transfer Object (DTO) class to a specified database table.
- MapUtils - Class in org.litebridge.commons
-
Utility class for working with
Mapinstances. - MathOperation - Record Class in org.litebridge.db.spi.math
-
Represents a mathematical operation to be performed on a column in a SQL context.
- MathOperation(MathOperation.Operator, Object) - Constructor for record class org.litebridge.db.spi.math.MathOperation
-
Creates an instance of a
MathOperationrecord class. - MathOperation.Operator - Enum Class in org.litebridge.db.spi.math
-
Predefined mathematical operators for use in SQL operations.
- max() - Method in record class org.litebridge.db.spi.expression.SqlFunctionRegistry.Aggregate
-
Returns the value of the
maxrecord component. - max() - Method in class org.litebridge.orm.meta.NumericQueryField
-
MAX(): Returns the highest or largest value within a specified field. - max(String) - Static method in class org.litebridge.orm.expression.Fn
-
MAX(): Returns the highest or largest value within a specified column/field. - max(ExpressionSpec) - Static method in class org.litebridge.orm.expression.Fn
-
MAX(): Returns the highest or largest value within a specified expression. - Max - Class in org.litebridge.db.spi.impl.function.aggregate
-
MAX(column)aggregate function. - Max(ColumnExpression, ColumnIdentifierGenerator) - Constructor for class org.litebridge.db.spi.impl.function.aggregate.Max
-
Creates a new
Maxfunction. - MaxSpec<T> - Record Class in org.litebridge.orm.expression.function.aggregate
-
MAX(): Returns the highest or largest value within a specified column or expression - MaxSpec(ColumnExpressionSpec, Class<T>) - Constructor for record class org.litebridge.orm.expression.function.aggregate.MaxSpec
-
Creates an instance of a
MaxSpecrecord class. - min() - Method in record class org.litebridge.db.spi.expression.SqlFunctionRegistry.Aggregate
-
Returns the value of the
minrecord component. - min() - Method in class org.litebridge.orm.meta.NumericQueryField
-
MIN(): Returns the lowest or smallest value within a specified column or expression - min(String) - Static method in class org.litebridge.orm.expression.Fn
-
MIN(): Returns the lowest or smallest value within a specified column or expression - min(ExpressionSpec) - Static method in class org.litebridge.orm.expression.Fn
-
MIN(): Returns the lowest or smallest value within a specified column or expression - Min - Class in org.litebridge.db.spi.impl.function.aggregate
-
MIN(column)aggregate function. - Min(ColumnExpression, ColumnIdentifierGenerator) - Constructor for class org.litebridge.db.spi.impl.function.aggregate.Min
-
Creates a new
MINaggregate function. - MinSpec<T> - Record Class in org.litebridge.orm.expression.function.aggregate
-
MIN(): Returns the lowest or smallest value within a specified column or expression - MinSpec(ColumnExpressionSpec, Class<T>) - Constructor for record class org.litebridge.orm.expression.function.aggregate.MinSpec
-
Creates an instance of a
MinSpecrecord class. - minus(Object) - Method in class org.litebridge.orm.api.sql.update.SqlUpdateSetStep
- minus(Object) - Method in class org.litebridge.orm.api.update.UpdateSetStep
- mod(Object) - Method in class org.litebridge.orm.api.sql.update.SqlUpdateSetStep
- mod(Object) - Method in class org.litebridge.orm.api.update.UpdateSetStep
- MOD - Enum constant in enum class org.litebridge.db.spi.math.MathOperation.Operator
-
Modulo operator for mathematical calculations.
- ModuleUtils - Class in org.litebridge.commons
-
Utility class for Java Module System (JPMS) related operations.
- multiply(Object) - Method in class org.litebridge.orm.api.sql.update.SqlUpdateSetStep
- multiply(Object) - Method in class org.litebridge.orm.api.update.UpdateSetStep
- MULTIPLY - Enum constant in enum class org.litebridge.db.spi.math.MathOperation.Operator
-
Multiplication operator for mathematical calculations.
N
- name - Variable in class org.litebridge.tracking.ChangedField
-
The name of the field that has changed.
- name() - Method in class org.litebridge.db.spi.Aliased
-
Retrieve the name of the aliased entity.
- name() - Method in class org.litebridge.db.spi.ColumnMetaData
-
Gets the name of the column.
- name() - Method in record class org.litebridge.db.spi.ForeignKeyConstraint
-
Returns the value of the
namerecord component. - name() - Method in class org.litebridge.db.spi.TableMetaData
-
Returns the name of the table.
- name() - Method in record class org.litebridge.orm.api.spec.ColumnSpec
-
Returns the value of the
namerecord component. - name() - Method in record class org.litebridge.orm.api.spec.FieldSpec
-
Returns the value of the
namerecord component. - name() - Method in class org.litebridge.tracking.ChangedField
-
Retrieve the name of the field that has changed.
- name() - Method in class org.litebridge.tracking.DirectFieldAccessor
- name() - Method in interface org.litebridge.tracking.FieldAccessor
-
Return the name of the field or property represented by this
FieldAccessor. - name() - Method in class org.litebridge.tracking.FieldAccessorChain
- name() - Method in class org.litebridge.tracking.PropertyAccessor
- nativeSql() - Method in class org.litebridge.orm.Litebridge
-
Provides access to execute native/raw SQL queries.
- nativeSQL(String) - Method in class org.litebridge.db.spi.tx.ManagedConnection
- NativeSqlCache - Class in org.litebridge.orm.nativesql
-
Cache for parsed named parameter-based queries.
- NativeSqlCache() - Constructor for class org.litebridge.orm.nativesql.NativeSqlCache
- NativeSqlContext - Class in org.litebridge.orm.nativesql
-
Provides a context for executing native SQL queries and updates in a transactional database environment.
- NativeSqlContext(TransactionalDatabaseProvider) - Constructor for class org.litebridge.orm.nativesql.NativeSqlContext
-
Constructs a new
NativeSqlContextinstance. - nativeSqlQuery(String, List<Object>, ConnectionProvider) - Method in interface org.litebridge.db.spi.DatabaseProvider
-
Executes a SQL query with the given SQL string and a list of positional bind parameters.
- nativeSqlQuery(String, List<Object>, ConnectionProvider) - Method in class org.litebridge.db.spi.impl.AbstractDatabaseProvider
- nativeSqlQuery(String, List<Object>, ConnectionProvider) - Method in class org.litebridge.orm.persistence.TransactionalDatabaseProvider
- nativeSqlUpdate(String, List<Object>, ConnectionProvider) - Method in interface org.litebridge.db.spi.DatabaseProvider
-
Executes a SQL update statement with the given SQL string and a list of positional bind parameters.
- nativeSqlUpdate(String, List<Object>, ConnectionProvider) - Method in class org.litebridge.db.spi.impl.AbstractDatabaseProvider
- nativeSqlUpdate(String, List<Object>, ConnectionProvider) - Method in class org.litebridge.orm.persistence.TransactionalDatabaseProvider
- neq(Object) - Method in class org.litebridge.orm.api.condition.AbstractCbConditionClause
-
Not equals
- neq(Object) - Method in interface org.litebridge.orm.api.select.ConditionClause
-
Not equals
- neq(Function<SelectEngine, SelectTerminal<?>>) - Method in class org.litebridge.orm.api.condition.AbstractCbConditionClause
-
Not equals
- NEQ - Enum constant in enum class org.litebridge.db.spi.query.Operator
-
Not equals
- nestedPlans() - Method in record class org.litebridge.orm.persistence.MappingPlan
-
Returns the value of the
nestedPlansrecord component. - newCondition(LogicOperator, ExpressionSpec) - Method in record class org.litebridge.orm.api.select.model.ConditionGroupSpec
-
Adds a new condition to the group and returns its specification.
- newInstance(Class<DTO>) - Static method in class org.litebridge.commons.ClassUtils
-
Creates a new instance of the specified class type using its no-argument constructor.
- newInstance(Class<DTO>, Constructor<DTO>, Object...) - Static method in class org.litebridge.commons.ClassUtils
-
Creates a new instance of the specified class using the provided constructor and arguments.
- newInstance(Class<DTO>, List<DtoConstructor.FieldAccessorValue>) - Method in class org.litebridge.orm.persistence.DtoConstructor
-
Creates a new instance of the specified DTO class using the provided field accessor values to resolve constructor arguments.
- newJoinSpec(Class<?>, OrmTable, Table) - Method in class org.litebridge.orm.api.dto.DtoSelectSpec
-
Creates a new join specification.
- newJoinSpec(String) - Method in class org.litebridge.orm.api.sql.SqlSelectSpec
- newJoinSpec(Table) - Method in class org.litebridge.orm.api.sql.SqlSelectSpec
- newJoinSpecBefore(DtoJoinSpec, Class<?>, OrmTable, Table) - Method in class org.litebridge.orm.api.dto.DtoSelectSpec
-
Creates a new join specification before another join specification.
- newOrderBy(List<ExpressionSpec>) - Method in class org.litebridge.orm.api.select.model.SelectSpec
- newOrderBy(ExpressionSpec...) - Method in class org.litebridge.orm.api.select.model.SelectSpec
- newSubgroup(LogicOperator) - Method in record class org.litebridge.orm.api.select.model.ConditionGroupSpec
-
Adds a new subgroup to the group and returns its specification.
- node - Variable in class org.litebridge.orm.api.condition.AbstractCbConditionClauseTerminal
-
The current query node in the AST.
- node - Variable in class org.litebridge.orm.api.select.FromClauseStart
-
The current query node.
- node - Variable in class org.litebridge.orm.api.select.FromClauseStartTypeOverride
-
The current query node.
- node - Variable in class org.litebridge.orm.persistence.AbstractStatementBuilder
-
The current query node.
- node() - Method in class org.litebridge.orm.api.condition.AbstractCbConditionClauseTerminal
-
Returns the current query node.
- node() - Method in class org.litebridge.orm.persistence.AbstractStatementBuilder
- node() - Method in class org.litebridge.orm.persistence.NoOpStatementBuilder
-
Invoking this method will throw an
UnsupportedOperationException. - node() - Method in interface org.litebridge.orm.persistence.StatementBuilder
-
Returns the current query node.
- NoFieldMapping - Class in org.litebridge.orm.api.spec
-
Utility class representing a field mapping that does not map to any database field.
- NoFieldMapping() - Constructor for class org.litebridge.orm.api.spec.NoFieldMapping
- NonUniqueResultException - Exception Class in org.litebridge.orm.exception
-
Thrown to indicate that a query returned more than one result when exactly one was expected.
- NonUniqueResultException(String, Throwable) - Constructor for exception class org.litebridge.orm.exception.NonUniqueResultException
-
Constructs a
NonUniqueResultExceptionwith the specified detail message and cause. - NOOP - Enum constant in enum class org.litebridge.db.spi.query.LogicOperator
-
No operation
- NoOpAliasGenerator - Class in org.litebridge.orm.persistence.alias
-
An
AliasGeneratorimplementation that does not generate any aliases, returning the original table and column names instead. - NoOpAliasGenerator() - Constructor for class org.litebridge.orm.persistence.alias.NoOpAliasGenerator
- NoOpDtoCache - Class in org.litebridge.orm.persistence
-
A no-operation implementation of the
DtoCacheinterface. - NoOpStatementBuilder - Class in org.litebridge.orm.persistence
-
A no-operation implementation of the
StatementBuilderinterface. - NoOpStatementBuilder() - Constructor for class org.litebridge.orm.persistence.NoOpStatementBuilder
- NOT_IN - Enum constant in enum class org.litebridge.db.spi.query.Operator
-
Exclusion from a set
- notIn(Object, Object...) - Method in class org.litebridge.orm.api.condition.AbstractCbConditionClause
- notIn(Object, Object...) - Method in interface org.litebridge.orm.api.select.ConditionClause
-
Exclusion from a set.
- notIn(Collection<?>) - Method in class org.litebridge.orm.api.condition.AbstractCbConditionClause
- notIn(Collection<?>) - Method in interface org.litebridge.orm.api.select.ConditionClause
-
Exclusion from a set.
- notIn(Function<SelectEngine, SelectTerminal<?>>) - Method in class org.litebridge.orm.api.condition.AbstractCbConditionClause
- notIn(Function<SelectEngine, SelectTerminal<?>>) - Method in interface org.litebridge.orm.api.select.ConditionClause
-
Exclusion from the result set from the specified sub-select.
- NULL_IF_NO_JOIN - Enum constant in enum class org.litebridge.orm.config.RelatedDtoStrategy
-
Fields containing related DTOs will be set to null if not added to the JOIN clauses of a query.
- NumberTODelegateExpressionSpec - Interface in org.litebridge.orm.expression
-
Number type-overriding nestable expression
- NumericQueryField - Class in org.litebridge.orm.meta
-
Metamodel field for querying numeric-based columns in a type-safe manner.
- NumericQueryField(Class<?>, String) - Constructor for class org.litebridge.orm.meta.NumericQueryField
-
Creates a new
NumericQueryFieldinstance.
O
- ObjectUtils - Class in org.litebridge.commons
-
Utility class for working with objects.
- offset() - Method in record class org.litebridge.db.spi.query.Limit
-
Returns the value of the
offsetrecord component. - offset() - Method in record class org.litebridge.orm.api.select.ast.LimitNode
-
Returns the value of the
offsetrecord component. - offset(int) - Method in interface org.litebridge.orm.api.select.LimitClauseTerminal
-
Sets an offset to skip a specified number of rows in the result set.
- OffsetDateTimeConverter - Class in org.litebridge.convert.converter
-
A converter for
OffsetDateTimeConvertervalues. - OffsetDateTimeConverter() - Constructor for class org.litebridge.convert.converter.OffsetDateTimeConverter
- on(String) - Method in class org.litebridge.orm.api.dto.DtoJoinClause
-
Adds a join ON condition to the current join clause based on the specified field.
- on(String) - Method in class org.litebridge.orm.api.sql.SqlJoinClause
-
Adds a join ON condition to the current join clause based on the specified column.
- on(QueryConditionBuilder<DTO>) - Method in class org.litebridge.orm.api.dto.DtoJoinClause
-
Adds a join ON condition based on a query condition builder.
- on(QueryConditionBuilder<Row>) - Method in class org.litebridge.orm.api.sql.SqlJoinClause
-
Adds a join ON condition based on a query condition builder.
- on(ExpressionSpec) - Method in class org.litebridge.orm.api.dto.DtoJoinClause
-
Adds a join ON condition based on a query expression.
- one() - Method in interface org.litebridge.orm.api.select.SelectTerminal
-
Executes the query and expects exactly one result.
- oneOrNull() - Method in class org.litebridge.orm.api.dto.DtoSelector
- oneOrNull() - Method in interface org.litebridge.orm.api.select.SelectTerminal
-
Executes the query and expects exactly one result.
- oneOrNull() - Method in class org.litebridge.orm.api.sql.SqlSelector
- oneOrThrow() - Method in interface org.litebridge.orm.api.select.SelectTerminal
-
Executes the query and expects exactly one result.
- oneOrThrow(Supplier<? extends X>) - Method in interface org.litebridge.orm.api.select.SelectTerminal
-
Executes the query and expects exactly one result.
- oneToMany(Function<OneToManyBuilder, OneToMany>) - Method in class org.litebridge.orm.api.register.FieldColumnSpecBuilderFieldStep
-
Defines a one-to-many relationship for the current field in the fluent API builder.
- OneToMany - Record Class in org.litebridge.orm.api.spec
-
Represents a one-to-many relationship mapping between a field in a DTO and a corresponding collection of rows in a database table.
- OneToMany - Annotation Interface in org.litebridge.orm.annotation
-
Annotation that establishes a one-to-many relationship between two entities in the context of Object-Relational Mapping (ORM).
- OneToMany(FieldSpec) - Constructor for record class org.litebridge.orm.api.spec.OneToMany
-
Creates an instance of a
OneToManyrecord class. - OneToManyBuilder - Class in org.litebridge.orm.api.register
-
Builder class for defining one-to-many relationships between a field or property in a DTO (Data Transfer Object) and a corresponding set of related records in a database.
- OneToManyBuilder() - Constructor for class org.litebridge.orm.api.register.OneToManyBuilder
- oneToManyMappings() - Method in record class org.litebridge.orm.persistence.MappingPlan
-
Returns the value of the
oneToManyMappingsrecord component. - operation() - Method in record class org.litebridge.db.spi.PreparedOperation
-
Returns the value of the
operationrecord component. - Operation - Interface in org.litebridge.db.spi
-
Common abstraction for SQL operations in the database.
- operator() - Method in record class org.litebridge.db.spi.math.MathOperation
-
Returns the value of the
operatorrecord component. - operator() - Method in record class org.litebridge.db.spi.query.Condition
-
Returns the value of the
operatorrecord component. - operator() - Method in record class org.litebridge.orm.api.select.ast.ConditionNode
-
Returns the value of the
operatorrecord component. - Operator - Enum Class in org.litebridge.db.spi.query
-
Enum of various operators that can be used in database query conditions.
- optional() - Method in class org.litebridge.commons.type.ConcurrentLazy
-
The primary accessor.
- or(String) - Method in class org.litebridge.orm.api.condition.AbstractCbConditionClauseTerminal
- or(String) - Method in class org.litebridge.orm.api.dto.delete.DtoDeleteWhereConditionClauseTerminalImpl
- or(String) - Method in class org.litebridge.orm.api.dto.DtoHavingConditionClauseTerminal
- or(String) - Method in class org.litebridge.orm.api.dto.DtoJoinConditionClauseTerminal
- or(String) - Method in class org.litebridge.orm.api.dto.DtoWhereConditionClauseTerminal
- or(String) - Method in class org.litebridge.orm.api.dto.update.DtoUpdateWhereConditionClauseTerminalImpl
- or(String) - Method in interface org.litebridge.orm.api.select.ConditionClauseTerminal
-
Adds an "OR" condition to the current condition clause using the specified column.
- or(String) - Method in class org.litebridge.orm.api.sql.delete.SqlDeleteWhereConditionClauseTerminalImpl
- or(String) - Method in class org.litebridge.orm.api.sql.SqlHavingConditionClauseTerminal
- or(String) - Method in class org.litebridge.orm.api.sql.SqlJoinConditionClauseTerminal
- or(String) - Method in class org.litebridge.orm.api.sql.SqlWhereConditionClauseTerminal
- or(String) - Method in class org.litebridge.orm.api.sql.update.SqlUpdateWhereConditionClauseTerminalImpl
- or(QueryConditionBuilder<DTO>) - Method in class org.litebridge.orm.api.condition.AbstractCbConditionClauseTerminal
- or(QueryConditionBuilder<DTO>) - Method in class org.litebridge.orm.api.dto.delete.DtoDeleteWhereConditionClauseTerminalImpl
- or(QueryConditionBuilder<DTO>) - Method in class org.litebridge.orm.api.dto.DtoHavingConditionClauseTerminal
- or(QueryConditionBuilder<DTO>) - Method in class org.litebridge.orm.api.dto.DtoJoinConditionClauseTerminal
- or(QueryConditionBuilder<DTO>) - Method in class org.litebridge.orm.api.dto.DtoWhereConditionClauseTerminal
- or(QueryConditionBuilder<DTO>) - Method in class org.litebridge.orm.api.dto.update.DtoUpdateWhereConditionClauseTerminalImpl
- or(QueryConditionBuilder<DTO>) - Method in interface org.litebridge.orm.api.select.ConditionClauseTerminal
-
Adds an "OR" condition with specified nested condition clause.
- or(QueryConditionBuilder<Row>) - Method in class org.litebridge.orm.api.sql.delete.SqlDeleteWhereConditionClauseTerminalImpl
- or(QueryConditionBuilder<Row>) - Method in class org.litebridge.orm.api.sql.SqlHavingConditionClauseTerminal
- or(QueryConditionBuilder<Row>) - Method in class org.litebridge.orm.api.sql.SqlJoinConditionClauseTerminal
- or(QueryConditionBuilder<Row>) - Method in class org.litebridge.orm.api.sql.SqlWhereConditionClauseTerminal
- or(QueryConditionBuilder<Row>) - Method in class org.litebridge.orm.api.sql.update.SqlUpdateWhereConditionClauseTerminalImpl
- or(ExpressionSpec) - Method in class org.litebridge.orm.api.condition.AbstractCbConditionClauseTerminal
- or(ExpressionSpec) - Method in class org.litebridge.orm.api.dto.delete.DtoDeleteWhereConditionClauseTerminalImpl
- or(ExpressionSpec) - Method in class org.litebridge.orm.api.dto.DtoHavingConditionClauseTerminal
- or(ExpressionSpec) - Method in class org.litebridge.orm.api.dto.DtoJoinConditionClauseTerminal
- or(ExpressionSpec) - Method in class org.litebridge.orm.api.dto.DtoWhereConditionClauseTerminal
- or(ExpressionSpec) - Method in class org.litebridge.orm.api.dto.update.DtoUpdateWhereConditionClauseTerminalImpl
- or(ExpressionSpec) - Method in interface org.litebridge.orm.api.select.ConditionClauseTerminal
-
Adds an "OR" condition to the current condition clause using the specified expression.
- or(ExpressionSpec) - Method in class org.litebridge.orm.api.sql.delete.SqlDeleteWhereConditionClauseTerminalImpl
- or(ExpressionSpec) - Method in class org.litebridge.orm.api.sql.SqlHavingConditionClauseTerminal
- or(ExpressionSpec) - Method in class org.litebridge.orm.api.sql.SqlJoinConditionClauseTerminal
- or(ExpressionSpec) - Method in class org.litebridge.orm.api.sql.SqlWhereConditionClauseTerminal
- or(ExpressionSpec) - Method in class org.litebridge.orm.api.sql.update.SqlUpdateWhereConditionClauseTerminalImpl
- OR - Enum constant in enum class org.litebridge.db.spi.query.LogicOperator
-
OR logical operator
- OracleColumnIdentifierGenerator - Class in org.litebridge.db.oracle
-
Oracle-specific implementation of
ColumnIdentifierGenerator. - OracleColumnIdentifierGenerator() - Constructor for class org.litebridge.db.oracle.OracleColumnIdentifierGenerator
- OracleDatabaseProvider - Class in org.litebridge.db.oracle
-
Oracle Database Provider for Litebridge.
- OracleDatabaseProvider() - Constructor for class org.litebridge.db.oracle.OracleDatabaseProvider
-
Constructs a new
OracleDatabaseProviderusing a default type converter. - OracleOffsetDateTimeConverter - Class in org.litebridge.db.oracle.convert
-
A specialised converter for Oracle-specific
OffsetDateTimeSQL types. - OracleOffsetDateTimeConverter() - Constructor for class org.litebridge.db.oracle.convert.OracleOffsetDateTimeConverter
- OracleSequenceColumnValueGenerator - Class in org.litebridge.db.oracle
-
Implementation of
SequenceColumnValueGeneratorfor Oracle databases. - OracleSequenceColumnValueGenerator(String) - Constructor for class org.litebridge.db.oracle.OracleSequenceColumnValueGenerator
-
Constructs a new
OracleSequenceColumnValueGeneratorwith the specified sequence name. - ORDER_BY - Enum constant in enum class org.litebridge.db.spi.expression.ClauseType
-
The ORDER BY clause.
- orderBy() - Method in record class org.litebridge.db.spi.query.Select
-
Returns the value of the
orderByrecord component. - orderBy(String...) - Method in class org.litebridge.orm.api.dto.DtoFromClauseTerminal
- orderBy(String...) - Method in class org.litebridge.orm.api.dto.DtoGroupByClauseTerminal
- orderBy(String...) - Method in class org.litebridge.orm.api.dto.DtoHavingConditionClauseTerminal
- orderBy(String...) - Method in class org.litebridge.orm.api.dto.DtoJoinConditionClauseTerminal
- orderBy(String...) - Method in class org.litebridge.orm.api.dto.DtoWhereConditionClauseTerminal
- orderBy(String...) - Method in interface org.litebridge.orm.api.select.HavingClauseTerminal
-
Adds an ORDER BY clause to the query, specifying the expressions to sort the results by.
- orderBy(String...) - Method in interface org.litebridge.orm.api.select.WhereClauseTerminal
-
Adds an ORDER BY clause to the query, specifying the expressions to sort the results by.
- orderBy(String...) - Method in class org.litebridge.orm.api.sql.SqlFromClauseTerminal
- orderBy(String...) - Method in class org.litebridge.orm.api.sql.SqlGroupByClauseTerminal
- orderBy(String...) - Method in class org.litebridge.orm.api.sql.SqlHavingConditionClauseTerminal
- orderBy(String...) - Method in class org.litebridge.orm.api.sql.SqlJoinConditionClauseTerminal
- orderBy(String...) - Method in class org.litebridge.orm.api.sql.SqlWhereConditionClauseTerminal
- orderBy(ExpressionSpec...) - Method in class org.litebridge.orm.api.dto.DtoFromClauseTerminal
- orderBy(ExpressionSpec...) - Method in class org.litebridge.orm.api.dto.DtoGroupByClauseTerminal
- orderBy(ExpressionSpec...) - Method in class org.litebridge.orm.api.dto.DtoHavingConditionClauseTerminal
- orderBy(ExpressionSpec...) - Method in class org.litebridge.orm.api.dto.DtoJoinConditionClauseTerminal
- orderBy(ExpressionSpec...) - Method in class org.litebridge.orm.api.dto.DtoWhereConditionClauseTerminal
- orderBy(ExpressionSpec...) - Method in interface org.litebridge.orm.api.select.HavingClauseTerminal
-
Adds an ORDER BY clause to the query, specifying the fields and expressions to sort the results by.
- orderBy(ExpressionSpec...) - Method in interface org.litebridge.orm.api.select.WhereClauseTerminal
-
Adds an ORDER BY clause to the query, specifying the fields and expressions to sort the results by.
- orderBy(ExpressionSpec...) - Method in class org.litebridge.orm.api.sql.SqlFromClauseTerminal
- orderBy(ExpressionSpec...) - Method in class org.litebridge.orm.api.sql.SqlGroupByClauseTerminal
- orderBy(ExpressionSpec...) - Method in class org.litebridge.orm.api.sql.SqlHavingConditionClauseTerminal
- orderBy(ExpressionSpec...) - Method in class org.litebridge.orm.api.sql.SqlJoinConditionClauseTerminal
- orderBy(ExpressionSpec...) - Method in class org.litebridge.orm.api.sql.SqlWhereConditionClauseTerminal
- OrderBy - Record Class in org.litebridge.db.spi.query
-
Ordering clause in an SQL query.
- OrderBy(SelectExpression, boolean) - Constructor for record class org.litebridge.db.spi.query.OrderBy
-
Creates an instance of a
OrderByrecord class. - OrderByClause<DTO,
SELF, - Interface in org.litebridge.orm.api.selectOBCC> -
Clause in a SQL query for specifying ordering of rows based on one or more expressions or fields.
- OrderByClauseChain<DTO,
OBC, - Interface in org.litebridge.orm.api.selectOBCC> -
Chainable clause for constructing complex ORDER BY clauses in a type-safe and fluent API for SQL query construction.
- OrderByClauseTerminal<DTO> - Interface in org.litebridge.orm.api.select
-
Terminal clause of an ORDER BY operation.
- OrderByNode - Record Class in org.litebridge.orm.api.select.ast
-
Represents an ORDER BY clause in the query AST.
- OrderByNode(QueryNode, ExpressionSpec, boolean) - Constructor for record class org.litebridge.orm.api.select.ast.OrderByNode
-
Creates an instance of a
OrderByNoderecord class. - orderBys - Variable in class org.litebridge.orm.api.select.model.SelectSpec
- OrderBySpec - Class in org.litebridge.orm.api.select.model
-
Specification for an "ORDER BY" clause in a database query.
- OrderBySpec(List<? extends ExpressionSpec>) - Constructor for class org.litebridge.orm.api.select.model.OrderBySpec
-
Creates a new OrderBySpec with ascending order by default.
- OrderBySpec(List<? extends ExpressionSpec>, boolean) - Constructor for class org.litebridge.orm.api.select.model.OrderBySpec
-
Creates a new OrderBySpec.
- org.litebridge.commons - package org.litebridge.commons
-
Litebridge Commons: general utilities
- org.litebridge.commons.collector - package org.litebridge.commons.collector
-
Specialised stream collectors
- org.litebridge.commons.type - package org.litebridge.commons.type
-
Supporting datatypes and wrappers
- org.litebridge.convert - package org.litebridge.convert
-
Core type conversion system for Litebridge.
- org.litebridge.convert.converter - package org.litebridge.convert.converter
-
Converter interfaces and bundled implementations.
- org.litebridge.db.h2 - package org.litebridge.db.h2
-
H2 Database Provider
- org.litebridge.db.oracle - package org.litebridge.db.oracle
-
Oracle Database Provider
- org.litebridge.db.oracle.convert - package org.litebridge.db.oracle.convert
-
Oracle-specific SQL type converters.
- org.litebridge.db.postgres - package org.litebridge.db.postgres
-
PostgreSQL Database Provider
- org.litebridge.db.spi - package org.litebridge.db.spi
-
Service Provider Interface (SPI) for integrating database drivers with Litebridge
- org.litebridge.db.spi.alias - package org.litebridge.db.spi.alias
-
Alias manipulation utilities.
- org.litebridge.db.spi.convert - package org.litebridge.db.spi.convert
-
TypeConverterinterface - org.litebridge.db.spi.expression - package org.litebridge.db.spi.expression
-
Database query expressions.
- org.litebridge.db.spi.generator - package org.litebridge.db.spi.generator
-
Interfaces for generating column values for INSERT statements.
- org.litebridge.db.spi.impl - package org.litebridge.db.spi.impl
-
Abstract implementation classes for the Litebridge Database SPI.
- org.litebridge.db.spi.impl.alias - package org.litebridge.db.spi.impl.alias
-
Alias transformer implementations.
- org.litebridge.db.spi.impl.function - package org.litebridge.db.spi.impl.function
-
SQL function implementations.
- org.litebridge.db.spi.impl.function.aggregate - package org.litebridge.db.spi.impl.function.aggregate
-
SQL aggregate functions.
- org.litebridge.db.spi.impl.function.scalar - package org.litebridge.db.spi.impl.function.scalar
-
SQL scalar functions.
- org.litebridge.db.spi.impl.sql - package org.litebridge.db.spi.impl.sql
- org.litebridge.db.spi.math - package org.litebridge.db.spi.math
-
Mathematical operations for use in database operations.
- org.litebridge.db.spi.query - package org.litebridge.db.spi.query
-
Query-related models
- org.litebridge.db.spi.sql - package org.litebridge.db.spi.sql
-
SQL support models.
- org.litebridge.db.spi.tx - package org.litebridge.db.spi.tx
-
Transaction and connection management.
- org.litebridge.db.spi.update - package org.litebridge.db.spi.update
-
Update-related models
- org.litebridge.db.spi.util - package org.litebridge.db.spi.util
-
Utility classes.
- org.litebridge.db.sqlite - package org.litebridge.db.sqlite
-
SQLite Database Provider for Litebridge.
- org.litebridge.orm - package org.litebridge.orm
-
Litebridge ORM
- org.litebridge.orm.annotation - package org.litebridge.orm.annotation
-
Litebridge ORM entity annotations
- org.litebridge.orm.api.condition - package org.litebridge.orm.api.condition
-
Condition construction clause abstract implementations.
- org.litebridge.orm.api.delete - package org.litebridge.orm.api.delete
-
Fluent API for constructing DELETE statements
- org.litebridge.orm.api.delete.model - package org.litebridge.orm.api.delete.model
-
Delete API models
- org.litebridge.orm.api.dto - package org.litebridge.orm.api.dto
-
Fluent API for constructing DTO-mapped SQL queries (SELECT statements)
- org.litebridge.orm.api.dto.condition - package org.litebridge.orm.api.dto.condition
-
DTO condition construction clauses.
- org.litebridge.orm.api.dto.delete - package org.litebridge.orm.api.dto.delete
-
Fluent API for constructing DTO-based deletes (DELETE statements)
- org.litebridge.orm.api.dto.update - package org.litebridge.orm.api.dto.update
-
Fluent API for constructing DTO-based updates (UPDATE statements)
- org.litebridge.orm.api.insert.model - package org.litebridge.orm.api.insert.model
- org.litebridge.orm.api.register - package org.litebridge.orm.api.register
-
Fluent API for registering DTO-table mappings
- org.litebridge.orm.api.select - package org.litebridge.orm.api.select
-
Fluent API for constructing SQL queries (SELECT statements)
- org.litebridge.orm.api.select.ast - package org.litebridge.orm.api.select.ast
-
Lightweight AST nodes representing steps in a fluent query chain.
- org.litebridge.orm.api.select.model - package org.litebridge.orm.api.select.model
-
Query/clause specification models used in the query API
- org.litebridge.orm.api.spec - package org.litebridge.orm.api.spec
-
Models for specifying DTO field mappings
- org.litebridge.orm.api.sql - package org.litebridge.orm.api.sql
-
Fluent API for constructing SQL queries (SELECT statements) without result object mapping
- org.litebridge.orm.api.sql.delete - package org.litebridge.orm.api.sql.delete
-
Fluent API for constructing direct SQL deletes (DELETE statements)
- org.litebridge.orm.api.sql.update - package org.litebridge.orm.api.sql.update
-
Fluent API for constructing direct SQL updates (UPDATE statements)
- org.litebridge.orm.api.tx - package org.litebridge.orm.api.tx
-
Transactional API
- org.litebridge.orm.api.update - package org.litebridge.orm.api.update
-
Fluent API for constructing UPDATE statements
- org.litebridge.orm.api.update.model - package org.litebridge.orm.api.update.model
-
Update API models
- org.litebridge.orm.config - package org.litebridge.orm.config
-
Litebridge ORM runtime configuration.
- org.litebridge.orm.engine - package org.litebridge.orm.engine
-
Core common ORM API function services.
- org.litebridge.orm.exception - package org.litebridge.orm.exception
-
Custom exception definitions
- org.litebridge.orm.expression - package org.litebridge.orm.expression
-
Select query expressions.
- org.litebridge.orm.expression.function.aggregate - package org.litebridge.orm.expression.function.aggregate
-
Aggregate SQL function expressions
- org.litebridge.orm.expression.function.date - package org.litebridge.orm.expression.function.date
-
Date/time-based SQL function expressions
- org.litebridge.orm.expression.function.scalar - package org.litebridge.orm.expression.function.scalar
-
Scalar SQL function expressions
- org.litebridge.orm.expression.intent - package org.litebridge.orm.expression.intent
-
Java-based query expression modifier "expressions"/intents.
- org.litebridge.orm.expression.select - package org.litebridge.orm.expression.select
-
Expressions to select specific expressions from a database
- org.litebridge.orm.meta - package org.litebridge.orm.meta
-
Metamodel support.
- org.litebridge.orm.nativesql - package org.litebridge.orm.nativesql
-
Native SQL processing.
- org.litebridge.orm.persistence - package org.litebridge.orm.persistence
-
Persistence subsystem; contains classes for saving/updating/deleting DTOs
- org.litebridge.orm.persistence.alias - package org.litebridge.orm.persistence.alias
-
Provides classes for generating aliases for tables and columns in a database schema.
- org.litebridge.orm.tx - package org.litebridge.orm.tx
-
Transaction management utilities for Litebridge
- org.litebridge.tracking - package org.litebridge.tracking
-
Litebridge Change Tracker
- ormTable - Variable in class org.litebridge.orm.persistence.AbstractStatementBuilder
-
The ORM table associated with the statement.
- ormTable() - Method in record class org.litebridge.orm.persistence.MappingPlan
-
Returns the value of the
ormTablerecord component. - ormTable() - Method in record class org.litebridge.orm.persistence.TableMapper.MappedTable
-
Returns the value of the
ormTablerecord component. - OrmTable - Class in org.litebridge.orm.persistence
-
A table known by/registered with the ORM, facilitating the relationship between Java objects (DTOs) and database table schema.
- OrmTable(Class<?>, TableMetaData, Map<FieldAccessor, MappedFieldTarget>, ChangeTracker, ClassFieldAccessorCache) - Constructor for class org.litebridge.orm.persistence.OrmTable
-
Constructs a new
OrmTableinstance, initializing table metadata, field-to-column mappings, and a change tracker for managing object state. - orNull() - Method in class org.litebridge.commons.type.ConcurrentLazy
-
Returns the lazily initialized value.
- orThrow() - Method in class org.litebridge.commons.type.ConcurrentLazy
-
Returns the value, or throws a
NoSuchElementExceptionif the value is null. - orThrow(Supplier<X>) - Method in class org.litebridge.commons.type.ConcurrentLazy
-
Returns the value, or throws an exception provided by the supplier if the value is null.
P
- p(String) - Static method in interface org.litebridge.orm.api.spec.FieldMapping
-
Shortcut for
FieldMapping.property(String). - ParsedSql - Record Class in org.litebridge.orm.nativesql
-
Represents a parsed SQL statement with positional parameters and their corresponding names.
- ParsedSql(String, List<String>) - Constructor for record class org.litebridge.orm.nativesql.ParsedSql
-
Creates an instance of a
ParsedSqlrecord class. - parseSql(String) - Static method in class org.litebridge.orm.nativesql.SqlParser
- PARTIAL_OBJECT_IF_NO_JOIN - Enum constant in enum class org.litebridge.orm.config.RelatedDtoStrategy
-
Fields containing related DTOs will be partially constructed, containing only the primary key fields, if not added to the JOIN clauses of a query.
- peek() - Method in class org.litebridge.commons.type.ConcurrentLazy
-
Returns the current value without triggering initialization.
- PersistenceFacade - Class in org.litebridge.orm.persistence
-
The PersistenceFacade class provides an abstraction layer for managing the persistence of Data Transfer Objects (DTOs) within a database system.
- PersistenceFacade(TableRegistry, TransactionalDatabaseProvider, ChangeTracker, DtoConstructor, LitebridgeContext) - Constructor for class org.litebridge.orm.persistence.PersistenceFacade
-
Constructs a new
PersistenceFacadeinstance. - PipedStatement - Record Class in org.litebridge.orm.persistence
-
A statement in the context of dependent database operations that is built using an
AbstractStatementBuilderand optionally pipes result values using aConsumer. - PipedStatement(StatementBuilder, Object) - Constructor for record class org.litebridge.orm.persistence.PipedStatement
-
Constructs a new
PipedStatementusing the givenAbstractStatementBuilder. - PipedStatement(StatementBuilder, Object, Consumer<UpdateResult>) - Constructor for record class org.litebridge.orm.persistence.PipedStatement
-
Creates an instance of a
PipedStatementrecord class. - popConditionGroupSpec() - Method in interface org.litebridge.orm.api.select.model.JoinSpec
-
Pops the current condition group specification.
- popHavingConditionGroup() - Method in class org.litebridge.orm.api.select.model.SelectSpec
- popWhereConditionGroup() - Method in class org.litebridge.orm.api.select.model.SelectSpec
- PostgresAliasTransformer - Class in org.litebridge.db.postgres
-
PostgreSQL-specific implementation of
AliasTransformer. - PostgresAliasTransformer() - Constructor for class org.litebridge.db.postgres.PostgresAliasTransformer
- PostgresDatabaseProvider - Class in org.litebridge.db.postgres
-
PostgresqlDatabaseProvider is a concrete implementation of AbstractDatabaseProvider specifically designed to interact with PostgreSQL database instances.
- PostgresDatabaseProvider() - Constructor for class org.litebridge.db.postgres.PostgresDatabaseProvider
-
Constructs a new
PostgresDatabaseProviderusing a default type converter. - PostgresSequenceColumnValueGenerator - Class in org.litebridge.db.postgres
-
Implementation of
SequenceColumnValueGeneratorfor PostgreSQL databases. - PostgresSequenceColumnValueGenerator(String) - Constructor for class org.litebridge.db.postgres.PostgresSequenceColumnValueGenerator
-
Constructs a new
PostgresSequenceColumnValueGeneratorwith the specified sequence name. - prepareCall(String) - Method in class org.litebridge.db.spi.tx.ManagedConnection
- prepareCall(String, int, int) - Method in class org.litebridge.db.spi.tx.ManagedConnection
- prepareCall(String, int, int, int) - Method in class org.litebridge.db.spi.tx.ManagedConnection
- PreparedOperation - Record Class in org.litebridge.db.spi
-
A database operation with bind values.
- PreparedOperation(Operation, List<BindValue>) - Constructor for record class org.litebridge.db.spi.PreparedOperation
-
Creates an instance of a
PreparedOperationrecord class. - PreparedRow - Record Class in org.litebridge.db.spi.impl.sql
-
A prepared row with associated value specifiers and bound values.
- PreparedRow(List<String>, List<BindValue>) - Constructor for record class org.litebridge.db.spi.impl.sql.PreparedRow
-
Creates an instance of a
PreparedRowrecord class. - preparedSql(List<Object>) - Method in record class org.litebridge.orm.engine.QueryPlanCache.CachedOperation
- PreparedSql - Record Class in org.litebridge.db.spi.sql
-
A prepared SQL statement along with its associated bind values.
- PreparedSql(String) - Constructor for record class org.litebridge.db.spi.sql.PreparedSql
-
Constructs a new instance of
PreparedSqlwith the provided SQL query string and an empty list of bind values. - PreparedSql(String, List<BindValue>) - Constructor for record class org.litebridge.db.spi.sql.PreparedSql
-
Constructs a new instance of
PreparedSqlwith the provided SQL query string and list of bind values. - PreparedSql(String, List<BindValue>, TypeConversionMetaData, UpdateMetaData) - Constructor for record class org.litebridge.db.spi.sql.PreparedSql
-
Creates an instance of a
PreparedSqlrecord class. - prepareNativeStatement(String, List<Object>, boolean, ConnectionProvider) - Method in class org.litebridge.db.spi.impl.AbstractDatabaseProvider
-
Prepares a native SQL statement with the provided bind parameters.
- prepareRow(RowValue, ConnectionProvider) - Method in class org.litebridge.db.spi.impl.sql.InsertSqlGenerator
-
Prepare a row for insertion based on the provided row value.
- prepareSql(Select, ConnectionProvider) - Method in class org.litebridge.db.spi.impl.sql.SelectSqlGenerator
-
Prepares a SQL SELECT statement along with its bind values for execution.
- prepareSql(Delete, ConnectionProvider) - Method in class org.litebridge.db.spi.impl.sql.DeleteSqlGenerator
-
Prepares the SQL statement for a DELETE operation.
- prepareSql(Insert, ConnectionProvider) - Method in class org.litebridge.db.spi.impl.sql.InsertSqlGenerator
-
Prepare a SQL INSERT statement along with its bind values for execution.
- prepareSql(Update, ConnectionProvider) - Method in class org.litebridge.db.spi.impl.sql.UpdateSqlGenerator
-
Prepare a SQL UPDATE statement along with its bind values for execution.
- prepareStatement(String) - Method in class org.litebridge.db.spi.tx.ManagedConnection
- prepareStatement(String, int) - Method in class org.litebridge.db.spi.tx.ManagedConnection
- prepareStatement(String, int[]) - Method in class org.litebridge.db.spi.tx.ManagedConnection
- prepareStatement(String, int, int) - Method in class org.litebridge.db.spi.tx.ManagedConnection
- prepareStatement(String, int, int, int) - Method in class org.litebridge.db.spi.tx.ManagedConnection
- prepareStatement(String, String[]) - Method in class org.litebridge.db.spi.tx.ManagedConnection
- prepareStatement(PreparedSql, ConnectionProvider) - Method in class org.litebridge.db.spi.impl.AbstractDatabaseProvider
-
Prepare a
PreparedStatementobject based on the provided SQL and bind values. - previous() - Method in record class org.litebridge.orm.api.select.ast.ConditionGroupNode
-
Returns the value of the
previousrecord component. - previous() - Method in record class org.litebridge.orm.api.select.ast.ConditionNode
-
Returns the value of the
previousrecord component. - previous() - Method in record class org.litebridge.orm.api.select.ast.DeleteNode
-
Returns the value of the
previousrecord component. - previous() - Method in record class org.litebridge.orm.api.select.ast.GroupByNode
-
Returns the value of the
previousrecord component. - previous() - Method in class org.litebridge.orm.api.select.ast.HavingNode
- previous() - Method in record class org.litebridge.orm.api.select.ast.InsertNode
-
Returns the value of the
previousrecord component. - previous() - Method in class org.litebridge.orm.api.select.ast.JoinNode
- previous() - Method in record class org.litebridge.orm.api.select.ast.LimitNode
-
Returns the value of the
previousrecord component. - previous() - Method in record class org.litebridge.orm.api.select.ast.OrderByNode
-
Returns the value of the
previousrecord component. - previous() - Method in interface org.litebridge.orm.api.select.ast.QueryNode
-
Returns the previous node in the chain, or
nullif this is the root node. - previous() - Method in record class org.litebridge.orm.api.select.ast.SelectNode
-
Returns the value of the
previousrecord component. - previous() - Method in record class org.litebridge.orm.api.select.ast.SetNode
-
Returns the value of the
previousrecord component. - previous() - Method in record class org.litebridge.orm.api.select.ast.UpdateNode
-
Returns the value of the
previousrecord component. - previous() - Method in class org.litebridge.orm.api.select.ast.WhereNode
- prevListSnapshot() - Method in class org.litebridge.tracking.ChangedCollectionField
-
Returns the snapshot of the list before the last change.
- primary() - Method in class org.litebridge.orm.persistence.CompositeUpdateResult
-
Returns the primary
DtoUpdateResultfrom the composite update result. - primaryKey() - Method in class org.litebridge.db.spi.TableMetaData
-
Retrieve the primary key expressions' metadata for the table.
- primaryKey() - Method in class org.litebridge.orm.persistence.DtoBlueprint.DtoData
-
Retrieves the primary key values associated with this DTO data instance.
- primaryKeyIndices() - Method in record class org.litebridge.orm.persistence.MappingPlan
-
Returns the value of the
primaryKeyIndicesrecord component. - primaryKeyTypes() - Method in record class org.litebridge.orm.persistence.MappingPlan
-
Returns the value of the
primaryKeyTypesrecord component. - primitiveType() - Method in class org.litebridge.convert.converter.BooleanConverter
-
Returns the primitive counterpart of the target class.
- primitiveType() - Method in class org.litebridge.convert.converter.ByteConverter
-
Returns the primitive counterpart of the target class.
- primitiveType() - Method in class org.litebridge.convert.converter.CharacterConverter
-
Returns the primitive counterpart of the target class.
- primitiveType() - Method in interface org.litebridge.convert.converter.Converter
-
Returns the primitive counterpart of the target class, if applicable.
- primitiveType() - Method in class org.litebridge.convert.converter.DoubleConverter
-
Returns the primitive counterpart of the target class.
- primitiveType() - Method in class org.litebridge.convert.converter.FloatConverter
-
Returns the primitive counterpart of the target class.
- primitiveType() - Method in class org.litebridge.convert.converter.IntegerConverter
-
Returns the primitive counterpart of the target class.
- primitiveType() - Method in class org.litebridge.convert.converter.LongConverter
-
Returns the primitive counterpart of the target class.
- primitiveType() - Method in class org.litebridge.convert.converter.ShortConverter
-
Returns the primitive counterpart of the target class.
- property() - Method in record class org.litebridge.orm.api.spec.FieldSpec
-
Returns the value of the
propertyrecord component. - property(String) - Static method in interface org.litebridge.orm.api.spec.FieldMapping
-
Creates a new
FieldSpecBuilderconfigured for property access of the specified property name. - propertyAccessor(Class<?>, String) - Method in class org.litebridge.tracking.ClassFieldAccessorCache
-
Retrieves a property accessor for the specified property name.
- PropertyAccessor - Class in org.litebridge.tracking
-
Property-based
FieldAccessorimplementation. - PropertyAccessor(Field, MethodHandles.Lookup, ClassFieldAccessorCache) - Constructor for class org.litebridge.tracking.PropertyAccessor
-
Constructs a new
PropertyAccessorfor the specified field. - ProtoColumnExpressionSpec - Record Class in org.litebridge.orm.expression
-
Proto-expression, used to specify column names/aliases for use in the target expression type.
- ProtoColumnExpressionSpec(Class<? extends ExpressionSpec>, String) - Constructor for record class org.litebridge.orm.expression.ProtoColumnExpressionSpec
-
Creates a new ProtoColumnExpressionSpec with no alias.
- ProtoColumnExpressionSpec(Class<? extends ExpressionSpec>, String, String) - Constructor for record class org.litebridge.orm.expression.ProtoColumnExpressionSpec
-
Creates a new ProtoColumnExpressionSpec.
- ProtoColumnExpressionSpec(Class<? extends ExpressionSpec>, String, String, Object[]) - Constructor for record class org.litebridge.orm.expression.ProtoColumnExpressionSpec
-
Creates an instance of a
ProtoColumnExpressionSpecrecord class. - ProtoExpressionResolver - Class in org.litebridge.orm.api.select.model
-
Resolver for proto-expressions that have not yet been bound to a specific table or context.
- ProtoExpressionResolver() - Constructor for class org.litebridge.orm.api.select.model.ProtoExpressionResolver
- ProtoExpressionSpec - Interface in org.litebridge.orm.expression
-
Proto-expression, used to prescribe a
ExpressionSpectype when sufficient information is available. - ProtoNestableBasicExprSpec - Record Class in org.litebridge.orm.expression
-
Proto-expression that allows nesting other proto-expressions.
- ProtoNestableBasicExprSpec(Class<? extends ExpressionSpec>, String, String) - Constructor for record class org.litebridge.orm.expression.ProtoNestableBasicExprSpec
-
Constructs a new ProtoNestableBasicExprSpec instance via column name.
- ProtoNestableBasicExprSpec(Class<? extends ExpressionSpec>, ProtoExpressionSpec, String) - Constructor for record class org.litebridge.orm.expression.ProtoNestableBasicExprSpec
-
Creates a new ProtoNestableBasicExprSpec.
- ProtoNestableExpressionSpec - Interface in org.litebridge.orm.expression
-
A proto-expression capable of nesting other proto-expressions.
- ProtoNestableTOExpr<T> - Record Class in org.litebridge.orm.expression
-
Type override proto-expression that allows nesting other proto-expressions.
- ProtoNestableTOExpr(Class<T>, Class<? extends ExpressionSpec>, String, String) - Constructor for record class org.litebridge.orm.expression.ProtoNestableTOExpr
-
Constructs a new ProtoTOColumnExpression instance via column name.
- ProtoNestableTOExpr(Class<T>, Class<? extends ExpressionSpec>, String, String, Object[]) - Constructor for record class org.litebridge.orm.expression.ProtoNestableTOExpr
-
Constructs a new ProtoTOColumnExpression instance.
- ProtoNestableTOExpr(Class<T>, Class<? extends ExpressionSpec>, ExpressionSpec, String) - Constructor for record class org.litebridge.orm.expression.ProtoNestableTOExpr
-
Constructs a new ProtoTOColumnExpression instance with empty extra arguments.
- ProtoNestableTOExpr(Class<T>, Class<? extends ExpressionSpec>, ExpressionSpec, String, Object[]) - Constructor for record class org.litebridge.orm.expression.ProtoNestableTOExpr
-
Creates an instance of a
ProtoNestableTOExprrecord class. - pushConditionGroupSpec(LogicOperator) - Method in interface org.litebridge.orm.api.select.model.JoinSpec
-
Pushes a new condition group specification.
- pushHavingConditionGroup(LogicOperator) - Method in class org.litebridge.orm.api.select.model.SelectSpec
- pushWhereConditionGroup(LogicOperator) - Method in class org.litebridge.orm.api.select.model.SelectSpec
- put(int, QueryPlanCache.CachedOperation) - Method in class org.litebridge.orm.engine.QueryPlanCache
-
Stores an execution plan in the cache.
- put(List<Object>, Object) - Method in interface org.litebridge.orm.persistence.DtoCache
-
Stores a Data Transfer Object (DTO) in the cache associated with the provided identifier.
- put(List<Object>, Object) - Method in class org.litebridge.orm.persistence.DtoCacheImpl
- put(List<Object>, Object) - Method in class org.litebridge.orm.persistence.NoOpDtoCache
- put(K, V) - Method in class org.litebridge.commons.type.WeakIdentityMap
- put(QueryNode, QueryPlanCache.CachedOperation) - Method in class org.litebridge.orm.engine.QueryPlanCache
-
Stores an execution plan in the cache.
- putAll(Map<? extends K, ? extends V>) - Method in class org.litebridge.commons.type.WeakIdentityMap
Q
- qualifiedName() - Method in class org.litebridge.db.spi.Table
-
Returns the qualified name of the table (schema.name).
- qualifiedName() - Method in class org.litebridge.db.spi.TableMetaData
-
Constructs the fully qualified name of the table by combining the catalog, schema, and table name.
- query(String, Object...) - Method in class org.litebridge.orm.nativesql.NativeSqlContext
-
Executes a SQL query with the given SQL string and a variable-length list of positional bind parameters.
- query(String, List<Object>) - Method in class org.litebridge.orm.nativesql.NativeSqlContext
-
Executes a SQL query with the given SQL string and a list of positional bind parameters.
- query(String, Map<String, Object>) - Method in class org.litebridge.orm.nativesql.NativeSqlContext
-
Executes a SQL query with the given SQL string and a map of named bind parameters.
- QueryBindValueExtractor - Class in org.litebridge.orm.engine
- QueryCompiler - Class in org.litebridge.orm.engine
-
Compiles a
QueryNodechain into aSelectSpec. - QueryCompiler(TableRegistry, AliasGenerator) - Constructor for class org.litebridge.orm.engine.QueryCompiler
- QueryConditionBuilder<DTO> - Interface in org.litebridge.orm.api.condition
-
Functional interface for building query conditions.
- QueryField - Class in org.litebridge.orm.meta
-
Basic metamodel field definition.
- QueryField(Class<?>, String) - Constructor for class org.litebridge.orm.meta.QueryField
-
Creates a new
QueryFieldinstance. - QueryFieldInspector - Class in org.litebridge.orm.meta
-
Inspector for
QueryFieldinstances, providing access to their internal state. - QueryNode - Interface in org.litebridge.orm.api.select.ast
-
A node in a lightweight AST representing a step in a fluent query chain.
- queryPlanCache() - Method in class org.litebridge.orm.engine.LitebridgeContext
- QueryPlanCache - Class in org.litebridge.orm.engine
-
Caches SQL execution plans based on the structural fingerprint of a
Selectoperation. - QueryPlanCache() - Constructor for class org.litebridge.orm.engine.QueryPlanCache
- QueryPlanCache.CachedOperation - Record Class in org.litebridge.orm.engine
- quoteIdentifier(String) - Method in class org.litebridge.db.spi.impl.ColumnIdentifierGenerator
-
Quotes a SQL identifier if it is a reserved word.
R
- READ_COMMITTED - Enum constant in enum class org.litebridge.db.spi.tx.Isolation
-
Read committed isolation level.
- READ_UNCOMMITTED - Enum constant in enum class org.litebridge.db.spi.tx.Isolation
-
Read uncommitted isolation level.
- readOnly - Variable in class org.litebridge.orm.api.tx.TransactionContextTerminal
- readOnly() - Method in class org.litebridge.orm.api.tx.IsolationClause
-
Indicates that the transaction should be read-only.
- readOnly() - Method in class org.litebridge.orm.api.tx.TransactionContext
-
Indicates that the transaction should be read-only.
- ReadOnlyClause - Class in org.litebridge.orm.api.tx
-
A class representing a read-only clause in a transaction context.
- ReadOnlyClause(TransactionContextTerminal) - Constructor for class org.litebridge.orm.api.tx.ReadOnlyClause
-
Creates a new ReadOnlyClause.
- reference() - Method in record class org.litebridge.db.spi.expression.SqlFunctionRegistry.Select
-
Returns the value of the
referencerecord component. - register(Class<?>...) - Method in class org.litebridge.orm.engine.RegistrationEngine
-
Registers annotated entity class(es).
- register(Class<?>...) - Method in class org.litebridge.orm.Litebridge
-
Registers annotated entity class(es).
- register(Class<?>, Function<RegistrationContext, RegistrationContextTerminal>) - Method in class org.litebridge.orm.engine.RegistrationEngine
-
Registers a DTO class along with its associated table specification using the provided registration context function.
- register(Class<?>, Function<RegistrationContext, RegistrationContextTerminal>) - Method in class org.litebridge.orm.Litebridge
-
Registers a DTO class along with its associated table specification using the provided registration context function.
- register(Class<T>, int[], ConverterFunction<T>) - Method in class org.litebridge.convert.ConfigurableTypeConverter
-
Registers a converter for a specific Java type and its associated SQL types using a functional interface.
- register(Class<T>, ConverterFunction<T>) - Method in class org.litebridge.convert.ConfigurableTypeConverter
-
Registers a converter for a specific Java type using a functional interface.
- register(Converter<?>) - Method in class org.litebridge.convert.ConfigurableTypeConverter
-
Registers a new converter.
- register(DtoTableSpec...) - Method in class org.litebridge.orm.engine.RegistrationEngine
-
Register a Data Transfer Object (DTO) class(es) with its corresponding table specification(s).
- register(DtoTableSpec...) - Method in class org.litebridge.orm.Litebridge
-
Register a Data Transfer Object (DTO) class(es) with its corresponding table specification(s).
- registerElevatedLookup(Class<?>, MethodHandles.Lookup) - Method in class org.litebridge.tracking.ClassFieldAccessorCache
-
Registers an elevated
MethodHandles.Lookupfor a specific DTO class, allowing access to private fields. - RegistrationContext - Class in org.litebridge.orm.api.register
-
Registration context for associating a Data Transfer Object (DTO) class with database-related functionality and specifications.
- RegistrationContext(Class<?>, DatabaseProvider) - Constructor for class org.litebridge.orm.api.register.RegistrationContext
-
Creates a new RegistrationContext.
- RegistrationContextTerminal - Class in org.litebridge.orm.api.register
-
Terminal context for registering the mapping between a data transfer object (DTO) class and its corresponding database table within the ORM framework.
- RegistrationEngine - Class in org.litebridge.orm.engine
-
The RegistrationEngine class handles the registration of data transfer objects (DTOs) and their corresponding table specifications to enable mapping between application entities and database tables.
- RegistrationEngine(TransactionalDatabaseProvider, TableRegistry, TableMapper, ChangeTracker, MethodHandles.Lookup) - Constructor for class org.litebridge.orm.engine.RegistrationEngine
-
Creates a new RegistrationEngine.
- relatedDtoStrategy() - Method in record class org.litebridge.orm.config.LitebridgeConfig
-
Returns the value of the
relatedDtoStrategyrecord component. - RelatedDtoStrategy - Enum Class in org.litebridge.orm.config
-
Defines how related DTOs should be handled when not included as a JOIN in a query.
- relatedPkAccessor() - Method in record class org.litebridge.orm.persistence.MappingPlan.FieldMapping
-
Returns the value of the
relatedPkAccessorrecord component. - relationshipField() - Method in record class org.litebridge.orm.api.select.ast.ConditionNode
-
Returns the value of the
relationshipFieldrecord component. - releaseSavepoint(Savepoint) - Method in class org.litebridge.db.spi.tx.ManagedConnection
- remove(Object) - Method in class org.litebridge.commons.type.WeakIdentityMap
- remove(Object) - Method in class org.litebridge.commons.type.WeakIdentitySet
- REPEATABLE_READ - Enum constant in enum class org.litebridge.db.spi.tx.Isolation
-
Repeatable read isolation level.
- replaceTarget(ExpressionSpec) - Method in class org.litebridge.orm.expression.intent.ConvertSpec
-
Creates a new
ConvertSpecwith a replaced target expression. - requireAccessible(Class<T>) - Static method in class org.litebridge.commons.ModuleUtils
-
Ensures that the specified class is accessible to the current module.
- requireAccessible(Class<T>, Module) - Static method in class org.litebridge.commons.ModuleUtils
-
Ensures that the specified class is accessible to the target module.
- requireNonBlank(String, String) - Static method in class org.litebridge.commons.StringUtils
-
Ensures that the provided string is not null, empty, or composed solely of whitespace characters.
- requireNonEmpty(T, String) - Static method in class org.litebridge.commons.CollectionUtils
-
Ensures that the provided collection is not null or empty.
- requireNonEmpty(T, Supplier<? extends X>) - Static method in class org.litebridge.commons.CollectionUtils
-
Ensures that the provided collection is not null or empty.
- requireNonNull(T, Supplier<? extends X>) - Static method in class org.litebridge.commons.ObjectUtils
-
Ensures that the provided object is not null.
- requireNull(Object, Supplier<? extends X>) - Static method in class org.litebridge.commons.ObjectUtils
-
Ensures that the provided object is
null. - requiresCleanup() - Method in interface org.litebridge.db.spi.tx.TransactionManager
-
Indicates whether cleanup operations are yet to be performed for the transaction manager (i.e. whether the manager itself "active" and holding onto resources).
- requiresCleanup() - Method in class org.litebridge.orm.tx.DefaultTransactionManager
- reset() - Method in class org.litebridge.commons.type.ConcurrentLazy
-
Resets the cached value, allowing it to be recomputed on the next call to
ConcurrentLazy.optional()orConcurrentLazy.orNull(). - Resolvable - Interface in org.litebridge.orm.expression
-
Represents an entity that can be resolved into an
ExpressionSpec. - resolveConvertSpec(ConvertSpec<?>, ClauseType) - Method in class org.litebridge.orm.api.select.model.ProtoExpressionResolver
-
Resolves a convert specification.
- resolveExpression(ExpressionSpec, ClauseType) - Method in class org.litebridge.orm.api.select.model.ProtoExpressionResolver
-
Resolves a proto-expression into an
ExpressionSpec. - resolveExpression(Resolvable, ClauseType) - Method in class org.litebridge.orm.api.select.model.ProtoExpressionResolver
-
Resolves a
Resolvableinto anExpressionSpec. - resolveExpressions(List<ExpressionSpec>, ClauseType) - Method in class org.litebridge.orm.api.select.model.ProtoExpressionResolver
-
Resolves a list of expression specifications.
- resolveSelectField(Resolvable, ClauseType) - Method in class org.litebridge.orm.api.dto.DtoProtoExpressionResolver
- resolveSelectField(Resolvable, ClauseType) - Method in class org.litebridge.orm.api.select.model.ProtoExpressionResolver
-
Resolves a resolvable into a column expression specification.
- resolveSelectField(Resolvable, ClauseType) - Method in class org.litebridge.orm.api.sql.SqlProtoExpressionResolver
- resolveSelectField(QueryField, ClauseType) - Method in class org.litebridge.orm.api.dto.DtoProtoExpressionResolver
- resolveSelectField(QueryField, ClauseType) - Method in class org.litebridge.orm.api.select.model.ProtoExpressionResolver
-
Resolves a query field into a column expression specification.
- resolveSelectField(QueryField, ClauseType) - Method in class org.litebridge.orm.api.sql.SqlProtoExpressionResolver
- Responsibilities: - Search tag in class org.litebridge.orm.api.register.FieldColumnSpecBuilderFieldStep
- Section
- Responsibilities: - Search tag in class org.litebridge.orm.persistence.TransactionalDatabaseProvider
- Section
- Result - Interface in org.litebridge.db.spi.query
-
Marker interface for the result of a query or database operation.
- results() - Method in class org.litebridge.orm.persistence.CompositeUpdateResult
-
Returns the list of
DtoUpdateResultobjects contained in this composite update result. - resultType() - Method in record class org.litebridge.orm.api.select.ast.SelectNode
-
Returns the value of the
resultTyperecord component. - returnGeneratedKeys() - Method in record class org.litebridge.db.spi.query.UpdateMetaData
-
Returns the value of the
returnGeneratedKeysrecord component. - returnGeneratedKeys() - Method in record class org.litebridge.db.spi.update.Insert
-
Returns the value of the
returnGeneratedKeysrecord component. - returnType() - Method in record class org.litebridge.orm.expression.function.aggregate.AvgSpec
-
Returns the value of the
returnTyperecord component. - returnType() - Method in record class org.litebridge.orm.expression.function.aggregate.CountSpec
- returnType() - Method in record class org.litebridge.orm.expression.function.aggregate.MaxSpec
-
Returns the value of the
returnTyperecord component. - returnType() - Method in record class org.litebridge.orm.expression.function.aggregate.MinSpec
-
Returns the value of the
returnTyperecord component. - returnType() - Method in class org.litebridge.orm.expression.function.date.CurrentTimestampSpec
- returnType() - Method in record class org.litebridge.orm.expression.intent.ConvertIntent
-
Returns the value of the
returnTyperecord component. - returnType() - Method in class org.litebridge.orm.expression.intent.ConvertSpec
- returnType() - Method in interface org.litebridge.orm.expression.NumberTODelegateExpressionSpec
-
Gets the return type override of the query result.
- returnType() - Method in record class org.litebridge.orm.expression.ProtoNestableTOExpr
- returnType() - Method in interface org.litebridge.orm.expression.StringTODelegateExpressionSpec
-
Gets the return type override of the query result.
- returnType() - Method in interface org.litebridge.orm.expression.TypeOverride
-
Gets the return type override of the query result.
- reverseCollectionField() - Method in class org.litebridge.orm.api.dto.DtoJoinSpec
-
Returns the reverse collection field for this join.
- rhs() - Method in record class org.litebridge.db.spi.query.Condition
-
Returns the value of the
rhsrecord component. - rhs() - Method in record class org.litebridge.orm.api.select.ast.ConditionNode
-
Returns the value of the
rhsrecord component. - rollback() - Method in class org.litebridge.db.spi.tx.ManagedConnection
- rollback() - Method in interface org.litebridge.db.spi.tx.TransactionControl
-
Rolls back the current transaction.
- rollback() - Method in class org.litebridge.orm.api.tx.TransactionContext
-
Rolls back the current transaction.
- rollback() - Method in class org.litebridge.orm.tx.DefaultTransactionManager
- rollback() - Method in class org.litebridge.orm.tx.Transaction
- rollback(Savepoint) - Method in class org.litebridge.db.spi.tx.ManagedConnection
- row() - Method in class org.litebridge.orm.persistence.DtoBlueprint.DtoData
-
Retrieves the row associated with this DTO data instance.
- row(ExpressionSpec...) - Static method in class org.litebridge.orm.expression.Fn
-
Converts the results of multiple expressions into a single database
Rowobject. - Row - Class in org.litebridge.db.spi
-
A row of data returned by a query.
- Row() - Constructor for class org.litebridge.db.spi.Row
- Row.RowColumn - Class in org.litebridge.db.spi
-
A combination of a column and its associated value within a row.
- RowColumn(Column) - Constructor for class org.litebridge.db.spi.Row.RowColumn
-
Construct a new
RowColumninstance by associating the specified column with a row. - rows() - Method in record class org.litebridge.db.spi.update.Insert
-
Returns the value of the
rowsrecord component. - rowsAffected() - Method in class org.litebridge.db.spi.update.UpdateResult
-
Retrieves the number of rows affected by the database update operation.
- rowValue() - Method in record class org.litebridge.orm.persistence.DtoRowValue
-
Returns the value of the
rowValuerecord component. - RowValue - Record Class in org.litebridge.db.spi.update
-
A row of values corresponding to a SQL database operation.
- RowValue(List<ColumnValue>) - Constructor for record class org.litebridge.db.spi.update.RowValue
-
Creates an instance of a
RowValuerecord class.
S
- save(DTO) - Method in class org.litebridge.orm.persistence.PersistenceFacade
-
Saves the given Data Transfer Object (DTO) to the database.
- save(Object...) - Method in class org.litebridge.orm.Litebridge
-
Save the given Data Transfer Object (DTO) to the database, via a SQL INSERT or UPDATE statement.
- save(Collection<DTO>) - Method in class org.litebridge.orm.persistence.PersistenceFacade
-
Saves a collection of Data Transfer Objects (DTOs) to the database.
- save(Collection<Object>) - Method in class org.litebridge.orm.Litebridge
-
Saves a collection of Data Transfer Objects (DTOs) to the database.
- scalar() - Method in record class org.litebridge.db.spi.expression.SqlFunctionRegistry
-
Returns the value of the
scalarrecord component. - Scalar(DelegateExpressionFactory, DelegateExpressionFactory, DelegateExpressionFactory, DelegateExpressionFactory) - Constructor for record class org.litebridge.db.spi.expression.SqlFunctionRegistry.Scalar
-
Creates an instance of a
Scalarrecord class. - schema() - Method in class org.litebridge.db.spi.Table
-
Returns the schema name of the table.
- schema() - Method in class org.litebridge.db.spi.TableMetaData
-
Returns the schema name of the table.
- select() - Method in record class org.litebridge.db.spi.expression.SqlFunctionRegistry
-
Returns the value of the
selectrecord component. - select() - Method in class org.litebridge.db.spi.expression.SubselectExpression
-
Returns the subselect query.
- select() - Method in class org.litebridge.orm.api.dto.DtoSelector
-
Selects all fields of the DTO.
- select() - Method in interface org.litebridge.orm.api.select.SelectApi
-
Query data from the database, without mapping results to Data Transfer Object (DTOs).
- select() - Method in class org.litebridge.orm.engine.SelectEngine
- select() - Method in class org.litebridge.orm.Litebridge
- select(Class<DTO>) - Method in interface org.litebridge.orm.api.select.SelectApi
-
Select a registered Data Transfer Object (DTO) type for database query operations.
- select(Class<DTO>) - Method in class org.litebridge.orm.engine.SelectEngine
- select(Class<DTO>) - Method in class org.litebridge.orm.Litebridge
- select(Class<DTO>, Class<?>) - Method in interface org.litebridge.orm.api.select.SelectApi
-
Select a contextually-registered Data Transfer Object (DTO) type for database query operations.
- select(Class<DTO>, Class<?>) - Method in class org.litebridge.orm.engine.SelectEngine
- select(Class<DTO>, Class<?>) - Method in class org.litebridge.orm.Litebridge
- select(Class<DTO>, RelatedDtoStrategy) - Method in interface org.litebridge.orm.api.select.SelectApi
-
Select a registered Data Transfer Object (DTO) type for database query operations.
- select(Class<DTO>, RelatedDtoStrategy) - Method in class org.litebridge.orm.engine.SelectEngine
- select(Class<DTO>, RelatedDtoStrategy) - Method in class org.litebridge.orm.Litebridge
- select(String...) - Method in interface org.litebridge.orm.api.select.SelectApi
-
Query data from the database, without mapping results to Data Transfer Objects (DTOs).
- select(String...) - Method in class org.litebridge.orm.engine.SelectEngine
- select(String...) - Method in class org.litebridge.orm.Litebridge
- select(PreparedSql, ConnectionProvider) - Method in interface org.litebridge.db.spi.DatabaseProvider
-
Executes a SELECT operation in the database using a pre-prepared
PreparedSqlobject. - select(PreparedSql, ConnectionProvider) - Method in class org.litebridge.db.spi.impl.AbstractDatabaseProvider
- select(PreparedSql, ConnectionProvider) - Method in class org.litebridge.orm.persistence.TransactionalDatabaseProvider
- select(ExpressionSpec...) - Method in class org.litebridge.orm.api.dto.DtoSelector
-
Selects specific fields.
- select(ExpressionSpec...) - Method in interface org.litebridge.orm.api.select.SelectApi
-
Query data from the database, without mapping results to Data Transfer Objects (DTOs).
- select(ExpressionSpec...) - Method in class org.litebridge.orm.api.sql.SqlSelector
- select(ExpressionSpec...) - Method in class org.litebridge.orm.engine.SelectEngine
- select(ExpressionSpec...) - Method in class org.litebridge.orm.Litebridge
- select(TypeOverride<T>) - Method in interface org.litebridge.orm.api.select.SelectApi
-
Query data from the database, without mapping results to Data Transfer Objects (DTOs).
- select(TypeOverride<T>) - Method in class org.litebridge.orm.engine.SelectEngine
- select(TypeOverride<T>) - Method in class org.litebridge.orm.Litebridge
- Select - Record Class in org.litebridge.db.spi.query
-
SQL SELECT query structure.
- Select(ColumnExpressionFactory, SubselectExpressionFactory, LiteralExpressionFactory, SelectReferenceExpressionFactory) - Constructor for record class org.litebridge.db.spi.expression.SqlFunctionRegistry.Select
-
Creates an instance of a
Selectrecord class. - Select(Table, List<SelectExpression>, List<Join>, Optional<ConditionGroup>, List<SelectExpression>, Optional<ConditionGroup>, List<OrderBy>, Optional<Limit>) - Constructor for record class org.litebridge.db.spi.query.Select
-
Creates an instance of a
Selectrecord class. - SELECT - Enum constant in enum class org.litebridge.db.spi.expression.ClauseType
-
The SELECT clause.
- SelectApi - Interface in org.litebridge.orm.api.select
-
Litebridge ORM select API.
- SelectColumn - Class in org.litebridge.db.spi.impl.function
-
Expression to select a database column.
- SelectColumn(Column, ColumnIdentifierGenerator) - Constructor for class org.litebridge.db.spi.impl.function.SelectColumn
-
Creates a new
SelectColumn. - SelectColumnSpec - Class in org.litebridge.orm.expression.select
-
Expression that selects a database column.
- SelectColumnSpec(Column) - Constructor for class org.litebridge.orm.expression.select.SelectColumnSpec
-
Constructor.
- SelectDtoData(DtoSelectSpec, List<Object>, Row) - Constructor for class org.litebridge.orm.persistence.DtoBlueprint.SelectDtoData
-
Creates a new select DTO data instance.
- SelectEngine - Class in org.litebridge.orm.engine
-
Provides methods for constructing SQL SELECT statements in a fluent, object-oriented manner.
- SelectEngine(FromClauseEngine) - Constructor for class org.litebridge.orm.engine.SelectEngine
-
Creates a new SelectEngine.
- SelectExpression - Interface in org.litebridge.db.spi.expression
-
A select expression in a SQL query.
- selectExpressionMapper - Variable in class org.litebridge.orm.api.select.model.SelectSpec
- selectExpressionMapper() - Method in class org.litebridge.orm.api.select.model.SelectSpec
- selectExpressionMapper() - Method in class org.litebridge.orm.engine.LitebridgeContext
- SelectExpressionMapper - Class in org.litebridge.orm.api.select.model
- SelectExpressionMapper(SqlFunctionRegistry, ProtoExpressionResolver, TableMetaDataCache, TypeConverter) - Constructor for class org.litebridge.orm.api.select.model.SelectExpressionMapper
- SelectFieldSpec - Class in org.litebridge.orm.expression.select
-
Expression spec that selects a DTO field.
- SelectFieldSpec(FieldAccessor, Column) - Constructor for class org.litebridge.orm.expression.select.SelectFieldSpec
-
Creates a new expression spec that selects a DTO field.
- SelectNode - Record Class in org.litebridge.orm.api.select.ast
-
Represents a SELECT clause in the query AST.
- SelectNode(QueryNode, ExpressionSpec[], Class<?>) - Constructor for record class org.litebridge.orm.api.select.ast.SelectNode
-
Creates an instance of a
SelectNoderecord class. - SelectReference - Class in org.litebridge.db.spi.expression
-
Reference to another expression in the select query.
- SelectReference(Column) - Constructor for class org.litebridge.db.spi.expression.SelectReference
-
Constructor.
- SelectReferenceExpressionFactory - Interface in org.litebridge.db.spi.expression
-
Factory to create references to selected columns.
- SelectReferenceImpl - Class in org.litebridge.db.spi.impl.function
-
Implementation of
SelectReference. - SelectReferenceImpl(Column, ColumnIdentifierGenerator) - Constructor for class org.litebridge.db.spi.impl.function.SelectReferenceImpl
-
Creates a new
SelectReferenceImpl. - selectSpec() - Method in record class org.litebridge.orm.engine.QueryPlanCache.CachedOperation
-
Returns the value of the
selectSpecrecord component. - selectSpec() - Method in record class org.litebridge.orm.expression.select.SubselectSpec
-
Returns the value of the
selectSpecrecord component. - SelectSpec - Class in org.litebridge.orm.api.select.model
-
Base specification for constructing a SQL SELECT statement.
- SelectSpec(LitebridgeContext) - Constructor for class org.litebridge.orm.api.select.model.SelectSpec
- SelectSpecDtoMapper - Class in org.litebridge.orm.persistence
-
The SelectSpecDtoMapper class is responsible for mapping data from rows of a database query to DTO (Data Transfer Object) instances.
- SelectSpecDtoMapper(DtoSelectSpec, TypeConverter, TableRegistry, DtoConstructor, LitebridgeContext) - Constructor for class org.litebridge.orm.persistence.SelectSpecDtoMapper
- selectSqlGenerator - Variable in class org.litebridge.db.spi.impl.AbstractDatabaseProvider
-
Lazy-loaded SELECT SQL generator.
- selectSqlGenerator - Variable in class org.litebridge.db.spi.impl.function.SqlFunctionRegistryFactory
-
The select SQL generator.
- SelectSqlGenerator - Class in org.litebridge.db.spi.impl.sql
-
SQL generator for SELECT statements.
- SelectSqlGenerator(TypeConverter, ColumnIdentifierGenerator, BiFunction<Table, ConnectionProvider, TableMetaData>) - Constructor for class org.litebridge.db.spi.impl.sql.SelectSqlGenerator
-
Creates a new
SelectSqlGenerator. - SelectTerminal<DTO> - Interface in org.litebridge.orm.api.select
-
Interface for executing and retrieving results from a select query.
- sequence - Variable in class org.litebridge.db.spi.generator.SequenceColumnValueGenerator
-
The name of the database sequence.
- SequenceColumnValueGenerator - Class in org.litebridge.db.spi.generator
-
Abstract base class for generating SQL fragments to retrieve the next value from a database sequence to be used in SQL statements such as INSERT or UPDATE.
- SequenceColumnValueGenerator(String) - Constructor for class org.litebridge.db.spi.generator.SequenceColumnValueGenerator
-
Constructs a new instance of
SequenceColumnValueGenerator. - SERIALIZABLE - Enum constant in enum class org.litebridge.db.spi.tx.Isolation
-
Serializable isolation level.
- set(Object, Object) - Method in class org.litebridge.tracking.DirectFieldAccessor
- set(Object, Object) - Method in interface org.litebridge.tracking.FieldAccessor
-
Set the value of a field or property for the provided data transfer object (DTO).
- set(Object, Object) - Method in class org.litebridge.tracking.FieldAccessorChain
- set(Object, Object) - Method in class org.litebridge.tracking.PropertyAccessor
- set(String) - Method in class org.litebridge.orm.api.dto.update.DtoUpdater
- set(String) - Method in interface org.litebridge.orm.api.dto.update.DtoUpdateStart
-
Sets a field by name.
- set(String) - Method in class org.litebridge.orm.api.sql.update.SqlUpdater
- set(String) - Method in interface org.litebridge.orm.api.sql.update.SqlUpdateStart
- set(ColumnExpressionSpec) - Method in class org.litebridge.orm.api.dto.update.DtoUpdater
- set(ColumnExpressionSpec) - Method in interface org.litebridge.orm.api.dto.update.DtoUpdateStart
-
Sets a field by expression.
- set(ColumnExpressionSpec) - Method in class org.litebridge.orm.api.sql.update.SqlUpdater
- set(ColumnExpressionSpec) - Method in interface org.litebridge.orm.api.sql.update.SqlUpdateStart
- set(QueryField) - Method in class org.litebridge.orm.api.dto.update.DtoUpdater
- set(QueryField) - Method in interface org.litebridge.orm.api.dto.update.DtoUpdateStart
-
Sets a field by metamodel field.
- setAlias(String) - Method in class org.litebridge.db.spi.Aliased
-
Set the alias for this entity.
- setAsc(boolean) - Method in class org.litebridge.orm.api.select.model.OrderBySpec
-
Sets whether the sort order should be ascending.
- setAutoCommit(boolean) - Method in class org.litebridge.db.spi.tx.ManagedConnection
- setAutoIncrement(boolean) - Method in class org.litebridge.db.spi.ColumnMetaData
-
Deprecated.
- setCatalog(String) - Method in class org.litebridge.db.spi.tx.ManagedConnection
- setClientInfo(String, String) - Method in class org.litebridge.db.spi.tx.ManagedConnection
- setClientInfo(Properties) - Method in class org.litebridge.db.spi.tx.ManagedConnection
- setCollectionField(FieldAccessor) - Method in class org.litebridge.orm.api.dto.DtoJoinSpec
-
Sets the collection field for this join.
- setColumn(Column) - Method in interface org.litebridge.orm.expression.ColumnExpressionSpec
-
Sets the target column for this expression.
- setColumn(Column) - Method in interface org.litebridge.orm.expression.DelegateExpressionSpec
- setColumn(Column) - Method in class org.litebridge.orm.expression.select.SelectColumnSpec
- setDto(Object) - Method in class org.litebridge.orm.persistence.DtoUpdateResult
-
Sets the updated DTO.
- setDtoClassInterfaces(Set<Class<?>>) - Method in class org.litebridge.orm.persistence.OrmTable
-
Set the DTO class interfaces.
- setExpressions(List<ExpressionSpec>) - Method in class org.litebridge.orm.api.select.model.SelectSpec
- setFieldColumns(List<DtoSelectSpec.FieldColumn>) - Method in class org.litebridge.orm.api.dto.DtoJoinSpec
-
Sets the list of field columns for this join.
- setGenerator(ColumnValueGenerator) - Method in class org.litebridge.db.spi.ColumnMetaData
-
Sets the value generator for this column.
- setGroupBy(List<ExpressionSpec>) - Method in class org.litebridge.orm.api.select.model.SelectSpec
- setGroupBy(GroupBySpec) - Method in class org.litebridge.orm.api.select.model.SelectSpec
- setHoldability(int) - Method in class org.litebridge.db.spi.tx.ManagedConnection
- setJoinColumn(String) - Method in class org.litebridge.db.spi.ColumnMetaData
-
Sets the name of the join column.
- setLhs(Column) - Method in class org.litebridge.orm.api.select.model.ConditionSpec
-
Sets the left-hand side expression of the condition to a specific column.
- setLhs(ExpressionSpec) - Method in class org.litebridge.orm.api.select.model.ConditionSpec
-
Sets the left-hand side expression of the condition.
- setLimit(Integer) - Method in class org.litebridge.orm.api.select.model.LimitSpec
-
Sets the limit for the query results.
- setLoginTimeout(int) - Method in class org.litebridge.orm.tx.LitebridgeDriverManagerDataSource
- setLogWriter(PrintWriter) - Method in class org.litebridge.orm.tx.LitebridgeDriverManagerDataSource
- setNetworkTimeout(Executor, int) - Method in class org.litebridge.db.spi.tx.ManagedConnection
- SetNode - Record Class in org.litebridge.orm.api.select.ast
-
Represents a SET clause in an UPDATE statement in the query AST.
- SetNode(QueryNode, Column, Object, boolean) - Constructor for record class org.litebridge.orm.api.select.ast.SetNode
-
Creates an instance of a
SetNoderecord class. - SetNode(QueryNode, Column, Object) - Constructor for record class org.litebridge.orm.api.select.ast.SetNode
- setOffset(Integer) - Method in class org.litebridge.orm.api.select.model.LimitSpec
-
Sets the offset for the query results.
- setOperator(Operator) - Method in class org.litebridge.orm.api.select.model.ConditionSpec
-
Sets the operator for the condition.
- setProtoExpressionResolver(ProtoExpressionResolver) - Method in class org.litebridge.orm.api.select.model.SelectSpec
- setReadOnly(boolean) - Method in class org.litebridge.db.spi.tx.ManagedConnection
- setRelatedDtoStrategy(RelatedDtoStrategy) - Method in class org.litebridge.orm.engine.LitebridgeContext
- setReverseCollectionField(FieldAccessor) - Method in class org.litebridge.orm.api.dto.DtoJoinSpec
-
Sets the reverse collection field for this join.
- setSavepoint() - Method in class org.litebridge.db.spi.tx.ManagedConnection
- setSavepoint(String) - Method in class org.litebridge.db.spi.tx.ManagedConnection
- setSchema(String) - Method in class org.litebridge.db.spi.tx.ManagedConnection
- setShardingKey(ShardingKey) - Method in class org.litebridge.db.spi.tx.ManagedConnection
- setShardingKey(ShardingKey, ShardingKey) - Method in class org.litebridge.db.spi.tx.ManagedConnection
- setShardingKeyIfValid(ShardingKey, int) - Method in class org.litebridge.db.spi.tx.ManagedConnection
- setShardingKeyIfValid(ShardingKey, ShardingKey, int) - Method in class org.litebridge.db.spi.tx.ManagedConnection
- setSourceDtoClass(Class<?>) - Method in class org.litebridge.orm.api.dto.DtoJoinSpec
-
Sets the source DTO class for this join.
- setTable(Table) - Method in class org.litebridge.db.spi.Column
-
Sets the table associated with this column.
- setTable(Table) - Method in class org.litebridge.orm.api.select.model.SelectSpec
- setTransactionIsolation(int) - Method in class org.litebridge.db.spi.tx.ManagedConnection
- setTypeMap(Map<String, Class<?>>) - Method in class org.litebridge.db.spi.tx.ManagedConnection
- setUpdateResult(UpdateResult) - Method in class org.litebridge.orm.persistence.DtoUpdateResult
-
Sets the underlying update result.
- setValue(Object) - Method in class org.litebridge.orm.api.select.model.ConditionSpec
-
Sets the right-hand side value for the condition.
- ShortConverter - Class in org.litebridge.convert.converter
-
A converter for
Shortvalues. - ShortConverter() - Constructor for class org.litebridge.convert.converter.ShortConverter
- size() - Method in class org.litebridge.commons.type.WeakIdentityMap
- size() - Method in class org.litebridge.commons.type.WeakIdentitySet
- size() - Method in record class org.litebridge.db.spi.expression.BindValueExpression
-
Returns the value of the
sizerecord component. - size() - Method in class org.litebridge.db.spi.Row
-
Returns the total number of expressions in the current row.
- size() - Method in class org.litebridge.orm.engine.QueryPlanCache
-
Returns the current cache size.
- size() - Method in class org.litebridge.tracking.ChangedFields
-
Return the number of changed fields in the collection.
- snapshot(boolean) - Method in class org.litebridge.tracking.TrackedDto
-
Captures the current state of the tracked fields, creating a snapshot for later comparison.
- snapshotEmpty() - Method in class org.litebridge.tracking.TrackedDto
-
Initializes an empty snapshot of the tracked fields for the current object.
- sourceDtoClass() - Method in class org.litebridge.orm.api.dto.DtoJoinSpec
-
Returns the source DTO class for this join.
- sourceDtoClass() - Method in class org.litebridge.orm.api.select.ast.JoinNode
-
Returns the source DTO class.
- spec - Variable in class org.litebridge.orm.persistence.DtoBlueprint.DtoData
-
The specification associated with this data.
- spec() - Method in class org.litebridge.orm.persistence.DtoBlueprint.DtoData
-
Retrieves the specification associated with this data instance.
- spec(Function<FieldColumnSpecBuilder, FieldColumnSpecBuilderTerminal>) - Static method in class org.litebridge.orm.api.register.FieldColumnSpecBuilder
-
Constructs a
FieldColumnSpecby applying a function to aFieldColumnSpecBuilder. - split(String, char) - Static method in class org.litebridge.commons.StringUtils
-
Splits a string by a single character.
- split(String, char, int, boolean) - Static method in class org.litebridge.commons.StringUtils
-
Splits the given string by the specified delimiter, with optional padding and size constraints.
- splitArray(String, char, int, boolean) - Static method in class org.litebridge.commons.StringUtils
-
Splits a given string into an array of substrings based on a specified delimiter, with optional size constraints and padding for the resulting array.
- splitOnce(String, char) - Static method in class org.litebridge.commons.StringUtils
-
Splits the given string into two parts by the first occurrence of the specified delimiter.
- sql() - Method in record class org.litebridge.db.spi.sql.PreparedSql
-
Returns the value of the
sqlrecord component. - sql() - Method in record class org.litebridge.orm.engine.QueryPlanCache.CachedOperation
-
Returns the value of the
sqlrecord component. - sql() - Method in record class org.litebridge.orm.nativesql.ParsedSql
-
Returns the value of the
sqlrecord component. - SqlConverter<T> - Interface in org.litebridge.convert.converter
-
Extends
Converterto add SQL-specific metadata. - sqlDataType() - Method in record class org.litebridge.db.spi.sql.BindValue
-
Returns the value of the
sqlDataTyperecord component. - SqlDateConverter - Class in org.litebridge.convert.converter
-
A converter for
Datevalues. - SqlDateConverter() - Constructor for class org.litebridge.convert.converter.SqlDateConverter
- SqlDeleteWhereClause - Interface in org.litebridge.orm.api.sql.delete
- SqlDeleteWhereConditionClause - Class in org.litebridge.orm.api.sql.delete
- SqlDeleteWhereConditionClause(LitebridgeContext, LogicOperator, ExpressionSpec, Function<QueryNode, SqlDeleteWhereConditionClauseTerminal>) - Constructor for class org.litebridge.orm.api.sql.delete.SqlDeleteWhereConditionClause
- SqlDeleteWhereConditionClauseTerminal - Interface in org.litebridge.orm.api.sql.delete
- SqlDeleteWhereConditionClauseTerminalImpl - Class in org.litebridge.orm.api.sql.delete
- SqlDeleteWhereConditionClauseTerminalImpl(SqlDeletor) - Constructor for class org.litebridge.orm.api.sql.delete.SqlDeleteWhereConditionClauseTerminalImpl
- SqlDeletor - Class in org.litebridge.orm.api.sql.delete
- SqlDeletor(Table, TransactionalDatabaseProvider, SelectExpressionMapper, LitebridgeContext) - Constructor for class org.litebridge.orm.api.sql.delete.SqlDeletor
- SqlFromClause - Class in org.litebridge.orm.api.sql
- SqlFromClause(SqlSelector) - Constructor for class org.litebridge.orm.api.sql.SqlFromClause
- SqlFromClauseTerminal - Class in org.litebridge.orm.api.sql
- SqlFromClauseTerminal(SqlSelector) - Constructor for class org.litebridge.orm.api.sql.SqlFromClauseTerminal
- sqlFunctionRegistry() - Method in class org.litebridge.orm.engine.LitebridgeContext
- SqlFunctionRegistry - Record Class in org.litebridge.db.spi.expression
-
SQL function registry.
- SqlFunctionRegistry(SqlFunctionRegistry.Select, SqlFunctionRegistry.Aggregate, SqlFunctionRegistry.Scalar, SqlFunctionRegistry.Date) - Constructor for record class org.litebridge.db.spi.expression.SqlFunctionRegistry
-
Creates an instance of a
SqlFunctionRegistryrecord class. - SqlFunctionRegistry.Aggregate - Record Class in org.litebridge.db.spi.expression
-
Aggregate functions perform calculations on a set of values and return a single value.
- SqlFunctionRegistry.Date - Record Class in org.litebridge.db.spi.expression
-
Date functions.
- SqlFunctionRegistry.Scalar - Record Class in org.litebridge.db.spi.expression
-
Scalar functions perform calculations on one or more input values and return a single value.
- SqlFunctionRegistry.Select - Record Class in org.litebridge.db.spi.expression
-
Expressions dealing with selecting columns, sub-selects, literals, and references to selected columns.
- SqlFunctionRegistryFactory - Class in org.litebridge.db.spi.impl.function
-
Factory for creating
SqlFunctionRegistryinstances. - SqlFunctionRegistryFactory(ColumnIdentifierGenerator, SelectSqlGenerator) - Constructor for class org.litebridge.db.spi.impl.function.SqlFunctionRegistryFactory
-
Constructs a new
SqlFunctionRegistryFactory. - SqlGroupByClauseTerminal - Class in org.litebridge.orm.api.sql
- SqlGroupByClauseTerminal(SqlSelector) - Constructor for class org.litebridge.orm.api.sql.SqlGroupByClauseTerminal
- SqlHavingConditionClause - Class in org.litebridge.orm.api.sql
- SqlHavingConditionClause(LitebridgeContext, LogicOperator, ExpressionSpec, QueryNode, Function<QueryNode, SqlHavingConditionClauseTerminal>) - Constructor for class org.litebridge.orm.api.sql.SqlHavingConditionClause
- SqlHavingConditionClauseTerminal - Class in org.litebridge.orm.api.sql
- SqlHavingConditionClauseTerminal(SqlSelector) - Constructor for class org.litebridge.orm.api.sql.SqlHavingConditionClauseTerminal
- SQLiteDatabaseProvider - Class in org.litebridge.db.sqlite
-
SQLite Database Provider for Litebridge.
- SQLiteDatabaseProvider() - Constructor for class org.litebridge.db.sqlite.SQLiteDatabaseProvider
- SqlJoinClause - Class in org.litebridge.orm.api.sql
- SqlJoinClause(SqlSelector, Function<QueryNode, SqlJoinConditionClauseTerminal>) - Constructor for class org.litebridge.orm.api.sql.SqlJoinClause
- SqlJoinClauseTerminal - Interface in org.litebridge.orm.api.sql
- SqlJoinConditionClause - Class in org.litebridge.orm.api.sql
- SqlJoinConditionClause(LitebridgeContext, LogicOperator, ExpressionSpec, QueryNode, Function<QueryNode, SqlJoinConditionClauseTerminal>) - Constructor for class org.litebridge.orm.api.sql.SqlJoinConditionClause
- SqlJoinConditionClauseTerminal - Class in org.litebridge.orm.api.sql
- SqlJoinConditionClauseTerminal(JoinNode, SqlSelector) - Constructor for class org.litebridge.orm.api.sql.SqlJoinConditionClauseTerminal
- SqlJoinSpec - Class in org.litebridge.orm.api.sql
-
Specification for a JOIN operation in a database query.
- SqlJoinSpec(Table, SelectExpressionMapper) - Constructor for class org.litebridge.orm.api.sql.SqlJoinSpec
- SqlOrderByClause - Class in org.litebridge.orm.api.sql
- SqlOrderByClause(ExpressionSpec[], SqlSelector) - Constructor for class org.litebridge.orm.api.sql.SqlOrderByClause
- SqlOrderByClauseChain - Class in org.litebridge.orm.api.sql
- SqlOrderByClauseChain(SqlSelector) - Constructor for class org.litebridge.orm.api.sql.SqlOrderByClauseChain
- SqlParser - Class in org.litebridge.orm.nativesql
-
A utility class for parsing SQL statements containing named parameters and converting them into SQL statements with positional placeholders.
- SqlProtoExpressionResolver - Class in org.litebridge.orm.api.sql
- SqlProtoExpressionResolver() - Constructor for class org.litebridge.orm.api.sql.SqlProtoExpressionResolver
- SqlProtoExpressionResolver(SelectSpec) - Constructor for class org.litebridge.orm.api.sql.SqlProtoExpressionResolver
- SqlReservedWords - Class in org.litebridge.db.spi.util
-
Utility class for working with SQL reserved words.
- SqlSelector - Class in org.litebridge.orm.api.sql
- SqlSelector(Table, TransactionalDatabaseProvider, TableRegistry, LitebridgeContext, QueryNode) - Constructor for class org.litebridge.orm.api.sql.SqlSelector
- SqlSelectSpec - Class in org.litebridge.orm.api.sql
-
Specification for constructing a SQL SELECT statement.
- SqlSelectSpec(LitebridgeContext, Table) - Constructor for class org.litebridge.orm.api.sql.SqlSelectSpec
- SqlTimeConverter - Class in org.litebridge.convert.converter
-
A converter for
Timevalues. - SqlTimeConverter() - Constructor for class org.litebridge.convert.converter.SqlTimeConverter
- SqlTimestampConverter - Class in org.litebridge.convert.converter
-
A converter for
Timestampvalues. - SqlTimestampConverter() - Constructor for class org.litebridge.convert.converter.SqlTimestampConverter
- sqlTypes() - Method in class org.litebridge.convert.converter.BigDecimalConverter
-
Returns the SQL types associated with this converter.
- sqlTypes() - Method in class org.litebridge.convert.converter.BooleanConverter
-
Returns the SQL types associated with this converter.
- sqlTypes() - Method in class org.litebridge.convert.converter.ByteArrayConverter
-
Returns the SQL types associated with this converter.
- sqlTypes() - Method in class org.litebridge.convert.converter.ByteConverter
-
Returns the SQL types associated with this converter.
- sqlTypes() - Method in class org.litebridge.convert.converter.DoubleConverter
-
Returns the SQL types associated with this converter.
- sqlTypes() - Method in class org.litebridge.convert.converter.FloatConverter
-
Returns the SQL types associated with this converter.
- sqlTypes() - Method in class org.litebridge.convert.converter.GenericSqlConverter
-
Returns an array of
Typesinteger codes that this converter is associated with. - sqlTypes() - Method in class org.litebridge.convert.converter.IntegerConverter
-
Returns the SQL types associated with this converter.
- sqlTypes() - Method in class org.litebridge.convert.converter.LongConverter
-
Returns the SQL types associated with this converter.
- sqlTypes() - Method in class org.litebridge.convert.converter.OffsetDateTimeConverter
-
Returns the SQL types associated with this converter.
- sqlTypes() - Method in class org.litebridge.convert.converter.ShortConverter
-
Returns the SQL types associated with this converter.
- sqlTypes() - Method in interface org.litebridge.convert.converter.SqlConverter
-
Returns an array of
Typesinteger codes that this converter is associated with. - sqlTypes() - Method in class org.litebridge.convert.converter.SqlDateConverter
-
Returns the SQL types associated with this converter.
- sqlTypes() - Method in class org.litebridge.convert.converter.SqlTimeConverter
-
Returns the SQL types associated with this converter.
- sqlTypes() - Method in class org.litebridge.convert.converter.SqlTimestampConverter
-
Returns the SQL types associated with this converter.
- sqlTypes() - Method in class org.litebridge.convert.converter.StringConverter
-
Returns the SQL types associated with this converter.
- sqlTypes() - Method in class org.litebridge.db.oracle.convert.OracleOffsetDateTimeConverter
- SqlUpdater - Class in org.litebridge.orm.api.sql.update
- SqlUpdater(Table, TransactionalDatabaseProvider, SelectExpressionMapper, LitebridgeContext) - Constructor for class org.litebridge.orm.api.sql.update.SqlUpdater
- SqlUpdateSetStep - Class in org.litebridge.orm.api.sql.update
- SqlUpdateSetStep(Column, SqlUpdater) - Constructor for class org.litebridge.orm.api.sql.update.SqlUpdateSetStep
- SqlUpdateStart - Interface in org.litebridge.orm.api.sql.update
- SqlUpdateStep - Interface in org.litebridge.orm.api.sql.update
- SqlUpdateWhereConditionClause - Class in org.litebridge.orm.api.sql.update
- SqlUpdateWhereConditionClause(LitebridgeContext, LogicOperator, ExpressionSpec, Function<QueryNode, SqlUpdateWhereConditionClauseTerminal>) - Constructor for class org.litebridge.orm.api.sql.update.SqlUpdateWhereConditionClause
- SqlUpdateWhereConditionClauseTerminal - Interface in org.litebridge.orm.api.sql.update
- SqlUpdateWhereConditionClauseTerminalImpl - Class in org.litebridge.orm.api.sql.update
- SqlUpdateWhereConditionClauseTerminalImpl(SqlUpdater) - Constructor for class org.litebridge.orm.api.sql.update.SqlUpdateWhereConditionClauseTerminalImpl
- SqlWhereConditionClause - Class in org.litebridge.orm.api.sql
- SqlWhereConditionClause(LitebridgeContext, LogicOperator, ExpressionSpec, QueryNode, Function<QueryNode, SqlWhereConditionClauseTerminal>) - Constructor for class org.litebridge.orm.api.sql.SqlWhereConditionClause
- SqlWhereConditionClauseTerminal - Class in org.litebridge.orm.api.sql
- SqlWhereConditionClauseTerminal(SqlSelector) - Constructor for class org.litebridge.orm.api.sql.SqlWhereConditionClauseTerminal
- start - Variable in class org.litebridge.db.spi.impl.function.scalar.Substring
-
Database index, 1-based.
- start() - Method in record class org.litebridge.orm.expression.function.scalar.SubstringSpec
-
Returns the value of the
startrecord component. - statementBuilder() - Method in record class org.litebridge.orm.persistence.PipedStatement
-
Returns the value of the
statementBuilderrecord component. - StatementBuilder - Interface in org.litebridge.orm.persistence
-
Interface for building SQL execution/update statements.
- statementChain() - Method in class org.litebridge.orm.persistence.AbstractStatementBuilder
- statementChain() - Method in class org.litebridge.orm.persistence.NoOpStatementBuilder
-
Invoking this method will throw an
UnsupportedOperationException. - statementChain() - Method in interface org.litebridge.orm.persistence.StatementBuilder
-
Returns the chain of statements built so far.
- StatementChain - Class in org.litebridge.orm.persistence
- StatementChain() - Constructor for class org.litebridge.orm.persistence.StatementChain
- stream() - Method in interface org.litebridge.orm.api.select.SelectTerminal
-
Executes the query and returns results as a
Stream. - stream() - Method in class org.litebridge.tracking.ChangedFields
-
Provides a stream of all
ChangedFieldinstances contained within the collection. - StringConverter - Class in org.litebridge.convert.converter
-
A converter for
Stringvalues. - StringConverter() - Constructor for class org.litebridge.convert.converter.StringConverter
- StringQueryField - Class in org.litebridge.orm.meta
-
Metamodel field for querying string-based columns in a type-safe manner.
- StringQueryField(Class<?>, String) - Constructor for class org.litebridge.orm.meta.StringQueryField
- StringTODelegateExpressionSpec - Interface in org.litebridge.orm.expression
-
String type-overriding nestable expression.
- StringUtils - Class in org.litebridge.commons
-
Utility class for working with strings.
- subChain() - Method in class org.litebridge.tracking.FieldAccessorChain
-
Returns a sub-chain of this field accessor chain.
- subgroups() - Method in record class org.litebridge.db.spi.query.ConditionGroup
-
Returns the value of the
subgroupsrecord component. - subgroups() - Method in record class org.litebridge.orm.api.select.model.ConditionGroupSpec
-
Returns the value of the
subgroupsrecord component. - subselect - Variable in class org.litebridge.db.spi.expression.SubselectExpression
-
The subselect query.
- subselect() - Method in record class org.litebridge.db.spi.expression.SqlFunctionRegistry.Select
-
Returns the value of the
subselectrecord component. - Subselect - Class in org.litebridge.db.spi.impl.function
-
A subselect expression.
- Subselect(Select, SelectSqlGenerator) - Constructor for class org.litebridge.db.spi.impl.function.Subselect
-
Creates a new
Subselect. - SubselectExpression - Class in org.litebridge.db.spi.expression
-
A query expression that represents a subselect.
- SubselectExpression(Select) - Constructor for class org.litebridge.db.spi.expression.SubselectExpression
-
Constructs a new
SubselectExpressionwith the given subselect query. - SubselectExpressionFactory - Interface in org.litebridge.db.spi.expression
-
Factory to create expressions encapsulation a sub-select.
- SubselectSpec - Record Class in org.litebridge.orm.expression.select
- SubselectSpec(SelectSpec) - Constructor for record class org.litebridge.orm.expression.select.SubselectSpec
-
Creates an instance of a
SubselectSpecrecord class. - substring() - Method in record class org.litebridge.db.spi.expression.SqlFunctionRegistry.Scalar
-
Returns the value of the
substringrecord component. - substring(String, int) - Static method in class org.litebridge.orm.expression.Fn
-
SUBSTRING(): Returns the lowercase value of a column's text. - substring(String, int, int) - Static method in class org.litebridge.orm.expression.Fn
-
SUBSTRING(): Returns the lowercase value of a column's text. - substring(ExpressionSpec, int) - Static method in class org.litebridge.orm.expression.Fn
-
SUBSTRING(): Returns the lowercase value of a column's text. - substring(ExpressionSpec, int, int) - Static method in class org.litebridge.orm.expression.Fn
-
SUBSTRING(): Returns the lowercase value of a column's text. - Substring - Class in org.litebridge.db.spi.impl.function.scalar
-
SUBSTRING(column, start, length)scalar function. - Substring(ColumnExpression, int, Integer, ColumnIdentifierGenerator) - Constructor for class org.litebridge.db.spi.impl.function.scalar.Substring
-
Construct a
SUBSTRINGfunction. - SubstringSpec - Record Class in org.litebridge.orm.expression.function.scalar
-
SUBSTRING(): Returns a substring of a column's text. - SubstringSpec(ColumnExpressionSpec, int, Integer) - Constructor for record class org.litebridge.orm.expression.function.scalar.SubstringSpec
-
Creates an instance of a
SubstringSpecrecord class. - SUBTRACT - Enum constant in enum class org.litebridge.db.spi.math.MathOperation.Operator
-
Subtraction operator for mathematical calculations.
- symbol() - Method in enum class org.litebridge.db.spi.math.MathOperation.Operator
-
Retrieves the symbol representing this operator.
- syncPersistedDto(Object) - Method in class org.litebridge.orm.persistence.OrmTable
-
Mark the specified DTO as persisted, creating a snapshot for tracking changes.
T
- table - Variable in class org.litebridge.orm.api.select.model.SelectSpec
- table() - Method in class org.litebridge.db.spi.Column
-
Retrieve the
Tableinstance associated with thisColumn. - table() - Method in class org.litebridge.db.spi.ColumnMetaData
-
Gets the table this column belongs to.
- table() - Method in interface org.litebridge.db.spi.Operation
-
Get the target table for the operation.
- table() - Method in record class org.litebridge.db.spi.query.Join
-
Returns the value of the
tablerecord component. - table() - Method in record class org.litebridge.db.spi.query.Select
-
Returns the value of the
tablerecord component. - table() - Method in record class org.litebridge.db.spi.update.Delete
-
Returns the value of the
tablerecord component. - table() - Method in record class org.litebridge.db.spi.update.Insert
-
Returns the value of the
tablerecord component. - table() - Method in record class org.litebridge.db.spi.update.Update
-
Returns the value of the
tablerecord component. - table() - Method in class org.litebridge.orm.api.dto.DtoSelector
-
Returns the table associated with this selector.
- table() - Method in record class org.litebridge.orm.api.select.ast.DeleteNode
-
Returns the value of the
tablerecord component. - table() - Method in record class org.litebridge.orm.api.select.ast.InsertNode
-
Returns the value of the
tablerecord component. - table() - Method in record class org.litebridge.orm.api.select.ast.UpdateNode
-
Returns the value of the
tablerecord component. - table() - Method in interface org.litebridge.orm.api.select.model.JoinSpec
-
Returns the table to join.
- Table - Class in org.litebridge.db.spi
-
A database table with an associated catalog, schema, name, and optional alias.
- Table - Annotation Interface in org.litebridge.orm.annotation
-
Annotation that designates a class as corresponding to a database table (i.e. an entity).
- Table(String, String, String) - Constructor for class org.litebridge.db.spi.Table
-
Constructs a new
Tablewith catalog, schema, and name. - Table(String, String, String, String) - Constructor for class org.litebridge.db.spi.Table
-
Constructs a new
Tablewith catalog, schema, name, and alias. - Table(String) - Constructor for class org.litebridge.db.spi.Table
-
Constructs a new
Tablewith a name. - Table(String, String) - Constructor for class org.litebridge.db.spi.Table
-
Constructs a new
Tablewith name and alias. - Table(Table) - Constructor for class org.litebridge.db.spi.Table
-
Constructs a new
Tableas a copy of another table. - TableMapper - Class in org.litebridge.orm.persistence
-
A utility class responsible for mapping DTOs to database tables and managing the relationships between them.
- TableMapper(TransactionalDatabaseProvider, TableRegistry, ChangeTracker, TableMetaDataCache) - Constructor for class org.litebridge.orm.persistence.TableMapper
- TableMapper.MappedTable - Record Class in org.litebridge.orm.persistence
-
A database table and its corresponding relationships mapped within the ORM (Object-Relational Mapping) layer.
- TableMapping - Record Class in org.litebridge.orm.api.spec
-
Represents the mapping between a Data Transfer Object (DTO) class and a database table, along with a method lookup used for runtime operations.
- TableMapping(Class<?>, TableSpec) - Constructor for record class org.litebridge.orm.api.spec.TableMapping
- TableMapping(MethodHandles.Lookup, Class<?>, TableSpec) - Constructor for record class org.litebridge.orm.api.spec.TableMapping
-
Creates an instance of a
TableMappingrecord class. - tableMetaData(Table, ConnectionProvider) - Method in interface org.litebridge.db.spi.DatabaseProvider
-
Retrieve metadata for the specified table.
- tableMetaData(Table, ConnectionProvider) - Method in class org.litebridge.db.spi.impl.AbstractDatabaseProvider
- tableMetaData(Table, ConnectionProvider) - Method in class org.litebridge.orm.persistence.TransactionalDatabaseProvider
- TableMetaData - Class in org.litebridge.db.spi
-
Metadata for a database table, including its primary keys and expressions.
- TableMetaData(String, String, String, List<String>, List<ColumnMetaData>) - Constructor for class org.litebridge.db.spi.TableMetaData
-
Construct a
TableMetaDataobject representing metadata for a database table. - TableMetaData(Table, List<String>, List<ColumnMetaData>) - Constructor for class org.litebridge.db.spi.TableMetaData
-
Construct a
TableMetaDatainstance using the provided table, primary key, and column metadata. - tableMetaDataCache() - Method in class org.litebridge.orm.engine.LitebridgeContext
- TableMetaDataCache - Class in org.litebridge.orm.persistence
- TableMetaDataCache(DatabaseProvider, TransactionManager) - Constructor for class org.litebridge.orm.persistence.TableMetaDataCache
- tableName() - Method in class org.litebridge.orm.api.select.ast.JoinNode
-
Returns the name of the table being joined.
- tableRegistry() - Method in class org.litebridge.orm.engine.FromClauseEngine
-
Returns the table registry used by this engine.
- TableRegistry - Class in org.litebridge.orm.persistence
-
The TableRegistry class is a centralized registry responsible for managing the relationship between Data Transfer Object (DTO) classes and their corresponding ORM table representations (
OrmTable). - TableRegistry() - Constructor for class org.litebridge.orm.persistence.TableRegistry
- tableSpec() - Method in record class org.litebridge.orm.api.spec.DtoTableSpec
-
Returns the value of the
tableSpecrecord component. - tableSpec() - Method in record class org.litebridge.orm.api.spec.TableMapping
-
Returns the value of the
tableSpecrecord component. - TableSpec - Class in org.litebridge.orm.api.spec
-
Specification of a database table, used to map DTO instances to target tables.
- TableSpec(String, String, String, Map<FieldMapping, ColumnMapping>) - Constructor for class org.litebridge.orm.api.spec.TableSpec
- TableSpec(String, Map<FieldMapping, ColumnMapping>) - Constructor for class org.litebridge.orm.api.spec.TableSpec
- tableStream() - Method in class org.litebridge.orm.persistence.TableRegistry
-
Returns a stream of all registered tables.
- target - Variable in class org.litebridge.db.spi.expression.DelegateColumnExpression
-
The encapsulated target column expression of this expression.
- target() - Method in class org.litebridge.db.spi.expression.ConvertExpression
- target() - Method in class org.litebridge.db.spi.expression.DelegateColumnExpression
- target() - Method in interface org.litebridge.db.spi.expression.DelegateExpression
-
Retrieves the target expression of this delegate.
- target() - Method in interface org.litebridge.orm.expression.DelegateExpressionSpec
-
Gets the target nested expression.
- target() - Method in record class org.litebridge.orm.expression.function.aggregate.AvgSpec
-
Returns the value of the
targetrecord component. - target() - Method in record class org.litebridge.orm.expression.function.aggregate.MaxSpec
-
Returns the value of the
targetrecord component. - target() - Method in record class org.litebridge.orm.expression.function.aggregate.MinSpec
-
Returns the value of the
targetrecord component. - target() - Method in record class org.litebridge.orm.expression.function.scalar.AbsSpec
-
Returns the value of the
targetrecord component. - target() - Method in record class org.litebridge.orm.expression.function.scalar.LowerSpec
-
Returns the value of the
targetrecord component. - target() - Method in record class org.litebridge.orm.expression.function.scalar.SubstringSpec
-
Returns the value of the
targetrecord component. - target() - Method in record class org.litebridge.orm.expression.function.scalar.UpperSpec
-
Returns the value of the
targetrecord component. - target() - Method in record class org.litebridge.orm.expression.intent.ConvertIntent
-
Returns the value of the
targetrecord component. - target() - Method in class org.litebridge.orm.expression.intent.ConvertSpec
-
Gets the target expression for conversion.
- target() - Method in record class org.litebridge.orm.expression.ProtoNestableBasicExprSpec
-
Returns the value of the
targetrecord component. - target() - Method in interface org.litebridge.orm.expression.ProtoNestableExpressionSpec
-
The nested target expression.
- target() - Method in record class org.litebridge.orm.expression.ProtoNestableTOExpr
-
Returns the value of the
targetrecord component. - targetDtoClass() - Method in record class org.litebridge.orm.persistence.DtoConstructor.DtoDependency
-
Returns the value of the
targetDtoClassrecord component. - targetPrimaryKey() - Method in record class org.litebridge.orm.persistence.DtoConstructor.DtoDependency
-
Returns the value of the
targetPrimaryKeyrecord component. - targetPrimaryKeyValue() - Method in record class org.litebridge.orm.persistence.DtoConstructor.DtoDependency
-
Returns the primary key values of the target DTO.
- targetTable() - Method in record class org.litebridge.orm.persistence.MappedManyToMany
-
Returns the value of the
targetTablerecord component. - template() - Method in class org.litebridge.db.spi.impl.function.aggregate.Avg
- template() - Method in class org.litebridge.db.spi.impl.function.aggregate.Max
- template() - Method in class org.litebridge.db.spi.impl.function.aggregate.Min
- template() - Method in class org.litebridge.db.spi.impl.function.FunctionExpression
-
Gets the template for the SQL representation of the function.
- template() - Method in class org.litebridge.db.spi.impl.function.scalar.Abs
- template() - Method in class org.litebridge.db.spi.impl.function.scalar.Lower
- template() - Method in class org.litebridge.db.spi.impl.function.scalar.Substring
- template() - Method in class org.litebridge.db.spi.impl.function.scalar.Upper
- then(String...) - Method in class org.litebridge.orm.api.dto.DtoOrderByClauseChain
- then(String...) - Method in interface org.litebridge.orm.api.select.OrderByClauseChain
-
Adds another ordering expression which again requires an explicit direction.
- then(String...) - Method in class org.litebridge.orm.api.sql.SqlOrderByClauseChain
- then(ExpressionSpec...) - Method in class org.litebridge.orm.api.dto.DtoOrderByClauseChain
- then(ExpressionSpec...) - Method in interface org.litebridge.orm.api.select.OrderByClauseChain
-
Adds another ordering expression which again requires an explicit direction.
- then(ExpressionSpec...) - Method in class org.litebridge.orm.api.sql.SqlOrderByClauseChain
- Thread Safety: - Search tag in class org.litebridge.orm.persistence.TransactionalDatabaseProvider
- Section
- TimeUtils - Class in org.litebridge.commons
- to(Object) - Method in class org.litebridge.orm.api.sql.update.SqlUpdateSetStep
- to(Object) - Method in class org.litebridge.orm.api.update.UpdateSetStep
- toBindValueSql(Operation) - Method in class org.litebridge.db.spi.expression.LiteralExpression
-
Generates a SQL fragment with a placeholder for a bind value.
- toBoolean(Boolean) - Static method in class org.litebridge.commons.BooleanUtils
-
Converts a
Booleanobject to a primitiveboolean. - toColumn() - Method in class org.litebridge.db.spi.ColumnMetaData
-
Converts this metadata into a
Columninstance. - toColumn(String) - Method in class org.litebridge.orm.api.register.FieldColumnSpecBuilderFieldStep
-
Proceeds to the column mapping step for the current field in the fluent API builder.
- toCondition(SelectExpressionMapper, Collection<Table>, List<BindValue>, TableMetaDataCache, TypeConverter) - Method in class org.litebridge.orm.api.select.model.ConditionSpec
-
Converts this specification into a
Condition. - toConditionGroup(SelectExpressionMapper, Set<Table>, List<BindValue>, TableMetaDataCache, TypeConverter) - Method in record class org.litebridge.orm.api.select.model.ConditionGroupSpec
-
Converts this specification into a
ConditionGroup. - toDate(LocalDate) - Static method in class org.litebridge.commons.TimeUtils
- toDate(LocalDateTime) - Static method in class org.litebridge.commons.TimeUtils
- toDate(ZonedDateTime) - Static method in class org.litebridge.commons.TimeUtils
- toDelete(TableMetaDataCache, TypeConverter) - Method in class org.litebridge.orm.api.delete.model.DeleteSpec
- toDto(Row, Class<DTO>) - Method in class org.litebridge.orm.Litebridge
-
Convert a given result row into a Data Transfer Object (DTO) of the specified type.
- toDtos(Class<DTO>, List<Row>) - Method in class org.litebridge.orm.persistence.SelectSpecDtoMapper
- toExpression() - Method in interface org.litebridge.orm.expression.ExpressionModifier
-
Get an
ExpressionSpecinstance that represents this modifier. - toExpression() - Method in record class org.litebridge.orm.expression.intent.ConvertIntent
- toInsert(TableMetaDataCache, TypeConverter) - Method in class org.litebridge.orm.api.insert.model.InsertSpec
- toJoin(Collection<Table>, List<BindValue>, TableMetaDataCache, TypeConverter) - Method in interface org.litebridge.orm.api.select.model.JoinSpec
-
Returns the SPI join object.
- toLimit() - Method in class org.litebridge.orm.api.select.model.LimitSpec
-
Converts this specification to a database SPI
Limitobject. - toLinkedHashMap(Function<? super T, ? extends K>, Function<? super T, ? extends U>) - Static method in class org.litebridge.commons.collector.MapCollector
-
Returns a
Collectorthat accumulates elements into aLinkedHashMap. - toLocalDate(String) - Static method in class org.litebridge.commons.TimeUtils
- toLocalDate(ZonedDateTime) - Static method in class org.litebridge.commons.TimeUtils
- toLocalDateTime(String) - Static method in class org.litebridge.commons.TimeUtils
- toLocalDateTime(ZonedDateTime) - Static method in class org.litebridge.commons.TimeUtils
- toSelect(TableMetaDataCache, TypeConverter) - Method in class org.litebridge.orm.api.select.model.SelectSpec
- toSql() - Method in interface org.litebridge.orm.api.select.SelectTerminal
- toSql(Operation, ClauseType) - Method in interface org.litebridge.db.spi.expression.SelectExpression
-
Creates a SQL representation of the expression as a non-nested/top-level expression.
- toSql(Operation, ClauseType, DelegateExpression) - Method in record class org.litebridge.db.spi.expression.BindValueExpression
- toSql(Operation, ClauseType, DelegateExpression) - Method in interface org.litebridge.db.spi.expression.ConnectionProviderExpression
-
Not supported.
- toSql(Operation, ClauseType, DelegateExpression) - Method in class org.litebridge.db.spi.expression.ConvertExpression
- toSql(Operation, ClauseType, DelegateExpression) - Method in class org.litebridge.db.spi.expression.LiteralExpression
- toSql(Operation, ClauseType, DelegateExpression) - Method in interface org.litebridge.db.spi.expression.SelectExpression
-
Creates a SQL representation of the expression, providing the immediate nesting/parent expression.
- toSql(Operation, ClauseType, DelegateExpression) - Method in class org.litebridge.db.spi.impl.function.aggregate.Count
- toSql(Operation, ClauseType, DelegateExpression) - Method in class org.litebridge.db.spi.impl.function.DelegateColumnExpressionImpl
-
Creates a SQL representation of the expression.
- toSql(Operation, ClauseType, DelegateExpression) - Method in class org.litebridge.db.spi.impl.function.FunctionExpression
-
Creates a SQL representation of the expression.
- toSql(Operation, ClauseType, DelegateExpression) - Method in class org.litebridge.db.spi.impl.function.SelectColumn
-
Creates a SQL representation of the expression.
- toSql(Operation, ClauseType, DelegateExpression) - Method in class org.litebridge.db.spi.impl.function.SelectReferenceImpl
- toSql(Operation, ConnectionProvider) - Method in interface org.litebridge.db.spi.DatabaseProvider
-
Converts the given
Operationinto its corresponding SQL representation. - toSql(Operation, ConnectionProvider) - Method in interface org.litebridge.db.spi.expression.ConnectionProviderExpression
-
Creates a SQL representation of the expression using the specified @{link ConnectionProvider}.
- toSql(Operation, ConnectionProvider) - Method in class org.litebridge.db.spi.impl.AbstractDatabaseProvider
- toSql(Operation, ConnectionProvider) - Method in class org.litebridge.db.spi.impl.function.Subselect
- toSql(Operation, ConnectionProvider) - Method in class org.litebridge.orm.persistence.TransactionalDatabaseProvider
- toString() - Method in class org.litebridge.db.spi.Column
- toString() - Method in class org.litebridge.db.spi.ColumnMetaData
- toString() - Method in record class org.litebridge.db.spi.expression.BindValueExpression
-
Returns a string representation of this record class.
- toString() - Method in class org.litebridge.db.spi.expression.LiteralExpression
- toString() - Method in record class org.litebridge.db.spi.expression.SqlFunctionRegistry.Aggregate
-
Returns a string representation of this record class.
- toString() - Method in record class org.litebridge.db.spi.expression.SqlFunctionRegistry.Date
-
Returns a string representation of this record class.
- toString() - Method in record class org.litebridge.db.spi.expression.SqlFunctionRegistry.Scalar
-
Returns a string representation of this record class.
- toString() - Method in record class org.litebridge.db.spi.expression.SqlFunctionRegistry.Select
-
Returns a string representation of this record class.
- toString() - Method in record class org.litebridge.db.spi.expression.SqlFunctionRegistry
-
Returns a string representation of this record class.
- toString() - Method in record class org.litebridge.db.spi.ForeignKeyConstraint
-
Returns a string representation of this record class.
- toString() - Method in class org.litebridge.db.spi.impl.function.SelectReferenceImpl
- toString() - Method in record class org.litebridge.db.spi.impl.sql.PreparedRow
-
Returns a string representation of this record class.
- toString() - Method in record class org.litebridge.db.spi.math.MathOperation
-
Returns a string representation of this record class.
- toString() - Method in record class org.litebridge.db.spi.PreparedOperation
-
Returns a string representation of this record class.
- toString() - Method in record class org.litebridge.db.spi.query.Condition
-
Returns a string representation of this record class.
- toString() - Method in record class org.litebridge.db.spi.query.ConditionGroup
-
Returns a string representation of this record class.
- toString() - Method in record class org.litebridge.db.spi.query.Join
-
Returns a string representation of this record class.
- toString() - Method in record class org.litebridge.db.spi.query.Limit
-
Returns a string representation of this record class.
- toString() - Method in record class org.litebridge.db.spi.query.LogicCondition
-
Returns a string representation of this record class.
- toString() - Method in record class org.litebridge.db.spi.query.LogicConditionGroup
-
Returns a string representation of this record class.
- toString() - Method in record class org.litebridge.db.spi.query.OrderBy
-
Returns a string representation of this record class.
- toString() - Method in record class org.litebridge.db.spi.query.Select
-
Returns a string representation of this record class.
- toString() - Method in record class org.litebridge.db.spi.query.TypeConversionMetaData
-
Returns a string representation of this record class.
- toString() - Method in record class org.litebridge.db.spi.query.UpdateMetaData
-
Returns a string representation of this record class.
- toString() - Method in class org.litebridge.db.spi.Row.RowColumn
- toString() - Method in class org.litebridge.db.spi.Row
- toString() - Method in record class org.litebridge.db.spi.sql.BindValue
-
Returns a string representation of this record class.
- toString() - Method in record class org.litebridge.db.spi.sql.PreparedSql
-
Returns a string representation of this record class.
- toString() - Method in class org.litebridge.db.spi.Table
- toString() - Method in class org.litebridge.db.spi.TableMetaData
- toString() - Method in record class org.litebridge.db.spi.update.ColumnValue
-
Returns a string representation of this record class.
- toString() - Method in record class org.litebridge.db.spi.update.Delete
-
Returns a string representation of this record class.
- toString() - Method in record class org.litebridge.db.spi.update.Insert
-
Returns a string representation of this record class.
- toString() - Method in class org.litebridge.db.spi.update.InsertResult
- toString() - Method in record class org.litebridge.db.spi.update.RowValue
-
Returns a string representation of this record class.
- toString() - Method in record class org.litebridge.db.spi.update.Update
-
Returns a string representation of this record class.
- toString() - Method in class org.litebridge.db.spi.update.UpdateResult
- toString() - Method in record class org.litebridge.orm.api.dto.DtoSelectSpec.FieldColumn
-
Returns a string representation of this record class.
- toString() - Method in record class org.litebridge.orm.api.select.ast.ConditionGroupNode
-
Returns a string representation of this record class.
- toString() - Method in record class org.litebridge.orm.api.select.ast.ConditionNode
-
Returns a string representation of this record class.
- toString() - Method in record class org.litebridge.orm.api.select.ast.DeleteNode
-
Returns a string representation of this record class.
- toString() - Method in record class org.litebridge.orm.api.select.ast.GroupByNode
-
Returns a string representation of this record class.
- toString() - Method in class org.litebridge.orm.api.select.ast.HavingNode
- toString() - Method in record class org.litebridge.orm.api.select.ast.InsertNode
-
Returns a string representation of this record class.
- toString() - Method in class org.litebridge.orm.api.select.ast.JoinNode
- toString() - Method in record class org.litebridge.orm.api.select.ast.LimitNode
-
Returns a string representation of this record class.
- toString() - Method in record class org.litebridge.orm.api.select.ast.OrderByNode
-
Returns a string representation of this record class.
- toString() - Method in record class org.litebridge.orm.api.select.ast.SelectNode
-
Returns a string representation of this record class.
- toString() - Method in record class org.litebridge.orm.api.select.ast.SetNode
-
Returns a string representation of this record class.
- toString() - Method in record class org.litebridge.orm.api.select.ast.UpdateNode
-
Returns a string representation of this record class.
- toString() - Method in class org.litebridge.orm.api.select.ast.WhereNode
- toString() - Method in record class org.litebridge.orm.api.select.model.ConditionGroupSpec
-
Returns a string representation of this record class.
- toString() - Method in class org.litebridge.orm.api.select.model.ConditionSpec
- toString() - Method in record class org.litebridge.orm.api.select.model.GroupBySpec
-
Returns a string representation of this record class.
- toString() - Method in record class org.litebridge.orm.api.select.model.LogicConditionGroupSpec
-
Returns a string representation of this record class.
- toString() - Method in record class org.litebridge.orm.api.select.model.LogicConditionSpec
-
Returns a string representation of this record class.
- toString() - Method in record class org.litebridge.orm.api.spec.ColumnSpec
-
Returns a string representation of this record class.
- toString() - Method in record class org.litebridge.orm.api.spec.DtoTableSpec
-
Returns a string representation of this record class.
- toString() - Method in record class org.litebridge.orm.api.spec.FieldColumnSpec
-
Returns a string representation of this record class.
- toString() - Method in record class org.litebridge.orm.api.spec.FieldSpec
-
Returns a string representation of this record class.
- toString() - Method in record class org.litebridge.orm.api.spec.ManyToMany
-
Returns a string representation of this record class.
- toString() - Method in class org.litebridge.orm.api.spec.NoFieldMapping
- toString() - Method in record class org.litebridge.orm.api.spec.OneToMany
-
Returns a string representation of this record class.
- toString() - Method in record class org.litebridge.orm.api.spec.TableMapping
-
Returns a string representation of this record class.
- toString() - Method in record class org.litebridge.orm.config.LitebridgeConfig
-
Returns a string representation of this record class.
- toString() - Method in record class org.litebridge.orm.engine.QueryPlanCache.CachedOperation
-
Returns a string representation of this record class.
- toString() - Method in record class org.litebridge.orm.expression.function.aggregate.AvgSpec
-
Returns a string representation of this record class.
- toString() - Method in record class org.litebridge.orm.expression.function.aggregate.CountSpec
-
Returns a string representation of this record class.
- toString() - Method in record class org.litebridge.orm.expression.function.aggregate.MaxSpec
-
Returns a string representation of this record class.
- toString() - Method in record class org.litebridge.orm.expression.function.aggregate.MinSpec
-
Returns a string representation of this record class.
- toString() - Method in record class org.litebridge.orm.expression.function.scalar.AbsSpec
-
Returns a string representation of this record class.
- toString() - Method in record class org.litebridge.orm.expression.function.scalar.LowerSpec
-
Returns a string representation of this record class.
- toString() - Method in record class org.litebridge.orm.expression.function.scalar.SubstringSpec
-
Returns a string representation of this record class.
- toString() - Method in record class org.litebridge.orm.expression.function.scalar.UpperSpec
-
Returns a string representation of this record class.
- toString() - Method in record class org.litebridge.orm.expression.intent.ConvertIntent
-
Returns a string representation of this record class.
- toString() - Method in record class org.litebridge.orm.expression.intent.ExpressionSpecArray
-
Returns a string representation of this record class.
- toString() - Method in record class org.litebridge.orm.expression.ProtoColumnExpressionSpec
-
Returns a string representation of this record class.
- toString() - Method in record class org.litebridge.orm.expression.ProtoNestableBasicExprSpec
-
Returns a string representation of this record class.
- toString() - Method in record class org.litebridge.orm.expression.ProtoNestableTOExpr
-
Returns a string representation of this record class.
- toString() - Method in record class org.litebridge.orm.expression.select.SubselectSpec
-
Returns a string representation of this record class.
- toString() - Method in class org.litebridge.orm.meta.QueryField
- toString() - Method in record class org.litebridge.orm.nativesql.ParsedSql
-
Returns a string representation of this record class.
- toString() - Method in record class org.litebridge.orm.persistence.DtoConstructor.ConstructionResult
-
Returns a string representation of this record class.
- toString() - Method in record class org.litebridge.orm.persistence.DtoConstructor.DtoDependency
-
Returns a string representation of this record class.
- toString() - Method in record class org.litebridge.orm.persistence.DtoConstructor.FieldAccessorValue
-
Returns a string representation of this record class.
- toString() - Method in record class org.litebridge.orm.persistence.DtoConstructor.MappingInfo
-
Returns a string representation of this record class.
- toString() - Method in record class org.litebridge.orm.persistence.DtoEntityMapping
-
Returns a string representation of this record class.
- toString() - Method in record class org.litebridge.orm.persistence.DtoRowValue
-
Returns a string representation of this record class.
- toString() - Method in record class org.litebridge.orm.persistence.MappedManyToMany
-
Returns a string representation of this record class.
- toString() - Method in record class org.litebridge.orm.persistence.MappedOneToMany
-
Returns a string representation of this record class.
- toString() - Method in record class org.litebridge.orm.persistence.MappingPlan.FieldMapping
-
Returns a string representation of this record class.
- toString() - Method in record class org.litebridge.orm.persistence.MappingPlan
-
Returns a string representation of this record class.
- toString() - Method in record class org.litebridge.orm.persistence.PipedStatement
-
Returns a string representation of this record class.
- toString() - Method in record class org.litebridge.orm.persistence.TableMapper.MappedTable
-
Returns a string representation of this record class.
- toString() - Method in class org.litebridge.tracking.ChangedCollectionField
- toString() - Method in class org.litebridge.tracking.ChangedField
- toString() - Method in class org.litebridge.tracking.ChangedMapField
- toString() - Method in class org.litebridge.tracking.DirectFieldAccessor
- toString() - Method in class org.litebridge.tracking.FieldAccessorChain
- toString() - Method in class org.litebridge.tracking.PropertyAccessor
- toTable() - Method in class org.litebridge.db.spi.TableMetaData
-
Returns a
Tableobject representing this table. - toUpdate(TableMetaDataCache, TypeConverter) - Method in class org.litebridge.orm.api.update.model.UpdateSpec
- toZonedDateTime(String) - Static method in class org.litebridge.commons.TimeUtils
- toZonedDateTime(LocalDate) - Static method in class org.litebridge.commons.TimeUtils
- toZonedDateTime(LocalDateTime) - Static method in class org.litebridge.commons.TimeUtils
- toZonedDateTime(Date) - Static method in class org.litebridge.commons.TimeUtils
- track(T) - Method in class org.litebridge.orm.Litebridge
-
Initiate change tracking for the given Data Transfer Object (DTO).
- trackDto(DTO) - Method in class org.litebridge.tracking.ChangeTracker
-
Tracks the given Data Transfer Object (DTO) for detecting changes.
- trackDto(DTO, Set<String>) - Method in class org.litebridge.tracking.ChangeTracker
-
Tracks the specified fields of a given Data Transfer Object (DTO) for detecting changes.
- trackDto(Object) - Method in class org.litebridge.orm.persistence.OrmTable
-
Track the specified DTO's fields.
- trackDtoFields(DTO, Set<FieldAccessor>) - Method in class org.litebridge.tracking.ChangeTracker
-
Tracks the specified fields of a given Data Transfer Object (DTO) for detecting changes.
- trackDtoFields(DTO, Set<FieldAccessor>, boolean) - Method in class org.litebridge.tracking.ChangeTracker
-
Tracks the fields of the given Data Transfer Object (DTO) for detecting changes.
- TrackedDto<DTO> - Class in org.litebridge.tracking
-
Wrapper that tracks changes made to an external DTO.
- TrackedDto(DTO, Collection<FieldAccessor>, ClassFieldAccessorCache, Consumer<Object>) - Constructor for class org.litebridge.tracking.TrackedDto
-
Construct a
TrackedDtoinstance that wraps and tracks a given data transfer object (DTO). - TrackedDto(DTO, ClassFieldAccessorCache, Consumer<Object>) - Constructor for class org.litebridge.tracking.TrackedDto
-
Construct a
TrackedDtoinstance that tracks all fields of the given DTO object. - transaction() - Method in class org.litebridge.orm.Litebridge
-
Provides access to the current transaction context.
- Transaction - Class in org.litebridge.orm.tx
-
Represents a transactional context that allows controlled execution of operations within a transaction.
- Transaction(TransactionManager) - Constructor for class org.litebridge.orm.tx.Transaction
- TransactionalDatabaseProvider - Class in org.litebridge.orm.persistence
-
A decorator class that wraps a
DatabaseProviderto provide transactional support using aTransactionManager. - TransactionalDatabaseProvider(TransactionManager, DatabaseProvider) - Constructor for class org.litebridge.orm.persistence.TransactionalDatabaseProvider
-
Constructs a new TransactionalDatabaseProvider with the provided transaction manager and database provider.
- TransactionContext - Class in org.litebridge.orm.api.tx
-
Represents a transactional context that provides methods for configuring and managing transactions.
- TransactionContext(TransactionManager) - Constructor for class org.litebridge.orm.api.tx.TransactionContext
- TransactionContextTerminal - Class in org.litebridge.orm.api.tx
-
Represents the terminal stage of a transactional context, providing core methods for configuring and managing transactions.
- TransactionControl - Interface in org.litebridge.db.spi.tx
-
Provides control over the transaction lifecycle, including committing and rolling back transactions.
- TransactionException - Exception Class in org.litebridge.db.spi.tx
-
Exception type representing errors that occur during transactional operations.
- TransactionException(String) - Constructor for exception class org.litebridge.db.spi.tx.TransactionException
-
Constructs a new
TransactionExceptionwith the specified detail. - TransactionException(String, Throwable) - Constructor for exception class org.litebridge.db.spi.tx.TransactionException
-
Constructs a new
TransactionExceptionwith the specified detail. - transactionManager - Variable in class org.litebridge.orm.api.tx.TransactionContextTerminal
- transactionManager() - Method in class org.litebridge.orm.persistence.TransactionalDatabaseProvider
-
Returns the transaction manager responsible for managing transaction lifecycles.
- TransactionManager - Interface in org.litebridge.db.spi.tx
-
Defines a contract for managing transactions within an application.
- TransactionManagerFactory - Interface in org.litebridge.db.spi.tx
-
A factory interface for creating instances of
TransactionManager. - transformAlias(String) - Method in class org.litebridge.db.postgres.PostgresAliasTransformer
- transformAlias(String) - Method in interface org.litebridge.db.spi.alias.AliasTransformer
-
Transforms the given database alias into another form.
- transformAlias(String) - Method in class org.litebridge.db.spi.alias.DefaultAliasTransformer
- transformAlias(String) - Method in class org.litebridge.db.spi.impl.alias.UppercaseAliasTransformer
- TriFunction<T,
U, - Interface in org.litebridge.commons.typeV, R> - type() - Method in class org.litebridge.convert.converter.BigDecimalConverter
-
Returns the target Java class this converter handles.
- type() - Method in class org.litebridge.convert.converter.BigIntegerConverter
-
Returns the target Java class this converter handles.
- type() - Method in class org.litebridge.convert.converter.BooleanConverter
-
Returns the target Java class this converter handles.
- type() - Method in class org.litebridge.convert.converter.ByteArrayConverter
-
Returns the target Java class this converter handles.
- type() - Method in class org.litebridge.convert.converter.ByteConverter
-
Returns the target Java class this converter handles.
- type() - Method in class org.litebridge.convert.converter.CharacterConverter
-
Returns the target Java class this converter handles.
- type() - Method in interface org.litebridge.convert.converter.Converter
-
Returns the target Java class this converter handles.
- type() - Method in class org.litebridge.convert.converter.DateConverter
- type() - Method in class org.litebridge.convert.converter.DoubleConverter
-
Returns the target Java class this converter handles.
- type() - Method in class org.litebridge.convert.converter.FloatConverter
-
Returns the target Java class this converter handles.
- type() - Method in class org.litebridge.convert.converter.GenericConverter
-
Returns the target Java class this converter handles.
- type() - Method in class org.litebridge.convert.converter.IntegerConverter
-
Returns the target Java class this converter handles.
- type() - Method in class org.litebridge.convert.converter.LocalDateConverter
- type() - Method in class org.litebridge.convert.converter.LocalDateTimeConverter
- type() - Method in class org.litebridge.convert.converter.LongConverter
-
Returns the target Java class this converter handles.
- type() - Method in class org.litebridge.convert.converter.OffsetDateTimeConverter
-
Returns the target Java class this converter handles.
- type() - Method in class org.litebridge.convert.converter.ShortConverter
-
Returns the target Java class this converter handles.
- type() - Method in class org.litebridge.convert.converter.SqlDateConverter
-
Returns the target Java class this converter handles.
- type() - Method in class org.litebridge.convert.converter.SqlTimeConverter
-
Returns the target Java class this converter handles.
- type() - Method in class org.litebridge.convert.converter.SqlTimestampConverter
-
Returns the target Java class this converter handles.
- type() - Method in class org.litebridge.convert.converter.StringConverter
-
Returns the target Java class this converter handles.
- type() - Method in class org.litebridge.convert.converter.ZonedDateTimeConverter
- type() - Method in class org.litebridge.orm.api.select.ast.JoinNode
-
Returns the type of join.
- type() - Method in class org.litebridge.orm.expression.intent.ConvertSpec
- type() - Method in record class org.litebridge.orm.expression.ProtoColumnExpressionSpec
-
Returns the value of the
typerecord component. - type() - Method in record class org.litebridge.orm.expression.ProtoNestableBasicExprSpec
-
Returns the value of the
typerecord component. - type() - Method in record class org.litebridge.orm.expression.ProtoNestableTOExpr
-
Returns the value of the
typerecord component. - type() - Method in interface org.litebridge.orm.expression.Resolvable
-
Returns the type of
ExpressionSpecthat thisResolvablecan resolve to. - type() - Method in class org.litebridge.tracking.DirectFieldAccessor
- type() - Method in interface org.litebridge.tracking.FieldAccessor
-
Returns the declared type for the field represented by this
FieldAccessor. - type() - Method in class org.litebridge.tracking.FieldAccessorChain
- type() - Method in class org.litebridge.tracking.PropertyAccessor
- typeConversionMetaData() - Method in record class org.litebridge.db.spi.sql.PreparedSql
-
Returns the value of the
typeConversionMetaDatarecord component. - typeConversionMetaData() - Method in record class org.litebridge.orm.engine.QueryPlanCache.CachedOperation
-
Returns the value of the
typeConversionMetaDatarecord component. - TypeConversionMetaData - Record Class in org.litebridge.db.spi.query
- TypeConversionMetaData(Map<String, ColumnMetaData>, Class<?>[]) - Constructor for record class org.litebridge.db.spi.query.TypeConversionMetaData
-
Creates an instance of a
TypeConversionMetaDatarecord class. - typeConverter - Variable in class org.litebridge.db.spi.impl.AbstractDatabaseProvider
-
The type converter used for mapping between database and Java types.
- typeConverter - Variable in class org.litebridge.db.spi.impl.sql.AbstractSqlGenerator
-
The type converter used for mapping between database and Java types.
- typeConverter() - Method in class org.litebridge.orm.engine.LitebridgeContext
- TypeConverter - Interface in org.litebridge.db.spi.convert
-
The
TypeConverterinterface defines a mechanism for converting objects between different types, commonly used for database data type conversions and domain-specific representations. - typeOverride() - Method in class org.litebridge.db.spi.expression.ConvertExpression
-
Retrieves the class type that overrides the default type of the wrapped
SelectExpression. - typeOverride() - Method in record class org.litebridge.orm.expression.ProtoNestableTOExpr
-
Returns the value of the
typeOverriderecord component. - TypeOverride<T> - Interface in org.litebridge.orm.expression
-
Indicates that a query result should be converted to a different type.
- TypeOverrideExpressionSpec<T> - Interface in org.litebridge.orm.expression
-
A query expression that overrides the type of the result.
- typeOverrides() - Method in record class org.litebridge.db.spi.query.TypeConversionMetaData
-
Returns the value of the
typeOverridesrecord component.
U
- unregister(int) - Method in class org.litebridge.convert.ConfigurableTypeConverter
-
Removes a converter for a specific SQL type.
- unregister(Class<?>) - Method in class org.litebridge.convert.ConfigurableTypeConverter
-
Removes a converter for a specific Java type.
- unwrap(Class<T>) - Method in class org.litebridge.db.spi.tx.ManagedConnection
- unwrap(Class<T>) - Method in class org.litebridge.orm.tx.LitebridgeDriverManagerDataSource
- update(Class<DTO>, Function<DtoUpdateStart<DTO>, UpdateQuery>) - Method in class org.litebridge.orm.Litebridge
-
Updates the data in the database for the given DTO class by applying the specified update query.
- update(Object) - Method in class org.litebridge.orm.Litebridge
-
Update the specified Data Transfer Object (DTO) in the database via a SQL UPDATE statement.
- update(Object) - Method in class org.litebridge.orm.persistence.PersistenceFacade
-
Updates the specified Data Transfer Object (DTO) in the corresponding database table.
- update(String, Function<SqlUpdateStart, UpdateQuery>) - Method in class org.litebridge.orm.Litebridge
-
Executes an update operation on the specified table using the provided query function.
- update(PreparedSql, ConnectionProvider) - Method in interface org.litebridge.db.spi.DatabaseProvider
-
Execute an UPDATE operation in the database using the provided
Updatestatement. - update(PreparedSql, ConnectionProvider) - Method in class org.litebridge.db.spi.impl.AbstractDatabaseProvider
- update(PreparedSql, ConnectionProvider) - Method in class org.litebridge.orm.persistence.TransactionalDatabaseProvider
- Update - Record Class in org.litebridge.db.spi.update
-
A SQL UPDATE statement targeting a specific table, with associated column values and conditions.
- Update(Table, List<ColumnValue>, ConditionGroup) - Constructor for record class org.litebridge.db.spi.update.Update
-
Creates an instance of a
Updaterecord class. - updateColumn(Column, Object) - Method in class org.litebridge.db.spi.Row
-
Updates the value of an existing column in the row.
- updatedIndices() - Method in class org.litebridge.tracking.ChangedCollectionField
-
Returns a list of indices that have been updated.
- updatedValues() - Method in class org.litebridge.tracking.ChangedCollectionField
-
Returns a list of values that have been updated in the collection.
- updateMetaData() - Method in record class org.litebridge.db.spi.sql.PreparedSql
-
Returns the value of the
updateMetaDatarecord component. - updateMetaData() - Method in record class org.litebridge.orm.engine.QueryPlanCache.CachedOperation
-
Returns the value of the
updateMetaDatarecord component. - UpdateMetaData - Record Class in org.litebridge.db.spi.query
-
Update operation metadata.
- UpdateMetaData(boolean, List<ColumnMetaData>, String[]) - Constructor for record class org.litebridge.db.spi.query.UpdateMetaData
-
Creates an instance of a
UpdateMetaDatarecord class. - UpdateNode - Record Class in org.litebridge.orm.api.select.ast
-
Represents an UPDATE statement in the query AST.
- UpdateNode(QueryNode, Table) - Constructor for record class org.litebridge.orm.api.select.ast.UpdateNode
-
Creates an instance of a
UpdateNoderecord class. - UpdateQuery - Interface in org.litebridge.orm.api.update
- UpdateResult - Class in org.litebridge.db.spi.update
-
Result of an update operation performed on the database.
- UpdateResult(int) - Constructor for class org.litebridge.db.spi.update.UpdateResult
-
Constructs an
UpdateResultinstance representing the result of an update operation performed on the database. - UpdateSetStep<US> - Class in org.litebridge.orm.api.update
- UpdateSetStep(Column, US) - Constructor for class org.litebridge.orm.api.update.UpdateSetStep
- updateSpec() - Method in class org.litebridge.orm.api.dto.update.DtoUpdateWhereConditionClauseTerminalImpl
- updateSpec() - Method in class org.litebridge.orm.api.sql.update.SqlUpdateWhereConditionClauseTerminalImpl
- updateSpec() - Method in interface org.litebridge.orm.api.update.UpdateTerminal
-
Returns the update specification.
- UpdateSpec - Class in org.litebridge.orm.api.update.model
-
Base specification for constructing a SQL UPDATE statement.
- UpdateSpec(Table, SelectExpressionMapper) - Constructor for class org.litebridge.orm.api.update.model.UpdateSpec
- updateSqlGenerator - Variable in class org.litebridge.db.spi.impl.AbstractDatabaseProvider
-
Lazy-loaded UPDATE SQL generator.
- UpdateSqlGenerator - Class in org.litebridge.db.spi.impl.sql
-
SQL generator for UPDATE statements.
- UpdateSqlGenerator(TypeConverter, ColumnIdentifierGenerator, BiFunction<Table, ConnectionProvider, TableMetaData>) - Constructor for class org.litebridge.db.spi.impl.sql.UpdateSqlGenerator
-
Creates a new
UpdateSqlGenerator. - UpdateStatement - Interface in org.litebridge.db.spi.update
-
Common marker interface for database update operations.
- UpdateStep - Interface in org.litebridge.orm.api.update
- UpdateTerminal - Interface in org.litebridge.orm.api.update
- UpdateWhereConditionClause<DTO,
SELF, - Interface in org.litebridge.orm.api.updateWCCT> - UpdateWhereConditionClauseTerminal<DTO,
WCC, - Interface in org.litebridge.orm.api.updateSELF> - upper() - Method in record class org.litebridge.db.spi.expression.SqlFunctionRegistry.Scalar
-
Returns the value of the
upperrecord component. - upper() - Method in class org.litebridge.orm.meta.StringQueryField
-
UPPER(): Returns the uppercase value of a column's text. - upper(String) - Static method in class org.litebridge.orm.expression.Fn
-
UPPER(): Returns the uppercase value of a column's text. - upper(ExpressionSpec) - Static method in class org.litebridge.orm.expression.Fn
-
UPPER(): Returns the uppercase value of a column's text. - Upper - Class in org.litebridge.db.spi.impl.function.scalar
-
UPPER(column)scalar function. - Upper(ColumnExpression, ColumnIdentifierGenerator) - Constructor for class org.litebridge.db.spi.impl.function.scalar.Upper
-
Creates a new
UPPERfunction. - UppercaseAliasTransformer - Class in org.litebridge.db.spi.impl.alias
-
Implementation of
AliasTransformerthat converts database alias strings to uppercase. - UppercaseAliasTransformer() - Constructor for class org.litebridge.db.spi.impl.alias.UppercaseAliasTransformer
- UpperSpec - Record Class in org.litebridge.orm.expression.function.scalar
-
UPPER(): Returns the uppercase value of a column. - UpperSpec(ColumnExpressionSpec) - Constructor for record class org.litebridge.orm.expression.function.scalar.UpperSpec
-
Creates an instance of a
UpperSpecrecord class. - using(String) - Method in interface org.litebridge.orm.api.select.JoinConditionClause
-
Join using a specific column.
- using(String) - Method in interface org.litebridge.orm.api.select.model.JoinSpec
-
Join using a specific column.
- using(String) - Method in class org.litebridge.orm.api.sql.SqlJoinClause
-
Adds a join USING condition to the current join clause using the specified column.
- using(String) - Method in class org.litebridge.orm.api.sql.SqlJoinSpec
- USING - Enum constant in enum class org.litebridge.db.spi.query.Operator
-
Used to specify expressions for joining tables.
V
- value - Variable in class org.litebridge.tracking.ChangedField
-
The current value of the field that has changed.
- value() - Method in class org.litebridge.db.spi.expression.LiteralExpression
-
Retrieves the value of this literal expression.
- value() - Method in record class org.litebridge.db.spi.math.MathOperation
-
Returns the value of the
valuerecord component. - value() - Method in class org.litebridge.db.spi.Row.RowColumn
-
Retrieve the value associated with the current
Columnin the context of the row. - value() - Method in record class org.litebridge.db.spi.sql.BindValue
-
Returns the value of the
valuerecord component. - value() - Method in record class org.litebridge.db.spi.update.ColumnValue
-
Returns the value of the
valuerecord component. - value() - Element in annotation interface org.litebridge.orm.annotation.AllowInterface
-
Specifies additional superinterfaces of the entity class that will be recognised by Litebridge relational mapping if used in collections.
- value() - Element in annotation interface org.litebridge.orm.annotation.Column
-
Specifies the name of the database column that the annotated field or method maps to.
- value() - Element in annotation interface org.litebridge.orm.annotation.Table
-
Specifies the name of the database table that the annotated class maps to.
- value() - Method in record class org.litebridge.orm.api.select.ast.SetNode
-
Returns the value of the
valuerecord component. - value() - Method in record class org.litebridge.orm.persistence.DtoConstructor.FieldAccessorValue
-
Returns the value of the
valuerecord component. - value() - Method in class org.litebridge.tracking.ChangedField
-
Retrieve the current value of the field that has changed.
- valueOf(String) - Static method in enum class org.litebridge.db.spi.expression.ClauseType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.litebridge.db.spi.math.MathOperation.Operator
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.litebridge.db.spi.query.LogicOperator
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.litebridge.db.spi.query.Operator
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.litebridge.db.spi.tx.Isolation
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.litebridge.orm.config.RelatedDtoStrategy
-
Returns the enum constant of this class with the specified name.
- valuePipe() - Method in record class org.litebridge.orm.persistence.PipedStatement
-
Returns the value of the
valuePiperecord component. - values() - Method in class org.litebridge.commons.type.WeakIdentityMap
- values() - Static method in enum class org.litebridge.db.spi.expression.ClauseType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.litebridge.db.spi.math.MathOperation.Operator
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.litebridge.db.spi.query.LogicOperator
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.litebridge.db.spi.query.Operator
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.litebridge.db.spi.tx.Isolation
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.litebridge.orm.config.RelatedDtoStrategy
-
Returns an array containing the constants of this enum class, in the order they are declared.
- valueSpecifiers() - Method in record class org.litebridge.db.spi.impl.sql.PreparedRow
-
Returns the value of the
valueSpecifiersrecord component. - valueStream() - Method in class org.litebridge.db.spi.Row
-
Return a stream of objects containing the values of the results in this row.
- verifySchemaAndTableExists(Table, DatabaseMetaData) - Static method in class org.litebridge.db.spi.impl.AbstractDatabaseProvider
-
Verify that the specified schema and table exist in the database.
W
- WeakIdentityMap<K,
V> - Class in org.litebridge.commons.type -
A Map implementation that uses weak references for keys and compares keys using identity comparison (==).
- WeakIdentityMap() - Constructor for class org.litebridge.commons.type.WeakIdentityMap
- WeakIdentitySet<E> - Class in org.litebridge.commons.type
-
A Set implementation that uses identity comparison for object equality, and holds its elements weakly, meaning elements are eligible for garbage collection if no strong references to them exist outside this set.
- WeakIdentitySet() - Constructor for class org.litebridge.commons.type.WeakIdentitySet
- where() - Method in record class org.litebridge.db.spi.query.Select
-
Returns the value of the
whererecord component. - where() - Method in record class org.litebridge.db.spi.update.Delete
-
Returns the value of the
whererecord component. - where() - Method in record class org.litebridge.db.spi.update.Update
-
Returns the value of the
whererecord component. - where(String) - Method in class org.litebridge.orm.api.condition.AbstractConditionClauseStart
-
Starts a WHERE clause with a column name.
- where(String) - Method in class org.litebridge.orm.api.dto.condition.DtoConditionClauseStart
- where(String) - Method in interface org.litebridge.orm.api.dto.delete.DtoDeleteWhereClause
-
Creates a condition based on a field name.
- where(String) - Method in class org.litebridge.orm.api.dto.delete.DtoDeletor
- where(String) - Method in class org.litebridge.orm.api.dto.DtoFromClauseTerminal
- where(String) - Method in class org.litebridge.orm.api.dto.DtoJoinConditionClauseTerminal
- where(String) - Method in class org.litebridge.orm.api.dto.update.DtoUpdater
- where(String) - Method in interface org.litebridge.orm.api.dto.update.DtoUpdateStep
-
Adds a where condition by field name.
- where(String) - Method in interface org.litebridge.orm.api.select.JoinClauseTerminal
-
Starts a WHERE clause for the SQL query.
- where(String) - Method in interface org.litebridge.orm.api.sql.delete.SqlDeleteWhereClause
- where(String) - Method in class org.litebridge.orm.api.sql.delete.SqlDeletor
- where(String) - Method in class org.litebridge.orm.api.sql.SqlFromClauseTerminal
- where(String) - Method in class org.litebridge.orm.api.sql.SqlJoinConditionClauseTerminal
- where(String) - Method in class org.litebridge.orm.api.sql.update.SqlUpdater
- where(String) - Method in interface org.litebridge.orm.api.sql.update.SqlUpdateStep
- where(QueryConditionBuilder<DTO>) - Method in class org.litebridge.orm.api.dto.DtoFromClauseTerminal
-
Adds a nested condition clause.
- where(QueryNode) - Method in class org.litebridge.orm.persistence.AbstractConditionalStatementBuilder
-
Adds a WHERE condition to the statement.
- where(ExpressionSpec) - Method in class org.litebridge.orm.api.condition.AbstractConditionClauseStart
-
Starts a WHERE clause with an expression.
- where(ExpressionSpec) - Method in class org.litebridge.orm.api.dto.condition.DtoConditionClauseStart
- where(ExpressionSpec) - Method in interface org.litebridge.orm.api.dto.delete.DtoDeleteWhereClause
-
Creates a condition based on an expression.
- where(ExpressionSpec) - Method in class org.litebridge.orm.api.dto.delete.DtoDeletor
- where(ExpressionSpec) - Method in class org.litebridge.orm.api.dto.DtoFromClauseTerminal
- where(ExpressionSpec) - Method in class org.litebridge.orm.api.dto.DtoJoinConditionClauseTerminal
- where(ExpressionSpec) - Method in class org.litebridge.orm.api.dto.update.DtoUpdater
- where(ExpressionSpec) - Method in interface org.litebridge.orm.api.dto.update.DtoUpdateStep
-
Adds a where condition by expression.
- where(ExpressionSpec) - Method in interface org.litebridge.orm.api.select.JoinClauseTerminal
-
Starts a WHERE clause for the SQL query.
- where(ExpressionSpec) - Method in interface org.litebridge.orm.api.sql.delete.SqlDeleteWhereClause
- where(ExpressionSpec) - Method in class org.litebridge.orm.api.sql.delete.SqlDeletor
- where(ExpressionSpec) - Method in class org.litebridge.orm.api.sql.SqlFromClauseTerminal
- where(ExpressionSpec) - Method in class org.litebridge.orm.api.sql.SqlJoinConditionClauseTerminal
- where(ExpressionSpec) - Method in class org.litebridge.orm.api.sql.update.SqlUpdater
- where(ExpressionSpec) - Method in interface org.litebridge.orm.api.sql.update.SqlUpdateStep
- WHERE - Enum constant in enum class org.litebridge.db.spi.expression.ClauseType
-
The WHERE clause.
- WhereClauseTerminal<DTO,
GBCT, - Interface in org.litebridge.orm.api.selectHCC, HCCT, OBC, OBCC> -
Terminal clause for constructing SQL WHERE conditions, allowing transitions to GROUP BY or ORDER BY stages in a fluent and type-safe query-building process.
- WhereConditionClause<DTO,
SELF, - Interface in org.litebridge.orm.api.selectWCCT, GBCT, HCC, HCCT, OBC, OBCC> -
Represents a WHERE condition clause in a query, allowing the composition of conditional expressions for filtering data in a fluent and type-safe manner.
- WhereConditionClauseTerminal<DTO,
WCC, - Interface in org.litebridge.orm.api.selectSELF, GBCT, HCC, HCCT, OBC, OBCC> -
Terminal interface for a WHERE condition clause in SQL query construction.
- whereConditions - Variable in class org.litebridge.orm.api.select.model.SelectSpec
- whereImpl(LogicOperator, String) - Method in class org.litebridge.orm.api.condition.AbstractCbConditionClauseTerminal
-
Internal implementation of the WHERE clause for column names.
- whereImpl(LogicOperator, String) - Method in class org.litebridge.orm.api.dto.condition.CbDtoConditionClauseTerminal
- whereImpl(LogicOperator, QueryConditionBuilder<DTO>) - Method in class org.litebridge.orm.api.condition.AbstractCbConditionClauseTerminal
-
Internal implementation of the WHERE clause for sub-conditions in queries.
- whereImpl(LogicOperator, QueryConditionBuilder<DTO>) - Method in class org.litebridge.orm.api.dto.condition.CbDtoConditionClauseTerminal
- whereImpl(LogicOperator, ExpressionSpec) - Method in class org.litebridge.orm.api.condition.AbstractCbConditionClauseTerminal
-
Internal implementation of the WHERE clause for expressions.
- whereImpl(LogicOperator, ExpressionSpec) - Method in class org.litebridge.orm.api.dto.condition.CbDtoConditionClauseTerminal
- WhereNode - Class in org.litebridge.orm.api.select.ast
-
Represents a WHERE clause condition in the query AST.
- WhereNode(QueryNode, QueryNode) - Constructor for class org.litebridge.orm.api.select.ast.WhereNode
- with(Function<FieldColumnSpecBuilder, FieldColumnSpecBuilderTerminal>) - Method in class org.litebridge.orm.api.register.RegistrationContextTerminal
-
Configures a field-to-column mapping for a Data Transfer Object (DTO) within the current registration context by applying a specification function.
- withColumn(Column, Object) - Method in class org.litebridge.db.spi.Row
-
Add a new column-value pair to the row and return the updated instance.
- withCondition(QueryNode) - Method in class org.litebridge.orm.api.select.ast.JoinNode
-
Sets the join condition node.
- withCondition(QueryNode) - Method in class org.litebridge.orm.api.select.ast.HavingNode
-
Sets the HAVING condition node.
- withCondition(QueryNode) - Method in class org.litebridge.orm.api.select.ast.WhereNode
- withId(Object) - Method in class org.litebridge.orm.api.dto.DtoFromClauseTerminal
-
Convenience method to select a DTO by its primary key.
- withIdOrNull(Object) - Method in class org.litebridge.orm.api.dto.DtoFromClauseTerminal
-
Convenience method to select a DTO by its primary key.
- withIdOrThrow(Object) - Method in class org.litebridge.orm.api.dto.DtoFromClauseTerminal
-
Retrieves a DTO by its primary key and throws an exception if no matching entry is found.
- withIdOrThrow(Object, Supplier<? extends X>) - Method in class org.litebridge.orm.api.dto.DtoFromClauseTerminal
-
Retrieves a DTO by its primary key and throws the specified exception if no matching entry is found.
- withMappedTable(Class<?>, Function<RegistrationContext, RegistrationContextTerminal>) - Method in class org.litebridge.orm.api.register.FieldColumnSpecBuilderJoinStep
-
Maps the current column configuration to a database table associated with the specified Data Transfer Object (DTO) class.
- withNode(QueryNode) - Method in class org.litebridge.orm.api.dto.DtoSelector
- withNode(QueryNode) - Method in class org.litebridge.orm.api.sql.SqlSelector
Z
- ZonedDateTimeConverter - Class in org.litebridge.convert.converter
- ZonedDateTimeConverter() - Constructor for class org.litebridge.convert.converter.ZonedDateTimeConverter
All Classes and Interfaces|All Packages|Serialized Form