Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- "After" callback entity state - Search tag in interface st.orm.EntityCallback
- Section
- AbstractKeyMetamodel<T,
E, - Class in st.ormV> -
Extension of
AbstractMetamodelthat implementsMetamodel.Key, indicating that the field has a uniqueness constraint. - AbstractKeyMetamodel(Class<E>) - Constructor for class st.orm.AbstractKeyMetamodel
- AbstractKeyMetamodel(Class<E>, String) - Constructor for class st.orm.AbstractKeyMetamodel
- AbstractKeyMetamodel(Class<E>, String, String, boolean, Metamodel<T, ?>) - Constructor for class st.orm.AbstractKeyMetamodel
- AbstractKeyMetamodel(Class<E>, String, String, boolean, Metamodel<T, ?>, boolean) - Constructor for class st.orm.AbstractKeyMetamodel
- AbstractKeyMetamodel(Class<E>, String, String, boolean, Metamodel<T, ?>, boolean, boolean) - Constructor for class st.orm.AbstractKeyMetamodel
-
Constructs a key metamodel with explicit column and nullable flags.
- AbstractMetamodel<T,
E, - Class in st.ormV> -
Implementation that is used by the generated models.
- AbstractMetamodel(Class<E>) - Constructor for class st.orm.AbstractMetamodel
- AbstractMetamodel(Class<E>, String) - Constructor for class st.orm.AbstractMetamodel
- AbstractMetamodel(Class<E>, String, String, boolean, Metamodel<T, ?>) - Constructor for class st.orm.AbstractMetamodel
- AbstractMetamodel(Class<E>, String, String, boolean, Metamodel<T, ?>, boolean) - Constructor for class st.orm.AbstractMetamodel
- addBatch(Data) - Method in interface st.orm.template.PreparedQuery
-
Add a record to the batch.
- afterDelete(E) - Method in interface st.orm.EntityCallback
-
Called after an entity has been successfully deleted from the database.
- afterInsert(E) - Method in interface st.orm.EntityCallback
-
Called after an entity has been successfully inserted into the database.
- afterUpdate(E) - Method in interface st.orm.EntityCallback
-
Called after an entity has been successfully updated in the database.
- afterUpsert(E) - Method in interface st.orm.EntityCallback
-
Called after an entity has been successfully upserted via a SQL-level upsert statement.
- alias(Class<? extends Data>) - Static method in interface st.orm.template.Templates
-
Generates an alias element for the specified table class.
- alias(Class<? extends Data>, ResolveScope) - Static method in interface st.orm.template.Templates
-
Generates an alias element for the specified table class.
- and(StringTemplate) - Method in interface st.orm.template.PredicateBuilder
-
Adds a predicate to the WHERE clause using an AND condition.
- and(PredicateBuilder<T, ?, ?>) - Method in interface st.orm.template.PredicateBuilder
-
Adds a predicate to the WHERE clause using an AND condition.
- andAny(PredicateBuilder<TX, RX, IDX>) - Method in interface st.orm.template.PredicateBuilder
-
Adds a predicate to the WHERE clause using an AND condition.
- annotations() - Method in record class st.orm.mapping.RecordField
-
Returns the value of the
annotationsrecord component. - annotations() - Method in record class st.orm.mapping.RecordType
-
Returns the value of the
annotationsrecord component. - ANSI_ESCAPING - Static variable in class st.orm.StormConfig
-
Whether to use ANSI escaping for identifiers.
- append(StringTemplate) - Method in class st.orm.template.QueryBuilder
-
Append the query with a string template.
B
- backward() - Method in record class st.orm.Scrollable
-
Returns a new scrollable with backward direction.
- beforeDelete(E) - Method in interface st.orm.EntityCallback
-
Called before an entity is deleted from the database.
- beforeInsert(E) - Method in interface st.orm.EntityCallback
-
Called before an entity is inserted into the database.
- beforeUpdate(E) - Method in interface st.orm.EntityCallback
-
Called before an entity is updated in the database.
- beforeUpsert(E) - Method in interface st.orm.EntityCallback
-
Called before an entity is upserted via a SQL-level upsert statement (e.g.,
INSERT ... ON CONFLICT,MERGE). - BETWEEN - Static variable in interface st.orm.Operator
-
The
BETWEENoperator. - bindVar(BindVars, Function<Data, ?>) - Static method in interface st.orm.template.Templates
-
Creates a new var element that can be used to specify individual bind variables in the query.
- BindVars - Interface in st.orm
-
Marker interface used within an SQL template to indicate where bind variables (parameters) should be injected.
- BindVars.RecordListener - Interface in st.orm
-
A listener for record events within a SQL query context.
- build() - Method in class st.orm.template.QueryBuilder
-
Builds the query based on the current state of the query builder.
C
- camelCaseToSnakeCase() - Static method in interface st.orm.mapping.ColumnNameResolver
-
Resolves the column name for a record component using camel case to snake case conversion.
- camelCaseToSnakeCase() - Static method in interface st.orm.mapping.ForeignKeyResolver
-
Resolves the column name for a record component using camel case to snake case conversion.
- camelCaseToSnakeCase() - Static method in interface st.orm.mapping.TableNameResolver
-
Resolves the table name for a given record type using camel case to snake case conversion.
- canonical() - Method in interface st.orm.Metamodel
-
Returns the canonical metamodel for the field represented by
thismetamodel. - CASCADE - Enum constant in enum class st.orm.ResolveScope
-
Enforce unambiguity by requiring the alias to be resolved uniquely.
- CHAR - Enum constant in enum class st.orm.Discriminator.DiscriminatorType
-
CHAR(1) discriminator column.
- close() - Method in interface st.orm.template.PreparedQuery
-
Close the resources associated with this query.
- column() - Element in annotation interface st.orm.Discriminator
-
The discriminator column name.
- column(Metamodel<?, ?>) - Static method in interface st.orm.template.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.template.Templates
-
Generates a column element for a column specified by the given
metamodelin a type safe manner. - Column - Interface in st.orm.template
-
Represents metadata about a single column in a database table, as derived from the entity or projection model.
- ColumnNameResolver - Interface in st.orm.mapping
-
Resolves the column name for a record component.
- columns() - Method in interface st.orm.template.Model
-
Returns all columns of this model, including columns of expanded relationships.
- Composite Foreign Keys - Search tag in annotation interface st.orm.FK
- Section
- Composite Primary Keys - Search tag in annotation interface st.orm.PK
- Section
- Compound Unique Keys - Search tag in annotation interface st.orm.UK
- Section
- constraint() - Element in annotation interface st.orm.FK
-
Indicates whether a corresponding foreign key constraint is expected to exist in the database.
- constraint() - Element in annotation interface st.orm.PK
-
Indicates whether a corresponding primary key constraint is expected to exist in the database.
- constraint() - Element in annotation interface st.orm.UK
-
Indicates whether a corresponding unique constraint is expected to exist in the database.
- constructor() - Method in record class st.orm.mapping.RecordType
-
Returns the value of the
constructorrecord component. - content() - Method in record class st.orm.Page
-
Returns the value of the
contentrecord component. - content() - Method in interface st.orm.Slice
-
Returns the list of results in this slice.
- content() - Method in record class st.orm.Window
-
Returns the value of the
contentrecord component. - Convert - Annotation Interface in st.orm
-
Declares how a
Convertershould be applied. - converter() - Element in annotation interface st.orm.Convert
-
Specifies the converter to be applied.
- Converter<D,
E> - Interface in st.orm -
Converts between an entity value type and a database column type.
- 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.
- countBy(Metamodel<E, V>, Ref<V>) - Method in interface st.orm.repository.EntityRepository
-
Counts entities matching the specified field and referenced value.
- countBy(Metamodel<E, V>, V) - Method in interface st.orm.repository.EntityRepository
-
Counts entities matching the specified field and value.
- countBy(Metamodel<P, V>, Ref<V>) - Method in interface st.orm.repository.ProjectionRepository
-
Counts projections matching the specified field and referenced value.
- countBy(Metamodel<P, V>, V) - Method in interface st.orm.repository.ProjectionRepository
-
Counts projections matching the specified field and value.
- 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>, 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.
- 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>>, 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<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 - Search tag in interface st.orm.repository.EntityRepository
- Section
- Create - Search tag in interface st.orm.template.Templates
- Section
- 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.
- cross() - Static method in interface st.orm.JoinType
-
The default cross join type.
- CROSS - Enum constant in enum class st.orm.DefaultJoinType
- crossJoin(Class<? extends Data>) - Method in class st.orm.template.QueryBuilder
-
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
- Data - Interface in st.orm
-
Marker interface for record-based data classes.
- 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.
- DbIgnore - Annotation Interface in st.orm
-
Suppresses schema validation for the annotated entity type or record component.
- DbTable - Annotation Interface in st.orm
-
Specifies the schema name for the table or view.
- DECLARED - Enum constant in enum class st.orm.SelectMode
-
Selects only the columns declared on the root table or view.
- declaredColumns() - Method in interface st.orm.template.Model
-
Returns the columns declared directly on this model.
- declaringType() - Method in record class st.orm.mapping.RecordField
-
Returns the value of the
declaringTyperecord component. - DEFAULT - Enum constant in enum class st.orm.DirtyCheck
-
Use the globally configured dirty check strategy.
- DEFAULT - Static variable in interface st.orm.mapping.ColumnNameResolver
-
The default column name resolver used by the ORM template.
- DEFAULT - Static variable in interface st.orm.mapping.ForeignKeyResolver
-
The default foreign key resolver used by the ORM template.
- DEFAULT - Static variable in interface st.orm.mapping.TableNameResolver
-
The default table name resolver.
- DefaultConverter - Annotation Interface in st.orm
- DefaultJoinType - Enum Class in st.orm
-
Default implementation of the
JoinTypeinterface used to represent the default join types. - defaults() - Static method in class st.orm.StormConfig
-
Returns a configuration that reads exclusively from JVM system properties.
- delegate() - Method in record class st.orm.Metamodel.KeyDelegate
-
Returns the value of the
delegaterecord component. - delete() - Method in interface st.orm.repository.EntityRepository
-
Creates a new query builder for delete entities of the type managed by this repository.
- delete(Class<? extends Data>) - Static method in interface st.orm.template.Templates
-
Generates a DELETE element for the specified table class.
- delete(Class<? extends Data>, String) - Static method in interface st.orm.template.Templates
-
Generates a DELETE element for the specified table class with an alias.
- Delete - Search tag in interface st.orm.repository.EntityRepository
- Section
- Delete - Search tag in interface st.orm.template.Templates
- Section
- deleteFrom(Class<T>) - Method in interface st.orm.template.QueryTemplate
-
Creates a query builder for the specified table to delete from.
- descending() - Method in record class st.orm.Pageable.Order
-
Returns the value of the
descendingrecord component. - dialect() - Method in interface st.orm.template.QueryTemplate
-
Get the SQL dialect for this template.
- dirtyCheck() - Element in annotation interface st.orm.DynamicUpdate
-
Defines how dirty checking is performed for this entity.
- DirtyCheck - Enum Class in st.orm
-
Defines how dirty checking is performed for an entity.
- disableConversion() - Element in annotation interface st.orm.Convert
-
Used to disable an auto-apply or inherited converter.
- Discriminator - Annotation Interface in st.orm
-
Configures discriminator behavior for sealed type hierarchies.
- Discriminator.DiscriminatorType - Enum Class in st.orm
-
The discriminator column types supported for sealed type hierarchies.
- distinct() - Method in class st.orm.template.QueryBuilder
-
Marks the current query as a distinct query.
- DynamicUpdate - Annotation Interface in st.orm
-
Configures how changes are detected and how UPDATE statements are generated for a specific entity.
E
- Element - Interface in st.orm
-
Represents an element in a ST/ORM SQL query.
- empty() - Static method in record class st.orm.Window
-
Returns an empty window with no content and no navigation tokens.
- entity(Class<T>) - Method in interface st.orm.repository.RepositoryLookup
-
Returns the repository for the given entity type.
- Entity<ID> - Interface in st.orm
-
Optional marker interface for record-based entities.
- ENTITY - Enum constant in enum class st.orm.UpdateMode
-
Full-row updates with column-level dirty detection.
- ENTITY_CACHE_RETENTION - Static variable in class st.orm.StormConfig
-
Cache retention mode.
- EntityCallback<E> - Interface in st.orm
-
Typed callback interface for entity lifecycle events.
- 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.
- EnumType - Enum Class in st.orm
-
Defines the strategy to use when mapping enums.
- equals(Object) - Method in class st.orm.AbstractMetamodel
-
Equality is based on
AbstractMetamodel.fieldType()ofAbstractMetamodel.table()andAbstractMetamodel.field(). - equals(Object) - Method in record class st.orm.mapping.RecordField
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class st.orm.mapping.RecordType
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class st.orm.Metamodel.KeyDelegate
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class st.orm.Page
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class st.orm.Pageable
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class st.orm.Pageable.Order
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class st.orm.Scrollable
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class st.orm.Window
-
Indicates whether some other object is "equal to" this one.
- EQUALS - Static variable in interface st.orm.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.
- Example - Search tag in class st.orm.template.WhereBuilder
- Section
- Example - Search tag in interface st.orm.template.JoinBuilder
- Section
- Example - Search tag in interface st.orm.template.Model
- Section
- Example - Search tag in interface st.orm.template.ORMTemplate
- Section
- Example - Search tag in interface st.orm.template.PredicateBuilder
- Section
- Example: Automatic join resolution - Search tag in interface st.orm.template.TypedJoinBuilder
- Section
- Example: Delete with WHERE clause - Search tag in class st.orm.template.QueryBuilder
- Section
- Example: Execute a raw query - Search tag in interface st.orm.template.Query
- Section
- Example: EXISTS subquery - Search tag in interface st.orm.template.SubqueryTemplate
- Section
- Example: Join and subquery - Search tag in class st.orm.template.QueryBuilder
- Section
- Example: Query with QueryBuilder - Search tag in interface st.orm.template.QueryTemplate
- Section
- Example: Query with String Template - Search tag in interface st.orm.template.QueryTemplate
- Section
- Example: Select with type-safe WHERE clause - Search tag in class st.orm.template.QueryBuilder
- Section
- executeBatch() - Method in interface st.orm.template.Query
-
Execute a batch of commands.
- executeUpdate() - Method in interface st.orm.template.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() - Method in interface st.orm.repository.EntityRepository
-
Checks if any entity of the type managed by this repository exists in the database.
- exists() - Method in interface st.orm.repository.ProjectionRepository
-
Checks if any projection of the type managed by this repository exists in the database.
- exists(QueryBuilder<?, ?, ?>) - Method in class st.orm.template.WhereBuilder
-
Adds an
EXISTScondition to the WHERE clause using the specified subquery. - existsBy(Metamodel<E, V>, Ref<V>) - Method in interface st.orm.repository.EntityRepository
-
Checks if any entity matching the specified field and referenced value exists.
- existsBy(Metamodel<E, V>, V) - Method in interface st.orm.repository.EntityRepository
-
Checks if any entity matching the specified field and value exists.
- existsBy(Metamodel<P, V>, Ref<V>) - Method in interface st.orm.repository.ProjectionRepository
-
Checks if any projection matching the specified field and referenced value exists.
- existsBy(Metamodel<P, V>, V) - Method in interface st.orm.repository.ProjectionRepository
-
Checks if any projection matching the specified field and value exists.
- 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.
- 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<P>) - Method in interface st.orm.repository.ProjectionRepository
-
Checks if a projection with the specified primary key exists in the database.
F
- failOnMissing() - Element in annotation interface st.orm.Json
-
True if the deserializer should fail if a required creator property is missing.
- failOnUnknown() - Element in annotation interface st.orm.Json
-
True if the deserializer should fail if unknown properties are encountered.
- FALSE() - Method in class st.orm.template.WhereBuilder
-
A predicate that always evaluates to false.
- fetch() - Method in interface st.orm.Ref
-
Fetches the record if it has not been fetched yet.
- fetchOrNull() - Method in interface st.orm.Ref
-
Fetches the record if it has not been fetched yet.
- field() - Method in class st.orm.AbstractMetamodel
-
Returns the field name.
- field() - Method in interface st.orm.Metamodel
-
Returns the field name.
- field() - Method in record class st.orm.Metamodel.KeyDelegate
- field() - Method in record class st.orm.Pageable.Order
-
Returns the value of the
fieldrecord component. - FIELD - Enum constant in enum class st.orm.UpdateMode
-
Field-level updates with column-level dirty detection.
- fieldPath() - Method in interface st.orm.Metamodel
-
Returns the field path.
- fields() - Method in record class st.orm.mapping.RecordType
-
Returns the value of the
fieldsrecord component. - fieldType() - Method in class st.orm.AbstractMetamodel
-
Returns the field type of the designated element.
- fieldType() - Method in interface st.orm.Metamodel
-
Returns the field type of the designated element.
- fieldType() - Method in record class st.orm.Metamodel.KeyDelegate
- 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.
- findAllBy(Metamodel<E, V>, Iterable<? extends V>) - Method in interface st.orm.repository.EntityRepository
-
Retrieves entities matching a single field against multiple values.
- findAllBy(Metamodel<E, V>, Ref<V>) - Method in interface st.orm.repository.EntityRepository
-
Retrieves entities matching a single field and a single referenced value.
- findAllBy(Metamodel<E, V>, V) - Method in interface st.orm.repository.EntityRepository
-
Retrieves entities matching a single field and a single value.
- findAllBy(Metamodel<P, V>, Iterable<? extends V>) - Method in interface st.orm.repository.ProjectionRepository
-
Retrieves projections matching a single field against multiple values.
- findAllBy(Metamodel<P, V>, Ref<V>) - Method in interface st.orm.repository.ProjectionRepository
-
Retrieves projections matching a single field and a single referenced value.
- findAllBy(Metamodel<P, V>, V) - Method in interface st.orm.repository.ProjectionRepository
-
Retrieves projections matching a single field and a single value.
- 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.
- findAllByRef(Iterable<Ref<E>>) - Method in interface st.orm.repository.EntityRepository
-
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.
- findAllByRef(Metamodel<E, V>, Iterable<? extends Ref<V>>) - Method in interface st.orm.repository.EntityRepository
-
Retrieves entities matching a single field against multiple referenced values.
- findAllByRef(Metamodel<P, V>, Iterable<? extends Ref<V>>) - Method in interface st.orm.repository.ProjectionRepository
-
Retrieves projections matching a single field against multiple referenced values.
- findAllRef() - Method in interface st.orm.repository.EntityRepository
-
Returns a list of refs to all entities of the type supported by this repository.
- findAllRef() - Method in interface st.orm.repository.ProjectionRepository
-
Returns a list of refs to all projections of the type supported by this repository.
- findAllRefBy(Metamodel<E, V>, Iterable<? extends V>) - Method in interface st.orm.repository.EntityRepository
-
Retrieves refs to entities matching a single field against multiple values.
- findAllRefBy(Metamodel<E, V>, Ref<V>) - Method in interface st.orm.repository.EntityRepository
-
Retrieves refs to entities matching a single field and a single referenced value.
- findAllRefBy(Metamodel<E, V>, V) - Method in interface st.orm.repository.EntityRepository
-
Retrieves refs to entities matching a single field and a single value.
- findAllRefBy(Metamodel<P, V>, Iterable<? extends V>) - Method in interface st.orm.repository.ProjectionRepository
-
Retrieves refs to projections matching a single field against multiple values.
- findAllRefBy(Metamodel<P, V>, Ref<V>) - Method in interface st.orm.repository.ProjectionRepository
-
Retrieves refs to projections matching a single field and a single referenced value.
- findAllRefBy(Metamodel<P, V>, V) - Method in interface st.orm.repository.ProjectionRepository
-
Retrieves refs to projections matching a single field and a single value.
- findAllRefByRef(Metamodel<E, V>, Iterable<? extends Ref<V>>) - Method in interface st.orm.repository.EntityRepository
-
Retrieves refs to entities matching a single field against multiple referenced values.
- findAllRefByRef(Metamodel<P, V>, Iterable<? extends Ref<V>>) - Method in interface st.orm.repository.ProjectionRepository
-
Retrieves refs to projections matching a single field against multiple referenced values.
- findBy(Metamodel.Key<E, V>, V) - Method in interface st.orm.repository.EntityRepository
-
Retrieves an entity by the value of a unique key field.
- findBy(Metamodel.Key<P, V>, V) - Method in interface st.orm.repository.ProjectionRepository
-
Retrieves a projection by the value of a unique key field.
- findBy(Metamodel<E, V>, Ref<V>) - Method in interface st.orm.repository.EntityRepository
-
Retrieves an entity based on a single field and its referenced value.
- findBy(Metamodel<E, V>, V) - Method in interface st.orm.repository.EntityRepository
-
Retrieves an entity based on a single field and its value.
- findBy(Metamodel<P, V>, Ref<V>) - Method in interface st.orm.repository.ProjectionRepository
-
Retrieves a projection based on a single field and its referenced value.
- findBy(Metamodel<P, V>, V) - Method in interface st.orm.repository.ProjectionRepository
-
Retrieves a projection based on a single field and its value.
- 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.
- findByRef(Metamodel.Key<E, V>, Ref<V>) - Method in interface st.orm.repository.EntityRepository
-
Retrieves an entity by the ref value of a unique key field that references another entity.
- findByRef(Metamodel.Key<P, V>, Ref<V>) - Method in interface st.orm.repository.ProjectionRepository
-
Retrieves a projection by the ref value of a unique key field that references another entity.
- findByRef(Ref<E>) - Method in interface st.orm.repository.EntityRepository
-
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.
- findRefBy(Metamodel<E, V>, Ref<V>) - Method in interface st.orm.repository.EntityRepository
-
Retrieves a ref to an entity based on a single field and its referenced value.
- findRefBy(Metamodel<E, V>, V) - Method in interface st.orm.repository.EntityRepository
-
Retrieves a ref to an entity based on a single field and its value.
- findRefBy(Metamodel<P, V>, Ref<V>) - Method in interface st.orm.repository.ProjectionRepository
-
Retrieves a ref to a projection based on a single field and its referenced value.
- findRefBy(Metamodel<P, V>, V) - Method in interface st.orm.repository.ProjectionRepository
-
Retrieves a ref to a projection based on a single field and its value.
- FK - Annotation Interface in st.orm
-
Marks a field as a foreign key.
- flatten() - Method in interface st.orm.Metamodel
-
Returns a flat list of leaf metamodels for this metamodel.
- flatten() - Method in record class st.orm.Metamodel.KeyDelegate
- forEachValue(List<Column>, E, BiConsumer<Column, Object>) - Method in interface st.orm.template.Model
-
Iterates over the values of the given columns for the supplied record.
- foreignKey() - Method in interface st.orm.template.Column
-
Determines if the column is a foreign key.
- ForeignKeyResolver - Interface in st.orm.mapping
-
Resolves the column name for a foreign key component.
- Foreign Keys Overlapping with Composite Primary Key - Search tag in annotation interface st.orm.FK
- Section
- forLock(StringTemplate) - Method in class st.orm.template.QueryBuilder
-
Locks the selected rows using a custom lock mode.
- format(String, String...) - Method in interface st.orm.Operator
-
Formats the operator with bind variables matching the specified size.
- forShare() - Method in class st.orm.template.QueryBuilder
-
Locks the selected rows for reading.
- forUpdate() - Method in class st.orm.template.QueryBuilder
-
Locks the selected rows for reading.
- forward() - Method in record class st.orm.Scrollable
-
Returns a new scrollable with forward direction.
- from(Class<? extends Data>, boolean) - Static method in interface st.orm.template.Templates
-
Generates a FROM element for the specified table class without an alias and optional auto-joining of foreign keys.
- from(Class<? extends Data>, String, boolean) - Static method in interface st.orm.template.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.template.Templates
-
Generates a FROM element using a provided SQL string template with an alias.
- fromCursor(Metamodel.Key<T, E>, String) - Static method in record class st.orm.Scrollable
-
Deserializes a cursor string (produced by
Scrollable.toCursor()) into aScrollablefor single-key scrolling. - fromCursor(Metamodel.Key<T, E>, Metamodel<T, S>, String) - Static method in record class st.orm.Scrollable
-
Deserializes a cursor string (produced by
Scrollable.toCursor()) into aScrollablefor composite scrolling with a sort field. - fromDatabase(D) - Method in interface st.orm.Converter
-
Converts a database column value to an entity value.
G
- General rules - Search tag in annotation interface st.orm.DynamicUpdate
- Section
- General rules - Search tag in enum class st.orm.UpdateMode
- Section
- generation() - Element in annotation interface st.orm.PK
-
The primary key generation strategy.
- generation() - Method in interface st.orm.template.Column
-
Gets the generation strategy for the primary key.
- GenerationStrategy - Enum Class in st.orm
-
Defines the strategy to use when generating values for primary keys.
- genericType() - Method in record class st.orm.mapping.RecordField
-
Returns the value of the
genericTyperecord component. - getAnnotation(Class<A>) - Method in record class st.orm.mapping.RecordField
-
Returns a single annotation of the specified type from this field, or
nullif not present or if multiple instances are found. - getAnnotation(Class<A>) - Method in record class st.orm.mapping.RecordType
-
Returns a single annotation of the specified type from this record class, or
nullif not present or if multiple instances are found. - getAnnotations(Class<A>) - Method in record class st.orm.mapping.RecordField
-
Returns all annotations of the specified type present on this field.
- getAnnotations(Class<A>) - Method in record class st.orm.mapping.RecordType
-
Returns all annotations of the specified type present on this record class.
- getBy(Metamodel.Key<E, V>, V) - Method in interface st.orm.repository.EntityRepository
-
Retrieves an entity by the value of a unique key field.
- getBy(Metamodel.Key<P, V>, V) - Method in interface st.orm.repository.ProjectionRepository
-
Retrieves a projection by the value of a unique key field.
- getBy(Metamodel<E, V>, Ref<V>) - Method in interface st.orm.repository.EntityRepository
-
Retrieves exactly one entity based on a single field and its referenced value.
- getBy(Metamodel<E, V>, V) - Method in interface st.orm.repository.EntityRepository
-
Retrieves exactly one entity based on a single field and its value.
- getBy(Metamodel<P, V>, Ref<V>) - Method in interface st.orm.repository.ProjectionRepository
-
Retrieves exactly one projection based on a single field and its referenced value.
- getBy(Metamodel<P, V>, V) - Method in interface st.orm.repository.ProjectionRepository
-
Retrieves exactly one projection based on a single field and its value.
- 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.
- getByRef(Metamodel.Key<E, V>, Ref<V>) - Method in interface st.orm.repository.EntityRepository
-
Retrieves an entity by the ref value of a unique key field that references another entity.
- getByRef(Metamodel.Key<P, V>, Ref<V>) - Method in interface st.orm.repository.ProjectionRepository
-
Retrieves a projection by the ref value of a unique key field that references another entity.
- getByRef(Ref<E>) - Method in interface st.orm.repository.EntityRepository
-
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.
- getEntity() - Method in exception class st.orm.OptimisticLockException
-
Returns the entity that caused this exception.
- getGeneratedKeys(Class<ID>) - Method in interface st.orm.template.PreparedQuery
-
Returns a stream of generated keys as the result of an insert statement.
- getOptionalResult() - Method in interface st.orm.template.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.template.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. - getOrNull() - Method in interface st.orm.Ref
-
Returns the record if it has already been fetched, without triggering a database call.
- getProperty(String) - Method in class st.orm.StormConfig
-
Returns the value of the property with the given key.
- getProperty(String, String) - Method in class st.orm.StormConfig
-
Returns the value of the property with the given key, falling back to the specified default.
- getRefBy(Metamodel<E, V>, Ref<V>) - Method in interface st.orm.repository.EntityRepository
-
Retrieves a ref to exactly one entity based on a single field and its referenced value.
- getRefBy(Metamodel<E, V>, V) - Method in interface st.orm.repository.EntityRepository
-
Retrieves a ref to exactly one entity based on a single field and its value.
- getRefBy(Metamodel<P, V>, Ref<V>) - Method in interface st.orm.repository.ProjectionRepository
-
Retrieves a ref to exactly one projection based on a single field and its referenced value.
- getRefBy(Metamodel<P, V>, V) - Method in interface st.orm.repository.ProjectionRepository
-
Retrieves a ref to exactly one projection based on a single field and its value.
- getRefList(Class<T>, Class<?>) - Method in interface st.orm.template.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.template.Query
-
Execute a SELECT query and return the resulting rows as a stream of ref instances.
- getResultCount() - Method in interface st.orm.template.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.template.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.template.Query
-
Execute a SELECT query and return the resulting rows as a list of row instances.
- getResultStream() - Method in interface st.orm.template.Query
-
Execute a SELECT query and return the resulting rows as a stream of row instances.
- 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.template.Query
-
Execute a SELECT query and return the resulting rows as a stream of row instances.
- getSingleResult() - Method in interface st.orm.template.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.template.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. - getValue(T) - Method in interface st.orm.Metamodel
-
Extracts the value from the given record as specified by this metamodel.
- getValue(T) - Method in record class st.orm.Metamodel.KeyDelegate
- GREATER_THAN - Static variable in interface st.orm.Operator
-
The
>operator. - GREATER_THAN_OR_EQUAL - Static variable in interface st.orm.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.
- 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
- hasCursor() - Method in record class st.orm.Scrollable
-
Returns
trueif this scrollable has a cursor position (i.e., is not a first-page request). - hashCode() - Method in class st.orm.AbstractMetamodel
-
Hash code is based on
AbstractMetamodel.fieldType()ofAbstractMetamodel.table()andAbstractMetamodel.field(). - hashCode() - Method in record class st.orm.mapping.RecordField
-
Returns a hash code value for this object.
- hashCode() - Method in record class st.orm.mapping.RecordType
-
Returns a hash code value for this object.
- hashCode() - Method in record class st.orm.Metamodel.KeyDelegate
-
Returns a hash code value for this object.
- hashCode() - Method in record class st.orm.Page
-
Returns a hash code value for this object.
- hashCode() - Method in record class st.orm.Pageable
-
Returns a hash code value for this object.
- hashCode() - Method in record class st.orm.Pageable.Order
-
Returns a hash code value for this object.
- hashCode() - Method in record class st.orm.Scrollable
-
Returns a hash code value for this object.
- hashCode() - Method in record class st.orm.Window
-
Returns a hash code value for this object.
- hasNext() - Method in record class st.orm.Page
-
Returns
trueif there is a next page after this one. - hasNext() - Method in interface st.orm.Slice
-
Returns
trueif more results exist beyond this slice in the forward direction. - hasNext() - Method in record class st.orm.Window
-
Returns the value of the
hasNextrecord component. - hasOnClause() - Method in enum class st.orm.DefaultJoinType
-
Whether the join type will be accompanied by an ON clause.
- hasOnClause() - Method in interface st.orm.JoinType
-
Whether the join type will be accompanied by an ON clause.
- hasOrderBy() - Method in class st.orm.template.QueryBuilder
-
Returns
trueif any ORDER BY columns have been added to this query builder. - hasPrevious() - Method in record class st.orm.Page
-
Returns
trueif there is a previous page before this one. - hasPrevious() - Method in interface st.orm.Slice
-
Returns
trueif results exist before this slice. - hasPrevious() - Method in record class st.orm.Window
-
Returns the value of the
hasPreviousrecord component. - 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.template.Templates
- Section
I
- id() - Method in interface st.orm.Entity
-
Returns the primary key of the entity.
- id() - Method in interface st.orm.Ref
-
Returns the primary key of the record.
- IDENTITY - Enum constant in enum class st.orm.GenerationStrategy
-
The primary key is generated by the database using an identity or auto-increment column.
- Immutability - Search tag in class st.orm.template.QueryBuilder
- Section
- IN - Static variable in interface st.orm.Operator
-
The
INoperator. - index() - Method in interface st.orm.template.Column
-
Gets the 1-based index of the column.
- Inline - Annotation Interface in st.orm
-
Indicates that the underlying fields of the record component are inlined in this record.
- inlineParameters() - Element in annotation interface st.orm.SqlLog
-
If true, SQL parameters are inlined into the logged SQL statements for better readability.
- inner() - Static method in interface st.orm.JoinType
-
The default inner join type.
- INNER - Enum constant in enum class st.orm.DefaultJoinType
- INNER - Enum constant in enum class st.orm.ResolveScope
-
Resolve the alias locally, i.e. within the current scope.
- innerJoin(Class<? extends Data>) - Method in class st.orm.template.QueryBuilder
-
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, boolean) - Method in interface st.orm.repository.EntityRepository
-
Inserts an entity into the database.
- insert(Class<? extends Data>) - Static method in interface st.orm.template.Templates
-
Generates an INSERT element for the specified table class.
- insert(Class<? extends Data>, boolean) - Static method in interface st.orm.template.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>, boolean) - Method in interface st.orm.repository.EntityRepository
-
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>, boolean) - Method in interface st.orm.repository.EntityRepository
-
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, boolean) - 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.
- 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.
- 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(Iterable<E>) - Method in interface st.orm.repository.EntityRepository
-
Inserts a collection of entities into the database in batches.
- insertAndFetchId(E) - Method in interface st.orm.repository.EntityRepository
-
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.
- INSTANCE - Enum constant in enum class st.orm.DirtyCheck
-
Use identity-based dirty checking.
- INTEGER - Enum constant in enum class st.orm.Discriminator.DiscriminatorType
-
INTEGER discriminator column.
- IS_FALSE - Static variable in interface st.orm.Operator
-
The
IS FALSEoperator. - IS_NOT_NULL - Static variable in interface st.orm.Operator
-
The
IS NOT NULLoperator. - IS_NULL - Static variable in interface st.orm.Operator
-
The
IS NULLoperator. - IS_TRUE - Static variable in interface st.orm.Operator
-
The
IS TRUEoperator. - isAnnotationPresent(Class<? extends Annotation>) - Method in record class st.orm.mapping.RecordField
-
Checks whether an annotation of the specified type is present on this field.
- isAnnotationPresent(Class<? extends Annotation>) - Method in record class st.orm.mapping.RecordType
-
Checks whether an annotation of the specified type is present on this record class.
- isColumn() - Method in class st.orm.AbstractMetamodel
-
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.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. - isColumn() - Method in record class st.orm.Metamodel.KeyDelegate
- isComposite() - Method in record class st.orm.Scrollable
-
Returns
trueif this scrollable uses a composite cursor with a separate sort field. - isDataType() - Method in record class st.orm.mapping.RecordField
-
Checks whether this field's type is a
Datatype. - isDataType() - Method in record class st.orm.mapping.RecordType
-
Checks whether this record type is a
Datatype. - isDefaultPrimaryKey(ID) - Method in interface st.orm.template.Model
-
This method is used to check if the primary key of the entity is a default value.
- isFetchable() - Method in interface st.orm.Ref
-
Returns whether this ref is attached to a database context and capable of fetching the record on demand.
- isForward() - Method in record class st.orm.Scrollable
-
Returns the value of the
isForwardrecord component. - isIdentical(T, T) - Method in interface st.orm.Metamodel
-
Checks whether the value extracted from
ais identical to the value extracted fromb. - isIdentical(T, T) - Method in record class st.orm.Metamodel.KeyDelegate
- isInline() - Method in class st.orm.AbstractMetamodel
-
Returns
trueif the metamodel corresponds to an inline record, returnsfalseotherwise. - isInline() - Method in interface st.orm.Metamodel
-
Returns
trueif the metamodel corresponds to an inline record, returnsfalseotherwise. - isInline() - Method in record class st.orm.Metamodel.KeyDelegate
- isLoaded() - Method in interface st.orm.Ref
-
Returns whether the record has already been fetched and is available in memory.
- isNullable() - Method in class st.orm.AbstractKeyMetamodel
- isNullable() - Method in interface st.orm.Metamodel.Key
-
Returns
trueif this key field allows NULL values with standard SQL distinct-NULL semantics, meaning the UNIQUE constraint does not prevent multiple NULLs. - isNullable() - Method in record class st.orm.Metamodel.KeyDelegate
- isOuter() - Method in enum class st.orm.DefaultJoinType
-
Whether the join type is an outer join.
- isOuter() - Method in interface st.orm.JoinType
-
Whether the join type is an outer join.
- isSame(T, T) - Method in interface st.orm.Metamodel
-
Checks whether the value extracted from
ais the same as the value extracted fromb. - isSame(T, T) - Method in record class st.orm.Metamodel.KeyDelegate
- isVersionAware() - Method in interface st.orm.template.Query
-
Returns true if the query is version aware, false otherwise.
J
- join(JoinType, Class<? extends Data>, 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.QueryBuilder
-
Adds a join of the specified type to the query using a template.
- join(JoinType, QueryBuilder<?, ?, ?>, String) - Method in class st.orm.template.QueryBuilder
-
Adds a join of the specified type to the query using a subquery.
- JoinBuilder<T,
R, - Interface in st.orm.templateID> -
A builder for specifying the ON condition of a JOIN clause using a custom string template expression.
- JOINED - Enum constant in enum class st.orm.Polymorphic.Strategy
-
A base table holds shared fields and each subtype has its own extension table with subtype-specific fields, linked by the primary key.
- JoinType - Interface in st.orm
-
Represents a join type in a SQL query.
- Json - Annotation Interface in st.orm
-
Marks a record component as a json object.
K
- key() - Method in record class st.orm.Scrollable
-
Returns the value of the
keyrecord component. - key(Metamodel<T, E>) - Static method in interface st.orm.Metamodel
-
Returns a
Keyview of the given metamodel. - keyCursor() - Method in record class st.orm.Scrollable
-
Returns the value of the
keyCursorrecord component. - KeyDelegate(Metamodel<T, E>) - Constructor for record class st.orm.Metamodel.KeyDelegate
-
Creates an instance of a
KeyDelegaterecord class.
L
- left() - Static method in interface st.orm.JoinType
-
The default left join type.
- LEFT - Enum constant in enum class st.orm.DefaultJoinType
- leftJoin(Class<? extends Data>) - Method in class st.orm.template.QueryBuilder
-
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.Operator
-
The
<operator. - LESS_THAN_OR_EQUAL - Static variable in interface st.orm.Operator
-
The
<=operator. - level() - Element in annotation interface st.orm.SqlLog
-
Defines the logging level used when outputting captured SQL.
- LIKE - Static variable in interface st.orm.Operator
-
The
LIKEoperator. - limit(int) - Method in class st.orm.template.QueryBuilder
-
Adds a LIMIT clause to the query.
M
- metamodel() - Method in interface st.orm.template.Column
-
Gets the metamodel of the column.
- Metamodel<T,
E> - Interface in st.orm -
The metamodel provides type-safe references to entity fields for use in queries.
- Metamodel.Key<T,
E> - Interface in st.orm -
Marker interface for metamodel fields that correspond to columns known to be unique.
- Metamodel.KeyDelegate<T,
E> - Record Class in st.orm -
Delegating wrapper that adds the
Metamodel.Keymarker to an existingMetamodelinstance. - MetamodelType - Annotation Interface in st.orm
-
Marks an annotation type to be represented as the specified type in the
Metamodel. - method() - Method in record class st.orm.mapping.RecordField
-
Returns the value of the
methodrecord component. - 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(Class<T>) - Method in interface st.orm.template.QueryTemplate
-
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 -
Provides metadata about an entity or projection type, including its table name, primary key type, and column definitions.
- mutable() - Method in record class st.orm.mapping.RecordField
-
Returns the value of the
mutablerecord component.
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() - Method in record class st.orm.mapping.RecordField
-
Returns the value of the
namerecord component. - name() - Element in annotation interface st.orm.PK
-
The database column name for the primary key.
- name() - Element in annotation interface st.orm.SqlLog
-
Optional logger name.
- name() - Method in interface st.orm.template.Column
-
Gets the name of the column.
- name() - Method in interface st.orm.template.Model
-
Returns the name of the table or view.
- NAME - Enum constant in enum class st.orm.EnumType
-
Map using the enum's name (default).
- NESTED - Enum constant in enum class st.orm.SelectMode
-
Selects the full hierarchical column set.
- Nested Paths (Fully Qualified) - Search tag in interface st.orm.Metamodel
- Section
- newInstance(Object[]) - Method in record class st.orm.mapping.RecordType
-
Creates a new instance of this record type using the canonical constructor.
- next() - Method in record class st.orm.Pageable
-
Returns a pageable request for the next page, preserving sort orders.
- next() - Method in record class st.orm.Window
-
Returns a typed scrollable for fetching the next window, or
nullif the window is empty. - nextCursor() - Method in record class st.orm.Window
-
Returns an opaque cursor string for fetching the next window, or
nullif there is no next window according toWindow.hasNext(). - nextPageable() - Method in record class st.orm.Page
-
Returns the
Pageablefor the next page, preserving sort orders. - nextScrollable() - Method in record class st.orm.Window
-
Returns the value of the
nextScrollablerecord component. - NONE - Enum constant in enum class st.orm.GenerationStrategy
-
No primary key generation is applied.
- 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.Operator
-
The
NOT EXISTSoperator. - NOT_IN - Static variable in interface st.orm.Operator
-
The
NOT INoperator. - NOT_LIKE - Static variable in interface st.orm.Operator
-
The
NOT LIKEoperator. - notExists(QueryBuilder<?, ?, ?>) - Method in class st.orm.template.WhereBuilder
-
Adds an
NOT EXISTScondition to the WHERE clause using the specified subquery. - nullable() - Method in record class st.orm.mapping.RecordField
-
Returns the value of the
nullablerecord component. - nullable() - Method in interface st.orm.template.Column
-
Determines if the column is nullable.
- NULL Handling - Search tag in annotation interface st.orm.UK
- Section
- nullsDistinct() - Element in annotation interface st.orm.UK
-
Indicates whether NULL values are considered distinct for the purpose of the UNIQUE constraint.
O
- of(int, int) - Static method in record class st.orm.Pageable
-
Creates a pageable request for the given page number and page size without sort orders.
- of(E) - Static method in interface st.orm.Ref
-
Creates a fully loaded ref instance that wraps the given entity.
- of(Class<T>, ID) - Static method in interface st.orm.Ref
-
Creates a detached ref instance for the given type and primary key.
- of(Class<T>, String) - Static method in interface st.orm.Metamodel
-
Creates a new metamodel for the given root rootTable and path.
- of(Connection) - Static method in interface st.orm.template.ORMTemplate
-
Returns an
ORMTemplatefor use with JDBC. - of(Connection, UnaryOperator<TemplateDecorator>) - Static method in interface st.orm.template.ORMTemplate
-
Returns an
ORMTemplatefor use with JDBC, with a custom template decorator. - of(Connection, StormConfig) - Static method in interface st.orm.template.ORMTemplate
-
Returns an
ORMTemplatefor use with JDBC, configured with the providedStormConfig. - of(Connection, StormConfig, UnaryOperator<TemplateDecorator>) - Static method in interface st.orm.template.ORMTemplate
-
Returns an
ORMTemplatefor use with JDBC, configured with the providedStormConfigand a custom template decorator. - of(Map<String, String>) - Static method in class st.orm.StormConfig
-
Creates a new
StormConfigwith the given properties. - of(DataSource) - Static method in interface st.orm.template.ORMTemplate
-
Returns an
ORMTemplatefor use with JDBC. - of(DataSource, UnaryOperator<TemplateDecorator>) - Static method in interface st.orm.template.ORMTemplate
-
Returns an
ORMTemplatefor use with JDBC, with a custom template decorator. - of(DataSource, StormConfig) - Static method in interface st.orm.template.ORMTemplate
-
Returns an
ORMTemplatefor use with JDBC, configured with the providedStormConfig. - of(DataSource, StormConfig, UnaryOperator<TemplateDecorator>) - Static method in interface st.orm.template.ORMTemplate
-
Returns an
ORMTemplatefor use with JDBC, configured with the providedStormConfigand a custom template decorator. - 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(Metamodel.Key<T, E>, int) - Static method in record class st.orm.Scrollable
-
Creates a scrollable request for the first page in ascending key order.
- of(Metamodel.Key<T, E>, E, int) - Static method in record class st.orm.Scrollable
-
Creates a scrollable request starting after the given cursor value, in ascending key order.
- of(Metamodel.Key<T, E>, E, Metamodel<T, S>, S, int) - Static method in record class st.orm.Scrollable
-
Creates a scrollable request starting after the given cursor values, in ascending key order, sorted by the given field.
- of(Metamodel.Key<T, E>, Metamodel<T, S>, int) - Static method in record class st.orm.Scrollable
-
Creates a scrollable request for the first page in ascending key order, sorted by the given field.
- OFF - Enum constant in enum class st.orm.UpdateMode
-
Dirty checking is disabled.
- offset() - Method in record class st.orm.Pageable
-
Returns the offset to use for this page request.
- offset(int) - Method in class st.orm.template.QueryBuilder
-
Adds an OFFSET clause to the query.
- ofSize(int) - Static method in record class st.orm.Pageable
-
Creates a pageable request for the first page with the given page size.
- on(Class<? extends Data>) - Method in interface st.orm.template.TypedJoinBuilder
-
Specifies the relation to join on.
- on(StringTemplate) - Method in interface st.orm.template.JoinBuilder
-
Specifies the join condition using a custom expression.
- onRecord(Data) - Method in interface st.orm.BindVars.RecordListener
-
Invoked when a new record is processed.
- Operator - Interface in st.orm
-
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(StringTemplate) - Method in interface st.orm.template.PredicateBuilder
-
Adds a predicate to the WHERE clause using an OR condition.
- or(PredicateBuilder<T, ?, ?>) - Method in interface st.orm.template.PredicateBuilder
-
Adds a predicate to the WHERE clause using an OR condition.
- orAny(PredicateBuilder<TX, RX, IDX>) - Method in interface st.orm.template.PredicateBuilder
-
Adds a predicate to the WHERE clause using an OR condition.
- Order(Metamodel<?, ?>, boolean) - Constructor for record class st.orm.Pageable.Order
-
Creates an instance of a
Orderrecord 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.
- 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(StringTemplate) - Method in class st.orm.template.QueryBuilder
-
Adds an ORDER BY clause to the query using a string template.
- 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.
- orderByDescending(Metamodel<T, ?>...) - Method in class st.orm.template.QueryBuilder
-
Adds an ORDER BY clause to the query for the fields at the specified paths in the table graph.
- orderByDescendingAny(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.
- orderByDescendingAny(Metamodel<?, ?>...) - Method in class st.orm.template.QueryBuilder
-
Adds an ORDER BY clause to the query for the fields at the specified paths in the table graph or manually added joins.
- orders() - Method in record class st.orm.Pageable
-
Returns the value of the
ordersrecord component. - 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.
- ORMTemplate - Interface in st.orm.template
-
The primary entry point for Storm's ORM functionality, combining SQL template query construction with repository access.
- OUTER - Enum constant in enum class st.orm.ResolveScope
-
Resolve the alias from the outer scope(s) only.e
P
- page(int, int) - Method in interface st.orm.repository.EntityRepository
-
Returns a page of entities using offset-based pagination.
- page(int, int) - Method in interface st.orm.repository.ProjectionRepository
-
Returns a page of projections using offset-based pagination.
- page(int, int) - Method in class st.orm.template.QueryBuilder
-
Executes the query and returns a
Pageof results using offset-based pagination. - page(Pageable) - Method in interface st.orm.repository.EntityRepository
-
Returns a page of entities using offset-based pagination.
- page(Pageable) - Method in interface st.orm.repository.ProjectionRepository
-
Returns a page of projections using offset-based pagination.
- page(Pageable) - Method in class st.orm.template.QueryBuilder
-
Executes the query and returns a
Pageof results using offset-based pagination. - page(Pageable, long) - Method in class st.orm.template.QueryBuilder
-
Executes the query and returns a
Pageof results using offset-based pagination with a pre-computed total count. - Page<R> - Record Class in st.orm
-
Represents a page of query results for offset-based pagination.
- Page(List<R>, long, int, int) - Constructor for record class st.orm.Page
-
Creates a page with the specified content, total count, page number, and page size.
- Page(List<R>, long, Pageable) - Constructor for record class st.orm.Page
-
Creates an instance of a
Pagerecord class. - pageable() - Method in record class st.orm.Page
-
Returns the value of the
pageablerecord component. - Pageable - Record Class in st.orm
-
Represents a pagination request with a zero-based page number, page size, and optional sort orders.
- Pageable(int, int) - Constructor for record class st.orm.Pageable
-
Creates a pageable request for the given page number and page size without sort orders.
- Pageable(int, int, List<Pageable.Order>) - Constructor for record class st.orm.Pageable
-
Creates an instance of a
Pageablerecord class. - Pageable.Order - Record Class in st.orm
-
Represents a sort order for a single metamodel field.
- pageNumber() - Method in record class st.orm.Page
-
Returns the zero-based index of this page.
- pageNumber() - Method in record class st.orm.Pageable
-
Returns the value of the
pageNumberrecord component. - pageRef(int, int) - Method in interface st.orm.repository.EntityRepository
-
Returns a page of entity refs using offset-based pagination.
- pageRef(int, int) - Method in interface st.orm.repository.ProjectionRepository
-
Returns a page of projection refs using offset-based pagination.
- pageRef(Pageable) - Method in interface st.orm.repository.EntityRepository
-
Returns a page of entity refs using offset-based pagination.
- pageRef(Pageable) - Method in interface st.orm.repository.ProjectionRepository
-
Returns a page of projection refs using offset-based pagination.
- pageSize() - Method in record class st.orm.Page
-
Returns the maximum number of elements per page.
- pageSize() - Method in record class st.orm.Pageable
-
Returns the value of the
pageSizerecord component. - param(Object) - Static method in interface st.orm.template.Templates
-
Generates a parameter element for the specified value, to be used in SQL queries.
- param(String, Object) - Static method in interface st.orm.template.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.template.Templates
-
Generates a named parameter element for the specified
Calendarvalue with a temporal type. - param(String, Date, TemporalType) - Static method in interface st.orm.template.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.template.Templates
-
Generates a named parameter element for the specified value with a converter function.
- param(Calendar, TemporalType) - Static method in interface st.orm.template.Templates
-
Generates a parameter element for the specified
Calendarvalue with a temporal type. - param(Date, TemporalType) - Static method in interface st.orm.template.Templates
-
Generates a parameter element for the specified
Datevalue with a temporal type. - param(P, Function<? super P, ?>) - Static method in interface st.orm.template.Templates
-
Generates a parameter element for the specified value with a converter function.
- path() - Method in class st.orm.AbstractMetamodel
-
Returns the path to the database table.
- path() - Method in record class st.orm.Metamodel.KeyDelegate
- path() - Method in interface st.orm.Metamodel
-
Returns the path to the database table.
- Path Resolution - Search tag in interface st.orm.Metamodel
- Section
- 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.SelectMode
-
Selects only the columns required to identify the record.
- PK - Annotation Interface in st.orm
-
Marks a field as the primary key of an entity.
- Polymorphic - Annotation Interface in st.orm
-
Specifies the inheritance strategy for a sealed entity hierarchy.
- Polymorphic.Strategy - Enum Class in st.orm
-
The inheritance strategies for sealed entity hierarchies.
- PredicateBuilder<T,
R, - Interface in st.orm.templateID> -
Represents a composable predicate for the WHERE clause of a query, supporting
ANDandORcomposition. - prepare() - Method in interface st.orm.template.Query
-
Prepares the query for execution.
- prepare() - Method in class st.orm.template.QueryBuilder
-
Prepares the query for execution.
- PreparedQuery - Interface in st.orm.template
-
Represents an eagerly constructed, reusable query that supports batch operations and generated key retrieval.
- previous() - Method in record class st.orm.Pageable
-
Returns a pageable request for the previous page, or the first page if already on page 0.
- previous() - Method in record class st.orm.Window
-
Returns a typed scrollable for fetching the previous window, or
nullif the window is empty. - previousCursor() - Method in record class st.orm.Window
-
Returns an opaque cursor string for fetching the previous window, or
nullif this is the first window according toWindow.hasPrevious(). - previousPageable() - Method in record class st.orm.Page
-
Returns the
Pageablefor the previous page, or the first page if already on page 0. - previousScrollable() - Method in record class st.orm.Window
-
Returns the value of the
previousScrollablerecord component. - primaryKey() - Method in interface st.orm.template.Column
-
Determines if the column is a primary key.
- Primary Key as Foreign Key - Search tag in annotation interface st.orm.FK
- Section
- Primary Key as Foreign Key - Search tag in annotation interface st.orm.PK
- Section
- primaryKeyType() - Method in interface st.orm.template.Model
-
Returns the type of the primary key.
- projection(Class<T>) - Method in interface st.orm.repository.RepositoryLookup
-
Returns the repository for the given projection type.
- Projection<ID> - Interface in st.orm
-
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
-
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.
Q
- query(String) - Method in interface st.orm.template.QueryTemplate
-
Creates a query for the specified
querystring. - query(StringTemplate) - Method in interface st.orm.template.QueryTemplate
-
Creates a query for the specified query
template. - Query - Interface in st.orm.template
-
Represents a constructed SQL statement that is ready for execution.
- QueryBuilder<T,
R, - Class in st.orm.templateID> -
A fluent builder for constructing type-safe SELECT and DELETE queries using the entity graph and metamodel.
- QueryBuilder() - Constructor for class st.orm.template.QueryBuilder
- QueryTemplate - Interface in st.orm.template
-
Provides methods for constructing SQL queries and query builders using String Templates or the fluent API.
R
- Read - Search tag in interface st.orm.repository.EntityRepository
- Section
- Read - Search tag in interface st.orm.template.Templates
- Section
- RecordField - Record Class in st.orm.mapping
-
Represents metadata about a field in a data record type.
- RecordField(Class<?>, String, Class<?>, Type, boolean, boolean, Method, List<Annotation>) - Constructor for record class st.orm.mapping.RecordField
-
Creates an instance of a
RecordFieldrecord class. - RecordType - Record Class in st.orm.mapping
-
Represents metadata about a data record type.
- RecordType(Class<?>, Constructor<?>, List<Annotation>, List<RecordField>) - Constructor for record class st.orm.mapping.RecordType
-
Creates an instance of a
RecordTyperecord class. - ref() - Method in interface st.orm.template.Column
-
Determines if the column is a ref column.
- ref(E) - Method in interface st.orm.repository.EntityRepository
-
Creates a new ref entity instance for the specified entity.
- 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(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(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.
- remove(E) - Method in interface st.orm.repository.EntityRepository
-
Removes an entity from the database.
- remove(Iterable<E>) - Method in interface st.orm.repository.EntityRepository
-
Removes a collection of entities from the database in batches.
- remove(Stream<E>) - Method in interface st.orm.repository.EntityRepository
-
Removes a stream of entities from the database in batches.
- remove(Stream<E>, int) - Method in interface st.orm.repository.EntityRepository
-
Removes a stream of entities from the database in configurable batch sizes.
- removeAll() - Method in interface st.orm.repository.EntityRepository
-
Removes all entities from the database.
- removeAllBy(Metamodel<E, V>, Iterable<? extends V>) - Method in interface st.orm.repository.EntityRepository
-
Removes entities matching the specified field against multiple values.
- removeAllBy(Metamodel<E, V>, Ref<V>) - Method in interface st.orm.repository.EntityRepository
-
Removes entities matching the specified field and referenced value.
- removeAllBy(Metamodel<E, V>, V) - Method in interface st.orm.repository.EntityRepository
-
Removes entities matching the specified field and value.
- removeAllByRef(Metamodel<E, V>, Iterable<? extends Ref<V>>) - Method in interface st.orm.repository.EntityRepository
-
Removes entities matching the specified field against multiple referenced values.
- removeById(ID) - Method in interface st.orm.repository.EntityRepository
-
Removes an entity from the database based on its primary key.
- removeByRef(Iterable<Ref<E>>) - Method in interface st.orm.repository.EntityRepository
-
Removes a collection of entities from the database in batches.
- removeByRef(Stream<Ref<E>>) - Method in interface st.orm.repository.EntityRepository
-
Removes a stream of entities from the database in batches.
- removeByRef(Stream<Ref<E>>, int) - Method in interface st.orm.repository.EntityRepository
-
Removes a stream of entities from the database in configurable batch sizes.
- removeByRef(Ref<E>) - Method in interface st.orm.repository.EntityRepository
-
Removes an entity from the database by its reference.
- repository(Class<R>) - Method in interface st.orm.repository.RepositoryLookup
-
Returns a proxy for the repository of the given type.
- Repository - Interface in st.orm.repository
-
Base interface for all Storm repositories, providing access to the underlying
ORMTemplate. - 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
- requireDataType() - Method in record class st.orm.mapping.RecordField
- requireDataType() - Method in record class st.orm.mapping.RecordType
- resolveColumnName(RecordField) - Method in interface st.orm.mapping.ColumnNameResolver
-
Resolves the column name for a record component.
- resolveColumnName(RecordField, RecordType) - Method in interface st.orm.mapping.ForeignKeyResolver
-
Resolves the column name for a foreign key record type.
- ResolveScope - Enum Class in st.orm
-
Enumeration of the different modes for resolving an alias.
- resolveTableName(RecordType) - Method in interface st.orm.mapping.TableNameResolver
-
Resolves the table name for a given record type.
- reverse() - Method in record class st.orm.Scrollable
-
Returns a new scrollable with the direction reversed.
- right() - Static method in interface st.orm.JoinType
-
The default right join type.
- RIGHT - Enum constant in enum class st.orm.DefaultJoinType
- rightJoin(Class<? extends Data>) - Method in class st.orm.template.QueryBuilder
-
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.AbstractMetamodel
-
Returns the root metamodel.
- root() - Method in record class st.orm.Metamodel.KeyDelegate
- root() - Method in interface st.orm.Metamodel
-
Returns the root metamodel.
- root(Class<T>) - Static method in interface st.orm.Metamodel
-
Creates a new metamodel for the given record type.
S
- schema() - Element in annotation interface st.orm.DbTable
-
The database schema name.
- schema() - Method in interface st.orm.template.Model
-
Returns the schema, or an empty String if the schema is not specified.
- scroll(int) - Method in class st.orm.template.QueryBuilder
-
Executes the query and returns a
Windowof results. - scroll(Scrollable<E>) - Method in interface st.orm.repository.EntityRepository
-
Executes a scroll request from a
Scrollabletoken, typically obtained fromWindow.next()orWindow.previous(). - scroll(Scrollable<P>) - Method in interface st.orm.repository.ProjectionRepository
-
Executes a scroll request from a
Scrollabletoken, typically obtained fromWindow.next()orWindow.previous(). - scroll(Scrollable<T>) - Method in class st.orm.template.QueryBuilder
-
Executes a scroll request from a
Scrollabletoken, typically obtained fromWindow.next()orWindow.previous(). - Scrollable<T> - Record Class in st.orm
-
Represents a scroll request that captures the cursor state needed to fetch a window of results.
- Scrollable(Metamodel.Key<T, ?>, Object, Metamodel<T, ?>, Object, int, boolean) - Constructor for record class st.orm.Scrollable
-
Creates an instance of a
Scrollablerecord class. - 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(Class<? extends Data>) - Static method in interface st.orm.template.Templates
-
Generates a SELECT element for the specified table class.
- select(Class<? extends Data>, SelectMode) - Static method in interface st.orm.template.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>, 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. - selectById(Stream<ID>) - Method in interface st.orm.repository.ProjectionRepository
-
Retrieves a stream of projections based on their primary keys.
- selectById(Stream<ID>, int) - Method in interface st.orm.repository.ProjectionRepository
-
Retrieves a stream of projections based on their primary keys.
- selectByRef(Stream<Ref<P>>) - Method in interface st.orm.repository.ProjectionRepository
-
Retrieves a stream of projections based on their primary keys.
- selectByRef(Stream<Ref<P>>, int) - Method in interface st.orm.repository.ProjectionRepository
-
Retrieves a stream of projections based on their primary keys.
- 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.
- 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 interface st.orm.template.QueryTemplate
-
Creates a query builder for the specified table and select type using the given
template. - SelectMode - Enum Class in st.orm
-
Specifies how much data a query should select for an entity or projection.
- 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 interface st.orm.repository.ProjectionRepository
-
Creates a new query builder for selecting refs to projections 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 interface st.orm.repository.ProjectionRepository
-
Creates a new query builder for selecting refs to projections of the type managed by this repository.
- sequence() - Element in annotation interface st.orm.PK
-
The sequence name for the primary key.
- sequence() - Method in interface st.orm.template.Column
-
Gets the sequence name for generating the primary key, or empty if the primary key is not generated by a sequence.
- SEQUENCE - Enum constant in enum class st.orm.GenerationStrategy
-
The primary key is generated using a database sequence.
- set(BindVars) - Static method in interface st.orm.template.Templates
-
Generates a SET clause using the specified
BindVars. - set(BindVars, Collection<Metamodel<?, ?>>) - Static method in interface st.orm.template.Templates
-
Generates a SET clause using the specified
BindVars. - set(Data) - Static method in interface st.orm.template.Templates
-
Generates a SET clause for the specified record.
- set(Data, Collection<Metamodel<?, ?>>) - Static method in interface st.orm.template.Templates
-
Generates a SET clause for the specified record.
- setRecordListener(BindVars.RecordListener) - Method in interface st.orm.BindVars
-
Sets a listener that is invoked for each record that is being bound.
- Short Form - Search tag in interface st.orm.Metamodel
- Section
- SINGLE_TABLE - Enum constant in enum class st.orm.Polymorphic.Strategy
-
All subtypes share a single database table with a discriminator column.
- size() - Method in record class st.orm.Scrollable
-
Returns the value of the
sizerecord component. - Slice<R> - Interface in st.orm
-
Represents a slice of query results — a chunk of data with informational navigation flags.
- sort() - Method in record class st.orm.Scrollable
-
Returns the value of the
sortrecord component. - sortBy(Metamodel<?, ?>) - Method in record class st.orm.Pageable
-
Returns a new pageable with an ascending sort order appended for the given field.
- sortByDescending(Metamodel<?, ?>) - Method in record class st.orm.Pageable
-
Returns a new pageable with a descending sort order appended for the given field.
- sortCursor() - Method in record class st.orm.Scrollable
-
Returns the value of the
sortCursorrecord component. - sql() - Method in enum class st.orm.DefaultJoinType
-
The SQL representation of the join type.
- sql() - Method in interface st.orm.JoinType
-
The SQL representation of the join type.
- SqlLog - Annotation Interface in st.orm
-
Annotation for capturing and logging SQL statements.
- st.orm - package st.orm
- st.orm.mapping - package st.orm.mapping
- st.orm.repository - package st.orm.repository
- st.orm.template - package st.orm.template
- storm.foundation - module storm.foundation
- storm.java - module storm.java
- StormConfig - Class in st.orm
-
Immutable, untyped configuration for the Storm ORM framework.
- STRING - Enum constant in enum class st.orm.Discriminator.DiscriminatorType
-
VARCHAR discriminator column.
- 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
-
Create a subquery for the given table and select type.
- 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.template.Templates
-
Creates a new subquery element using a string template.
- subquery(QueryBuilder<?, ?, ?>, boolean) - Static method in interface st.orm.template.Templates
-
Creates a new subquery element using a query builder.
- SubqueryTemplate - Interface in st.orm.template
-
Provides factory methods for constructing subqueries that can be correlated with or embedded in an outer query.
T
- table() - Method in class st.orm.AbstractMetamodel
-
Returns the table that holds the column to which this metamodel is pointing.
- table() - Method in record class st.orm.Metamodel.KeyDelegate
- table() - Method in interface st.orm.Metamodel
-
Returns the table that holds the column to which this metamodel is pointing.
- table(Class<? extends Data>) - Static method in interface st.orm.template.Templates
-
Generates a Table element for the specified table class.
- table(Class<? extends Data>, String) - Static method in interface st.orm.template.Templates
-
Generates a Table element with an alias for the specified table class.
- TableNameResolver - Interface in st.orm.mapping
-
Resolves the table name for a given record type.
- tableType() - Method in interface st.orm.Metamodel
-
Returns the type of the table that holds the column to which this metamodel is pointing.
- TEMPLATE_CACHE_SIZE - Static variable in class st.orm.StormConfig
-
Maximum number of compiled templates to cache.
- TemplateDecorator - Interface in st.orm.mapping
-
Decorator used for integrations with applications and frameworks.
- Templates - Interface in st.orm.template
-
The
Templatesinterface provides a collection of static methods for constructing SQL query elements and creating ORM repository templates. - 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 - toCursor() - Method in record class st.orm.Scrollable
-
Serializes the cursor state of this scrollable into an opaque, URL-safe string.
- toDatabase(E) - Method in interface st.orm.Converter
-
Converts an entity value to a database column value.
- toString() - Method in class st.orm.AbstractMetamodel
- toString() - Method in record class st.orm.mapping.RecordField
-
Returns a string representation of this record class.
- toString() - Method in record class st.orm.mapping.RecordType
-
Returns a string representation of this record class.
- toString() - Method in record class st.orm.Metamodel.KeyDelegate
-
Returns a string representation of this record class.
- toString() - Method in record class st.orm.Page
-
Returns a string representation of this record class.
- toString() - Method in record class st.orm.Pageable.Order
-
Returns a string representation of this record class.
- toString() - Method in record class st.orm.Pageable
-
Returns a string representation of this record class.
- toString() - Method in record class st.orm.Scrollable
-
Returns a string representation of this record class.
- toString() - Method in record class st.orm.Window
-
Returns a string representation of this record class.
- totalCount() - Method in record class st.orm.Page
-
Returns the value of the
totalCountrecord component. - totalPages() - Method in record class st.orm.Page
-
Returns the total number of pages.
- toUpperCase(ColumnNameResolver) - Static method in interface st.orm.mapping.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.mapping.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.mapping.TableNameResolver
-
Resolves the table name for a record by converting the table name to upper case.
- TRUE() - Method in class st.orm.template.WhereBuilder
-
A predicate that always evaluates to true.
- type() - Element in annotation interface st.orm.Discriminator
-
The discriminator column type.
- type() - Method in record class st.orm.mapping.RecordField
-
Returns the value of the
typerecord component. - type() - Method in record class st.orm.mapping.RecordType
-
Returns the value of the
typerecord component. - type() - Method in interface st.orm.Ref
-
The type of the record.
- type() - Method in interface st.orm.template.Column
-
Gets the type of the column.
- 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.QueryBuilder
-
Returns a typed query builder for the specified primary key type.
- TypedJoinBuilder<T,
R, - Interface in st.orm.templateID> -
A builder for specifying the ON condition of a JOIN clause using a type-safe entity relation or a custom expression.
U
- UK - Annotation Interface in st.orm
-
Marks a field as a unique key.
- unload() - Method in interface st.orm.Ref
-
Returns a detached ref with the same identity but without data.
- 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.
- unsafe() - Method in interface st.orm.template.Query
-
Returns a new query that allows dangerous operations, such as DELETE and UPDATE without a WHERE clause.
- unsafe() - Method in class st.orm.template.QueryBuilder
-
Returns a query builder that allows UPDATE and DELETE queries without a WHERE clause.
- unsafe(String) - Static method in interface st.orm.template.Templates
-
Injects raw SQL into the query without any processing or sanitization.
- 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.
- update(E) - Method in interface st.orm.repository.EntityRepository
-
Updates a single entity in the database.
- update(Class<? extends Data>) - Static method in interface st.orm.template.Templates
-
Generates an UPDATE element for the specified table class.
- update(Class<? extends Data>, String) - Static method in interface st.orm.template.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(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>, 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 - Search tag in interface st.orm.repository.EntityRepository
- Section
- Update - Search tag in interface st.orm.template.Templates
- Section
- UPDATE_DEFAULT_MODE - Static variable in class st.orm.StormConfig
-
Default update mode for entities without
@DynamicUpdate. - UPDATE_DIRTY_CHECK - Static variable in class st.orm.StormConfig
-
Default dirty check strategy.
- UPDATE_MAX_SHAPES - Static variable in class st.orm.StormConfig
-
Maximum UPDATE shapes before fallback to full-row update.
- 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(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.
- UpdateMode - Enum Class in st.orm
-
Controls how changes are detected and how UPDATE statements are generated for entities.
- upsert(E) - Method in interface st.orm.repository.EntityRepository
-
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(Stream<E>) - Method in interface st.orm.repository.EntityRepository
-
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.
- 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(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.
- upsertAndFetchId(E) - Method in interface st.orm.repository.EntityRepository
-
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.
- Upsert callback routing - Search tag in interface st.orm.EntityCallback
- Section
- Usage - Search tag in class st.orm.StormConfig
- Section
- Using Connection (JDBC) - Search tag in interface st.orm.template.Templates
- Section
- Using DataSource (JDBC) - Search tag in interface st.orm.template.Templates
- Section
- Using EntityManager (JPA) - Search tag in interface st.orm.template.Templates
- Section
- Using Entity Repositories - Search tag in interface st.orm.repository.EntityRepository
- Section
- Using Templates - Search tag in interface st.orm.template.Templates
- Section
V
- validateSchema() - Method in interface st.orm.template.ORMTemplate
-
Validates all discovered entity and projection types against the database schema.
- validateSchema(Iterable<Class<? extends Data>>) - Method in interface st.orm.template.ORMTemplate
-
Validates the specified types against the database schema.
- validateSchema(Predicate<Class<? extends Data>>) - Method in interface st.orm.template.ORMTemplate
-
Validates discovered types matching the filter against the database schema.
- validateSchemaOrThrow() - Method in interface st.orm.template.ORMTemplate
-
Validates all discovered types and throws if any errors are found.
- validateSchemaOrThrow(Iterable<Class<? extends Data>>) - Method in interface st.orm.template.ORMTemplate
-
Validates the specified types and throws if any errors are found.
- validateSchemaOrThrow(Predicate<Class<? extends Data>>) - Method in interface st.orm.template.ORMTemplate
-
Validates discovered types matching the filter and throws if any errors are found.
- VALIDATION_INTERPOLATION_MODE - Static variable in class st.orm.StormConfig
-
Interpolation safety mode.
- VALIDATION_RECORD_MODE - Static variable in class st.orm.StormConfig
-
Record validation mode.
- VALIDATION_SCHEMA_MODE - Static variable in class st.orm.StormConfig
-
Schema validation mode.
- VALIDATION_STRICT - Static variable in class st.orm.StormConfig
-
Whether to treat schema validation warnings as errors.
- 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.DbIgnore
-
Optional reason for ignoring schema validation.
- value() - Element in annotation interface st.orm.DbTable
-
The database table name.
- value() - Element in annotation interface st.orm.Discriminator
-
The discriminator value for a concrete subtype.
- value() - Element in annotation interface st.orm.DynamicUpdate
-
Defines how changes are detected and how UPDATE statements are generated for the annotated entity.
- value() - Element in annotation interface st.orm.FK
-
The database column name for the foreign key.
- value() - Element in annotation interface st.orm.MetamodelType
-
Specifies how the type must be represented in the
Metamodel. - value() - Element in annotation interface st.orm.PK
-
The database column name for the primary key.
- value() - Element in annotation interface st.orm.Polymorphic
-
The inheritance strategy.
- value() - Element in annotation interface st.orm.ProjectionQuery
-
The SQL query that represents the projection.
- VALUE - Enum constant in enum class st.orm.DirtyCheck
-
Use value-based dirty checking.
- valueOf(String) - Static method in enum class st.orm.DefaultJoinType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class st.orm.DirtyCheck
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class st.orm.Discriminator.DiscriminatorType
-
Returns the enum constant of this class with the specified name.
- 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.GenerationStrategy
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class st.orm.Polymorphic.Strategy
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class st.orm.ResolveScope
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class st.orm.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.
- valueOf(String) - Static method in enum class st.orm.UpdateMode
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class st.orm.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.DirtyCheck
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class st.orm.Discriminator.DiscriminatorType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- 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.GenerationStrategy
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class st.orm.Polymorphic.Strategy
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class st.orm.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.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() - Static method in enum class st.orm.UpdateMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values(E) - Method in interface st.orm.template.Model
-
Collects all column values into an ordered map.
- values(Iterable<? extends Data>) - Static method in interface st.orm.template.Templates
-
Generates a VALUES clause for the specified iterable of record instances.
- values(Iterable<? extends Data>, boolean) - Static method in interface st.orm.template.Templates
-
Generates a VALUES clause for the specified iterable of record instances.
- values(List<Column>, E) - Method in interface st.orm.template.Model
-
Collects column values into an ordered map.
- values(BindVars) - Static method in interface st.orm.template.Templates
-
Generates a VALUES clause using the specified
BindVarsfor batch insertion. - values(BindVars, boolean) - Static method in interface st.orm.template.Templates
-
Generates a VALUES clause using the specified
BindVarsfor batch insertion. - values(Data...) - Static method in interface st.orm.template.Templates
-
Generates a VALUES clause for the specified record instance(s).
- values(Data, boolean) - Static method in interface st.orm.template.Templates
-
Generates a VALUES clause for the specified record instance(s).
- version() - Method in interface st.orm.template.Column
-
Determines if the column is used for versioning.
- Version - Annotation Interface in st.orm
-
Marks a record component as a version field to detect optimistic locking conflicts.
W
- 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.template.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.WhereBuilder
-
Adds a condition to the WHERE clause that matches the specified records.
- where(Object) - Static method in interface st.orm.template.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.WhereBuilder
-
Appends a custom expression to the WHERE clause.
- where(Function<WhereBuilder<T, R, ID>, PredicateBuilder<T, ?, ?>>) - Method in class st.orm.template.QueryBuilder
-
Adds a WHERE clause to the query using a
WhereBuilder. - where(BindVars) - Static method in interface st.orm.template.Templates
-
Generates a WHERE clause using the specified
BindVarsfor batch operations. - where(Metamodel<?, V>, Operator, Iterable<? extends V>) - Static method in interface st.orm.template.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.template.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.WhereBuilder
-
Adds a condition to the WHERE clause that matches the specified records.
- 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.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.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>, 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.WhereBuilder
-
Adds a condition to the WHERE clause that matches the specified ref.
- 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.WhereBuilder
-
Adds a condition to the WHERE clause that matches the specified record.
- 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(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.WhereBuilder
-
Adds a condition to the WHERE clause that matches the specified record.
- whereAny(Iterable<? extends Data>) - Method in class st.orm.template.WhereBuilder
-
Adds a condition to the WHERE clause that matches the specified records.
- whereAny(Function<WhereBuilder<T, R, ID>, PredicateBuilder<?, ?, ?>>) - Method in class st.orm.template.QueryBuilder
-
Adds a WHERE clause to the query using a
WhereBuilder. - whereAny(Data) - Method in class st.orm.template.WhereBuilder
-
Adds a condition to the WHERE clause that matches the specified record.
- whereAny(Metamodel<?, V>, Iterable<V>) - Method in class st.orm.template.WhereBuilder
-
Adds a condition to the WHERE clause that matches the specified records.
- whereAny(Metamodel<?, V>, Operator, Iterable<? extends V>) - Method in class st.orm.template.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.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>, Ref<V>) - Method in class st.orm.template.WhereBuilder
-
Adds a condition to the WHERE clause that matches the specified ref.
- whereAny(Metamodel<?, V>, V) - Method in class st.orm.template.WhereBuilder
-
Adds a condition to the WHERE clause that matches the specified record.
- whereAnyRef(Iterable<? extends Ref<?>>) - Method in class st.orm.template.WhereBuilder
-
Adds a condition to the WHERE clause that matches the specified primary keys of the table, expressed by a ref.
- whereAnyRef(Metamodel<?, V>, Iterable<? extends Ref<V>>) - Method in class st.orm.template.WhereBuilder
-
Adds a condition to the WHERE clause that matches the specified refs.
- whereAnyRef(Ref<?>) - Method in class st.orm.template.WhereBuilder
-
Adds a condition to the WHERE clause that matches the specified primary key of the table, expressed by a ref.
- WhereBuilder<T,
R, - Class in st.orm.templateID> -
A builder for constructing the WHERE clause of a query, providing type-safe predicate construction.
- WhereBuilder() - Constructor for class st.orm.template.WhereBuilder
- whereId(ID) - Method in class st.orm.template.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
-
Adds a WHERE clause that matches the specified primary keys of the table.
- whereId(Iterable<? extends ID>) - Method in class st.orm.template.WhereBuilder
-
Adds a condition to the WHERE clause that matches the specified primary keys of the table.
- whereImpl(Metamodel<?, V>, Operator, V[]) - Method in class st.orm.template.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
-
Adds a 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.WhereBuilder
-
Adds a condition to the WHERE clause that matches the specified primary keys of the table, expressed by a ref.
- whereRef(Metamodel<T, V>, Iterable<? extends Ref<V>>) - Method in class st.orm.template.QueryBuilder
-
Adds a WHERE clause that matches the specified records.
- whereRef(Metamodel<T, V>, Iterable<? extends Ref<V>>) - Method in class st.orm.template.WhereBuilder
-
Adds a condition to the WHERE clause that matches the specified refs.
- whereRef(Ref<T>) - Method in class st.orm.template.WhereBuilder
-
Adds a condition to the WHERE clause that matches the specified primary key of the table, expressed by a ref.
- Window<R> - Record Class in st.orm
-
Represents a window of query results from a scrolling operation with
Scrollablenavigation tokens. - Window(List<R>, boolean, boolean, Scrollable<?>, Scrollable<?>) - Constructor for record class st.orm.Window
-
Creates an instance of a
Windowrecord class. - withColumnNameResolver(ColumnNameResolver) - Method in interface st.orm.mapping.TemplateDecorator
-
Returns a new prepared statement template with the specified column name resolver.
- withEntityCallback(EntityCallback<?>) - Method in interface st.orm.template.ORMTemplate
-
Returns a new
ORMTemplatewith the specified entity callback added. - withEntityCallbacks(List<EntityCallback<?>>) - Method in interface st.orm.template.ORMTemplate
-
Returns a new
ORMTemplatewith the specified entity callbacks added. - withForeignKeyResolver(ForeignKeyResolver) - Method in interface st.orm.mapping.TemplateDecorator
-
Returns a new prepared statement template with the specified foreign key resolver.
- withTableNameResolver(TableNameResolver) - Method in interface st.orm.mapping.TemplateDecorator
-
Returns a new prepared statement template with the specified table name resolver.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form