Index
All Classes and Interfaces|All Packages|Serialized Form
A
- AbstractRef<T> - Class in st.orm.template.impl
-
Abstract implementation of
Refto have consistent implementations ofAbstractRef.hashCode(),AbstractRef.equals(Object). - AbstractRef() - Constructor for class st.orm.template.impl.AbstractRef
- addBatch(Record) - Method in interface st.orm.PreparedQuery
-
Add a record to the batch.
- addBatch(Record) - Method in interface st.orm.template.impl.BindVarsHandle
-
Adds a record to the batch.
- alias() - Method in record class st.orm.template.impl.Elements.Delete
-
Returns the value of the
aliasrecord component. - alias() - Method in record class st.orm.template.impl.Elements.From
-
Returns the value of the
aliasrecord component. - alias() - Method in record class st.orm.template.impl.Elements.Table
-
Returns the value of the
aliasrecord component. - alias() - Method in record class st.orm.template.impl.Elements.Update
-
Returns the value of the
aliasrecord component. - alias(Class<? extends Record>) - Static method in interface st.orm.Templates
-
Generates an alias element for the specified table class.
- alias(Class<? extends Record>, ResolveScope) - Static method in interface st.orm.Templates
-
Generates an alias element for the specified table class.
- Alias(Class<? extends Record>, ResolveScope) - Constructor for record class st.orm.template.impl.Elements.Alias
-
Creates an instance of a
Aliasrecord class. - and(QueryBuilder.PredicateBuilder<?, ?, ?>) - Method in interface st.orm.template.QueryBuilder.PredicateBuilder
-
Adds a predicate to the WHERE clause using an AND condition.
- ANSI_KEYWORDS - Static variable in class st.orm.spi.DefaultSqlDialect
- append(StringTemplate) - Method in class st.orm.template.impl.DeleteBuilderImpl
-
Append the query with a string template.
- append(StringTemplate) - Method in class st.orm.template.impl.SelectBuilderImpl
-
Append the query with a string template.
- append(StringTemplate) - Method in class st.orm.template.QueryBuilder
-
Append the query with a string template.
- applyLimitAfterSelect() - Method in class st.orm.spi.DefaultSqlDialect
-
Returns
trueif the limit should be applied after the SELECT clause,falseto apply the limit at the end of the query. - applyLimitAfterSelect() - Method in interface st.orm.template.SqlDialect
-
Returns
trueif the limit should be applied after the SELECT clause,falseto apply the limit at the end of the query. - applyLockHintAfterFrom() - Method in class st.orm.spi.DefaultSqlDialect
-
Returns
trueif the lock hint should be applied after the FROM clause,falseto apply the lock hint at the end of the query. - applyLockHintAfterFrom() - Method in interface st.orm.template.SqlDialect
-
Returns
trueif the lock hint should be applied after the FROM clause,falseto apply the lock hint at the end of the query. - autoGenerated() - Element in annotation interface st.orm.PK
-
Whether the primary key is auto generated.
- autoGenerated() - Method in interface st.orm.template.Column
-
Determines if the column is auto-generated, which is typical for primary keys.
- autoGenerated() - Method in record class st.orm.template.impl.ColumnImpl
-
Returns the value of the
autoGeneratedrecord component. - autoGeneratedPrimaryKey - Variable in class st.orm.spi.EntityRepositoryImpl
- autoJoin() - Method in record class st.orm.template.impl.Elements.From
-
Returns the value of the
autoJoinrecord component.
B
- BatchCallback<T> - Interface in st.orm
-
Batch callback interface.
- BETWEEN - Static variable in interface st.orm.template.Operator
-
The
BETWEENoperator. - bindVariables() - Method in interface st.orm.template.Sql
-
A bind variables object that can be used to add bind variables to a batch, if available.
- bindVariables(SqlTemplate.BindVariables) - Method in interface st.orm.template.Sql
-
Returns a new instance of the SQL statement with the given bind variables.
- bindVars() - Method in record class st.orm.template.impl.Elements.Set
-
Returns the value of the
bindVarsrecord component. - bindVars() - Method in record class st.orm.template.impl.Elements.Values
-
Returns the value of the
bindVarsrecord component. - bindVars() - Method in record class st.orm.template.impl.Elements.Var
-
Returns the value of the
bindVarsrecord component. - bindVars() - Method in record class st.orm.template.impl.Elements.Where
-
Returns the value of the
bindVarsrecord component. - BindVars - Interface in st.orm
-
Marker interface used within an SQL template to indicate where bind variables (parameters) should be injected.
- BindVarsHandle - Interface in st.orm.template.impl
-
Handle used to process bind variables.
- build() - Method in class st.orm.template.impl.DeleteBuilderImpl
-
Builds the query based on the current state of the query builder.
- build() - Method in class st.orm.template.impl.SelectBuilderImpl
-
Builds the query based on the current state of the query builder.
- build() - Method in class st.orm.template.QueryBuilder
-
Builds the query based on the current state of the query builder.
- build(Class<T>, boolean) - Method in interface st.orm.template.impl.ModelBuilder
-
Builds the model.
- build(T, boolean) - Method in interface st.orm.template.impl.ModelBuilder
-
Builds the model.
C
- camelCaseAbbreviation() - Static method in interface st.orm.template.TableAliasResolver
-
Resolves the alias for a table using camel case abbreviation.
- camelCaseToSnakeCase() - Static method in interface st.orm.template.ColumnNameResolver
-
Resolves the column name for a record component using camel case to snake case conversion.
- camelCaseToSnakeCase() - Static method in interface st.orm.template.ForeignKeyResolver
-
Resolves the column name for a record component using camel case to snake case conversion.
- camelCaseToSnakeCase() - Static method in interface st.orm.template.TableNameResolver
-
Resolves the table name for a given record type using camel case to snake case conversion.
- CASCADE - Enum constant in enum class st.orm.template.ResolveScope
-
Enforce unambiguity by requiring the alias to be resolved uniquely.
- close() - Method in interface st.orm.PreparedQuery
-
Close the resources associated with this query.
- column(Metamodel<?, ?>) - Static method in interface st.orm.Templates
-
Generates a column element for a column specified by the given
metamodelin a type safe manner. - column(Metamodel<?, ?>, ResolveScope) - Static method in interface st.orm.Templates
-
Generates a column element for a column specified by the given
metamodelin a type safe manner. - Column - Interface in st.orm.template
-
Represents a column in a database table.
- Column(Metamodel<?, ?>, ResolveScope) - Constructor for record class st.orm.template.impl.Elements.Column
-
Creates an instance of a
Columnrecord class. - ColumnImpl - Record Class in st.orm.template.impl
-
Represents a column in a database table.
- ColumnImpl(Name, int, Class<?>, boolean, boolean, boolean, boolean, boolean, boolean, boolean, boolean) - Constructor for record class st.orm.template.impl.ColumnImpl
-
Creates an instance of a
ColumnImplrecord class. - columnName() - Method in record class st.orm.template.impl.ColumnImpl
-
Returns the value of the
columnNamerecord component. - ColumnName - Record Class in st.orm.template.impl
- ColumnName(String) - Constructor for record class st.orm.template.impl.ColumnName
- ColumnName(String, boolean) - Constructor for record class st.orm.template.impl.ColumnName
-
Creates an instance of a
ColumnNamerecord class. - columnNameResolver() - Method in interface st.orm.template.impl.ModelBuilder
-
Returns the column name resolver for the model.
- columnNameResolver() - Method in class st.orm.template.impl.SqlTemplateImpl
-
Returns the column name resolver that is used by this template.
- columnNameResolver() - Method in interface st.orm.template.SqlTemplate
-
Returns the column name resolver that is used by this template.
- columnNameResolver(ColumnNameResolver) - Method in interface st.orm.template.impl.ModelBuilder
-
Sets the column name resolver for the model.
- ColumnNameResolver - Interface in st.orm.template
-
Resolves the column name for a record component.
- columns() - Method in record class st.orm.template.impl.ModelImpl
-
Returns the value of the
columnsrecord component. - columns() - Method in interface st.orm.template.Model
-
Returns an immutable list of columns in the entity or projection.
- component() - Method in class st.orm.template.impl.MetamodelImpl
-
Returns the component path.
- component() - Method in interface st.orm.template.Metamodel
-
Returns the component path.
- componentPath() - Method in interface st.orm.template.Metamodel
-
Returns the component path.
- componentType() - Method in class st.orm.template.impl.MetamodelImpl
-
Returns the component type of the designated element.
- componentType() - Method in interface st.orm.template.Metamodel
-
Returns the component type of the designated element.
- correlate() - Method in record class st.orm.template.impl.Elements.SubqueryPREVIEW
-
Returns the value of the
correlaterecord component. - count() - Method in interface st.orm.repository.EntityRepository
-
Returns the number of entities in the database of the entity type supported by this repository.
- count() - Method in interface st.orm.repository.ProjectionRepository
-
Returns the number of projections in the database of the projection type supported by this repository.
- count() - Method in class st.orm.spi.EntityRepositoryImpl
-
Returns the number of entities in the database of the entity type supported by this repository.
- count() - Method in class st.orm.spi.ProjectionRepositoryImpl
-
Returns the number of entities in the database of the entity type supported by this repository.
- countById(Stream<ID>) - Method in interface st.orm.repository.EntityRepository
-
Counts the number of entities identified by the provided stream of IDs using the default batch size.
- countById(Stream<ID>) - Method in interface st.orm.repository.ProjectionRepository
-
Counts the number of projections identified by the provided stream of IDs using the default batch size.
- countById(Stream<ID>) - Method in class st.orm.spi.EntityRepositoryImpl
-
Counts the number of entities identified by the provided stream of IDs using the default batch size.
- countById(Stream<ID>) - Method in class st.orm.spi.ProjectionRepositoryImpl
-
Counts the number of entities identified by the provided stream of IDs using the default batch size.
- countById(Stream<ID>, int) - Method in interface st.orm.repository.EntityRepository
-
Counts the number of entities identified by the provided stream of IDs, with the counting process divided into batches of the specified size.
- countById(Stream<ID>, int) - Method in interface st.orm.repository.ProjectionRepository
-
Counts the number of projections identified by the provided stream of IDs, with the counting process divided into batches of the specified size.
- countById(Stream<ID>, int) - Method in class st.orm.spi.EntityRepositoryImpl
-
Counts the number of entities identified by the provided stream of IDs, with the counting process divided into batches of the specified size.
- countById(Stream<ID>, int) - Method in class st.orm.spi.ProjectionRepositoryImpl
-
Counts the number of entities identified by the provided stream of IDs, with the counting process divided into batches of the specified size.
- countByRef(Stream<Ref<E>>) - Method in interface st.orm.repository.EntityRepository
-
Counts the number of entities identified by the provided stream of refs using the default batch size.
- countByRef(Stream<Ref<E>>) - Method in class st.orm.spi.EntityRepositoryImpl
-
Counts the number of entities identified by the provided stream of refs using the default batch size.
- countByRef(Stream<Ref<P>>) - Method in class st.orm.spi.ProjectionRepositoryImpl
-
Counts the number of entities identified by the provided stream of refs using the default batch size.
- countByRef(Stream<Ref<E>>, int) - Method in interface st.orm.repository.EntityRepository
-
Counts the number of entities identified by the provided stream of refs, with the counting process divided into batches of the specified size.
- countByRef(Stream<Ref<E>>, int) - Method in class st.orm.spi.EntityRepositoryImpl
-
Counts the number of entities identified by the provided stream of refs, with the counting process divided into batches of the specified size.
- countByRef(Stream<Ref<P>>, int) - Method in class st.orm.spi.ProjectionRepositoryImpl
-
Counts the number of entities identified by the provided stream of refs, with the counting process divided into batches of the specified size.
- countByRef(Stream<Ref<P>>) - Method in interface st.orm.repository.ProjectionRepository
-
Counts the number of projections identified by the provided stream of refs using the default batch size.
- countByRef(Stream<Ref<P>>, int) - Method in interface st.orm.repository.ProjectionRepository
-
Counts the number of projections identified by the provided stream of refs, with the counting process divided into batches of the specified size.
- create(Class<T>, ID) - Method in interface st.orm.template.impl.RefFactory
-
Creates a ref instance for the specified record
typeandpk. - create(Class<T>, ID) - Method in class st.orm.template.impl.RefFactoryImpl
-
Creates a ref instance for the specified record
typeandpk. - create(StringTemplate) - Method in interface st.orm.spi.QueryFactory
-
Create a new query for the specified
template. - create(StringTemplate) - Method in class st.orm.template.impl.JpaTemplateImpl
- create(StringTemplate) - Method in class st.orm.template.impl.PreparedStatementTemplateImpl
-
Create a new query for the specified
template. - create(T, ID) - Method in interface st.orm.template.impl.RefFactory
-
Creates a ref instance for the specified
recordandpk. - create(T, ID) - Method in class st.orm.template.impl.RefFactoryImpl
-
Creates a ref instance for the specified
record,typeandpk. - Create - Search tag in interface st.orm.Templates
- Section
- Create - Search tag in interface st.orm.repository.EntityRepository
- Section
- createBindVars() - Method in interface st.orm.spi.QueryFactory
-
Create a new bind variables instance that can be used to add bind variables to a batch.
- createBindVars() - Method in class st.orm.template.impl.JpaTemplateImpl
-
Create a new bind variables instance that can be used to add bind variables to a batch.
- createBindVars() - Method in class st.orm.template.impl.PreparedStatementTemplateImpl
-
Create a new bind variables instance that can be used to add bind variables to a batch.
- createBindVars() - Method in class st.orm.template.impl.ORMTemplateImpl
-
Create a new bind variables instance that can be used to add bind variables to a batch.
- createBindVars() - Method in class st.orm.template.impl.SqlTemplateImpl
-
Create a new bind variables instance that can be used to add bind variables to a batch.
- createBindVars() - Method in interface st.orm.template.PreparedStatementTemplate
-
Create a new bind variables instance that can be used to add bind variables to a batch.
- createBindVars() - Method in interface st.orm.template.QueryTemplate
-
Create a new bind variables instance that can be used to add bind variables to a batch.
- createBindVars() - Method in interface st.orm.template.SqlTemplate
-
Create a new bind variables instance that can be used to add bind variables to a batch.
- cross() - Static method in interface st.orm.template.JoinType
-
The default cross join type.
- CROSS - Enum constant in enum class st.orm.template.impl.DefaultJoinType
- crossJoin(Class<? extends Record>) - Method in class st.orm.template.impl.DeleteBuilderImpl
-
Adds a cross join to the query.
- crossJoin(Class<? extends Record>) - Method in class st.orm.template.impl.SelectBuilderImpl
-
Adds a cross join to the query.
- crossJoin(Class<? extends Record>) - Method in class st.orm.template.QueryBuilder
-
Adds a cross join to the query.
- crossJoin(StringTemplate) - Method in class st.orm.template.impl.DeleteBuilderImpl
-
Adds a cross join to the query.
- crossJoin(StringTemplate) - Method in class st.orm.template.impl.SelectBuilderImpl
-
Adds a cross join to the query.
- crossJoin(StringTemplate) - Method in class st.orm.template.QueryBuilder
-
Adds a cross join to the query.
- CRUD Operations - Search tag in interface st.orm.repository.EntityRepository
- Section
D
- DATE - Enum constant in enum class st.orm.TemporalType
-
Map as
java.sql.Date - DbColumn - Annotation Interface in st.orm
-
Specifies the name for the column, table or view.
- DbColumns - Annotation Interface in st.orm
-
Annotation for specifying multiple database column names, e.g., for compound keys.
- DbEnum - Annotation Interface in st.orm
-
Specifies how an enum should be mapped when reading or writing to a column.
- DbTable - Annotation Interface in st.orm
-
Specifies the schema name for the table or view.
- dbValue() - Method in record class st.orm.template.impl.Elements.Param
-
Returns the value of the
dbValuerecord component. - dbValue() - Method in record class st.orm.template.SqlTemplate.NamedParameter
-
Returns the value of the
dbValuerecord component. - dbValue() - Method in interface st.orm.template.SqlTemplate.Parameter
-
Retrieves the database value of this parameter.
- dbValue() - Method in record class st.orm.template.SqlTemplate.PositionalParameter
-
Returns the value of the
dbValuerecord component. - DEFAULT - Static variable in interface st.orm.template.ColumnNameResolver
-
The default column name resolver used by the ORM template.
- DEFAULT - Static variable in interface st.orm.template.ForeignKeyResolver
-
The default foreign key resolver used by the ORM template.
- DEFAULT - Static variable in interface st.orm.template.TableAliasResolver
-
The default table alias resolver.
- DEFAULT - Static variable in interface st.orm.template.TableNameResolver
-
The default table name resolver.
- defaultBatchSize - Variable in class st.orm.spi.EntityRepositoryImpl
- DefaultEntityRepositoryProviderImpl - Class in st.orm.spi
-
Provider for default entity repositories.
- DefaultEntityRepositoryProviderImpl() - Constructor for class st.orm.spi.DefaultEntityRepositoryProviderImpl
- DefaultJoinType - Enum Class in st.orm.template.impl
-
Default implementation of the
JoinTypeinterface used to represent the default join types. - DefaultORMReflectionImpl - Class in st.orm.spi
- DefaultORMReflectionImpl() - Constructor for class st.orm.spi.DefaultORMReflectionImpl
- DefaultORMReflectionProviderImpl - Class in st.orm.spi
- DefaultORMReflectionProviderImpl() - Constructor for class st.orm.spi.DefaultORMReflectionProviderImpl
- DefaultProjectionRepositoryProviderImpl - Class in st.orm.spi
-
Provider for default projection repositories.
- DefaultProjectionRepositoryProviderImpl() - Constructor for class st.orm.spi.DefaultProjectionRepositoryProviderImpl
- DefaultQueryBuilderProviderImpl - Class in st.orm.spi
-
Default implementation of
QueryBuilderProviderthat are based onSelectBuilderImplandDeleteBuilderImpl. - DefaultQueryBuilderProviderImpl() - Constructor for class st.orm.spi.DefaultQueryBuilderProviderImpl
- defaultSliceSize - Variable in class st.orm.spi.EntityRepositoryImpl
- defaultSliceSize - Variable in class st.orm.spi.ProjectionRepositoryImpl
- DefaultSqlDialect - Class in st.orm.spi
- DefaultSqlDialect() - Constructor for class st.orm.spi.DefaultSqlDialect
- DefaultSqlDialectProviderImpl - Class in st.orm.spi
- DefaultSqlDialectProviderImpl() - Constructor for class st.orm.spi.DefaultSqlDialectProviderImpl
- delete() - Method in interface st.orm.repository.EntityRepository
-
Creates a new query builder for delete entities of the type managed by this repository.
- delete() - Method in class st.orm.spi.EntityRepositoryImpl
-
Creates a new query builder for delete entities of the type managed by this repository.
- delete(E) - Method in interface st.orm.repository.EntityRepository
-
Deletes an entity from the database.
- delete(E) - Method in class st.orm.spi.EntityRepositoryImpl
-
Deletes an entity from the database.
- delete(ID) - Method in interface st.orm.repository.EntityRepository
-
Deletes an entity from the database based on its primary key.
- delete(ID) - Method in class st.orm.spi.EntityRepositoryImpl
-
Deletes an entity from the database based on its primary key.
- delete(Class<? extends Record>) - Static method in interface st.orm.Templates
-
Generates a DELETE element for the specified table class.
- delete(Class<? extends Record>, String) - Static method in interface st.orm.Templates
-
Generates a DELETE element for the specified table class with an alias.
- delete(Iterable<E>) - Method in interface st.orm.repository.EntityRepository
-
Deletes a collection of entities from the database in batches.
- delete(Iterable<E>) - Method in class st.orm.spi.EntityRepositoryImpl
-
Deletes a collection of entities from the database in batches.
- delete(Stream<E>) - Method in interface st.orm.repository.EntityRepository
-
Deletes a stream of entities from the database in batches.
- delete(Stream<E>) - Method in class st.orm.spi.EntityRepositoryImpl
-
Deletes a stream of entities from the database in batches.
- delete(Stream<E>, int) - Method in interface st.orm.repository.EntityRepository
-
Deletes a stream of entities from the database in configurable batch sizes.
- delete(Stream<E>, int) - Method in class st.orm.spi.EntityRepositoryImpl
-
Deletes a stream of entities from the database in configurable batch sizes.
- Delete - Search tag in interface st.orm.Templates
- Section
- Delete - Search tag in interface st.orm.repository.EntityRepository
- Section
- Delete(Class<? extends Record>) - Constructor for record class st.orm.template.impl.Elements.Delete
- Delete(Class<? extends Record>, String) - Constructor for record class st.orm.template.impl.Elements.Delete
-
Creates an instance of a
Deleterecord class. - deleteAll() - Method in interface st.orm.repository.EntityRepository
-
Deletes all entities from the database.
- deleteAll() - Method in class st.orm.spi.EntityRepositoryImpl
-
Deletes all entities from the database.
- DeleteBuilderImpl<T,
ID> - Class in st.orm.template.impl -
A query builder for DELETE queries.
- DeleteBuilderImpl(QueryTemplate, Class<T>, Supplier<Model<T, ID>>) - Constructor for class st.orm.template.impl.DeleteBuilderImpl
- deleteFrom(Class<T>) - Method in class st.orm.template.impl.ORMTemplateImpl
-
Creates a query builder for the specified table to delete from.
- deleteFrom(Class<T>) - Method in interface st.orm.template.QueryTemplate
-
Creates a query builder for the specified table to delete from.
- deleteFrom(QueryTemplate, Class<T>, Supplier<Model<T, ID>>) - Method in class st.orm.spi.DefaultQueryBuilderProviderImpl
-
Creates a query builder for the specified table to delete from.
- deleteFrom(QueryTemplate, Class<T>, Supplier<Model<T, ID>>) - Static method in class st.orm.spi.Providers
- deleteFrom(QueryTemplate, Class<T>, Supplier<Model<T, ID>>) - Method in interface st.orm.spi.QueryBuilderProvider
-
Creates a query builder for the specified table to delete from.
- dialect() - Method in class st.orm.template.impl.ORMTemplateImpl
-
Get the SQL dialect for this template.
- dialect() - Method in class st.orm.template.impl.SqlTemplateImpl
-
Returns the SQL dialect that is used by this template.
- dialect() - Method in interface st.orm.template.QueryTemplate
-
Get the SQL dialect for this template.
- dialect() - Method in interface st.orm.template.SqlTemplate
-
Returns the SQL dialect that is used by this template.
- distinct() - Method in class st.orm.template.impl.DeleteBuilderImpl
-
Marks the current query as a distinct query.
- distinct() - Method in class st.orm.template.impl.SelectBuilderImpl
-
Marks the current query as a distinct query.
- distinct() - Method in class st.orm.template.QueryBuilder
-
Marks the current query as a distinct query.
E
- Element - Interface in st.orm.template.impl
-
Represents an element in a ST/ORM SQL query.
- Elements - Class in st.orm.template.impl
- Elements.Alias - Record Class in st.orm.template.impl
- Elements.Column - Record Class in st.orm.template.impl
- Elements.Delete - Record Class in st.orm.template.impl
- Elements.Expression - Interface in st.orm.template.impl
- Elements.From - Record Class in st.orm.template.impl
- Elements.Insert - Record Class in st.orm.template.impl
- Elements.ObjectExpression - Record Class in st.orm.template.impl
- Elements.Param - Record Class in st.orm.template.impl
- Elements.Select - Record Class in st.orm.template.impl
- Elements.Set - Record Class in st.orm.template.impl
- Elements.Source - Interface in st.orm.template.impl
- Elements.SubqueryPREVIEW - Record Class in st.orm.template.impl
- Elements.Table - Record Class in st.orm.template.impl
- Elements.TableSource - Record Class in st.orm.template.impl
- Elements.TableTarget - Record Class in st.orm.template.impl
- Elements.Target - Interface in st.orm.template.impl
- Elements.TemplateExpressionPREVIEW - Record Class in st.orm.template.impl
- Elements.TemplateSourcePREVIEW - Record Class in st.orm.template.impl
- Elements.TemplateTargetPREVIEW - Record Class in st.orm.template.impl
- Elements.Unsafe - Record Class in st.orm.template.impl
- Elements.Update - Record Class in st.orm.template.impl
- Elements.Values - Record Class in st.orm.template.impl
- Elements.Var - Record Class in st.orm.template.impl
- Elements.Where - Record Class in st.orm.template.impl
- entity(Class<T>) - Method in interface st.orm.repository.RepositoryLookup
-
Returns the repository for the given entity type.
- entity(Class<T>) - Method in class st.orm.template.impl.ORMTemplateImpl
-
Returns the repository for the given entity type.
- Entity<ID> - Interface in st.orm.repository
-
Optional marker interface for record-based entities.
- Entity Definition - Search tag in interface st.orm.repository.EntityRepository
- Section
- entityId(Ref<E>) - Static method in interface st.orm.Ref
-
Extracts the primary key from the given entity ref returning a type-safe id.
- EntityRepository<E,
ID> - Interface in st.orm.repository -
Provides a generic interface with CRUD operations for entities.
- EntityRepositoryImpl<E,
ID> - Class in st.orm.spi -
Default implementation of
EntityRepository. - EntityRepositoryImpl(ORMTemplate, Model<E, ID>) - Constructor for class st.orm.spi.EntityRepositoryImpl
- EntityRepositoryProvider - Interface in st.orm.spi
-
Provides pluggable entity repository logic.
- EnumType - Enum Class in st.orm
-
Defines the strategy to use when mapping enums.
- equals(Object) - Method in class st.orm.template.impl.AbstractRef
- equals(Object) - Method in record class st.orm.template.impl.ColumnImpl
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class st.orm.template.impl.ColumnName
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class st.orm.template.impl.Elements.Alias
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class st.orm.template.impl.Elements.Column
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class st.orm.template.impl.Elements.Delete
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class st.orm.template.impl.Elements.From
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class st.orm.template.impl.Elements.Insert
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class st.orm.template.impl.Elements.ObjectExpression
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class st.orm.template.impl.Elements.Param
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class st.orm.template.impl.Elements.Select
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class st.orm.template.impl.Elements.Set
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class st.orm.template.impl.Elements.SubqueryPREVIEW
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class st.orm.template.impl.Elements.Table
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class st.orm.template.impl.Elements.TableSource
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class st.orm.template.impl.Elements.TableTarget
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class st.orm.template.impl.Elements.TemplateExpressionPREVIEW
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class st.orm.template.impl.Elements.TemplateSourcePREVIEW
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class st.orm.template.impl.Elements.TemplateTargetPREVIEW
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class st.orm.template.impl.Elements.Unsafe
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class st.orm.template.impl.Elements.Update
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class st.orm.template.impl.Elements.Values
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class st.orm.template.impl.Elements.Var
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class st.orm.template.impl.Elements.Where
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class st.orm.template.impl.ModelImpl
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class st.orm.template.impl.TableName
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class st.orm.template.SqlTemplate.NamedParameter
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class st.orm.template.SqlTemplate.PositionalParameter
-
Indicates whether some other object is "equal to" this one.
- EQUALS - Static variable in interface st.orm.template.Operator
-
The
EXISTSoperator. - escape() - Element in annotation interface st.orm.DbColumn
-
True to force escaping the column name.
- escape() - Element in annotation interface st.orm.DbTable
-
True to force escaping the schema and table name.
- escape() - Method in record class st.orm.template.impl.ColumnName
-
Returns the value of the
escaperecord component. - escape() - Method in record class st.orm.template.impl.TableName
-
Returns the value of the
escaperecord component. - escape(String) - Method in class st.orm.spi.DefaultSqlDialect
-
Escapes the given database identifier (e.g., table or column name) according to this SQL dialect.
- escape(String) - Method in interface st.orm.template.SqlDialect
-
Escapes the given database identifier (e.g., table or column name) according to this SQL dialect.
- execute(Object, Method, Object...) - Method in class st.orm.spi.DefaultORMReflectionImpl
- execute(Object, Method, Object...) - Method in interface st.orm.spi.ORMReflection
- executeBatch() - Method in interface st.orm.Query
-
Execute a batch of commands.
- executeUpdate() - Method in interface st.orm.Query
-
Execute a command, such as an INSERT, UPDATE or DELETE statement.
- executeUpdate() - Method in class st.orm.template.QueryBuilder
-
Execute a DELETE statement.
- exists(QueryBuilder<?, ?, ?>) - Method in class st.orm.template.QueryBuilder.WhereBuilder
-
Adds an
EXISTScondition to the WHERE clause using the specified subquery. - existsById(ID) - Method in interface st.orm.repository.EntityRepository
-
Checks if an entity with the specified primary key exists in the database.
- existsById(ID) - Method in interface st.orm.repository.ProjectionRepository
-
Checks if a projection with the specified primary key exists in the database.
- existsById(ID) - Method in class st.orm.spi.EntityRepositoryImpl
-
Checks if an entity with the specified primary key exists in the database.
- existsById(ID) - Method in class st.orm.spi.ProjectionRepositoryImpl
-
Checks if an entity with the specified primary key exists in the database.
- existsByRef(Ref<E>) - Method in interface st.orm.repository.EntityRepository
-
Checks if an entity with the specified primary key exists in the database.
- existsByRef(Ref<E>) - Method in class st.orm.spi.EntityRepositoryImpl
-
Checks if an entity with the specified primary key exists in the database.
- existsByRef(Ref<P>) - Method in class st.orm.spi.ProjectionRepositoryImpl
-
Checks if an entity with the specified primary key exists in the database.
- existsByRef(Ref<P>) - Method in interface st.orm.repository.ProjectionRepository
-
Checks if a projection with the specified primary key exists in the database.
- expandCollection() - Method in class st.orm.template.impl.SqlTemplateImpl
-
Returns
trueif collection parameters must be expanded as multiple (positional) parameters,falseotherwise. - expandCollection() - Method in interface st.orm.template.SqlTemplate
-
Returns
trueif collection parameters must be expanded as multiple (positional) parameters,falseotherwise. - expression() - Method in record class st.orm.template.impl.Elements.Where
-
Returns the value of the
expressionrecord component. - extractor() - Method in record class st.orm.template.impl.Elements.Var
-
Returns the value of the
extractorrecord component.
F
- FALSE() - Method in class st.orm.template.QueryBuilder.WhereBuilder
-
A predicate that always evaluates to false.
- fetch() - Method in interface st.orm.Ref
-
Fetches the record from the database if the record has not been fetched yet.
- findAll() - Method in interface st.orm.repository.EntityRepository
-
Returns a list of all entities of the type supported by this repository.
- findAll() - Method in interface st.orm.repository.ProjectionRepository
-
Returns a list of all projections of the type supported by this repository.
- findAll() - Method in class st.orm.spi.EntityRepositoryImpl
-
Returns a list of all entities of the type supported by this repository.
- findAll() - Method in class st.orm.spi.ProjectionRepositoryImpl
-
Returns a list of all entities of the type supported by this repository.
- findAllById(Iterable<ID>) - Method in interface st.orm.repository.EntityRepository
-
Retrieves a list of entities based on their primary keys.
- findAllById(Iterable<ID>) - Method in interface st.orm.repository.ProjectionRepository
-
Retrieves a list of projections based on their primary keys.
- findAllById(Iterable<ID>) - Method in class st.orm.spi.EntityRepositoryImpl
-
Retrieves a list of entities based on their primary keys.
- findAllById(Iterable<ID>) - Method in class st.orm.spi.ProjectionRepositoryImpl
-
Retrieves a list of entities based on their primary keys.
- findAllByRef(Iterable<Ref<E>>) - Method in interface st.orm.repository.EntityRepository
-
Retrieves a list of entities based on their primary keys.
- findAllByRef(Iterable<Ref<E>>) - Method in class st.orm.spi.EntityRepositoryImpl
-
Retrieves a list of entities based on their primary keys.
- findAllByRef(Iterable<Ref<P>>) - Method in class st.orm.spi.ProjectionRepositoryImpl
-
Retrieves a list of entities based on their primary keys.
- findAllByRef(Iterable<Ref<P>>) - Method in interface st.orm.repository.ProjectionRepository
-
Retrieves a list of projections based on their primary keys.
- findById(ID) - Method in interface st.orm.repository.EntityRepository
-
Retrieves an entity based on its primary key.
- findById(ID) - Method in interface st.orm.repository.ProjectionRepository
-
Retrieves a projection based on its primary key.
- findById(ID) - Method in class st.orm.spi.EntityRepositoryImpl
-
Retrieves an entity based on its primary key.
- findById(ID) - Method in class st.orm.spi.ProjectionRepositoryImpl
-
Retrieves an entity based on its primary key.
- findByRef(Ref<E>) - Method in interface st.orm.repository.EntityRepository
-
Retrieves an entity based on its primary key, expressed by a ref.
- findByRef(Ref<E>) - Method in class st.orm.spi.EntityRepositoryImpl
-
Retrieves an entity based on its primary key, expressed by a ref.
- findByRef(Ref<P>) - Method in class st.orm.spi.ProjectionRepositoryImpl
-
Retrieves an entity based on its primary key, expressed by a ref.
- findByRef(Ref<P>) - Method in interface st.orm.repository.ProjectionRepository
-
Retrieves a projection based on its primary key.
- findCanonicalConstructor(Class<? extends Record>) - Method in class st.orm.spi.DefaultORMReflectionImpl
- findCanonicalConstructor(Class<? extends Record>) - Method in interface st.orm.spi.ORMReflection
-
Returns the canonical constructor for the specified record type.
- findGenericType(Class<?>, Class<?>, int) - Static method in class st.orm.template.impl.ORMTemplateImpl
- findPKType(Class<? extends Record>) - Method in class st.orm.spi.DefaultORMReflectionImpl
- findPKType(Class<? extends Record>) - Method in interface st.orm.spi.ORMReflection
-
Returns the primary key type for the specified record type, if available.
- FK - Annotation Interface in st.orm
-
Marks a field as a foreign key.
- FLAT - Enum constant in enum class st.orm.Templates.SelectMode
-
Only the fields of the main table are selected, without including nested object hierarchies.
- flatten(StringTemplate) - Static method in class st.orm.template.impl.StringTemplates
-
Flattens a string template by merging nested templates into a single template.
- foreignKey() - Method in interface st.orm.template.Column
-
Determines if the column is a foreign key.
- foreignKey() - Method in record class st.orm.template.impl.ColumnImpl
-
Returns the value of the
foreignKeyrecord component. - foreignKeyResolver() - Method in interface st.orm.template.impl.ModelBuilder
-
Returns the foreign key resolver for the model.
- foreignKeyResolver() - Method in class st.orm.template.impl.SqlTemplateImpl
-
Returns the foreign key resolver that is used by this template.
- foreignKeyResolver() - Method in interface st.orm.template.SqlTemplate
-
Returns the foreign key resolver that is used by this template.
- foreignKeyResolver(ForeignKeyResolver) - Method in interface st.orm.template.impl.ModelBuilder
-
Sets the foreign key resolver for the model.
- ForeignKeyResolver - Interface in st.orm.template
-
Resolves the column name for a foreign key component.
- forLock(StringTemplate) - Method in class st.orm.template.impl.DeleteBuilderImpl
-
Locks the selected rows using a custom lock mode.
- forLock(StringTemplate) - Method in class st.orm.template.impl.SelectBuilderImpl
-
Locks the selected rows using a custom lock mode.
- forLock(StringTemplate) - Method in class st.orm.template.QueryBuilder
-
Locks the selected rows using a custom lock mode.
- format(String, int) - Method in interface st.orm.template.Operator
-
Formats the operator with bind variables matching the specified size.
- forShare() - Method in class st.orm.template.impl.DeleteBuilderImpl
-
Locks the selected rows for reading.
- forShare() - Method in class st.orm.template.impl.SelectBuilderImpl
-
Locks the selected rows for reading.
- forShare() - Method in class st.orm.template.QueryBuilder
-
Locks the selected rows for reading.
- forShareLockHint() - Method in class st.orm.spi.DefaultSqlDialect
-
Returns the lock hint for a shared reading lock.
- forShareLockHint() - Method in interface st.orm.template.SqlDialect
-
Returns the lock hint for a shared reading lock.
- forUpdate() - Method in class st.orm.template.impl.DeleteBuilderImpl
-
Locks the selected rows for reading.
- forUpdate() - Method in class st.orm.template.impl.SelectBuilderImpl
-
Locks the selected rows for reading.
- forUpdate() - Method in class st.orm.template.QueryBuilder
-
Locks the selected rows for reading.
- forUpdateLockHint() - Method in class st.orm.spi.DefaultSqlDialect
-
Returns the lock hint for a write lock.
- forUpdateLockHint() - Method in interface st.orm.template.SqlDialect
-
Returns the lock hint for a write lock.
- from(Class<? extends Record>, boolean) - Static method in interface st.orm.Templates
-
Generates a FROM element for the specified table class without an alias and optional auto-joining of foreign keys.
- from(Class<? extends Record>, String, boolean) - Static method in interface st.orm.Templates
-
Generates a FROM element for the specified table class, with an alias and optional auto-joining of foreign keys.
- from(StringTemplate, String) - Static method in interface st.orm.Templates
-
Generates a FROM element using a provided SQL string template with an alias.
- From(Class<? extends Record>, boolean) - Constructor for record class st.orm.template.impl.Elements.From
- From(StringTemplate) - Constructor for record class st.orm.template.impl.Elements.From
- From(Elements.Source, String, boolean) - Constructor for record class st.orm.template.impl.Elements.From
-
Creates an instance of a
Fromrecord class. - fromDatabase(Object[]) - Method in interface st.orm.spi.ORMConverter
-
Converts the given values to an object that is used in the object model.
- fromType - Variable in class st.orm.template.impl.DeleteBuilderImpl
- fromType - Variable in class st.orm.template.impl.SelectBuilderImpl
G
- generatedKeys() - Method in interface st.orm.template.Sql
-
The primary key that have been auto generated as part of in insert statement.
- generatedKeys(List<String>) - Method in interface st.orm.template.Sql
-
Returns a new instance of the SQL statement with the given generated keys.
- GenerateMetamodel - Annotation Interface in st.orm.template
-
Indicates that a metamodel class should be generated for the annotated record.
- get() - Method in class st.orm.template.impl.LazySupplier
-
Gets a result.
- get() - Method in interface st.orm.template.impl.SqlGenerator
-
Returns the SQL string.
- getAnnotation(Class<?>, Class<A>) - Method in class st.orm.spi.DefaultORMReflectionImpl
- getAnnotation(Class<?>, Class<A>) - Method in interface st.orm.spi.ORMReflection
-
Returns the annotation of the specified type for the specified type, if present.
- getAnnotation(RecordComponent, Class<A>) - Method in class st.orm.spi.DefaultORMReflectionImpl
- getAnnotation(RecordComponent, Class<A>) - Method in interface st.orm.spi.ORMReflection
-
Returns the annotation of the specified type for the specified record component, if present.
- getAnnotations(RecordComponent, Class<A>) - Method in class st.orm.spi.DefaultORMReflectionImpl
- getAnnotations(RecordComponent, Class<A>) - Method in interface st.orm.spi.ORMReflection
-
Returns the annotations of the specified type for the specified record component, supporting repeatable annotations.
- getById(ID) - Method in interface st.orm.repository.EntityRepository
-
Retrieves an entity based on its primary key.
- getById(ID) - Method in interface st.orm.repository.ProjectionRepository
-
Retrieves a projection based on its primary key.
- getById(ID) - Method in class st.orm.spi.EntityRepositoryImpl
-
Retrieves an entity based on its primary key.
- getById(ID) - Method in class st.orm.spi.ProjectionRepositoryImpl
-
Retrieves an entity based on its primary key.
- getByRef(Ref<E>) - Method in interface st.orm.repository.EntityRepository
-
Retrieves an entity based on its primary key, expressed by a ref.
- getByRef(Ref<E>) - Method in class st.orm.spi.EntityRepositoryImpl
-
Retrieves an entity based on its primary key, expressed by a ref.
- getByRef(Ref<P>) - Method in class st.orm.spi.ProjectionRepositoryImpl
-
Retrieves an entity based on its primary key, expressed by a ref.
- getByRef(Ref<P>) - Method in interface st.orm.repository.ProjectionRepository
-
Retrieves a projection based on its primary key.
- getColumns(ORMConverter.NameResolver) - Method in interface st.orm.spi.ORMConverter
-
Returns the names of the columns that will be used in the SQL template.
- getConverter(RecordComponent) - Method in interface st.orm.spi.ORMConverterProvider
-
Retrieves the converter for the specified record component.
- getEntity() - Method in exception class st.orm.OptimisticLockException
-
Returns the entity that caused this exception.
- getEntityRepository(ORMTemplate, Model<E, ID>) - Method in class st.orm.spi.DefaultEntityRepositoryProviderImpl
- getEntityRepository(ORMTemplate, Model<E, ID>) - Method in interface st.orm.spi.EntityRepositoryProvider
- getEntityRepository(ORMTemplate, Model<E, ID>, Predicate<? super EntityRepositoryProvider>) - Static method in class st.orm.spi.Providers
- getGeneratedKeys(Class<ID>) - Method in interface st.orm.PreparedQuery
-
Returns a stream of generated keys as the result of an insert statement.
- getHandle() - Method in interface st.orm.template.SqlTemplate.BindVariables
-
Retrieves a handle to the bound variables.
- getIdentifierPattern() - Method in class st.orm.spi.DefaultSqlDialect
-
Returns the pattern for identifiers.
- getIdentifierPattern() - Method in interface st.orm.template.SqlDialect
-
Returns the pattern for identifiers.
- getMultiLineCommentPattern() - Method in class st.orm.spi.DefaultSqlDialect
-
Returns the pattern for multi line comments.
- getMultiLineCommentPattern() - Method in interface st.orm.template.SqlDialect
-
Returns the pattern for multi line comments.
- getName(RecordComponent) - Method in interface st.orm.spi.ORMConverter.NameResolver
-
Gets the column name of the given record component.
- getObjectMapper(int, Class<T>, RefFactory) - Static method in class st.orm.template.impl.ObjectMapperFactory
-
Returns a factory for creating instances of the specified type.
- getOptionalResult() - Method in interface st.orm.Query
-
Execute a SELECT query and returns a single row, where the columns of the row corresponds to the order of values in the list.
- getOptionalResult() - Method in class st.orm.template.QueryBuilder
-
Executes the query and returns an optional result.
- getOptionalResult(Class<T>) - Method in interface st.orm.Query
-
Execute a SELECT query and returns a single row, where the columns of the row are mapped to the constructor arguments of the specified
type. - getORMConverter(RecordComponent) - Static method in class st.orm.spi.Providers
- getORMReflection() - Static method in class st.orm.spi.Providers
- getParameterCount() - Method in interface st.orm.spi.ORMConverter
-
Returns the number of parameters in the SQL template.
- getParameterTypes() - Method in interface st.orm.spi.ORMConverter
-
Returns the types of the parameters in the SQL template.
- getParameterTypes() - Method in interface st.orm.template.impl.ObjectMapper
-
Returns the parameter types of the constructor used to create instances.
- getPermittedSubclasses(Class<?>) - Method in class st.orm.spi.DefaultORMReflectionImpl
- getPermittedSubclasses(Class<?>) - Method in interface st.orm.spi.ORMReflection
-
Returns the permitted subclasses of the specified sealed class.
- getProjectionRepository(ORMTemplate, Model<P, ID>) - Method in class st.orm.spi.DefaultProjectionRepositoryProviderImpl
- getProjectionRepository(ORMTemplate, Model<P, ID>) - Method in interface st.orm.spi.ProjectionRepositoryProvider
- getProjectionRepository(ORMTemplate, Model<P, ID>, Predicate<? super ProjectionRepositoryProvider>) - Static method in class st.orm.spi.Providers
- getQualifiedName(SqlDialect) - Method in interface st.orm.spi.Name
-
Returns the qualified name of the database object.
- getQualifiedName(SqlDialect) - Method in record class st.orm.template.impl.ColumnName
-
Returns the qualified name of the database object.
- getQualifiedName(SqlDialect) - Method in record class st.orm.template.impl.TableName
- getQuoteLiteralPattern() - Method in class st.orm.spi.DefaultSqlDialect
-
Returns the pattern for string literals.
- getQuoteLiteralPattern() - Method in interface st.orm.template.SqlDialect
-
Returns the pattern for string literals.
- getRecordType(Object) - Method in class st.orm.spi.DefaultORMReflectionImpl
- getRecordType(Object) - Method in interface st.orm.spi.ORMReflection
- getReflection() - Method in class st.orm.spi.DefaultORMReflectionProviderImpl
- getReflection() - Method in interface st.orm.spi.ORMReflectionProvider
- getRefList(Class<T>, Class<?>) - Method in interface st.orm.Query
-
Execute a SELECT query and return the resulting rows as a list of ref instances.
- getRefStream(Class<T>, Class<?>) - Method in interface st.orm.Query
-
Execute a SELECT query and return the resulting rows as a stream of ref instances.
- getResult(Class<T>, ResultCallback<T, R>) - Method in interface st.orm.Query
-
Execute a SELECT query and return the resulting rows as a stream of row instances.
- getResult(ResultCallback<Object[], R>) - Method in interface st.orm.Query
-
Execute a SELECT query and return the resulting rows as a stream of row instances.
- getResult(ResultCallback<R, X>) - Method in class st.orm.template.QueryBuilder
-
Executes the query and returns a stream of using the specified callback.
- getResultCount() - Method in interface st.orm.Query
-
Returns the number of results of this query.
- getResultCount() - Method in class st.orm.template.QueryBuilder
-
Returns the number of results of this query.
- getResultList() - Method in interface st.orm.Query
-
Execute a SELECT query and return the resulting rows as a list of row instances.
- getResultList() - Method in class st.orm.template.QueryBuilder
-
Executes the query and returns a list of results.
- getResultList(Class<T>) - Method in interface st.orm.Query
-
Execute a SELECT query and return the resulting rows as a list of row instances.
- getResultStream() - Method in interface st.orm.Query
-
Execute a SELECT query and return the resulting rows as a stream of row instances.
- getResultStream() - Method in class st.orm.template.impl.DeleteBuilderImpl
-
Executes the query and returns a stream of results.
- getResultStream() - Method in class st.orm.template.impl.SelectBuilderImpl
-
Executes the query and returns a stream of results.
- getResultStream() - Method in class st.orm.template.QueryBuilder
-
Executes the query and returns a stream of results.
- getResultStream(Class<T>) - Method in interface st.orm.Query
-
Execute a SELECT query and return the resulting rows as a stream of row instances.
- getSafeIdentifier(String) - Method in interface st.orm.template.SqlDialect
-
Returns a safe identifier for the given name, possibly escaping it if it is a keyword or contains invalid characters.
- getSingleLineCommentPattern() - Method in class st.orm.spi.DefaultSqlDialect
-
Returns the pattern for single line comments.
- getSingleLineCommentPattern() - Method in interface st.orm.template.SqlDialect
-
Returns the pattern for single line comments.
- getSingleResult() - Method in interface st.orm.Query
-
Execute a SELECT query and returns a single row, where the columns of the row corresponds to the order of values in the list.
- getSingleResult() - Method in class st.orm.template.QueryBuilder
-
Executes the query and returns a single result.
- getSingleResult(Class<T>) - Method in interface st.orm.Query
-
Execute a SELECT query and returns a single row, where the columns of the row are mapped to the constructor arguments of the specified
type. - getSqlDialect() - Method in class st.orm.spi.DefaultSqlDialectProviderImpl
- getSqlDialect() - Static method in class st.orm.spi.Providers
- getSqlDialect() - Method in interface st.orm.spi.SqlDialectProvider
-
Returns the SQL dialect.
- getSqlDialect(Predicate<? super SqlDialectProvider>) - Static method in class st.orm.spi.Providers
- getSubquery() - Method in class st.orm.template.impl.DeleteBuilderImpl
- getSubquery() - Method in class st.orm.template.impl.SelectBuilderImpl
- getSubquery() - Method in interface st.orm.template.impl.Subqueryable
-
Returns the template for the query for the subquery.
- getType(Object) - Method in class st.orm.spi.DefaultORMReflectionImpl
- getType(Object) - Method in interface st.orm.spi.ORMReflection
- getValidIdentifierPattern() - Method in class st.orm.spi.DefaultSqlDialect
-
Returns the pattern for valid identifiers.
- getValidIdentifierPattern() - Method in interface st.orm.template.SqlDialect
-
Returns the pattern for valid identifiers.
- getValue(Column, E) - Method in record class st.orm.template.impl.ModelImpl
-
Extracts the value for the specified column from the given record.
- getValue(Column, E) - Method in interface st.orm.template.Model
-
Extracts the value for the specified column from the given record.
- getValues(E) - Method in record class st.orm.template.impl.ModelImpl
-
Extracts the values from the given record and maps them to the columns of the entity or projection.
- getValues(E) - Method in interface st.orm.template.Model
-
Extracts the values from the given record and maps them to the columns of the entity or projection.
- GREATER_THAN - Static variable in interface st.orm.template.Operator
-
The
>operator. - GREATER_THAN_OR_EQUAL - Static variable in interface st.orm.template.Operator
-
The
>=operator. - groupBy(StringTemplate) - Method in class st.orm.template.QueryBuilder
-
Adds a GROUP BY clause to the query using a string template.
- groupBy(Metamodel<T, ?>) - Method in class st.orm.template.QueryBuilder
-
Adds a GROUP BY clause to the query for field at the specified path in the table graph.
- groupBy(Metamodel<T, ?>...) - Method in class st.orm.template.QueryBuilder
-
Adds a GROUP BY clause to the query for field at the specified path in the table graph.
- groupByAny(Metamodel<?, ?>...) - Method in class st.orm.template.QueryBuilder
-
Adds a GROUP BY clause to the query for field at the specified path in the table graph.
H
- hashCode() - Method in class st.orm.template.impl.AbstractRef
- hashCode() - Method in record class st.orm.template.impl.ColumnImpl
-
Returns a hash code value for this object.
- hashCode() - Method in record class st.orm.template.impl.ColumnName
-
Returns a hash code value for this object.
- hashCode() - Method in record class st.orm.template.impl.Elements.Alias
-
Returns a hash code value for this object.
- hashCode() - Method in record class st.orm.template.impl.Elements.Column
-
Returns a hash code value for this object.
- hashCode() - Method in record class st.orm.template.impl.Elements.Delete
-
Returns a hash code value for this object.
- hashCode() - Method in record class st.orm.template.impl.Elements.From
-
Returns a hash code value for this object.
- hashCode() - Method in record class st.orm.template.impl.Elements.Insert
-
Returns a hash code value for this object.
- hashCode() - Method in record class st.orm.template.impl.Elements.ObjectExpression
-
Returns a hash code value for this object.
- hashCode() - Method in record class st.orm.template.impl.Elements.Param
-
Returns a hash code value for this object.
- hashCode() - Method in record class st.orm.template.impl.Elements.Select
-
Returns a hash code value for this object.
- hashCode() - Method in record class st.orm.template.impl.Elements.Set
-
Returns a hash code value for this object.
- hashCode() - Method in record class st.orm.template.impl.Elements.SubqueryPREVIEW
-
Returns a hash code value for this object.
- hashCode() - Method in record class st.orm.template.impl.Elements.Table
-
Returns a hash code value for this object.
- hashCode() - Method in record class st.orm.template.impl.Elements.TableSource
-
Returns a hash code value for this object.
- hashCode() - Method in record class st.orm.template.impl.Elements.TableTarget
-
Returns a hash code value for this object.
- hashCode() - Method in record class st.orm.template.impl.Elements.TemplateExpressionPREVIEW
-
Returns a hash code value for this object.
- hashCode() - Method in record class st.orm.template.impl.Elements.TemplateSourcePREVIEW
-
Returns a hash code value for this object.
- hashCode() - Method in record class st.orm.template.impl.Elements.TemplateTargetPREVIEW
-
Returns a hash code value for this object.
- hashCode() - Method in record class st.orm.template.impl.Elements.Unsafe
-
Returns a hash code value for this object.
- hashCode() - Method in record class st.orm.template.impl.Elements.Update
-
Returns a hash code value for this object.
- hashCode() - Method in record class st.orm.template.impl.Elements.Values
-
Returns a hash code value for this object.
- hashCode() - Method in record class st.orm.template.impl.Elements.Var
-
Returns a hash code value for this object.
- hashCode() - Method in record class st.orm.template.impl.Elements.Where
-
Returns a hash code value for this object.
- hashCode() - Method in record class st.orm.template.impl.ModelImpl
-
Returns a hash code value for this object.
- hashCode() - Method in record class st.orm.template.impl.TableName
-
Returns a hash code value for this object.
- hashCode() - Method in record class st.orm.template.SqlTemplate.NamedParameter
-
Returns a hash code value for this object.
- hashCode() - Method in record class st.orm.template.SqlTemplate.PositionalParameter
-
Returns a hash code value for this object.
- hasOnClause() - Method in enum class st.orm.template.impl.DefaultJoinType
-
Whether the join type will be accompanied by an ON clause.
- hasOnClause() - Method in interface st.orm.template.JoinType
-
Whether the join type will be accompanied by an ON clause.
- having(StringTemplate) - Method in class st.orm.template.QueryBuilder
-
Adds a HAVING clause to the query using the specified expression.
- having(Metamodel<T, V>, Operator, V...) - Method in class st.orm.template.QueryBuilder
-
Adds a HAVING clause to the query using the specified expression.
- havingAny(Metamodel<?, V>, Operator, V...) - Method in class st.orm.template.QueryBuilder
-
Adds a HAVING clause to the query using the specified expression.
- Howto start - Search tag in interface st.orm.Templates
- Section
I
- id() - Method in interface st.orm.Ref
-
Returns the primary key of the record.
- id() - Method in interface st.orm.repository.Entity
-
Returns the primary key of the entity.
- IN - Static variable in interface st.orm.template.Operator
-
The
INoperator. - index() - Method in interface st.orm.template.Column
-
Gets the 1-based index of the column.
- index() - Method in record class st.orm.template.impl.ColumnImpl
-
Returns the value of the
indexrecord component. - Inline - Annotation Interface in st.orm
-
Indicates that the underlying fields of the record component are inlined in this record.
- inner() - Static method in interface st.orm.template.JoinType
-
The default inner join type.
- INNER - Enum constant in enum class st.orm.template.impl.DefaultJoinType
- INNER - Enum constant in enum class st.orm.template.ResolveScope
-
Resolve the alias locally, i.e. within the current scope.
- innerJoin(Class<? extends Record>) - Method in class st.orm.template.impl.DeleteBuilderImpl
-
Adds an inner join to the query.
- innerJoin(Class<? extends Record>) - Method in class st.orm.template.impl.SelectBuilderImpl
-
Adds an inner join to the query.
- innerJoin(Class<? extends Record>) - Method in class st.orm.template.QueryBuilder
-
Adds an inner join to the query.
- innerJoin(StringTemplate, String) - Method in class st.orm.template.impl.DeleteBuilderImpl
-
Adds an inner join to the query.
- innerJoin(StringTemplate, String) - Method in class st.orm.template.impl.SelectBuilderImpl
-
Adds an inner join to the query.
- innerJoin(StringTemplate, String) - Method in class st.orm.template.QueryBuilder
-
Adds an inner join to the query.
- insert(E) - Method in interface st.orm.repository.EntityRepository
-
Inserts an entity into the database.
- insert(E) - Method in class st.orm.spi.EntityRepositoryImpl
-
Inserts an entity into the database.
- insert(Class<? extends Record>) - Static method in interface st.orm.Templates
-
Generates an INSERT element for the specified table class.
- insert(Iterable<E>) - Method in interface st.orm.repository.EntityRepository
-
Inserts a collection of entities into the database in batches.
- insert(Iterable<E>) - Method in class st.orm.spi.EntityRepositoryImpl
-
Inserts a collection of entities into the database in batches.
- insert(Stream<E>) - Method in interface st.orm.repository.EntityRepository
-
Inserts entities in a batch mode to optimize performance and reduce database load.
- insert(Stream<E>) - Method in class st.orm.spi.EntityRepositoryImpl
-
Inserts entities in a batch mode to optimize performance and reduce database load.
- insert(Stream<E>, int) - Method in interface st.orm.repository.EntityRepository
-
Inserts a stream of entities into the database, with the insertion process divided into batches of the specified size.
- insert(Stream<E>, int) - Method in class st.orm.spi.EntityRepositoryImpl
-
Inserts a stream of entities into the database, with the insertion process divided into batches of the specified size.
- Insert(Class<? extends Record>) - Constructor for record class st.orm.template.impl.Elements.Insert
-
Creates an instance of a
Insertrecord class. - insertable() - Element in annotation interface st.orm.Persist
-
Whether the component will be inserted when the record is persisted.
- insertable() - Method in interface st.orm.template.Column
-
Determines if the column is insertable.
- insertable() - Method in record class st.orm.template.impl.ColumnImpl
-
Returns the value of the
insertablerecord component. - insertAndFetch(E) - Method in interface st.orm.repository.EntityRepository
-
Inserts a single entity into the database and returns the inserted entity with its current state.
- insertAndFetch(E) - Method in class st.orm.spi.EntityRepositoryImpl
-
Inserts a single entity into the database and returns the inserted entity with its current state.
- insertAndFetch(Iterable<E>) - Method in interface st.orm.repository.EntityRepository
-
Inserts a collection of entities into the database in batches.
- insertAndFetch(Iterable<E>) - Method in class st.orm.spi.EntityRepositoryImpl
-
Inserts a collection of entities into the database in batches.
- insertAndFetch(Stream<E>, int, BatchCallback<E>) - Method in interface st.orm.repository.EntityRepository
-
Inserts a stream of entities into the database with the insertion process divided into batches of the specified size, and returns a stream of the inserted entities.
- insertAndFetch(Stream<E>, int, BatchCallback<E>) - Method in class st.orm.spi.EntityRepositoryImpl
-
Inserts a stream of entities into the database with the insertion process divided into batches of the specified size, and returns a stream of the inserted entities.
- insertAndFetch(Stream<E>, BatchCallback<E>) - Method in interface st.orm.repository.EntityRepository
-
Inserts a stream of entities into the database using the default batch size and returns a stream of the inserted entities.
- insertAndFetch(Stream<E>, BatchCallback<E>) - Method in class st.orm.spi.EntityRepositoryImpl
-
Inserts a stream of entities into the database using the default batch size and returns a stream of the inserted entities.
- insertAndFetchId(E) - Method in interface st.orm.repository.EntityRepository
-
Inserts an entity into the database and returns its primary key.
- insertAndFetchId(E) - Method in class st.orm.spi.EntityRepositoryImpl
-
Inserts an entity into the database and returns its primary key.
- insertAndFetchIds(Iterable<E>) - Method in interface st.orm.repository.EntityRepository
-
Inserts a collection of entities into the database in batches.
- insertAndFetchIds(Iterable<E>) - Method in class st.orm.spi.EntityRepositoryImpl
-
Inserts a collection of entities into the database in batches.
- insertAndFetchIds(Stream<E>, int, BatchCallback<ID>) - Method in interface st.orm.repository.EntityRepository
-
Inserts a stream of entities into the database with the insertion process divided into batches of the specified size, and returns a stream of their generated primary keys.
- insertAndFetchIds(Stream<E>, int, BatchCallback<ID>) - Method in class st.orm.spi.EntityRepositoryImpl
-
Inserts a stream of entities into the database with the insertion process divided into batches of the specified size, and returns a stream of their generated primary keys.
- insertAndFetchIds(Stream<E>, BatchCallback<ID>) - Method in interface st.orm.repository.EntityRepository
-
Inserts a stream of entities into the database using the default batch size and returns a stream of their generated primary keys.
- insertAndFetchIds(Stream<E>, BatchCallback<ID>) - Method in class st.orm.spi.EntityRepositoryImpl
-
Inserts a stream of entities into the database using the default batch size and returns a stream of their generated primary keys.
- intercept(Consumer<Sql>) - Static method in class st.orm.template.impl.SqlInterceptorManager
-
Create a new scoped interceptor that applies an operator to SQL statements processed by the current thread and any child threads.
- intercept(UnaryOperator<Sql>) - Static method in class st.orm.template.impl.SqlInterceptorManager
-
Create a new scoped interceptor that applies an operator to SQL statements processed by the current thread and any child threads.
- intercept(UnaryOperator<Sql>, Runnable) - Static method in interface st.orm.template.SqlInterceptor
-
Executes a
Runnableaction within the context of an SQL interceptor, which modifies SQL statements. - intercept(UnaryOperator<Sql>, Supplier<T>) - Static method in interface st.orm.template.SqlInterceptor
-
Executes a
Supplierwithin the context of an SQL interceptor, returning its result. - interceptThrowing(UnaryOperator<Sql>, Callable<T>) - Static method in interface st.orm.template.SqlInterceptor
-
Executes a
Callableaction within the context of an SQL interceptor, returning its result and potentially throwing exceptions. - interpolate(TemplateFunction.Context) - Method in interface st.orm.template.TemplateFunction
-
Interpolates the template using the given context.
- invoke(Object) - Method in interface st.orm.template.TemplateFunction.Context
-
Injects an argument into the underlying string template.
- invokeComponent(RecordComponent, Object) - Method in class st.orm.spi.DefaultORMReflectionImpl
- invokeComponent(RecordComponent, Object) - Method in interface st.orm.spi.ORMReflection
- IS_FALSE - Static variable in interface st.orm.template.Operator
-
The
IS FALSEoperator. - IS_NOT_NULL - Static variable in interface st.orm.template.Operator
-
The
IS NOT NULLoperator. - IS_NULL - Static variable in interface st.orm.template.Operator
-
The
IS NULLoperator. - IS_TRUE - Static variable in interface st.orm.template.Operator
-
The
IS TRUEoperator. - isAnnotationPresent(Class<?>, Class<? extends Annotation>) - Method in class st.orm.spi.DefaultORMReflectionImpl
- isAnnotationPresent(Class<?>, Class<? extends Annotation>) - Method in interface st.orm.spi.ORMReflection
-
Checks if the specified type has the specified annotation.
- isAnnotationPresent(RecordComponent, Class<? extends Annotation>) - Method in class st.orm.spi.DefaultORMReflectionImpl
- isAnnotationPresent(RecordComponent, Class<? extends Annotation>) - Method in interface st.orm.spi.ORMReflection
-
Checks if the specified record component has the specified annotation.
- isColumn() - Method in class st.orm.template.impl.MetamodelImpl
-
Returns
trueif the metamodel corresponds to a database column, returnsfalseotherwise, for example if the metamodel refers to the root metamodel or an inline record. - isColumn() - Method in interface st.orm.template.Metamodel
-
Returns
trueif the metamodel corresponds to a database column, returnsfalseotherwise, for example if the metamodel refers to the root metamodel or an inline record. - isDefaultMethod(Method) - Method in class st.orm.spi.DefaultORMReflectionImpl
- isDefaultMethod(Method) - Method in interface st.orm.spi.ORMReflection
- isDefaultPrimaryKey(ID) - Method in record class st.orm.template.impl.ModelImpl
-
Returns {code true} if the specified primary key represents a default value,
falseotherwise. - isDefaultPrimaryKey(ID) - Method in interface st.orm.template.Model
-
Returns {code true} if the specified primary key represents a default value,
falseotherwise. - isDefaultValue(ID) - Method in interface st.orm.template.impl.ModelMapper
-
Returns
trueif the given primary key is the default value,falseotherwise. - isDefaultValue(Object) - Method in class st.orm.spi.DefaultORMReflectionImpl
- isDefaultValue(Object) - Method in interface st.orm.spi.ORMReflection
- isFetched() - Method in class st.orm.template.impl.AbstractRef
-
Returns true if the record has been fetched, false otherwise.
- isKeyword(String) - Method in class st.orm.spi.DefaultSqlDialect
-
Indicates whether the given name is a keyword in this SQL dialect.
- isKeyword(String) - Method in interface st.orm.template.SqlDialect
-
Indicates whether the given name is a keyword in this SQL dialect.
- isNonnull(RecordComponent) - Method in class st.orm.spi.DefaultORMReflectionImpl
- isNonnull(RecordComponent) - Method in interface st.orm.spi.ORMReflection
-
Returns true if the specified component has a non-null annotation, false otherwise.
- isNull() - Method in interface st.orm.Ref
-
Returns true if the ref instance represents a null value.
- isOuter() - Method in enum class st.orm.template.impl.DefaultJoinType
-
Whether the join type is an outer join.
- isOuter() - Method in interface st.orm.template.JoinType
-
Whether the join type is an outer join.
- isSupportedType(Object) - Method in class st.orm.spi.DefaultORMReflectionImpl
- isSupportedType(Object) - Method in interface st.orm.spi.ORMReflection
- isVersionAware() - Method in interface st.orm.Query
-
Returns true if the query is version aware, false otherwise.
J
- join - Variable in class st.orm.template.impl.DeleteBuilderImpl
- join - Variable in class st.orm.template.impl.SelectBuilderImpl
- join(JoinType, Class<? extends Record>, String) - Method in class st.orm.template.impl.DeleteBuilderImpl
-
Adds a join of the specified type to the query.
- join(JoinType, Class<? extends Record>, String) - Method in class st.orm.template.impl.SelectBuilderImpl
-
Adds a join of the specified type to the query.
- join(JoinType, Class<? extends Record>, String) - Method in class st.orm.template.QueryBuilder
-
Adds a join of the specified type to the query.
- join(JoinType, StringTemplate, String) - Method in class st.orm.template.impl.DeleteBuilderImpl
-
Adds a join of the specified type to the query using a template.
- join(JoinType, StringTemplate, String) - Method in class st.orm.template.impl.SelectBuilderImpl
-
Adds a join of the specified type to the query using a template.
- join(JoinType, StringTemplate, String) - Method in class st.orm.template.QueryBuilder
-
Adds a join of the specified type to the query using a template.
- join(JoinType, QueryBuilder<?, ?, ?>, String) - Method in class st.orm.template.impl.DeleteBuilderImpl
-
Adds a join of the specified type to the query using a subquery.
- join(JoinType, QueryBuilder<?, ?, ?>, String) - Method in class st.orm.template.impl.SelectBuilderImpl
-
Adds a join of the specified type to the query using a subquery.
- join(JoinType, QueryBuilder<?, ?, ?>, String) - Method in class st.orm.template.QueryBuilder
-
Adds a join of the specified type to the query using a subquery.
- JoinType - Interface in st.orm.template
-
Represents a join type in a SQL query.
- JPA - Static variable in interface st.orm.template.SqlTemplate
-
The default SQL template that is optimized for JPA.
- JpaTemplate - Interface in st.orm.template
-
A template backed by JPA.
- JpaTemplateImpl - Class in st.orm.template.impl
- JpaTemplateImpl(EntityManager) - Constructor for class st.orm.template.impl.JpaTemplateImpl
L
- lazy(Supplier<T>) - Static method in class st.orm.template.impl.LazySupplier
-
Returns a supplier which lazy initializes the value.
- LazySupplier<T> - Class in st.orm.template.impl
-
Returns a lazily initialized value.
- LazySupplier(Supplier<T>) - Constructor for class st.orm.template.impl.LazySupplier
- LazySupplier(Supplier<T>, T) - Constructor for class st.orm.template.impl.LazySupplier
- left() - Static method in interface st.orm.template.JoinType
-
The default left join type.
- LEFT - Enum constant in enum class st.orm.template.impl.DefaultJoinType
- leftJoin(Class<? extends Record>) - Method in class st.orm.template.impl.DeleteBuilderImpl
-
Adds a left join to the query.
- leftJoin(Class<? extends Record>) - Method in class st.orm.template.impl.SelectBuilderImpl
-
Adds a left join to the query.
- leftJoin(Class<? extends Record>) - Method in class st.orm.template.QueryBuilder
-
Adds a left join to the query.
- leftJoin(StringTemplate, String) - Method in class st.orm.template.impl.DeleteBuilderImpl
-
Adds a left join to the query.
- leftJoin(StringTemplate, String) - Method in class st.orm.template.impl.SelectBuilderImpl
-
Adds a left join to the query.
- leftJoin(StringTemplate, String) - Method in class st.orm.template.QueryBuilder
-
Adds a left join to the query.
- LESS_THAN - Static variable in interface st.orm.template.Operator
-
The
<operator. - LESS_THAN_OR_EQUAL - Static variable in interface st.orm.template.Operator
-
The
<=operator. - LIKE - Static variable in interface st.orm.template.Operator
-
The
LIKEoperator. - limit(int) - Method in class st.orm.spi.DefaultSqlDialect
-
Returns a string template for the given limit.
- limit(int) - Method in class st.orm.template.impl.DeleteBuilderImpl
-
Adds a LIMIT clause to the query.
- limit(int) - Method in class st.orm.template.impl.SelectBuilderImpl
-
Adds a LIMIT clause to the query.
- limit(int) - Method in class st.orm.template.QueryBuilder
-
Adds a LIMIT clause to the query.
- limit(int) - Method in interface st.orm.template.SqlDialect
-
Returns a string template for the given limit.
- limit(int, int) - Method in class st.orm.spi.DefaultSqlDialect
-
Returns a string template for the given limit and offset.
- limit(int, int) - Method in interface st.orm.template.SqlDialect
-
Returns a string template for the given limit and offset.
M
- map(Column, T) - Method in interface st.orm.template.impl.ModelMapper
-
Extracts the value for the specified column for the given record.
- map(T) - Method in interface st.orm.template.impl.ModelMapper
-
Maps the values from the given record to a set of columns.
- map(T, Predicate<Column>) - Method in interface st.orm.template.impl.ModelMapper
-
Maps the values from the given record to a set of columns.
- metamodel() - Method in record class st.orm.template.impl.Elements.Column
-
Returns the value of the
metamodelrecord component. - metamodel() - Method in record class st.orm.template.impl.Elements.ObjectExpression
-
Returns the value of the
metamodelrecord component. - Metamodel<T,
E> - Interface in st.orm.template -
The metamodel is used to map database columns to the object model in a type-safe way.
- MetamodelImpl<T,
E> - Class in st.orm.template.impl -
Implementation that is used by the generated models.
- MetamodelImpl(Class<E>) - Constructor for class st.orm.template.impl.MetamodelImpl
- MetamodelImpl(Class<E>, String) - Constructor for class st.orm.template.impl.MetamodelImpl
- MetamodelImpl(Class<E>, String, String, boolean, Metamodel<T, ?>) - Constructor for class st.orm.template.impl.MetamodelImpl
- MetamodelType - Annotation Interface in st.orm.template
-
Marks an annotation type to be represented as the specified type in the
Metamodel. - mode() - Method in record class st.orm.template.impl.Elements.Select
-
Returns the value of the
moderecord component. - model - Variable in class st.orm.spi.EntityRepositoryImpl
- model - Variable in class st.orm.spi.ProjectionRepositoryImpl
- model() - Method in interface st.orm.repository.EntityRepository
-
Returns the entity model associated with this repository.
- model() - Method in interface st.orm.repository.ProjectionRepository
-
Returns the projection model associated with this repository.
- model() - Method in class st.orm.spi.ProjectionRepositoryImpl
-
Returns the model associated with this repository.
- model() - Method in class st.orm.spi.EntityRepositoryImpl
-
Returns the entity model associated with this repository.
- model(Class<T>) - Method in interface st.orm.template.QueryTemplate
-
Get the model for the specified record
type. - model(Class<T>, boolean) - Method in class st.orm.template.impl.ORMTemplateImpl
-
Get the model for the specified record
type. - model(Class<T>, boolean) - Method in interface st.orm.template.QueryTemplate
-
Get the model for the specified record
type. - Model<E,
ID> - Interface in st.orm.template -
Represents the model of an entity or projection.
- modelBuilder - Variable in class st.orm.template.impl.ORMTemplateImpl
- ModelBuilder - Interface in st.orm.template.impl
-
Builder for creating a model.
- ModelImpl<E,
ID> - Record Class in st.orm.template.impl -
Represents the model of an entity or projection.
- ModelImpl(TableName, Class<E>, Class<ID>, List<Column>) - Constructor for record class st.orm.template.impl.ModelImpl
-
Creates an instance of a
ModelImplrecord class. - ModelMapper<T,
ID> - Interface in st.orm.template.impl -
Maps a record to a set of columns.
- modelSupplier - Variable in class st.orm.template.impl.DeleteBuilderImpl
- modelSupplier - Variable in class st.orm.template.impl.SelectBuilderImpl
- multiValueIn(List<Map<String, Object>>, Consumer<Object>) - Method in class st.orm.spi.DefaultSqlDialect
-
Returns a string for the given column name.
- multiValueIn(List<Map<String, Object>>, Consumer<Object>) - Method in interface st.orm.template.SqlDialect
-
Returns a string for the given column name.
N
- name() - Element in annotation interface st.orm.DbColumn
-
The database column name.
- name() - Element in annotation interface st.orm.DbTable
-
The database table name.
- name() - Element in annotation interface st.orm.FK
-
The database column name for the foreign key.
- name() - Element in annotation interface st.orm.PK
-
The database column name for the primary key.
- name() - Method in class st.orm.spi.DefaultSqlDialect
-
Returns the name of the SQL dialect.
- name() - Method in interface st.orm.spi.Name
-
Returns the name of the database object.
- name() - Method in interface st.orm.template.Column
-
Gets the name of the column.
- name() - Method in record class st.orm.template.impl.ColumnImpl
-
Gets the name of the column.
- name() - Method in record class st.orm.template.impl.ColumnName
-
Returns the value of the
namerecord component. - name() - Method in record class st.orm.template.impl.Elements.Param
-
Returns the value of the
namerecord component. - name() - Method in record class st.orm.template.impl.ModelImpl
-
Returns the name of the table or view.
- name() - Method in record class st.orm.template.impl.TableName
- name() - Method in interface st.orm.template.Model
-
Returns the name of the table or view.
- name() - Method in interface st.orm.template.SqlDialect
-
Returns the name of the SQL dialect.
- name() - Method in record class st.orm.template.SqlTemplate.NamedParameter
-
Returns the value of the
namerecord component. - Name - Interface in st.orm.spi
-
Represents a name of a database object.
- NAME - Enum constant in enum class st.orm.EnumType
-
Map using the enum's name (default).
- NamedParameter(String, Object) - Constructor for record class st.orm.template.SqlTemplate.NamedParameter
-
Creates an instance of a
NamedParameterrecord class. - NESTED - Enum constant in enum class st.orm.Templates.SelectMode
-
The entire object hierarchy is selected.
- newInstance() - Static method in interface st.orm.template.impl.ModelBuilder
-
Creates a new instance of the model builder.
- newInstance(Object[]) - Method in interface st.orm.template.impl.ObjectMapper
-
Creates a new instance of the type.
- NonUniqueResultException - Exception Class in st.orm
-
Thrown when
getSingleResultis executed on a query and there is more than one result from the query. - NonUniqueResultException() - Constructor for exception class st.orm.NonUniqueResultException
-
Constructs a new
NonUniqueResultExceptionexception withnullas its detail message. - NonUniqueResultException(Exception) - Constructor for exception class st.orm.NonUniqueResultException
-
Constructs a new
NonUniqueResultExceptionexception withnullas its detail message. - NonUniqueResultException(String) - Constructor for exception class st.orm.NonUniqueResultException
-
Constructs a new
NonUniqueResultExceptionexception with the specified detail message. - NonUniqueResultException(String, Exception) - Constructor for exception class st.orm.NonUniqueResultException
-
Constructs a new
NonUniqueResultExceptionexception with the specified detail message. - NoResultException - Exception Class in st.orm
-
Thrown when
getSingleResultis executed on a query and there is no result to return. - NoResultException() - Constructor for exception class st.orm.NoResultException
-
Constructs a new
NoResultExceptionexception withnullits detail message. - NoResultException(String) - Constructor for exception class st.orm.NoResultException
-
Constructs a new
NoResultExceptionexception with the specified detail message. - NOT_EQUALS - Static variable in interface st.orm.template.Operator
-
The
NOT EXISTSoperator. - NOT_IN - Static variable in interface st.orm.template.Operator
-
The
NOT INoperator. - NOT_LIKE - Static variable in interface st.orm.template.Operator
-
The
NOT LIKEoperator. - notExists(QueryBuilder<?, ?, ?>) - Method in class st.orm.template.QueryBuilder.WhereBuilder
-
Adds an
NOT EXISTScondition to the WHERE clause using the specified subquery. - nullable() - Method in interface st.orm.template.Column
-
Determines if the column is nullable.
- nullable() - Method in record class st.orm.template.impl.ColumnImpl
-
Returns the value of the
nullablerecord component.
O
- object() - Method in record class st.orm.template.impl.Elements.ObjectExpression
-
Returns the value of the
objectrecord component. - ObjectExpression(Object) - Constructor for record class st.orm.template.impl.Elements.ObjectExpression
- ObjectExpression(Metamodel<?, ?>, Operator, Object) - Constructor for record class st.orm.template.impl.Elements.ObjectExpression
-
Creates an instance of a
ObjectExpressionrecord class. - ObjectExpression(Operator, Object) - Constructor for record class st.orm.template.impl.Elements.ObjectExpression
- ObjectMapper<T> - Interface in st.orm.template.impl
-
Mapper for creating instances of a specific type.
- ObjectMapperFactory - Class in st.orm.template.impl
-
Factory for creating instances of a specific type.
- observe(Consumer<Sql>, Runnable) - Static method in interface st.orm.template.SqlInterceptor
-
Executes a
Runnableaction within the context of an SQL observer, which consumes SQL statements. - observe(Consumer<Sql>, Supplier<T>) - Static method in interface st.orm.template.SqlInterceptor
-
Executes a
Supplierwithin the context of an SQL observer, returning its result. - observeThrowing(Consumer<Sql>, Callable<T>) - Static method in interface st.orm.template.SqlInterceptor
-
Executes a
Callableaction within the context of an SQL observer, returning its result and potentially throwing exceptions. - of(E) - Static method in interface st.orm.Ref
-
Creates a fully loaded ref instance that wraps the given entity.
- of(EntityManager) - Static method in interface st.orm.template.JpaTemplate
-
Creates a new JPA template for the given entity manager.
- of(Class<T>) - Static method in class st.orm.template.impl.MetamodelImpl
-
Creates a new metamodel for the given record type.
- of(Class<T>, String) - Static method in class st.orm.template.impl.MetamodelImpl
-
Creates a new metamodel for the given root rootTable and path.
- of(Class<T>, String) - Static method in interface st.orm.template.Metamodel
-
Creates a new metamodel for the given root table and path.
- of(Connection) - Static method in interface st.orm.template.PreparedStatementTemplate
-
Creates a new prepared statement template for the given connection.
- of(DataSource) - Static method in interface st.orm.template.PreparedStatementTemplate
-
Creates a new prepared statement template for the given data source.
- of(P, ID) - Static method in interface st.orm.Ref
-
Creates a fully loaded ref instance that wraps the given projection along with its primary key.
- of(Model<T, ID>) - Static method in interface st.orm.template.impl.ModelMapper
-
Creates a new instance of the model mapper for the given model.
- offset(int) - Method in class st.orm.spi.DefaultSqlDialect
-
Returns a string template for the given offset.
- offset(int) - Method in class st.orm.template.impl.DeleteBuilderImpl
-
Adds an OFFSET clause to the query.
- offset(int) - Method in class st.orm.template.impl.SelectBuilderImpl
-
Adds an OFFSET clause to the query.
- offset(int) - Method in class st.orm.template.QueryBuilder
-
Adds an OFFSET clause to the query.
- offset(int) - Method in interface st.orm.template.SqlDialect
-
Returns a string template for the given offset.
- ofNull() - Static method in interface st.orm.Ref
-
Creates a ref instance with a null value.
- ofNullable(E) - Static method in interface st.orm.Ref
-
Creates a ref instance with the specified
entity, if non-null, otherwise returns a null ref instance. - ofNullable(P, ID) - Static method in interface st.orm.Ref
-
Creates a ref instance with the specified
projectionandid, if both non-null, otherwise returns a null ref instance. - on(Class<? extends Record>) - Method in interface st.orm.template.QueryBuilder.TypedJoinBuilder
-
Specifies the relation to join on.
- on(StringTemplate) - Method in interface st.orm.template.QueryBuilder.JoinBuilder
-
Specifies the join condition using a custom expression.
- onBatch(List<SqlTemplate.PositionalParameter>) - Method in interface st.orm.template.SqlTemplate.BatchListener
-
Invoked when a new batch of positional parameters is processed.
- onRecord(Record) - Method in interface st.orm.template.SqlTemplate.RecordListener
-
Invoked when a new record is processed.
- operator() - Method in record class st.orm.template.impl.Elements.ObjectExpression
-
Returns the value of the
operatorrecord component. - Operator - Interface in st.orm.template
-
Represents a comparison operator in a SQL query.
- OptimisticLockException - Exception Class in st.orm
-
Thrown when an optimistic locking conflict occurs.
- OptimisticLockException() - Constructor for exception class st.orm.OptimisticLockException
-
Constructs a new
OptimisticLockExceptionexception withnullas its detail message. - OptimisticLockException(Object) - Constructor for exception class st.orm.OptimisticLockException
-
Constructs a new
OptimisticLockExceptionexception with the specified entity. - OptimisticLockException(String) - Constructor for exception class st.orm.OptimisticLockException
-
Constructs a new
OptimisticLockExceptionexception with the specified detail message. - OptimisticLockException(String, Throwable) - Constructor for exception class st.orm.OptimisticLockException
-
Constructs a new
OptimisticLockExceptionexception with the specified detail message and cause. - OptimisticLockException(String, Throwable, Object) - Constructor for exception class st.orm.OptimisticLockException
-
Constructs a new
OptimisticLockExceptionexception with the specified detail message, cause, and entity. - OptimisticLockException(Throwable) - Constructor for exception class st.orm.OptimisticLockException
-
Constructs a new
OptimisticLockExceptionexception with the specified cause. - or(QueryBuilder.PredicateBuilder<?, ?, ?>) - Method in interface st.orm.template.QueryBuilder.PredicateBuilder
-
Adds a predicate to the WHERE clause using an OR condition.
- Orderable<T> - Interface in st.orm.spi
-
Interface for classes that can be ordered.
- Orderable.After - Annotation Interface in st.orm.spi
-
Ordering constraint that indicates that the current class should come after the specified classes.
- Orderable.AfterAny - Annotation Interface in st.orm.spi
-
Ordering constraint that indicates that the current class should come after any other class.
- Orderable.Before - Annotation Interface in st.orm.spi
-
Ordering constraint that indicates that the current class should come before the specified classes.
- Orderable.BeforeAny - Annotation Interface in st.orm.spi
-
Ordering constraint that indicates that the current class should come before any other class.
- orderBy(StringTemplate) - Method in class st.orm.template.QueryBuilder
-
Adds an ORDER BY clause to the query using a string template.
- orderBy(Metamodel<T, ?>) - Method in class st.orm.template.QueryBuilder
-
Adds an ORDER BY clause to the query for the field at the specified path in the table graph.
- orderBy(Metamodel<T, ?>...) - Method in class st.orm.template.QueryBuilder
-
Adds an ORDER BY clause to the query for the field at the specified path in the table graph.
- orderByAny(Metamodel<?, ?>...) - Method in class st.orm.template.QueryBuilder
-
Adds an ORDER BY clause to the query for the field at the specified path in the table graph or manually added joins.
- orderByDescending(Metamodel<T, ?>) - Method in class st.orm.template.QueryBuilder
-
Adds an ORDER BY clause to the query for the field at the specified path in the table graph.
- ORDINAL - Enum constant in enum class st.orm.EnumType
-
Map using the enum's ordinal position.
- orm() - Method in interface st.orm.repository.Repository
-
Provides access to the underlying ORM template.
- orm() - Method in class st.orm.spi.EntityRepositoryImpl
-
Provides access to the underlying ORM template.
- orm() - Method in class st.orm.spi.ProjectionRepositoryImpl
-
Provides access to the underlying ORM template.
- ORM(EntityManager) - Static method in interface st.orm.template.JpaTemplate
-
Creates a new ORM template for the given entity manager.
- ORM(EntityManager) - Static method in interface st.orm.Templates
-
Returns an
ORMTemplatefor use with JPA. - ORM(Connection) - Static method in interface st.orm.template.PreparedStatementTemplate
-
Creates a new ORM template for the given connection.
- ORM(Connection) - Static method in interface st.orm.Templates
-
Returns an
ORMTemplatefor use with JDBC. - ORM(DataSource) - Static method in interface st.orm.template.PreparedStatementTemplate
-
Creates a new ORM template for the given data source.
- ORM(DataSource) - Static method in interface st.orm.Templates
-
Returns an
ORMTemplatefor use with JDBC. - ORMConverter - Interface in st.orm.spi
-
Interface for converting ORM parameters to SQL parameters.
- ORMConverter.NameResolver - Interface in st.orm.spi
-
Interface for resolving names of record components.
- ORMConverterProvider - Interface in st.orm.spi
-
Provides pluggable ORM converter logic for record components.
- ORMReflection - Interface in st.orm.spi
-
Provides pluggable reflection support for the ORM to support different JVM languages, such as Java and Kotlin.
- ORMReflectionProvider - Interface in st.orm.spi
-
Provides pluggable ORM reflection logic.
- ormTemplate - Variable in class st.orm.spi.EntityRepositoryImpl
- ormTemplate - Variable in class st.orm.spi.ProjectionRepositoryImpl
- ORMTemplate - Interface in st.orm.template
-
The
ORMTemplateis the primary interface that extends theQueryTemplateandRepositoryLookinginterfaces, providing access to both the SQL Template engine and ORM logic. - ORMTemplateImpl - Class in st.orm.template.impl
- ORMTemplateImpl(QueryFactory, ModelBuilder, Predicate<? super Provider>) - Constructor for class st.orm.template.impl.ORMTemplateImpl
- OUTER - Enum constant in enum class st.orm.template.ResolveScope
-
Resolve the alias from the outer scope(s) only.e
P
- param(Object) - Static method in interface st.orm.Templates
-
Generates a parameter element for the specified value, to be used in SQL queries.
- param(String, Object) - Static method in interface st.orm.Templates
-
Generates a named parameter element for the specified value, to be used in SQL queries.
- param(String, Calendar, TemporalType) - Static method in interface st.orm.Templates
-
Generates a named parameter element for the specified
Calendarvalue with a temporal type. - param(String, Date, TemporalType) - Static method in interface st.orm.Templates
-
Generates a named parameter element for the specified
Datevalue with a temporal type. - param(String, P, Function<? super P, ?>) - Static method in interface st.orm.Templates
-
Generates a named parameter element for the specified value with a converter function.
- param(Calendar, TemporalType) - Static method in interface st.orm.Templates
-
Generates a parameter element for the specified
Calendarvalue with a temporal type. - param(Date, TemporalType) - Static method in interface st.orm.Templates
-
Generates a parameter element for the specified
Datevalue with a temporal type. - param(P, Function<? super P, ?>) - Static method in interface st.orm.Templates
-
Generates a parameter element for the specified value with a converter function.
- Param(String, Object) - Constructor for record class st.orm.template.impl.Elements.Param
-
Creates an instance of a
Paramrecord class. - Param(String, Object, Function<Object, ?>) - Constructor for record class st.orm.template.impl.Elements.Param
- parameters() - Method in interface st.orm.template.Sql
-
The parameters that were used to generate the SQL.
- parameters(List<SqlTemplate.Parameter>) - Method in interface st.orm.template.Sql
-
Returns a new instance of the SQL statement with the given parameters.
- path() - Method in class st.orm.template.impl.MetamodelImpl
-
Returns the path to the database table.
- path() - Method in interface st.orm.template.Metamodel
-
Returns the path to the database table.
- Persist - Annotation Interface in st.orm
-
Allows the persistence properties of a record component to be configured.
- PersistenceException - Exception Class in st.orm
-
Thrown when a database or sql problem occurs.
- PersistenceException() - Constructor for exception class st.orm.PersistenceException
-
Constructs a new
PersistenceExceptionexception withnullas its detail message. - PersistenceException(String) - Constructor for exception class st.orm.PersistenceException
-
Constructs a new
PersistenceExceptionexception with the specified detail message. - PersistenceException(String, Throwable) - Constructor for exception class st.orm.PersistenceException
-
Constructs a new
PersistenceExceptionexception with the specified detail message and cause. - PersistenceException(Throwable) - Constructor for exception class st.orm.PersistenceException
-
Constructs a new
PersistenceExceptionexception with the specified cause. - PK - Enum constant in enum class st.orm.Templates.SelectMode
-
Only the primary key fields are selected.
- PK - Annotation Interface in st.orm
-
Marks a field as the primary key of an entity.
- position() - Method in record class st.orm.template.SqlTemplate.PositionalParameter
-
Returns the value of the
positionrecord component. - positionalOnly() - Method in class st.orm.template.impl.SqlTemplateImpl
-
Returns
trueif the template only support positional parameters,falseotherwise. - positionalOnly() - Method in interface st.orm.template.SqlTemplate
-
Returns
trueif the template only support positional parameters,falseotherwise. - PositionalParameter(int, Object) - Constructor for record class st.orm.template.SqlTemplate.PositionalParameter
-
Creates an instance of a
PositionalParameterrecord class. - prepare() - Method in interface st.orm.Query
-
Prepares the query for execution.
- prepare() - Method in class st.orm.template.QueryBuilder
-
Prepares the query for execution.
- PreparedQuery - Interface in st.orm
-
Represents a prepared query that can be executed multiple times, allows adding records to a batch and retrieving generated keys.
- PreparedStatementTemplate - Interface in st.orm.template
-
A template backed by JDBC.
- PreparedStatementTemplateImpl - Class in st.orm.template.impl
- PreparedStatementTemplateImpl(Connection) - Constructor for class st.orm.template.impl.PreparedStatementTemplateImpl
- PreparedStatementTemplateImpl(DataSource) - Constructor for class st.orm.template.impl.PreparedStatementTemplateImpl
- prepareUpdateQuery() - Method in class st.orm.spi.EntityRepositoryImpl
- primaryKey() - Method in interface st.orm.template.Column
-
Determines if the column is a primary key.
- primaryKey() - Method in record class st.orm.template.impl.ColumnImpl
-
Returns the value of the
primaryKeyrecord component. - primaryKeyType() - Method in record class st.orm.template.impl.ModelImpl
-
Returns the value of the
primaryKeyTyperecord component. - primaryKeyType() - Method in interface st.orm.template.Model
-
Returns the type of the primary key.
- process(StringTemplate) - Method in class st.orm.template.impl.SqlTemplateImpl
-
Processes the specified
templateand returns the resulting SQL and parameters. - process(StringTemplate) - Method in interface st.orm.template.SqlTemplate
-
Processes the specified
templateand returns the resulting SQL and parameters. - process(Stream<T>) - Method in interface st.orm.BatchCallback
-
Process the given batch stream.
- process(Stream<T>) - Method in interface st.orm.ResultCallback
-
Process the given stream.
- projection(Class<T>) - Method in interface st.orm.repository.RepositoryLookup
-
Returns the repository for the given projection type.
- projection(Class<T>) - Method in class st.orm.template.impl.ORMTemplateImpl
-
Returns the repository for the given projection type.
- Projection<ID> - Interface in st.orm.repository
-
Marker interface for record-based projections.
- projectionId(Ref<P>) - Static method in interface st.orm.Ref
-
Extracts the primary key from the given projection ref returning a type-safe id.
- ProjectionQuery - Annotation Interface in st.orm.repository
-
Projection records marked with this annotation type can specify a SQL query that represents the projection.
- ProjectionRepository<P,
ID> - Interface in st.orm.repository -
Provides a generic interface with read operations for projections.
- ProjectionRepositoryImpl<P,
ID> - Class in st.orm.spi -
Default implementation of
ProjectionRepository. - ProjectionRepositoryImpl(ORMTemplate, Model<P, ID>) - Constructor for class st.orm.spi.ProjectionRepositoryImpl
- ProjectionRepositoryProvider - Interface in st.orm.spi
-
Provides pluggable projection repository logic.
- Provider - Interface in st.orm.spi
-
Base interface for service provider interfaces of the storm framework.
- providerFilter - Variable in class st.orm.template.impl.ORMTemplateImpl
- Providers - Class in st.orm.spi
-
Helper class for loading providers from the storm framework.
- Providers() - Constructor for class st.orm.spi.Providers
- PS - Static variable in interface st.orm.template.SqlTemplate
-
The default SQL template that is optimized for prepared statements.
Q
- qualifiedName(SqlDialect) - Method in interface st.orm.template.Column
-
Gets the qualified name of the column including escape characters where necessary.
- qualifiedName(SqlDialect) - Method in record class st.orm.template.impl.ColumnImpl
-
`` * Gets the qualified name of the column, including escape characters where necessary.
- qualifiedName(SqlDialect) - Method in record class st.orm.template.impl.ModelImpl
-
Returns the qualified name of the table or view, including the schema and escape characters where necessary.
- qualifiedName(SqlDialect) - Method in interface st.orm.template.Model
-
Returns the qualified name of the table or view, including the schema and escape characters where necessary.
- query(StringTemplate) - Method in class st.orm.template.impl.JpaTemplateImpl
-
Creates a query for the specified query
template. - query(StringTemplate) - Method in class st.orm.template.impl.PreparedStatementTemplateImpl
-
Creates a query for the specified query
template. - query(StringTemplate) - Method in class st.orm.template.impl.ORMTemplateImpl
-
Creates a query for the specified query
template. - query(StringTemplate) - Method in interface st.orm.template.JpaTemplate
-
Creates a query for the specified query
template. - query(StringTemplate) - Method in interface st.orm.template.PreparedStatementTemplate
-
Creates a query for the specified query
template. - query(StringTemplate) - Method in interface st.orm.template.QueryTemplate
-
Creates a query for the specified query
template. - Query - Interface in st.orm
-
Abstraction for DQL (Data Query Language) statements, such as SELECT queries and DML (Data Manipulation Language) statements, such as INSERT, UPDATE and DELETE statements
- QueryBuilder<T,
R, - Class in st.orm.templateID> -
A query builder that constructs a query from a template.
- QueryBuilder() - Constructor for class st.orm.template.QueryBuilder
- QueryBuilder.JoinBuilder<T,
R, - Interface in st.orm.templateID> -
A builder for constructing join clause of the query using custom join conditions.
- QueryBuilder.PredicateBuilder<T,
R, - Interface in st.orm.templateID> -
A builder for constructing the predicates of the WHERE clause of the query.
- QueryBuilder.TypedJoinBuilder<T,
R, - Interface in st.orm.templateID> -
A builder for constructing join clause of the query.
- QueryBuilder.WhereBuilder<T,
R, - Class in st.orm.templateID> -
A builder for constructing the WHERE clause of the query.
- QueryBuilderProvider - Interface in st.orm.spi
-
Provides pluggable query builder logic.
- queryFactory - Variable in class st.orm.template.impl.ORMTemplateImpl
- QueryFactory - Interface in st.orm.spi
-
Factory for creating queries.
- queryTemplate - Variable in class st.orm.template.impl.DeleteBuilderImpl
- queryTemplate - Variable in class st.orm.template.impl.SelectBuilderImpl
- QueryTemplate - Interface in st.orm.template
-
The query template is used to construct queries.
R
- Read - Search tag in interface st.orm.Templates
- Section
- Read - Search tag in interface st.orm.repository.EntityRepository
- Section
- record() - Method in record class st.orm.template.impl.Elements.Set
-
Returns the value of the
recordrecord component. - records() - Method in record class st.orm.template.impl.Elements.Values
-
Returns the value of the
recordsrecord component. - ref() - Method in interface st.orm.template.Column
-
Determines if the column is a ref column.
- ref() - Method in record class st.orm.template.impl.ColumnImpl
-
Returns the value of the
refrecord component. - ref(E) - Method in interface st.orm.repository.EntityRepository
-
Creates a new ref entity instance for the specified entity.
- ref(E) - Method in class st.orm.spi.EntityRepositoryImpl
-
Creates a new ref entity instance for the specified entity.
- ref(E, ID) - Method in class st.orm.template.impl.ORMTemplateImpl
-
Creates a ref instance for the specified record
typeandpk. - ref(ID) - Method in interface st.orm.repository.EntityRepository
-
Creates a new ref entity instance with the specified primary key.
- ref(ID) - Method in interface st.orm.repository.ProjectionRepository
-
Creates a new ref projection instance with the specified primary key.
- ref(ID) - Method in class st.orm.spi.EntityRepositoryImpl
-
Creates a new ref entity instance with the specified primary key.
- ref(ID) - Method in class st.orm.spi.ProjectionRepositoryImpl
-
Creates a new ref entity instance with the specified primary key.
- ref(Class<E>, ID) - Method in class st.orm.template.impl.ORMTemplateImpl
-
Creates a ref instance for the specified record
typeandpk. - ref(Class<T>, ID) - Method in interface st.orm.template.QueryTemplate
-
Creates a ref instance for the specified record
typeandpk. - ref(P, ID) - Method in interface st.orm.repository.ProjectionRepository
-
Creates a new ref projection instance with the specified projection.
- ref(P, ID) - Method in class st.orm.spi.ProjectionRepositoryImpl
-
Creates a new ref projection instance with the specified projection.
- ref(T, ID) - Method in interface st.orm.template.QueryTemplate
-
Creates a ref instance for the specified record
typeandid. - Ref<T> - Interface in st.orm
-
Ref records are used to represent reference to records, allowing them to be fetched from the database.
- RefFactory - Interface in st.orm.template.impl
-
Interface for creating ref instances for records.
- RefFactoryImpl - Class in st.orm.template.impl
-
Implementation of
RefFactory. - RefFactoryImpl(QueryFactory, ModelBuilder, Predicate<? super Provider>) - Constructor for class st.orm.template.impl.RefFactoryImpl
- RefFactoryImpl(QueryTemplate) - Constructor for class st.orm.template.impl.RefFactoryImpl
- registerGlobalInterceptor(UnaryOperator<Sql>) - Static method in class st.orm.template.impl.SqlInterceptorManager
-
Register a global interceptor that will be called for all SQL statements.
- registerGlobalInterceptor(UnaryOperator<Sql>) - Static method in interface st.orm.template.SqlInterceptor
-
Register a global interceptor that will be called for all SQL statements being generated.
- registerGlobalObserver(Consumer<Sql>) - Static method in class st.orm.template.impl.SqlInterceptorManager
-
Register a global observer that will be called for all SQL statements.
- registerGlobalObserver(Consumer<Sql>) - Static method in interface st.orm.template.SqlInterceptor
-
Register a global observer that will be called for all SQL statements being generated.
- remove() - Method in class st.orm.template.impl.LazySupplier
-
Removes the lazily loaded value.
- repository(Class<R>) - Method in interface st.orm.repository.RepositoryLookup
-
Returns a proxy for the repository of the given type.
- repository(Class<R>) - Method in class st.orm.template.impl.ORMTemplateImpl
-
Returns a proxy for the repository of the given type.
- Repository - Interface in st.orm.repository
-
Base interface for all repositories.
- Repository Injection - Search tag in interface st.orm.repository.EntityRepository
- Section
- RepositoryLookup - Interface in st.orm.repository
-
Provides access to repositories.
- Repository Lookup - Search tag in interface st.orm.repository.EntityRepository
- Section
- resolveColumnName(RecordComponent) - Method in interface st.orm.template.ColumnNameResolver
-
Resolves the column name for a record component.
- resolveColumnName(RecordComponent, Class<? extends Record>) - Method in interface st.orm.template.ForeignKeyResolver
-
Resolves the column name for a foreign key record type.
- ResolveScope - Enum Class in st.orm.template
-
Enumeration of the different modes for resolving an alias.
- resolveTableAlias(Class<? extends Record>, int) - Method in interface st.orm.template.TableAliasResolver
-
Resolves the alias for a table.
- resolveTableName(Class<? extends Record>) - Method in interface st.orm.template.TableNameResolver
-
Resolves the table name for a given record type.
- ResultCallback<T,
R> - Interface in st.orm -
Result callback interface.
- right() - Static method in interface st.orm.template.JoinType
-
The default right join type.
- RIGHT - Enum constant in enum class st.orm.template.impl.DefaultJoinType
- rightJoin(Class<? extends Record>) - Method in class st.orm.template.impl.DeleteBuilderImpl
-
Adds a right join to the query.
- rightJoin(Class<? extends Record>) - Method in class st.orm.template.impl.SelectBuilderImpl
-
Adds a right join to the query.
- rightJoin(Class<? extends Record>) - Method in class st.orm.template.QueryBuilder
-
Adds a right join to the query.
- rightJoin(StringTemplate, String) - Method in class st.orm.template.impl.DeleteBuilderImpl
-
Adds a right join to the query.
- rightJoin(StringTemplate, String) - Method in class st.orm.template.impl.SelectBuilderImpl
-
Adds a right join to the query.
- rightJoin(StringTemplate, String) - Method in class st.orm.template.QueryBuilder
-
Adds a right join to the query.
- root() - Method in class st.orm.template.impl.MetamodelImpl
-
Returns the root metamodel.
- root() - Method in interface st.orm.template.Metamodel
-
Returns the root metamodel.
- root(Class<T>) - Static method in interface st.orm.template.Metamodel
-
Creates a new metamodel for the given record type.
S
- safe() - Method in interface st.orm.Query
-
Returns a new query that is marked as safe.
- safe() - Method in class st.orm.template.impl.DeleteBuilderImpl
-
Returns a query builder that does not require a WHERE clause for UPDATE and DELETE queries.
- safe() - Method in class st.orm.template.impl.SelectBuilderImpl
-
Returns a query builder that does not require a WHERE clause for UPDATE and DELETE queries.
- safe() - Method in class st.orm.template.QueryBuilder
-
Returns a query builder that does not require a WHERE clause for UPDATE and DELETE queries.
- schema() - Element in annotation interface st.orm.DbTable
-
The database schema name.
- schema() - Method in record class st.orm.template.impl.ModelImpl
-
Returns the schema, or empty String if the schema is not specified.
- schema() - Method in record class st.orm.template.impl.TableName
-
Returns the value of the
schemarecord component. - schema() - Method in interface st.orm.template.Model
-
Returns the schema, or an empty String if the schema is not specified.
- scope() - Method in record class st.orm.template.impl.Elements.Alias
-
Returns the value of the
scoperecord component. - scope() - Method in record class st.orm.template.impl.Elements.Column
-
Returns the value of the
scoperecord component. - select() - Method in interface st.orm.repository.EntityRepository
-
Creates a new query builder for selecting entities of the type managed by this repository.
- select() - Method in interface st.orm.repository.ProjectionRepository
-
Creates a new query builder for the projection type managed by this repository.
- select() - Method in class st.orm.spi.EntityRepositoryImpl
-
Creates a new query builder for the entity type managed by this repository.
- select() - Method in class st.orm.spi.ProjectionRepositoryImpl
-
Creates a new query builder for the entity type managed by this repository.
- select(Class<? extends Record>) - Static method in interface st.orm.Templates
-
Generates a SELECT element for the specified table class.
- select(Class<? extends Record>, Templates.SelectMode) - Static method in interface st.orm.Templates
-
Generates a SELECT element for the specified table class.
- select(Class<R>) - Method in interface st.orm.repository.EntityRepository
-
Creates a new query builder for the specialized
selectType. - select(Class<R>) - Method in interface st.orm.repository.ProjectionRepository
-
Creates a new query builder for the custom
selectType. - select(Class<R>) - Method in class st.orm.spi.EntityRepositoryImpl
-
Creates a new query builder for the custom
selectType. - select(Class<R>) - Method in class st.orm.spi.ProjectionRepositoryImpl
-
Creates a new query builder for the custom
selectType. - select(Class<R>, StringTemplate) - Method in interface st.orm.repository.EntityRepository
-
Creates a new query builder for the specialized
selectTypeand specializedtemplatefor the select clause. - select(Class<R>, StringTemplate) - Method in interface st.orm.repository.ProjectionRepository
-
Creates a new query builder for the custom
selectTypeand customtemplatefor the select clause. - select(Class<R>, StringTemplate) - Method in class st.orm.spi.EntityRepositoryImpl
-
Creates a new query builder for the custom
selectTypeand customtemplatefor the select clause. - select(Class<R>, StringTemplate) - Method in class st.orm.spi.ProjectionRepositoryImpl
-
Creates a new query builder for the custom
selectTypeand customtemplatefor the select clause. - Select(Class<? extends Record>) - Constructor for record class st.orm.template.impl.Elements.Select
- Select(Class<? extends Record>, Templates.SelectMode) - Constructor for record class st.orm.template.impl.Elements.Select
-
Creates an instance of a
Selectrecord class. - selectAll() - Method in interface st.orm.repository.EntityRepository
-
Returns a stream of all entities of the type supported by this repository.
- selectAll() - Method in interface st.orm.repository.ProjectionRepository
-
Returns a stream of all projections of the type supported by this repository.
- selectAll() - Method in class st.orm.spi.EntityRepositoryImpl
-
Returns a stream of all entities of the type supported by this repository.
- selectAll() - Method in class st.orm.spi.ProjectionRepositoryImpl
-
Returns a stream of all entities of the type supported by this repository.
- selectAll(ResultCallback<E, R>) - Method in interface st.orm.repository.EntityRepository
-
Processes a stream of all entities of the type supported by this repository using the specified callback.
- selectAll(ResultCallback<P, R>) - Method in interface st.orm.repository.ProjectionRepository
-
Processes a stream of all projections of the type supported by this repository using the specified callback.
- selectAllById(Stream<ID>) - Method in interface st.orm.repository.EntityRepository
-
Retrieves a stream of entities based on their primary keys.
- selectAllById(Stream<ID>) - Method in interface st.orm.repository.ProjectionRepository
-
Retrieves a stream of projections based on their primary keys.
- selectAllById(Stream<ID>) - Method in class st.orm.spi.EntityRepositoryImpl
-
Retrieves a stream of entities based on their primary keys.
- selectAllById(Stream<ID>) - Method in class st.orm.spi.ProjectionRepositoryImpl
-
Retrieves a stream of entities based on their primary keys.
- selectAllById(Stream<ID>, int) - Method in interface st.orm.repository.EntityRepository
-
Retrieves a stream of entities based on their primary keys.
- selectAllById(Stream<ID>, int) - Method in interface st.orm.repository.ProjectionRepository
-
Retrieves a stream of projections based on their primary keys.
- selectAllById(Stream<ID>, int) - Method in class st.orm.spi.EntityRepositoryImpl
-
Retrieves a stream of entities based on their primary keys.
- selectAllById(Stream<ID>, int) - Method in class st.orm.spi.ProjectionRepositoryImpl
-
Retrieves a stream of entities based on their primary keys.
- selectAllById(Stream<ID>, int, ResultCallback<E, R>) - Method in interface st.orm.repository.EntityRepository
-
Retrieves a stream of entities based on their primary keys.
- selectAllById(Stream<ID>, int, ResultCallback<P, R>) - Method in interface st.orm.repository.ProjectionRepository
-
Retrieves a stream of projections based on their primary keys.
- selectAllById(Stream<ID>, ResultCallback<E, R>) - Method in interface st.orm.repository.EntityRepository
-
Processes a stream of entities corresponding to the provided IDs using the specified callback.
- selectAllById(Stream<ID>, ResultCallback<P, R>) - Method in interface st.orm.repository.ProjectionRepository
-
Processes a stream of projections corresponding to the provided IDs using the specified callback.
- selectAllByRef(Stream<Ref<E>>) - Method in interface st.orm.repository.EntityRepository
-
Retrieves a stream of entities based on their primary keys.
- selectAllByRef(Stream<Ref<E>>) - Method in class st.orm.spi.EntityRepositoryImpl
-
Retrieves a stream of entities based on their primary keys.
- selectAllByRef(Stream<Ref<P>>) - Method in class st.orm.spi.ProjectionRepositoryImpl
-
Retrieves a stream of entities based on their primary keys.
- selectAllByRef(Stream<Ref<E>>, int) - Method in interface st.orm.repository.EntityRepository
-
Retrieves a stream of entities based on their primary keys.
- selectAllByRef(Stream<Ref<E>>, int) - Method in class st.orm.spi.EntityRepositoryImpl
-
Retrieves a stream of entities based on their primary keys.
- selectAllByRef(Stream<Ref<P>>, int) - Method in class st.orm.spi.ProjectionRepositoryImpl
-
Retrieves a stream of entities based on their primary keys.
- selectAllByRef(Stream<Ref<E>>, int, ResultCallback<E, R>) - Method in interface st.orm.repository.EntityRepository
-
Retrieves a stream of entities based on their primary keys.
- selectAllByRef(Stream<Ref<E>>, ResultCallback<E, R>) - Method in interface st.orm.repository.EntityRepository
-
Processes a stream of entities corresponding to the provided IDs using the specified callback.
- selectAllByRef(Stream<Ref<P>>) - Method in interface st.orm.repository.ProjectionRepository
-
Retrieves a stream of projections based on their primary keys.
- selectAllByRef(Stream<Ref<P>>, int) - Method in interface st.orm.repository.ProjectionRepository
-
Retrieves a stream of projections based on their primary keys.
- selectAllByRef(Stream<Ref<P>>, int, ResultCallback<P, R>) - Method in interface st.orm.repository.ProjectionRepository
-
Retrieves a stream of projections based on their primary keys.
- selectAllByRef(Stream<Ref<P>>, ResultCallback<P, R>) - Method in interface st.orm.repository.ProjectionRepository
-
Processes a stream of projections corresponding to the provided IDs using the specified callback.
- SelectBuilderImpl<T,
R, - Class in st.orm.template.implID> -
A query builder for SELECT queries.
- SelectBuilderImpl(QueryTemplate, Class<T>, Class<? extends Record>, Class<?>, Supplier<Model<T, ID>>) - Constructor for class st.orm.template.impl.SelectBuilderImpl
- SelectBuilderImpl(QueryTemplate, Class<T>, Class<R>, StringTemplate, boolean, Supplier<Model<T, ID>>) - Constructor for class st.orm.template.impl.SelectBuilderImpl
- selectCount() - Method in interface st.orm.repository.EntityRepository
-
Creates a new query builder for the entity type managed by this repository.
- selectCount() - Method in interface st.orm.repository.ProjectionRepository
-
Creates a new query builder for the projection type managed by this repository.
- selectCount() - Method in class st.orm.spi.EntityRepositoryImpl
-
Creates a new query builder for the entity type managed by this repository.
- selectCount() - Method in class st.orm.spi.ProjectionRepositoryImpl
-
Creates a new query builder for the entity type managed by this repository.
- selectFrom(Class<T>) - Method in interface st.orm.template.QueryTemplate
-
Creates a query builder for the specified table.
- selectFrom(Class<T>, Class<R>) - Method in interface st.orm.template.QueryTemplate
-
Creates a query builder for the specified table and select type.
- selectFrom(Class<T>, Class<R>, StringTemplate) - Method in class st.orm.template.impl.ORMTemplateImpl
-
Creates a query builder for the specified table and select type using the given
template. - selectFrom(Class<T>, Class<R>, StringTemplate) - Method in interface st.orm.template.QueryTemplate
-
Creates a query builder for the specified table and select type using the given
template. - selectFrom(QueryTemplate, Class<T>, Class<R>, StringTemplate, boolean, Supplier<Model<T, ID>>) - Method in class st.orm.spi.DefaultQueryBuilderProviderImpl
-
Creates a query builder for the specified table and select type using the given
template. - selectFrom(QueryTemplate, Class<T>, Class<R>, StringTemplate, boolean, Supplier<Model<T, ID>>) - Static method in class st.orm.spi.Providers
- selectFrom(QueryTemplate, Class<T>, Class<R>, StringTemplate, boolean, Supplier<Model<T, ID>>) - Method in interface st.orm.spi.QueryBuilderProvider
-
Creates a query builder for the specified table and select type using the given
template. - selectRef() - Method in interface st.orm.repository.EntityRepository
-
Creates a new query builder for selecting refs to entities of the type managed by this repository.
- selectRef() - Method in class st.orm.spi.EntityRepositoryImpl
-
Creates a new query builder for selecting refs to entities of the type managed by this repository.
- selectRef(Class<R>) - Method in interface st.orm.repository.EntityRepository
-
Creates a new query builder for selecting refs to entities of the type managed by this repository.
- selectRef(Class<R>) - Method in class st.orm.spi.EntityRepositoryImpl
-
Creates a new query builder for selecting refs to entities of the type managed by this repository.
- selectRefFrom(QueryTemplate, Class<T>, Class<R>, Class<?>, Supplier<Model<T, ID>>) - Method in class st.orm.spi.DefaultQueryBuilderProviderImpl
-
Creates a query builder for the specified table and select type using the given
template. - selectRefFrom(QueryTemplate, Class<T>, Class<R>, Class<?>, Supplier<Model<T, ID>>) - Static method in class st.orm.spi.Providers
- selectRefFrom(QueryTemplate, Class<T>, Class<R>, Class<?>, Supplier<Model<T, ID>>) - Method in interface st.orm.spi.QueryBuilderProvider
-
Creates a query builder for the specified table and select type using the given
template. - set(Record) - Static method in interface st.orm.Templates
-
Generates a SET clause for the specified record.
- set(BindVars) - Static method in interface st.orm.Templates
-
Generates a SET clause using the specified
BindVars. - Set(Record, BindVars) - Constructor for record class st.orm.template.impl.Elements.Set
-
Creates an instance of a
Setrecord class. - setBatchListener(SqlTemplate.BatchListener) - Method in interface st.orm.template.SqlTemplate.BindVariables
-
Registers a listener that will be notified when positional parameters are processed in batches.
- setRecordListener(SqlTemplate.RecordListener) - Method in interface st.orm.BindVars
-
Sets a listener that is invoked for each record that is being bound.
- slice(Stream<X>, int) - Static method in class st.orm.template.QueryBuilder
-
Generates a stream of slices, each containing a subset of elements from the original stream up to a specified size.
- slice(Stream<X>, int, Function<List<X>, Stream<Y>>) - Static method in class st.orm.template.QueryBuilder
-
Performs the function in multiple batches, each containing up to
batchSizeelements from the stream. - sort(List<T>) - Static method in interface st.orm.spi.Orderable
-
Sorts the provided
Orderableinstances based on the ordering constraints defined by the orderable constraints. - sort(List<T>, boolean) - Static method in interface st.orm.spi.Orderable
-
Sorts the provided
Orderableinstances based on the ordering constraints defined by the orderable constraints. - sort(Stream<T>) - Static method in interface st.orm.spi.Orderable
-
Sorts the provided
Orderableinstances based on the ordering constraints defined by the orderable constraints. - sort(Stream<T>, boolean) - Static method in interface st.orm.spi.Orderable
-
Sorts the provided
Orderableinstances based on the ordering constraints defined by the orderable constraints. - source() - Method in record class st.orm.template.impl.Elements.From
-
Returns the value of the
sourcerecord component. - sql() - Method in enum class st.orm.template.impl.DefaultJoinType
-
The SQL representation of the join type.
- sql() - Method in record class st.orm.template.impl.Elements.Unsafe
-
Returns the value of the
sqlrecord component. - sql() - Method in interface st.orm.template.JoinType
-
The SQL representation of the join type.
- Sql - Interface in st.orm.template
-
Represents the generated SQL statement with parameters.
- SqlDialect - Interface in st.orm.template
-
Represents a specific SQL dialect with methods to determine feature support and handle identifier escaping.
- SqlDialectProvider - Interface in st.orm.spi
-
Provides the SQL dialect.
- SqlGenerator - Interface in st.orm.template.impl
-
Represents the SQL result of processing a template element.
- SqlInterceptor - Interface in st.orm.template
-
Interceptor for SQL statement generation events.
- SqlInterceptorManager - Class in st.orm.template.impl
-
Manages SQL interceptors.
- SqlTemplate - Interface in st.orm.template
-
A template processor for generating SQL queries.
- SqlTemplate.BatchListener - Interface in st.orm.template
-
A listener for batch events within a SQL query context.
- SqlTemplate.BindVariables - Interface in st.orm.template
-
Manages the binding of variables in a SQL query.
- SqlTemplate.NamedParameter - Record Class in st.orm.template
-
Represents a named parameter that can be used in a SQL query.
- SqlTemplate.Parameter - Interface in st.orm.template
-
Represents a parameter that can be used in a SQL query.
- SqlTemplate.PositionalParameter - Record Class in st.orm.template
-
Represents a positional parameter that can be used in a SQL query.
- SqlTemplate.RecordListener - Interface in st.orm.template
-
A listener for record events within a SQL query context.
- SqlTemplateException - Exception Class in st.orm.template
-
Thrown to indicate an error occurred while processing a SQL template.
- SqlTemplateException(String) - Constructor for exception class st.orm.template.SqlTemplateException
-
Constructs a new exception with the specified reason.
- SqlTemplateException(String, Throwable) - Constructor for exception class st.orm.template.SqlTemplateException
-
Constructs a new exception with the specified reason and cause.
- SqlTemplateException(Throwable) - Constructor for exception class st.orm.template.SqlTemplateException
-
Constructs a new exception with the specified reason and cause.
- SqlTemplateImpl - Class in st.orm.template.impl
-
The sql template implementation that is responsible for generating SQL queries.
- SqlTemplateImpl(boolean, boolean, boolean) - Constructor for class st.orm.template.impl.SqlTemplateImpl
- SqlTemplateImpl(boolean, boolean, boolean, ModelBuilder, TableAliasResolver, SqlDialect) - Constructor for class st.orm.template.impl.SqlTemplateImpl
- st.orm - package st.orm
- st.orm.repository - package st.orm.repository
- st.orm.spi - package st.orm.spi
- st.orm.template - package st.orm.template
- st.orm.template.impl - package st.orm.template.impl
- statement() - Method in interface st.orm.template.Sql
-
The generated SQL with all parameters replaced by '?'
- statement(String) - Method in interface st.orm.template.Sql
-
Returns a new instance of the SQL statement with the given statement.
- storm - module storm
- StringTemplates - Class in st.orm.template.impl
-
Utility class for processing string templates.
- subquery(Class<T>) - Method in interface st.orm.template.SubqueryTemplate
-
Create a subquery for the given table.
- subquery(Class<T>, Class<R>) - Method in interface st.orm.template.SubqueryTemplate
-
Crate a subquery for the given table and select type.
- subquery(Class<T>, StringTemplate) - Method in class st.orm.template.impl.ORMTemplateImpl
-
Create a subquery for the given table and select type using the given
template. - subquery(Class<T>, StringTemplate) - Method in interface st.orm.template.SubqueryTemplate
-
Create a subquery for the given table and select type using the given
template. - subquery(StringTemplate, boolean) - Static method in interface st.orm.Templates
-
Creates a new subquery element using a string template.
- subquery(QueryBuilder<?, ?, ?>, boolean) - Static method in interface st.orm.Templates
-
Creates a new subquery element using a query builder.
- Subquery(StringTemplate, boolean) - Constructor for record class st.orm.template.impl.Elements.SubqueryPREVIEW
-
Creates an instance of a
Subqueryrecord class. - Subqueryable - Interface in st.orm.template.impl
-
The query template is used to construct queries that may be linked to the outer query.
- SubqueryTemplate - Interface in st.orm.template
-
The subquery template is used to construct subqueries that can be linked to the outer query.
- supplier(Class<T>, boolean) - Method in interface st.orm.template.impl.ModelBuilder
-
Returns a supplier for the model.
- supportRecords() - Method in class st.orm.template.impl.SqlTemplateImpl
-
Returns
trueif the template supports tables represented as records,falseotherwise. - supportRecords() - Method in interface st.orm.template.SqlTemplate
-
Returns
trueif the template supports tables represented as records,falseotherwise. - supportsDeleteAlias() - Method in class st.orm.spi.DefaultSqlDialect
-
Indicates whether the SQL dialect supports delete aliases.
- supportsDeleteAlias() - Method in interface st.orm.template.SqlDialect
-
Indicates whether the SQL dialect supports delete aliases.
- supportsJoin() - Method in class st.orm.template.impl.DeleteBuilderImpl
-
Indicates whether the DELETE query supports joins.
- supportsJoin() - Method in class st.orm.template.impl.SelectBuilderImpl
-
Returns true to indicate that the query supports joins, false otherwise.
- supportsMultiValueTuples() - Method in class st.orm.spi.DefaultSqlDialect
-
Indicates whether the SQL dialect supports multi-value tuples in the IN clause.
- supportsMultiValueTuples() - Method in interface st.orm.template.SqlDialect
-
Indicates whether the SQL dialect supports multi-value tuples in the IN clause.
T
- table() - Method in record class st.orm.template.impl.Elements.Alias
-
Returns the value of the
tablerecord component. - table() - Method in record class st.orm.template.impl.Elements.Delete
-
Returns the value of the
tablerecord component. - table() - Method in record class st.orm.template.impl.Elements.Insert
-
Returns the value of the
tablerecord component. - table() - Method in record class st.orm.template.impl.Elements.Select
-
Returns the value of the
tablerecord component. - table() - Method in record class st.orm.template.impl.Elements.Table
-
Returns the value of the
tablerecord component. - table() - Method in record class st.orm.template.impl.Elements.TableSource
-
Returns the value of the
tablerecord component. - table() - Method in record class st.orm.template.impl.Elements.TableTarget
-
Returns the value of the
tablerecord component. - table() - Method in record class st.orm.template.impl.Elements.Update
-
Returns the value of the
tablerecord component. - table() - Method in class st.orm.template.impl.MetamodelImpl
-
Returns the table that holds the column to which this metamodel is pointing.
- table() - Method in record class st.orm.template.impl.TableName
-
Returns the value of the
tablerecord component. - table() - Method in interface st.orm.template.Metamodel
-
Returns the table that holds the column to which this metamodel is pointing.
- table(Class<? extends Record>) - Static method in interface st.orm.Templates
-
Generates a Table element for the specified table class.
- table(Class<? extends Record>, String) - Static method in interface st.orm.Templates
-
Generates a Table element with an alias for the specified table class.
- Table(Class<? extends Record>) - Constructor for record class st.orm.template.impl.Elements.Table
- Table(Class<? extends Record>, String) - Constructor for record class st.orm.template.impl.Elements.Table
-
Creates an instance of a
Tablerecord class. - tableAliasResolver() - Method in class st.orm.template.impl.SqlTemplateImpl
-
Returns the table alias resolver that is used by this template.
- tableAliasResolver() - Method in interface st.orm.template.SqlTemplate
-
Returns the table alias resolver that is used by this template.
- TableAliasResolver - Interface in st.orm.template
-
Resolves the alias for a table.
- tableName() - Method in record class st.orm.template.impl.ModelImpl
-
Returns the value of the
tableNamerecord component. - TableName - Record Class in st.orm.template.impl
- TableName(String, String, boolean) - Constructor for record class st.orm.template.impl.TableName
-
Creates an instance of a
TableNamerecord class. - tableNameResolver() - Method in interface st.orm.template.impl.ModelBuilder
-
Returns the table name resolver for the model.
- tableNameResolver() - Method in class st.orm.template.impl.SqlTemplateImpl
-
Returns the table name resolver that is used by this template.
- tableNameResolver() - Method in interface st.orm.template.SqlTemplate
-
Returns the table name resolver that is used by this template.
- tableNameResolver(TableNameResolver) - Method in interface st.orm.template.impl.ModelBuilder
-
Sets the table name resolver for the model.
- TableNameResolver - Interface in st.orm.template
-
Resolves the table name for a given record type.
- TableSource(Class<? extends Record>) - Constructor for record class st.orm.template.impl.Elements.TableSource
-
Creates an instance of a
TableSourcerecord class. - TableTarget(Class<? extends Record>) - Constructor for record class st.orm.template.impl.Elements.TableTarget
-
Creates an instance of a
TableTargetrecord class. - template() - Method in record class st.orm.template.impl.Elements.SubqueryPREVIEW
-
Returns the value of the
templaterecord component. - template() - Method in record class st.orm.template.impl.Elements.TemplateExpressionPREVIEW
-
Returns the value of the
templaterecord component. - template() - Method in record class st.orm.template.impl.Elements.TemplateSourcePREVIEW
-
Returns the value of the
templaterecord component. - template() - Method in record class st.orm.template.impl.Elements.TemplateTargetPREVIEW
-
Returns the value of the
templaterecord component. - template(TemplateFunction) - Static method in interface st.orm.template.TemplateFunction
-
Uses the specified
functionto generate a string template. - TemplateExpression(StringTemplate) - Constructor for record class st.orm.template.impl.Elements.TemplateExpressionPREVIEW
-
Creates an instance of a
TemplateExpressionrecord class. - TemplateFunction - Interface in st.orm.template
-
Represents a template function.
- TemplateFunction.Context - Interface in st.orm.template
-
Context object that provides the ability to inject arguments into the string template.
- templates - Variable in class st.orm.template.impl.DeleteBuilderImpl
- templates - Variable in class st.orm.template.impl.SelectBuilderImpl
- Templates - Interface in st.orm
-
The
Templatesinterface provides a collection of static methods for constructing SQL query elements and creating ORM repository templates. - Templates.SelectMode - Enum Class in st.orm
-
Specifies the selection mode for query operations.
- TemplateSource(StringTemplate) - Constructor for record class st.orm.template.impl.Elements.TemplateSourcePREVIEW
-
Creates an instance of a
TemplateSourcerecord class. - TemplateTarget(StringTemplate) - Constructor for record class st.orm.template.impl.Elements.TemplateTargetPREVIEW
-
Creates an instance of a
TemplateTargetrecord class. - TemporalType - Enum Class in st.orm
-
Represents the type of a temporal attribute.
- TIME - Enum constant in enum class st.orm.TemporalType
-
Map as
java.sql.Time - TIMESTAMP - Enum constant in enum class st.orm.TemporalType
-
Map as
java.sql.Timestamp - toDatabase(Record) - Method in interface st.orm.spi.ORMConverter
-
Converts the given record to a list of values that can be used in the SQL template.
- toORM() - Method in class st.orm.template.impl.JpaTemplateImpl
-
Returns an ORM template for this JPA template.
- toORM() - Method in class st.orm.template.impl.PreparedStatementTemplateImpl
-
Returns an ORM template that is backed by this prepared statement template.
- toORM() - Method in interface st.orm.template.JpaTemplate
-
Returns an ORM template for this JPA template.
- toORM() - Method in interface st.orm.template.PreparedStatementTemplate
-
Returns an ORM template that is backed by this prepared statement template.
- toStream(Iterable<X>) - Static method in class st.orm.spi.EntityRepositoryImpl
-
Converts an iterable collection to a stream.
- toStream(Iterable<X>) - Static method in class st.orm.spi.ProjectionRepositoryImpl
-
Converts an iterable collection to a stream.
- toString() - Method in class st.orm.template.impl.AbstractRef
- toString() - Method in record class st.orm.template.impl.ColumnImpl
-
Returns a string representation of this record class.
- toString() - Method in record class st.orm.template.impl.ColumnName
-
Returns a string representation of this record class.
- toString() - Method in record class st.orm.template.impl.Elements.Alias
-
Returns a string representation of this record class.
- toString() - Method in record class st.orm.template.impl.Elements.Column
-
Returns a string representation of this record class.
- toString() - Method in record class st.orm.template.impl.Elements.Delete
-
Returns a string representation of this record class.
- toString() - Method in record class st.orm.template.impl.Elements.From
-
Returns a string representation of this record class.
- toString() - Method in record class st.orm.template.impl.Elements.Insert
-
Returns a string representation of this record class.
- toString() - Method in record class st.orm.template.impl.Elements.ObjectExpression
-
Returns a string representation of this record class.
- toString() - Method in record class st.orm.template.impl.Elements.Param
-
Returns a string representation of this record class.
- toString() - Method in record class st.orm.template.impl.Elements.Select
-
Returns a string representation of this record class.
- toString() - Method in record class st.orm.template.impl.Elements.Set
-
Returns a string representation of this record class.
- toString() - Method in record class st.orm.template.impl.Elements.SubqueryPREVIEW
-
Returns a string representation of this record class.
- toString() - Method in record class st.orm.template.impl.Elements.Table
-
Returns a string representation of this record class.
- toString() - Method in record class st.orm.template.impl.Elements.TableSource
-
Returns a string representation of this record class.
- toString() - Method in record class st.orm.template.impl.Elements.TableTarget
-
Returns a string representation of this record class.
- toString() - Method in record class st.orm.template.impl.Elements.TemplateExpressionPREVIEW
-
Returns a string representation of this record class.
- toString() - Method in record class st.orm.template.impl.Elements.TemplateSourcePREVIEW
-
Returns a string representation of this record class.
- toString() - Method in record class st.orm.template.impl.Elements.TemplateTargetPREVIEW
-
Returns a string representation of this record class.
- toString() - Method in record class st.orm.template.impl.Elements.Unsafe
-
Returns a string representation of this record class.
- toString() - Method in record class st.orm.template.impl.Elements.Update
-
Returns a string representation of this record class.
- toString() - Method in record class st.orm.template.impl.Elements.Values
-
Returns a string representation of this record class.
- toString() - Method in record class st.orm.template.impl.Elements.Var
-
Returns a string representation of this record class.
- toString() - Method in record class st.orm.template.impl.Elements.Where
-
Returns a string representation of this record class.
- toString() - Method in class st.orm.template.impl.MetamodelImpl
- toString() - Method in record class st.orm.template.impl.ModelImpl
-
Returns a string representation of this record class.
- toString() - Method in record class st.orm.template.impl.TableName
-
Returns a string representation of this record class.
- toString() - Method in record class st.orm.template.SqlTemplate.NamedParameter
-
Returns a string representation of this record class.
- toString() - Method in record class st.orm.template.SqlTemplate.PositionalParameter
-
Returns a string representation of this record class.
- toUpperCase(ColumnNameResolver) - Static method in interface st.orm.template.ColumnNameResolver
-
Resolves the column name for a record component by converting the column name to upper case.
- toUpperCase(ForeignKeyResolver) - Static method in interface st.orm.template.ForeignKeyResolver
-
Resolves the column name for a record component by converting the column name to upper case.
- toUpperCase(TableNameResolver) - Static method in interface st.orm.template.TableNameResolver
-
Resolves the table name for a record by converting the table name to upper case.
- TRUE() - Method in class st.orm.template.QueryBuilder.WhereBuilder
-
A predicate that always evaluates to true.
- type() - Method in interface st.orm.template.Column
-
Gets the type of the column.
- type() - Method in class st.orm.template.impl.AbstractRef
-
The type of the record.
- type() - Method in record class st.orm.template.impl.ColumnImpl
-
Returns the value of the
typerecord component. - type() - Method in record class st.orm.template.impl.ModelImpl
-
Returns the value of the
typerecord component. - type() - Method in interface st.orm.template.Model
-
Returns the type of the entity or projection.
- typed(Class<X>) - Method in class st.orm.template.impl.DeleteBuilderImpl
-
Returns a typed query builder for the specified primary key type.
- typed(Class<X>) - Method in class st.orm.template.impl.SelectBuilderImpl
-
Returns a typed query builder for the specified primary key type.
- typed(Class<X>) - Method in class st.orm.template.QueryBuilder
-
Returns a typed query builder for the specified primary key type.
U
- unload() - Method in interface st.orm.Ref
-
Unloads the entity from memory, if applicable.
- unload(E) - Method in interface st.orm.repository.EntityRepository
-
Unloads the given entity from memory by converting it into a lightweight ref containing only its primary key.
- unload(E) - Method in class st.orm.spi.EntityRepositoryImpl
-
Unloads the given entity from memory by converting it into a lightweight ref containing only its primary key.
- unregisterGlobalInterceptor(UnaryOperator<Sql>) - Static method in interface st.orm.template.SqlInterceptor
-
Unregister a global interceptor.
- unregisterGlobalObserver(Consumer<Sql>) - Static method in class st.orm.template.impl.SqlInterceptorManager
-
Unregister a global observer.
- unregisterGlobalObserver(Consumer<Sql>) - Static method in interface st.orm.template.SqlInterceptor
-
Unregister a global observer.
- unregisterGlobalObserver(UnaryOperator<Sql>) - Static method in class st.orm.template.impl.SqlInterceptorManager
-
Unregister a global observer.
- unsafe(String) - Static method in interface st.orm.Templates
-
Injects raw SQL into the query without any processing or sanitization.
- Unsafe(String) - Constructor for record class st.orm.template.impl.Elements.Unsafe
-
Creates an instance of a
Unsaferecord class. - unsafeWarning() - Method in interface st.orm.template.Sql
-
Returns a warning message if the statement is deemed potentially unsafe, an empty optional otherwise.
- unsafeWarning(String) - Method in interface st.orm.template.Sql
-
Returns a new instance of the SQL statement with the given unsafe warning message.
- updatable() - Element in annotation interface st.orm.Persist
-
Whether the component will be updated when the record is persisted.
- updatable() - Method in interface st.orm.template.Column
-
Determines if the column is updatable.
- updatable() - Method in record class st.orm.template.impl.ColumnImpl
-
Returns the value of the
updatablerecord component. - update(E) - Method in interface st.orm.repository.EntityRepository
-
Updates a single entity in the database.
- update(E) - Method in class st.orm.spi.EntityRepositoryImpl
-
Updates a single entity in the database.
- update(Class<? extends Record>) - Static method in interface st.orm.Templates
-
Generates an UPDATE element for the specified table class.
- update(Class<? extends Record>, String) - Static method in interface st.orm.Templates
-
Generates an UPDATE element for the specified table class with an alias.
- update(Iterable<E>) - Method in interface st.orm.repository.EntityRepository
-
Updates a collection of entities in the database in batches.
- update(Iterable<E>) - Method in class st.orm.spi.EntityRepositoryImpl
-
Updates a collection of entities in the database in batches.
- update(Stream<E>) - Method in interface st.orm.repository.EntityRepository
-
Updates a stream of entities in the database using the default batch size.
- update(Stream<E>) - Method in class st.orm.spi.EntityRepositoryImpl
-
Updates a stream of entities in the database using the default batch size.
- update(Stream<E>, int) - Method in interface st.orm.repository.EntityRepository
-
Updates a stream of entities in the database, with the update process divided into batches of the specified size.
- update(Stream<E>, int) - Method in class st.orm.spi.EntityRepositoryImpl
-
Updates a stream of entities in the database, with the update process divided into batches of the specified size.
- Update - Search tag in interface st.orm.Templates
- Section
- Update - Search tag in interface st.orm.repository.EntityRepository
- Section
- Update(Class<? extends Record>) - Constructor for record class st.orm.template.impl.Elements.Update
- Update(Class<? extends Record>, String) - Constructor for record class st.orm.template.impl.Elements.Update
-
Creates an instance of a
Updaterecord class. - updateAndFetch(E) - Method in interface st.orm.repository.EntityRepository
-
Updates a single entity in the database and returns the updated entity with its current state.
- updateAndFetch(E) - Method in class st.orm.spi.EntityRepositoryImpl
-
Updates a single entity in the database and returns the updated entity with its current state.
- updateAndFetch(Iterable<E>) - Method in interface st.orm.repository.EntityRepository
-
Updates a collection of entities in the database in batches and returns a list of the updated entities.
- updateAndFetch(Iterable<E>) - Method in class st.orm.spi.EntityRepositoryImpl
-
Updates a collection of entities in the database in batches and returns a list of the updated entities.
- updateAndFetch(List<E>, Supplier<PreparedQuery>, BatchCallback<E>) - Method in class st.orm.spi.EntityRepositoryImpl
- updateAndFetch(Stream<E>, int, BatchCallback<E>) - Method in interface st.orm.repository.EntityRepository
-
Updates a stream of entities in the database, with the update process divided into batches of the specified size, and returns a stream of the updated entities.
- updateAndFetch(Stream<E>, int, BatchCallback<E>) - Method in class st.orm.spi.EntityRepositoryImpl
-
Updates a stream of entities in the database, with the update process divided into batches of the specified size, and returns a stream of the updated entities.
- updateAndFetch(Stream<E>, BatchCallback<E>) - Method in interface st.orm.repository.EntityRepository
-
Updates a stream of entities in the database using the default batch size and returns a stream of the updated entities.
- updateAndFetch(Stream<E>, BatchCallback<E>) - Method in class st.orm.spi.EntityRepositoryImpl
-
Updates a stream of entities in the database using the default batch size and returns a stream of the updated entities.
- updateAndFetchIds(List<E>, Supplier<PreparedQuery>, BatchCallback<ID>) - Method in class st.orm.spi.EntityRepositoryImpl
- upsert(E) - Method in interface st.orm.repository.EntityRepository
-
Inserts or updates a single entity in the database.
- upsert(E) - Method in class st.orm.spi.EntityRepositoryImpl
-
Inserts or updates a single entity in the database.
- upsert(Iterable<E>) - Method in interface st.orm.repository.EntityRepository
-
Inserts or updates a collection of entities in the database in batches.
- upsert(Iterable<E>) - Method in class st.orm.spi.EntityRepositoryImpl
-
Inserts or updates a collection of entities in the database in batches.
- upsert(Stream<E>) - Method in interface st.orm.repository.EntityRepository
-
Inserts or updates a stream of entities in the database in batches.
- upsert(Stream<E>) - Method in class st.orm.spi.EntityRepositoryImpl
-
Inserts or updates a stream of entities in the database in batches.
- upsert(Stream<E>, int) - Method in interface st.orm.repository.EntityRepository
-
Inserts or updates a stream of entities in the database in configurable batch sizes.
- upsert(Stream<E>, int) - Method in class st.orm.spi.EntityRepositoryImpl
-
Inserts or updates a stream of entities in the database in configurable batch sizes.
- upsertAndFetch(E) - Method in interface st.orm.repository.EntityRepository
-
Inserts or updates a single entity in the database and returns the entity with its current state.
- upsertAndFetch(E) - Method in class st.orm.spi.EntityRepositoryImpl
-
Inserts or updates a single entity in the database and returns the entity with its current state.
- upsertAndFetch(Iterable<E>) - Method in interface st.orm.repository.EntityRepository
-
Inserts or updates a collection of entities in the database in batches and returns a list of the upserted entities.
- upsertAndFetch(Iterable<E>) - Method in class st.orm.spi.EntityRepositoryImpl
-
Inserts or updates a collection of entities in the database in batches and returns a list of the upserted entities.
- upsertAndFetch(Stream<E>, int, BatchCallback<E>) - Method in interface st.orm.repository.EntityRepository
-
Inserts or updates a stream of entities in the database in configurable batch sizes and retrieves the updated entities through a callback.
- upsertAndFetch(Stream<E>, int, BatchCallback<E>) - Method in class st.orm.spi.EntityRepositoryImpl
-
Inserts or updates a stream of entities in the database in configurable batch sizes and retrieves the updated entities through a callback.
- upsertAndFetch(Stream<E>, BatchCallback<E>) - Method in interface st.orm.repository.EntityRepository
-
Inserts or updates a stream of entities in the database in batches and retrieves the updated entities through a callback.
- upsertAndFetch(Stream<E>, BatchCallback<E>) - Method in class st.orm.spi.EntityRepositoryImpl
-
Inserts or updates a stream of entities in the database in batches and retrieves the updated entities through a callback.
- upsertAndFetchId(E) - Method in interface st.orm.repository.EntityRepository
-
Inserts or updates a single entity in the database and returns its ID.
- upsertAndFetchId(E) - Method in class st.orm.spi.EntityRepositoryImpl
-
Inserts or updates a single entity in the database and returns its ID.
- upsertAndFetchIds(Iterable<E>) - Method in interface st.orm.repository.EntityRepository
-
Inserts or updates a collection of entities in the database in batches and returns a list of their IDs.
- upsertAndFetchIds(Iterable<E>) - Method in class st.orm.spi.EntityRepositoryImpl
-
Inserts or updates a collection of entities in the database in batches and returns a list of their IDs.
- upsertAndFetchIds(Stream<E>, int, BatchCallback<ID>) - Method in interface st.orm.repository.EntityRepository
-
Inserts or updates a stream of entities in the database in configurable batch sizes and retrieves their IDs through a callback.
- upsertAndFetchIds(Stream<E>, int, BatchCallback<ID>) - Method in class st.orm.spi.EntityRepositoryImpl
-
Inserts or updates a stream of entities in the database in configurable batch sizes and retrieves their IDs through a callback.
- upsertAndFetchIds(Stream<E>, BatchCallback<ID>) - Method in interface st.orm.repository.EntityRepository
-
Inserts or updates a stream of entities in the database in batches and retrieves their IDs through a callback.
- upsertAndFetchIds(Stream<E>, BatchCallback<ID>) - Method in class st.orm.spi.EntityRepositoryImpl
-
Inserts or updates a stream of entities in the database in batches and retrieves their IDs through a callback.
- Using Connection (JDBC) - Search tag in interface st.orm.Templates
- Section
- Using DataSource (JDBC) - Search tag in interface st.orm.Templates
- Section
- Using EntityManager (JPA) - Search tag in interface st.orm.Templates
- Section
- Using Entity Repositories - Search tag in interface st.orm.repository.EntityRepository
- Section
- Using Templates - Search tag in interface st.orm.Templates
- Section
V
- validateDelete(E) - Method in class st.orm.spi.EntityRepositoryImpl
- validateInsert(E) - Method in class st.orm.spi.EntityRepositoryImpl
- validateUpdate(E) - Method in class st.orm.spi.EntityRepositoryImpl
- value() - Element in annotation interface st.orm.DbColumn
-
The database column name.
- value() - Element in annotation interface st.orm.DbColumns
-
The array of database column names.
- value() - Element in annotation interface st.orm.DbEnum
-
The enum mapping strategy to apply.
- value() - Element in annotation interface st.orm.DbTable
-
The database table name.
- value() - Element in annotation interface st.orm.FK
-
The database column name for the foreign key.
- value() - Element in annotation interface st.orm.PK
-
The database column name for the primary key.
- value() - Element in annotation interface st.orm.repository.ProjectionQuery
-
The SQL query that represents the projection.
- value() - Element in annotation interface st.orm.spi.Orderable.After
-
The orderable classes that the current class should come after.
- value() - Element in annotation interface st.orm.spi.Orderable.Before
-
The orderable classes that the current class should come before.
- value() - Method in class st.orm.template.impl.LazySupplier
-
Returns the value if it has already been lazily loaded, otherwise an empty optional is returned.
- value() - Element in annotation interface st.orm.template.MetamodelType
-
Specifies how the type must be represented in the
Metamodel. - valueOf(String) - Static method in enum class st.orm.EnumType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class st.orm.template.impl.DefaultJoinType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class st.orm.template.ResolveScope
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class st.orm.Templates.SelectMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class st.orm.TemporalType
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class st.orm.EnumType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class st.orm.template.impl.DefaultJoinType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class st.orm.template.ResolveScope
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class st.orm.Templates.SelectMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class st.orm.TemporalType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values(Iterable<? extends Record>) - Static method in interface st.orm.Templates
-
Generates a VALUES clause for the specified iterable of record instances.
- values(Record...) - Static method in interface st.orm.Templates
-
Generates a VALUES clause for the specified record instance(s).
- values(BindVars) - Static method in interface st.orm.Templates
-
Generates a VALUES clause using the specified
BindVarsfor batch insertion. - Values(Iterable<? extends Record>, BindVars) - Constructor for record class st.orm.template.impl.Elements.Values
-
Creates an instance of a
Valuesrecord class. - var(BindVars, Function<Record, ?>) - Static method in interface st.orm.Templates
-
Creates a new var element that can be used to specify individual bind variables in the query.
- Var(BindVars, Function<Record, ?>) - Constructor for record class st.orm.template.impl.Elements.Var
-
Creates an instance of a
Varrecord class. - version() - Method in interface st.orm.template.Column
-
Determines if the column is used for versioning.
- version() - Method in record class st.orm.template.impl.ColumnImpl
-
Returns the value of the
versionrecord component. - Version - Annotation Interface in st.orm
-
Marks a record component as a version field to detect optimistic locking conflicts.
- versionAware() - Method in interface st.orm.template.Sql
-
Returns
trueif the statement is version aware,falseotherwise. - versionAware(boolean) - Method in interface st.orm.template.Sql
-
Returns a new instance of the SQL statement with the version aware flag set to the given value.
W
- where - Variable in class st.orm.template.impl.DeleteBuilderImpl
- where - Variable in class st.orm.template.impl.SelectBuilderImpl
- where(ID) - Method in class st.orm.template.QueryBuilder
-
Adds a WHERE clause that matches the specified primary key of the table.
- where(Iterable<?>) - Static method in interface st.orm.Templates
-
Generates a WHERE clause based on the provided iterable of values or records.
- where(Iterable<? extends T>) - Method in class st.orm.template.QueryBuilder
-
Adds a WHERE clause that matches the specified records.
- where(Iterable<? extends T>) - Method in class st.orm.template.QueryBuilder.WhereBuilder
-
Adds a condition to the WHERE clause that matches the specified records.
- where(Object) - Static method in interface st.orm.Templates
-
Generates a WHERE clause based on the provided value or record.
- where(StringTemplate) - Method in class st.orm.template.QueryBuilder
-
Adds a WHERE clause to the query for the specified expression.
- where(StringTemplate) - Method in class st.orm.template.QueryBuilder.WhereBuilder
-
Appends a custom expression to the WHERE clause.
- where(Function<QueryBuilder.WhereBuilder<T, Object, ID>, QueryBuilder.PredicateBuilder<?, ?, ?>>) - Method in class st.orm.template.impl.DeleteBuilderImpl
-
Adds a WHERE clause to the query using a
QueryBuilder.WhereBuilder. - where(Function<QueryBuilder.WhereBuilder<T, R, ID>, QueryBuilder.PredicateBuilder<?, ?, ?>>) - Method in class st.orm.template.impl.SelectBuilderImpl
-
Adds a WHERE clause to the query using a
QueryBuilder.WhereBuilder. - where(Function<QueryBuilder.WhereBuilder<T, R, ID>, QueryBuilder.PredicateBuilder<?, ?, ?>>) - Method in class st.orm.template.QueryBuilder
-
Adds a WHERE clause to the query using a
QueryBuilder.WhereBuilder. - where(BindVars) - Static method in interface st.orm.Templates
-
Generates a WHERE clause using the specified
BindVarsfor batch operations. - where(Ref<T>) - Method in class st.orm.template.QueryBuilder
-
Adds a WHERE clause that matches the specified primary key of the table, expressed by a ref.
- where(Metamodel<?, V>, Operator, Iterable<? extends V>) - Static method in interface st.orm.Templates
-
Generates a WHERE clause based on the provided path, operator, and iterable of values or records.
- where(Metamodel<?, V>, Operator, V...) - Static method in interface st.orm.Templates
-
Generates a WHERE clause based on the provided path, operator, and values or records.
- where(Metamodel<T, V>, Iterable<V>) - Method in class st.orm.template.QueryBuilder
-
Adds a WHERE clause that matches the specified records.
- where(Metamodel<T, V>, Iterable<V>) - Method in class st.orm.template.QueryBuilder.WhereBuilder
-
Adds a condition to the WHERE clause that matches the specified records.
- where(Metamodel<T, V>, Ref<V>) - Method in class st.orm.template.QueryBuilder
-
Adds a WHERE clause that matches the specified ref.
- where(Metamodel<T, V>, Ref<V>) - Method in class st.orm.template.QueryBuilder.WhereBuilder
-
Adds a condition to the WHERE clause that matches the specified ref.
- where(Metamodel<T, V>, Operator, Iterable<? extends V>) - Method in class st.orm.template.QueryBuilder
-
Adds a WHERE clause that matches the specified objects at the specified path in the table graph.
- where(Metamodel<T, V>, Operator, Iterable<? extends V>) - Method in class st.orm.template.QueryBuilder.WhereBuilder
-
Adds a condition to the WHERE clause that matches the specified objects at the specified path in the table graph.
- where(Metamodel<T, V>, Operator, V...) - Method in class st.orm.template.QueryBuilder
-
Adds a WHERE clause that matches the specified objects at the specified path in the table graph.
- where(Metamodel<T, V>, Operator, V...) - Method in class st.orm.template.QueryBuilder.WhereBuilder
-
Adds a condition to the WHERE clause that matches the specified objects at the specified path in the table graph.
- where(Metamodel<T, V>, V) - Method in class st.orm.template.QueryBuilder
-
Adds a WHERE clause that matches the specified record.
- where(Metamodel<T, V>, V) - Method in class st.orm.template.QueryBuilder.WhereBuilder
-
Adds a condition to the WHERE clause that matches the specified record.
- where(T) - Method in class st.orm.template.QueryBuilder
-
Adds a WHERE clause that matches the specified record.
- where(T) - Method in class st.orm.template.QueryBuilder.WhereBuilder
-
Adds a condition to the WHERE clause that matches the specified record.
- Where(Elements.Expression, BindVars) - Constructor for record class st.orm.template.impl.Elements.Where
-
Creates an instance of a
Whererecord class. - whereAny(Iterable<? extends Record>) - Method in class st.orm.template.QueryBuilder.WhereBuilder
-
Adds a condition to the WHERE clause that matches the specified records.
- whereAny(Record) - Method in class st.orm.template.QueryBuilder.WhereBuilder
-
Adds a condition to the WHERE clause that matches the specified record.
- whereAny(Metamodel<?, V>, Iterable<V>) - Method in class st.orm.template.QueryBuilder.WhereBuilder
-
Adds a condition to the WHERE clause that matches the specified records.
- whereAny(Metamodel<?, V>, Ref<V>) - Method in class st.orm.template.QueryBuilder.WhereBuilder
-
Adds a condition to the WHERE clause that matches the specified ref.
- whereAny(Metamodel<?, V>, Operator, Iterable<? extends V>) - Method in class st.orm.template.QueryBuilder.WhereBuilder
-
Adds a condition to the WHERE clause that matches the specified objects at the specified path in the table graph or manually added joins.
- whereAny(Metamodel<?, V>, Operator, V...) - Method in class st.orm.template.QueryBuilder.WhereBuilder
-
Adds a condition to the WHERE clause that matches the specified objects at the specified path in the table graph or manually added joins.
- whereAny(Metamodel<?, V>, V) - Method in class st.orm.template.QueryBuilder.WhereBuilder
-
Adds a condition to the WHERE clause that matches the specified record.
- whereAnyRef(Iterable<? extends Ref<? extends Record>>) - Method in class st.orm.template.QueryBuilder.WhereBuilder
-
Adds a condition to the WHERE clause that matches the specified primary keys of the table, expressed by a ref.
- whereAnyRef(Ref<? extends Record>) - Method in class st.orm.template.QueryBuilder.WhereBuilder
-
Adds a condition to the WHERE clause that matches the specified primary key of the table, expressed by a ref.
- whereAnyRef(Metamodel<?, V>, Iterable<? extends Ref<V>>) - Method in class st.orm.template.QueryBuilder.WhereBuilder
-
Adds a condition to the WHERE clause that matches the specified refs.
- WhereBuilder() - Constructor for class st.orm.template.QueryBuilder.WhereBuilder
- whereId(ID) - Method in class st.orm.template.QueryBuilder.WhereBuilder
-
Adds a condition to the WHERE clause that matches the specified primary key of the table.
- whereId(Iterable<? extends ID>) - Method in class st.orm.template.QueryBuilder.WhereBuilder
-
Adds a condition to the WHERE clause that matches the specified primary keys of the table.
- whereId(Iterable<? extends ID>) - Method in class st.orm.template.QueryBuilder
-
Adds a WHERE clause that matches the specified primary keys of the table.
- whereImpl(Metamodel<?, V>, Operator, V[]) - Method in class st.orm.template.QueryBuilder.WhereBuilder
-
Adds a condition to the WHERE clause that matches the specified objects at the specified path in the table graph or manually added joins.
- whereRef(Iterable<? extends Ref<T>>) - Method in class st.orm.template.QueryBuilder.WhereBuilder
-
Adds a condition to the WHERE clause that matches the specified primary keys of the table, expressed by a ref.
- whereRef(Iterable<? extends Ref<T>>) - Method in class st.orm.template.QueryBuilder
-
Adds a WHERE clause that matches the specified primary keys of the table, expressed by a ref.
- whereRef(Ref<T>) - Method in class st.orm.template.QueryBuilder.WhereBuilder
-
Adds a condition to the WHERE clause that matches the specified primary key of the table, expressed by a ref.
- whereRef(Metamodel<T, V>, Iterable<? extends Ref<V>>) - Method in class st.orm.template.QueryBuilder.WhereBuilder
-
Adds a condition to the WHERE clause that matches the specified refs.
- whereRef(Metamodel<T, V>, Iterable<? extends Ref<V>>) - Method in class st.orm.template.QueryBuilder
-
Adds a WHERE clause that matches the specified records.
- withColumnNameResolver(ColumnNameResolver) - Method in class st.orm.template.impl.JpaTemplateImpl
-
Returns a new jpa statement template with the specified column name resolver.
- withColumnNameResolver(ColumnNameResolver) - Method in class st.orm.template.impl.PreparedStatementTemplateImpl
-
Returns a new prepared statement template with the specified column name resolver.
- withColumnNameResolver(ColumnNameResolver) - Method in class st.orm.template.impl.SqlTemplateImpl
-
Returns a new SQL template with the specified column name resolver.
- withColumnNameResolver(ColumnNameResolver) - Method in interface st.orm.template.JpaTemplate
-
Returns a new JPA template with the specified column name resolver.
- withColumnNameResolver(ColumnNameResolver) - Method in interface st.orm.template.PreparedStatementTemplate
-
Returns a new prepared statement template with the specified column name resolver.
- withColumnNameResolver(ColumnNameResolver) - Method in interface st.orm.template.SqlTemplate
-
Returns a new SQL template with the specified column name resolver.
- withDialect(SqlDialect) - Method in class st.orm.template.impl.SqlTemplateImpl
-
Returns a new SQL template with the specified SQL dialect.
- withDialect(SqlDialect) - Method in interface st.orm.template.SqlTemplate
-
Returns a new SQL template with the specified SQL dialect.
- withForeignKeyResolver(ForeignKeyResolver) - Method in class st.orm.template.impl.JpaTemplateImpl
-
Returns a new jpa statement template with the specified foreign key resolver.
- withForeignKeyResolver(ForeignKeyResolver) - Method in class st.orm.template.impl.PreparedStatementTemplateImpl
-
Returns a new prepared statement template with the specified foreign key resolver.
- withForeignKeyResolver(ForeignKeyResolver) - Method in class st.orm.template.impl.SqlTemplateImpl
-
Returns a new SQL template with the specified foreign key resolver.
- withForeignKeyResolver(ForeignKeyResolver) - Method in interface st.orm.template.JpaTemplate
-
Returns a new JPA template with the specified foreign key resolver.
- withForeignKeyResolver(ForeignKeyResolver) - Method in interface st.orm.template.PreparedStatementTemplate
-
Returns a new prepared statement template with the specified foreign key resolver.
- withForeignKeyResolver(ForeignKeyResolver) - Method in interface st.orm.template.SqlTemplate
-
Returns a new SQL template with the specified foreign key resolver.
- withProviderFilter(Predicate<Provider>) - Method in class st.orm.template.impl.JpaTemplateImpl
-
Returns a new jpa statement template with the specified provider filter.
- withProviderFilter(Predicate<Provider>) - Method in class st.orm.template.impl.PreparedStatementTemplateImpl
-
Returns a new prepared statement template with the specified provider filter.
- withProviderFilter(Predicate<Provider>) - Method in interface st.orm.template.JpaTemplate
-
Returns a new JPA template with the specified provider filter.
- withProviderFilter(Predicate<Provider>) - Method in interface st.orm.template.PreparedStatementTemplate
-
Returns a new prepared statement template with the specified provider filter.
- withSupportRecords(boolean) - Method in class st.orm.template.impl.SqlTemplateImpl
-
Returns a new SQL template with support for records enabled or disabled.
- withSupportRecords(boolean) - Method in interface st.orm.template.SqlTemplate
-
Returns a new SQL template with support for records enabled or disabled.
- withTableAliasResolver(TableAliasResolver) - Method in class st.orm.template.impl.JpaTemplateImpl
-
Returns a new JPA template with the specified table alias resolver.
- withTableAliasResolver(TableAliasResolver) - Method in class st.orm.template.impl.PreparedStatementTemplateImpl
-
Returns a new prepared statement template with the specified table alias resolver.
- withTableAliasResolver(TableAliasResolver) - Method in class st.orm.template.impl.SqlTemplateImpl
-
Returns a new SQL template with the specified table alias resolver.
- withTableAliasResolver(TableAliasResolver) - Method in interface st.orm.template.JpaTemplate
-
Returns a new JPA template with the specified table alias resolver.
- withTableAliasResolver(TableAliasResolver) - Method in interface st.orm.template.PreparedStatementTemplate
-
Returns a new prepared statement template with the specified table alias resolver.
- withTableAliasResolver(TableAliasResolver) - Method in interface st.orm.template.SqlTemplate
-
Returns a new SQL template with the specified table alias resolver.
- withTableNameResolver(TableNameResolver) - Method in class st.orm.template.impl.JpaTemplateImpl
-
Returns a new JPA template with the specified table name resolver.
- withTableNameResolver(TableNameResolver) - Method in class st.orm.template.impl.PreparedStatementTemplateImpl
-
Returns a new prepared statement template with the specified table name resolver.
- withTableNameResolver(TableNameResolver) - Method in class st.orm.template.impl.SqlTemplateImpl
-
Returns a new SQL template with the specified table name resolver.
- withTableNameResolver(TableNameResolver) - Method in interface st.orm.template.JpaTemplate
-
Returns a new JPA template with the specified table name resolver.
- withTableNameResolver(TableNameResolver) - Method in interface st.orm.template.PreparedStatementTemplate
-
Returns a new prepared statement template with the specified table name resolver.
- withTableNameResolver(TableNameResolver) - Method in interface st.orm.template.SqlTemplate
-
Returns a new SQL template with the specified table name resolver.
All Classes and Interfaces|All Packages|Serialized Form