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
- AbstractNavigableMetamodel<T,
E> - Class in st.orm -
Base implementation for generated navigation-only metamodels — nodes that navigate the entity graph beyond a
Refforeign key. - AbstractNavigableMetamodel(Class<E>, String, String, boolean, Navigable<T, ?>) - Constructor for class st.orm.AbstractNavigableMetamodel
- AbstractNavigableMetamodel(Class<E>, String, String, boolean, Navigable<T, ?>, boolean) - Constructor for class st.orm.AbstractNavigableMetamodel
- AcceptAdvice - Annotation Interface in st.orm
-
Accepts advice for the annotated entity, repository, class or method, so the advice log stops reporting it there.
- addBatch(Data) - Method in class st.orm.template.impl.PreparedQueryImpl
- addBatch(Data) - Method in interface st.orm.template.PreparedQuery
-
Add a record to the batch.
- ADVICE_CATEGORIES - Static variable in class st.orm.StormConfig
-
Comma-separated categories of advice the
st.orm.sql.advicelog reports:correctness,performanceanddesign. - ADVICE_ENTITY_BUDGET_COLUMNS - Static variable in class st.orm.StormConfig
-
The most columns the design budget lets an entity's read select beyond its own, which design advice checks entities against.
- ADVICE_ENTITY_BUDGET_JOINS - Static variable in class st.orm.StormConfig
-
The most tables the design budget lets an entity's read join, which design advice checks entities against.
- ADVICE_REPEAT_FLOOR - Static variable in class st.orm.StormConfig
-
The time a repeated statement must have taken, on the clock, before it carries advice: the same single-row read or write run again and again, or references fetched one at a time, below it is not advised on.
- after() - Method in interface st.orm.Position
-
Returns
trueif the request continues after the row,falseif it continues before it. - after(Object...) - Method in record class st.orm.Scrollable
-
Returns this request continuing after the row with the given values.
- afterInsert(E) - Method in interface st.orm.EntityCallback
-
Called after an entity has been successfully inserted into the database.
- afterInsert(List<E>) - Method in interface st.orm.EntityCallback
-
Called after a batch of entities has been successfully inserted into the database.
- afterRemove(E) - Method in interface st.orm.EntityCallback
-
Called after an entity has been successfully removed from the database.
- afterRemove(List<E>) - Method in interface st.orm.EntityCallback
-
Called after a batch of entities has been successfully removed from the database.
- afterUpdate(E) - Method in interface st.orm.EntityCallback
-
Called after an entity has been successfully updated in the database.
- afterUpdate(List<E>) - Method in interface st.orm.EntityCallback
-
Called after a batch of entities 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.
- afterUpsert(List<E>) - Method in interface st.orm.EntityCallback
-
Called after a batch of entities 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 class st.orm.template.impl.QueryBuilderImpl.PredicateBuilderImpl
- and(StringTemplate) - Method in interface st.orm.template.PredicateBuilder
-
Adds a predicate to the WHERE clause using an AND condition.
- and(PredicateBuilder<? extends T, ?, ?>) - Method in interface st.orm.template.PredicateBuilder
-
Adds a predicate to the WHERE clause using an AND condition.
- and(PredicateBuilder<? extends TX, ?, ?>) - Method in class st.orm.template.impl.QueryBuilderImpl.PredicateBuilderImpl
- 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.
- antiJoin(Class<? extends Data>) - Method in class st.orm.template.impl.QueryBuilderImpl
-
Adds an anti-join to the query.
- antiJoin(Class<? extends Data>) - Method in class st.orm.template.QueryBuilder
-
Adds an anti-join to the query: the query keeps the rows that have no related row in the given table matching the condition stated on the join, or no related row at all when the join states none.
- anywhere(Navigable<T, String>) - Static method in interface st.orm.Match
-
Returns a match of a word anywhere in the value, the default of
search. - anywhere(Navigable<T, String>, int) - Static method in interface st.orm.Match
-
Returns a
anywherematch that takes the words in its form once one reaches the given length, and the whole input as the start of the value, ignoring case, before: a longer length keeps a column whose matches rank low, such as one of a related table, in its fallback until a word is long enough to match few rows, and0takes every word in its form. - Anywhere(Metamodel<T, String>) - Constructor for record class st.orm.Match.Anywhere
- Anywhere(Metamodel<T, String>, int) - Constructor for record class st.orm.Match.Anywhere
-
A match with the default fallback, the start of the value, ignoring case.
- Anywhere(Metamodel<T, String>, int, Match<T>) - Constructor for record class st.orm.Match.Anywhere
-
Creates an instance of a
Anywhererecord class. - apply(Metamodel<T, E>) - Method in record class st.orm.SqlFunction
-
Returns the call of this function on the given path, which a query takes where it takes the path.
- argument() - Method in record class st.orm.SqlFunction.Call
-
Returns the value of the
argumentrecord component. - asc(Metamodel<?, ?>) - Static method in record class st.orm.Order
-
Returns an ascending order for the given field.
- asMetamodel() - Method in interface st.orm.Navigable
-
Returns this navigable as a metamodel that can locate a column.
B
- BATCH - Enum constant in enum class st.orm.spi.QueryContext.ExecutionKind
-
The statement is executed as a batch of updates.
- Batches - Search tag in interface st.orm.EntityCallback
- Section
- batchSize() - Method in interface st.orm.spi.QueryContext
-
Returns the number of statements in the batch.
- before(Object...) - Method in record class st.orm.Scrollable
-
Returns this request continuing before the row with the given values.
- beforeInsert(E) - Method in interface st.orm.EntityCallback
-
Called before an entity is inserted into the database.
- beforeRemove(E) - Method in interface st.orm.EntityCallback
-
Called before an entity is removed from 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.impl.BuilderImpl
- build() - Method in class st.orm.template.impl.QueryBuilderImpl
-
Builds the query based on the current state of the query builder.
- build() - Method in interface st.orm.template.ORMTemplate.Builder
-
Builds the ORM template.
- build() - Method in class st.orm.template.QueryBuilder
-
Builds the query based on the current state of the query builder.
- builder(Connection) - Static method in interface st.orm.template.ORMTemplate
-
Returns a builder for constructing an
ORMTemplatebacked by a single connection, with instance-scoped integration strategies. - builder(DataSource) - Static method in interface st.orm.template.ORMTemplate
-
Returns a builder for constructing an
ORMTemplatewith instance-scoped integration strategies. - BuilderImpl - Class in st.orm.template.impl
-
Builds the Java facade over an engine template builder.
- BuilderImpl(ORMTemplate.Builder) - Constructor for class st.orm.template.impl.BuilderImpl
C
- Call(SqlFunction<E>, Metamodel<T, E>) - Constructor for record class st.orm.SqlFunction.Call
-
Creates an instance of a
Callrecord class. - 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.
- cancel() - Method in interface st.orm.Transaction
-
Cancels the transaction: the statement the block is blocked on is stopped through the driver, and no further statement runs in the block.
- canonical() - Method in interface st.orm.Navigable
-
Returns the canonical metamodel for the field represented by
this. - 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.
- Check(String, String, Class<? extends Data>) - Constructor for record class st.orm.IntegrityViolation.Check
-
Creates an instance of a
Checkrecord class. - close() - Method in interface st.orm.spi.QueryObserver.Observation
-
Signals that the observed execution has completed.
- close() - Method in class st.orm.template.impl.PreparedQueryImpl
- close() - Method in interface st.orm.template.PreparedQuery
-
Close the resources associated with this query.
- close() - Method in class st.orm.template.SqlLog.Scope
- close(boolean) - Method in interface st.orm.spi.QueryObserver.TransactionObservation
-
Signals that the observed transaction has completed.
- codec() - Method in record class st.orm.spi.CursorCodecEntry
-
Returns the value of the
codecrecord component. - codecs() - Method in interface st.orm.spi.CursorCodecProvider
-
Returns the list of custom cursor codec entries to register.
- column() - Element in annotation interface st.orm.Discriminator
-
The discriminator column name.
- column() - Method in record class st.orm.Metamodel.Outer
-
Returns the value of the
columnrecord component. - column() - Element in annotation interface st.orm.QueryColumn
-
The database 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.
- ColumnImpl - Record Class in st.orm.template.impl
-
Represents a column in a database table.
- ColumnImpl(Column) - Constructor for record class st.orm.template.impl.ColumnImpl
- ColumnImpl(Column, int, String, Class<?>, boolean, GenerationStrategy, String, boolean, boolean, boolean, boolean, boolean, boolean, String, Metamodel<Data, ?>) - Constructor for record class st.orm.template.impl.ColumnImpl
-
Creates an instance of a
ColumnImplrecord class. - ColumnNameResolver - Interface in st.orm.mapping
-
Resolves the column name for a record component.
- columns() - Method in class st.orm.template.impl.ModelImpl
-
Returns all columns of this model, including columns of expanded relationships.
- columns() - Method in interface st.orm.template.Model
-
Returns all columns of this model, including columns of expanded relationships.
- comment() - Method in interface st.orm.spi.SqlCommenter
-
Returns the comment content for the statement that is about to execute, without comment delimiters, or empty when no comment applies.
- 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
- config(StormConfig) - Method in class st.orm.template.impl.BuilderImpl
- config(StormConfig) - Method in interface st.orm.template.ORMTemplate.Builder
-
Sets the Storm configuration to apply to the template instance.
- constraint() - Element in annotation interface st.orm.FK
-
Indicates whether a corresponding foreign key constraint is expected to exist in the database.
- constraint() - Method in record class st.orm.IntegrityViolation.Check
-
Returns the value of the
constraintrecord component. - constraint() - Method in interface st.orm.IntegrityViolation
-
Returns the name of the violated constraint, as the database reported it.
- constraint() - Method in record class st.orm.IntegrityViolation.ForeignKey
-
Returns the value of the
constraintrecord component. - constraint() - Method in record class st.orm.IntegrityViolation.Referenced
-
Returns the value of the
constraintrecord component. - constraint() - Method in record class st.orm.IntegrityViolation.Unique
-
Returns the value of the
constraintrecord component. - 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. - CONTAINS - Static variable in interface st.orm.Operator
-
Matches a column that contains the given text anywhere in its value.
- CONTAINS_IGNORE_CASE - Static variable in interface st.orm.Operator
-
Matches a column that contains the given text anywhere in its value, ignoring case.
- content() - Method in record class st.orm.Page
-
Returns the value of the
contentrecord component. - content() - Method in interface st.orm.Slice
-
Returns the results in this slice, in the order they were read.
- content() - Method in record class st.orm.Window
-
Returns the value of the
contentrecord component. - convert(StringTemplate) - Static method in class st.orm.template.impl.StringTemplates
- convert(TemplateString) - Static method in class st.orm.template.impl.StringTemplates
- 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.
- core() - Method in record class st.orm.template.impl.ColumnImpl
-
Returns the value of the
corerecord component. - count() - Method in interface st.orm.repository.EntityRepository
-
Returns the number of entities in the database of the entity type supported by this repository.
- count() - Method in interface st.orm.repository.ProjectionRepository
-
Returns the number of projections in the database of the projection type supported by this repository.
- 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 class st.orm.template.impl.QueryTemplateImpl
- 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.impl.QueryBuilderImpl
-
Adds a cross join to the query.
- 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.impl.QueryBuilderImpl
-
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
- current() - Static method in interface st.orm.template.ORMTemplate
-
Returns the template of the operation that fired the entity callback running on this thread.
- CursorCodec<T> - Interface in st.orm.spi
-
Encodes and decodes a single scalar value for cursor serialization.
- CursorCodecEntry<T> - Record Class in st.orm.spi
-
A cursor codec registration entry, binding a tag, Java type, and codec together.
- CursorCodecEntry(int, Class<T>, CursorCodec<T>) - Constructor for record class st.orm.spi.CursorCodecEntry
-
Creates an instance of a
CursorCodecEntryrecord class. - CursorCodecProvider - Interface in st.orm.spi
-
Service provider interface for registering custom cursor codecs.
D
- Data - Interface in st.orm
-
Marker interface for record-based data classes.
- dataType() - Method in interface st.orm.spi.ExceptionContext
-
Returns the entity or projection type primarily affected by the failed operation.
- dataType() - Method in interface st.orm.spi.QueryContext
-
Returns the entity or projection type primarily targeted by the statement.
- DATE - Enum constant in enum class st.orm.TemporalType
-
Map as
java.sql.Date - DbColumn - Annotation Interface in st.orm
-
Specifies the name of the database column.
- 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 name of the database table or view, and optionally its schema.
- DECLARED - Enum constant in enum class st.orm.SelectMode
-
Selects only the columns declared on the root table or view.
- declaredColumns() - Method in class st.orm.template.impl.ModelImpl
-
Returns the columns declared directly on this model.
- 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. - deconstruct(T) - Method in interface st.orm.mapping.Instantiator
-
Deconstructs the given instance into its canonical constructor arguments, in declaration order.
- decorator(UnaryOperator<TemplateDecorator>) - Method in class st.orm.template.impl.BuilderImpl
- decorator(UnaryOperator<TemplateDecorator>) - Method in interface st.orm.template.ORMTemplate.Builder
-
Sets a function that transforms the
TemplateDecoratorto customize template processing. - 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.SchemaResolver
-
The default schema resolver, which addresses the schema the entity declares.
- DEFAULT - Static variable in interface st.orm.mapping.TableNameResolver
-
The default table name resolver.
- DEFAULT_MIN_LENGTH - Static variable in interface st.orm.Match
-
The shortest word, in characters, by which a match anywhere or at a word start takes the words in its form by default.
- DEFAULT_VALUE_MIN_LENGTH - Static variable in interface st.orm.Match
-
The shortest word, in characters, a match at the start of the value or of the whole value takes by default, and the shortest input the default fallback takes: a one-character input matches too many rows.
- DefaultConverter - Annotation Interface in st.orm
- DefaultJoinType - Enum Class in st.orm
-
Default implementation of the
JoinTypeinterface used to represent the default join types. - defaultMapper() - Static method in interface st.orm.spi.ExceptionMapper
-
Returns the default exception mapper.
- defaults() - Static method in class st.orm.StormConfig
-
Returns a configuration that reads exclusively from JVM system properties.
- defaults() - Static method in record class st.orm.TransactionOptions
-
Options with every field inherited from the surrounding defaults.
- 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
- DELETE - Enum constant in enum class st.orm.spi.SqlOperation
-
Represents a DELETE operation.
- deleteFrom(Class<T>) - Method in class st.orm.template.impl.QueryTemplateImpl
- deleteFrom(Class<T>) - Method in interface st.orm.template.QueryTemplate
-
Creates a query builder for the specified table to delete from.
- desc(Metamodel<?, ?>) - Static method in record class st.orm.Order
-
Returns a descending order for the given field.
- descending() - Method in record class st.orm.Order
-
Returns the value of the
descendingrecord component. - descending() - Method in record class st.orm.Scrollable
-
Returns this request with the key ordered descending.
- DIRECT - Enum constant in enum class st.orm.spi.StatementOrigin
-
The statement was asked for directly: a repository call, a query builder, or a 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.impl.QueryBuilderImpl
-
Marks the current query as a distinct query.
- 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.
- ENDS_WITH - Static variable in interface st.orm.Operator
-
Matches a column whose value ends with the given text.
- ENDS_WITH_IGNORE_CASE - Static variable in interface st.orm.Operator
-
Matches a column whose value ends with the given text, ignoring case, as
Operator.CONTAINS_IGNORE_CASEmatches it anywhere. - Engine - Class in st.orm.template.impl
-
Verifies that the engine backing this API is on the runtime classpath.
- entity(Class<T>) - Method in interface st.orm.repository.RepositoryLookup
-
Returns the repository for the given entity type.
- entity(Class<T>) - Method in class st.orm.template.impl.ORMTemplateImpl
-
Returns the repository for the given entity type.
- Entity<ID> - Interface in st.orm
-
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.
- EntityCallbacks - Annotation Interface in st.orm
-
Declares the
EntityCallbacktypes that apply to the annotated entity. - 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(),AbstractMetamodel.path()andAbstractMetamodel.field(). - equals(Object) - Method in class st.orm.AbstractNavigableMetamodel
-
Equality is based on
Navigable.tableType(),AbstractNavigableMetamodel.path()andAbstractNavigableMetamodel.field(), matchingAbstractMetamodel, so a navigation-only node and a full metamodel that reach the same field through the same path compare equal. - equals(Object) - Method in record class st.orm.IntegrityViolation.Check
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class st.orm.IntegrityViolation.ForeignKey
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class st.orm.IntegrityViolation.Length
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class st.orm.IntegrityViolation.NotNull
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class st.orm.IntegrityViolation.NumericRange
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class st.orm.IntegrityViolation.Referenced
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class st.orm.IntegrityViolation.Unique
-
Indicates whether some other object is "equal to" this one.
- 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.Match.Anywhere
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class st.orm.Match.Exact
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class st.orm.Match.Prefix
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class st.orm.Match.WordStart
-
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.Metamodel.Outer
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class st.orm.Order
-
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.Scrollable
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class st.orm.spi.CursorCodecEntry
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class st.orm.SqlFunction.Call
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class st.orm.SqlFunction
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class st.orm.template.impl.ColumnImpl
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class st.orm.TransactionOptions
-
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
=operator. - EQUALS_IGNORE_CASE - Static variable in interface st.orm.Operator
-
Matches a column whose value equals the given text, ignoring case.
- error(Throwable) - Method in interface st.orm.spi.QueryObserver.Observation
-
Signals that the observed execution failed.
- error(Throwable) - Method in interface st.orm.spi.QueryObserver.TransactionObservation
-
Signals that completing the observed transaction failed.
- 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.
- exact(Navigable<T, String>) - Static method in interface st.orm.Match
-
Returns a match of a word as the whole value, with the column bare and the word lowered, which an ordinary index over a column that compares case-insensitively serves.
- exact(Navigable<T, String>, int) - Static method in interface st.orm.Match
-
Returns a
exactmatch that takes words of at least the given length. - Exact(Metamodel<T, String>) - Constructor for record class st.orm.Match.Exact
- Exact(Metamodel<T, String>, int) - Constructor for record class st.orm.Match.Exact
-
A match on the bare column without a fallback.
- Exact(Metamodel<T, String>, int, boolean) - Constructor for record class st.orm.Match.Exact
-
A match without a fallback, its own form being narrow.
- Exact(Metamodel<T, String>, int, boolean, Match<T>) - Constructor for record class st.orm.Match.Exact
-
Creates an instance of a
Exactrecord class. - exactIgnoreCase(Navigable<T, String>) - Static method in interface st.orm.Match
-
Returns a match of a word as the whole value, ignoring case: the column lowered as well as the word, on any column, which an index over
LOWER(column)serves, the index of a match anywhere or at a word start included. - exactIgnoreCase(Navigable<T, String>, int) - Static method in interface st.orm.Match
-
Returns a
exactIgnoreCasematch that takes words of at least the given length. - 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
- Example: Update with WHERE clause - Search tag in class st.orm.template.QueryBuilder
- Section
- ExceptionContext - Interface in st.orm.spi
-
Describes the execution context in which a failure occurred.
- exceptionMapper(ExceptionMapper) - Method in class st.orm.template.impl.BuilderImpl
- exceptionMapper(ExceptionMapper) - Method in interface st.orm.template.ORMTemplate.Builder
-
Sets the exception mapper that maps failures raised during query execution to the runtime exception thrown to the caller.
- ExceptionMapper - Interface in st.orm.spi
-
Maps failures raised during query execution to the runtime exception thrown to the caller.
- execute(Transaction) - Method in interface st.orm.template.TransactionBlock
-
Executes the transactional logic.
- executeBatch() - Method in class st.orm.template.impl.QueryImpl
-
Execute a batch of commands.
- executeBatch() - Method in interface st.orm.template.Query
-
Execute a batch of commands.
- executeUpdate() - Method in class st.orm.template.impl.QueryImpl
-
Execute a command, such as an INSERT, UPDATE, or DELETE statement.
- 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
-
Executes the UPDATE or DELETE statement this builder builds, from
update()ordelete(). - 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() - Method in class st.orm.template.impl.QueryBuilderImpl
-
Delegates to the core builder, which executes a statement derived from the builder's shape that stops at the first matching row.
- exists() - Method in class st.orm.template.QueryBuilder
-
Returns whether this query has a result.
- 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.
- fallback() - Method in record class st.orm.Match.Anywhere
-
Returns the value of the
fallbackrecord component. - fallback() - Method in record class st.orm.Match.Exact
-
Returns the value of the
fallbackrecord component. - fallback() - Method in interface st.orm.Match
-
Returns how the column matches the whole input, its words joined by one space, while no word reaches the match's
Match.minLength(), ornullwhere the column then takes no part. - fallback() - Method in record class st.orm.Match.Prefix
-
Returns the value of the
fallbackrecord component. - fallback() - Method in record class st.orm.Match.WordStart
-
Returns the value of the
fallbackrecord component. - 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.
- fetch(List<? extends Navigable<T, ? extends Data>>) - Method in class st.orm.template.impl.QueryBuilderImpl
-
Resolves the references at the specified paths as part of this query.
- fetch(List<? extends Navigable<T, ? extends Data>>) - Method in class st.orm.template.QueryBuilder
-
Resolves the references at the specified paths as part of this query.
- fetch(Navigable<T, ? extends Data>, Navigable<T, ? extends Data>...) - Method in class st.orm.template.QueryBuilder
-
Resolves the references at the specified paths as part of this query.
- FETCH - Enum constant in enum class st.orm.spi.StatementOrigin
-
The statement resolves a reference whose record was not loaded, through
Ref.fetch()orRef.fetchOrNull(). - 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 class st.orm.AbstractNavigableMetamodel
- field() - Method in record class st.orm.Metamodel.KeyDelegate
- field() - Method in record class st.orm.Metamodel.Outer
- field() - Method in interface st.orm.Navigable
-
Returns the field name.
- field() - Method in record class st.orm.Order
-
Returns the value of the
fieldrecord component. - field() - Element in annotation interface st.orm.QueryColumn
-
The name of the metamodel field, such as
lastNameFoldedforOwner_.lastNameFolded. - field() - Method in record class st.orm.SqlFunction.Call
- FIELD - Enum constant in enum class st.orm.UpdateMode
-
Field-level updates with column-level dirty detection.
- fieldPath() - Method in interface st.orm.Navigable
-
Returns the field path.
- fields() - Method in interface st.orm.IntegrityViolation
-
Returns the fields the violation resolves to.
- fields() - Method in record class st.orm.IntegrityViolation.ForeignKey
-
Returns the value of the
fieldsrecord component. - fields() - Method in record class st.orm.IntegrityViolation.Length
-
Returns the value of the
fieldsrecord component. - fields() - Method in record class st.orm.IntegrityViolation.NotNull
-
Returns the value of the
fieldsrecord component. - fields() - Method in record class st.orm.IntegrityViolation.NumericRange
-
Returns the value of the
fieldsrecord component. - fields() - Method in record class st.orm.IntegrityViolation.Unique
-
Returns the value of the
fieldsrecord component. - 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 class st.orm.AbstractNavigableMetamodel
- fieldType() - Method in record class st.orm.Metamodel.KeyDelegate
- fieldType() - Method in record class st.orm.Metamodel.Outer
- fieldType() - Method in interface st.orm.Navigable
-
Returns the field type of the designated element.
- fieldType() - Method in record class st.orm.SqlFunction.Call
- 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 record class st.orm.Metamodel.KeyDelegate
- flatten() - Method in record class st.orm.Metamodel.Outer
- flatten() - Method in interface st.orm.Navigable
-
Returns a flat list of leaf metamodels for this navigable.
- flatten() - Method in record class st.orm.SqlFunction.Call
- forEachValue(List<Column>, E, BiConsumer<Column, Object>) - Method in class st.orm.template.impl.ModelImpl
-
Iterates over the values of the given columns for the supplied record.
- 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.
- foreignKey() - Method in record class st.orm.template.impl.ColumnImpl
-
Returns the value of the
foreignKeyrecord component. - ForeignKey(String, String, Class<? extends Data>, List<Metamodel<?, ?>>) - Constructor for record class st.orm.IntegrityViolation.ForeignKey
-
Creates an instance of a
ForeignKeyrecord class. - 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.impl.QueryBuilderImpl
-
Locks the selected rows using a custom lock mode.
- forLock(StringTemplate) - Method in class st.orm.template.QueryBuilder
-
Locks the selected rows using a custom lock mode.
- format(String, String...) - Method in interface st.orm.Operator
-
Formats the operator with bind variables matching the specified size.
- forShare() - Method in class st.orm.template.impl.QueryBuilderImpl
-
Locks the selected rows for reading.
- forShare() - Method in class st.orm.template.QueryBuilder
-
Locks the selected rows for reading.
- forUpdate() - Method in class st.orm.template.impl.QueryBuilderImpl
-
Locks the selected rows for reading.
- forUpdate() - Method in class st.orm.template.QueryBuilder
-
Locks the selected rows for reading.
- 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(String) - Method in record class st.orm.Scrollable
-
Returns this request at the position a cursor string carries, as produced by
Scrollable.toCursor(),Window.nextCursor()orWindow.previousCursor(). - from(StringTemplate, String) - Static method in interface st.orm.template.Templates
-
Generates a FROM element using a provided SQL string template with an alias.
- fromDatabase(D) - Method in interface st.orm.Converter
-
Converts a database column value to an entity value.
- fromJdbcLevel(int) - Static method in enum class st.orm.TransactionIsolation
-
Returns the isolation level for the given JDBC constant.
- function() - Element in annotation interface st.orm.QueryColumn
-
The SQL function whose result the column stores, such as
fold_accentsfor a generated column holdingfold_accents(last_name). - function() - Method in record class st.orm.SqlFunction.Call
-
Returns the value of the
functionrecord component. - function() - Method in interface st.orm.template.Column
-
Returns the SQL function whose result a query column stores, which a value compared with the column passes through on the value side:
title_folded = fold_accents(?). - function() - Method in record class st.orm.template.impl.ColumnImpl
-
Returns the value of the
functionrecord component.
G
- General rules - Search tag in annotation interface st.orm.DynamicUpdate
- Section
- General rules - Search tag in enum class st.orm.UpdateMode
- Section
- GenerateMetamodel - Annotation Interface in st.orm
-
Indicates that a metamodel class should be generated for the annotated record or data class.
- 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.
- generation() - Method in record class st.orm.template.impl.ColumnImpl
-
Returns the value of the
generationrecord component. - 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. - get() - Method in interface st.orm.template.TransactionSupplier
-
Executes the block.
- getActualRowCount() - Method in exception class st.orm.UnexpectedRowCountException
-
Returns the number of rows the write affected, as the driver reported it.
- 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.
- getExpectedRowCount() - Method in exception class st.orm.UnexpectedRowCountException
-
Returns the number of rows the write expected to affect.
- getGeneratedKeys(Class<ID>) - Method in class st.orm.template.impl.PreparedQueryImpl
- 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 class st.orm.template.impl.QueryBuilderImpl
- getOptionalResult() - Method in class st.orm.template.impl.QueryImpl
- 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 class st.orm.template.impl.QueryImpl
- 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.
- getOrThrow() - Method in interface st.orm.Ref
-
Returns the record that is already loaded, without querying the database.
- 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 class st.orm.template.impl.QueryImpl
- 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 class st.orm.template.impl.QueryImpl
-
Execute a SELECT query and return the resulting rows as a stream 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 class st.orm.template.impl.QueryBuilderImpl
-
Delegates to the core builder, which executes a dedicated count query derived from the builder's shape.
- getResultCount() - Method in class st.orm.template.impl.QueryImpl
- 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.
- getResultGroupedBy(TypedMetamodel<T, V, V>) - Method in class st.orm.template.impl.QueryBuilderImpl
- getResultGroupedBy(TypedMetamodel<T, V, V>) - Method in class st.orm.template.QueryBuilder
-
Executes the query and returns the results grouped by the record reached via
path, typically the parent entity of a foreign key. - getResultGroupedByRef(Metamodel<T, V>) - Method in class st.orm.template.impl.QueryBuilderImpl
- getResultGroupedByRef(Metamodel<T, V>) - Method in class st.orm.template.QueryBuilder
-
Executes the query and returns the results grouped by a lightweight ref to the record reached via
path, typically the parent entity of a foreign key. - getResultList() - Method in class st.orm.template.impl.QueryBuilderImpl
-
Eager terminals delegate to the core builder, which executes them without the fetch-size hint, avoiding transaction wrapping for eagerly consumed results.
- getResultList() - Method in class st.orm.template.impl.QueryImpl
- 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 class st.orm.template.impl.QueryImpl
- 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 class st.orm.template.impl.QueryBuilderImpl
-
Executes the query and returns a stream of results.
- getResultStream() - Method in class st.orm.template.impl.QueryImpl
-
Execute a SELECT query and return the resulting rows as a stream 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 class st.orm.template.impl.QueryImpl
-
Execute a SELECT query and return the resulting rows as a stream of row instances.
- 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 class st.orm.template.impl.QueryBuilderImpl
- getSingleResult() - Method in class st.orm.template.impl.QueryImpl
- 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 class st.orm.template.impl.QueryImpl
- 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. - getSubquery() - Method in class st.orm.template.impl.QueryBuilderImpl
- 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
- getValue(T) - Method in record class st.orm.Metamodel.Outer
- getValue(T) - Method in record class st.orm.SqlFunction.Call
- getValue(T) - Method in interface st.orm.TypedMetamodel
-
Extracts the value of the field represented by this metamodel from the given record, typed as the declared component type: the field type itself for eagerly fetched fields,
Ref<E>forReffields. - 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.impl.QueryBuilderImpl
-
Adds a GROUP BY clause to the query using a string template.
- groupBy(StringTemplate) - Method in class st.orm.template.QueryBuilder
-
Adds a GROUP BY clause to the query using a string template.
- groupBy(Navigable<? extends T, ?>, Navigable<? extends 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.
H
- hashCode() - Method in class st.orm.AbstractMetamodel
-
Hash code is based on
AbstractMetamodel.fieldType()ofAbstractMetamodel.table(),AbstractMetamodel.path()andAbstractMetamodel.field(). - hashCode() - Method in class st.orm.AbstractNavigableMetamodel
- hashCode() - Method in record class st.orm.IntegrityViolation.Check
-
Returns a hash code value for this object.
- hashCode() - Method in record class st.orm.IntegrityViolation.ForeignKey
-
Returns a hash code value for this object.
- hashCode() - Method in record class st.orm.IntegrityViolation.Length
-
Returns a hash code value for this object.
- hashCode() - Method in record class st.orm.IntegrityViolation.NotNull
-
Returns a hash code value for this object.
- hashCode() - Method in record class st.orm.IntegrityViolation.NumericRange
-
Returns a hash code value for this object.
- hashCode() - Method in record class st.orm.IntegrityViolation.Referenced
-
Returns a hash code value for this object.
- hashCode() - Method in record class st.orm.IntegrityViolation.Unique
-
Returns a hash code value for this object.
- 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.Match.Anywhere
-
Returns a hash code value for this object.
- hashCode() - Method in record class st.orm.Match.Exact
-
Returns a hash code value for this object.
- hashCode() - Method in record class st.orm.Match.Prefix
-
Returns a hash code value for this object.
- hashCode() - Method in record class st.orm.Match.WordStart
-
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.Metamodel.Outer
-
Returns a hash code value for this object.
- hashCode() - Method in record class st.orm.Order
-
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.Scrollable
-
Returns a hash code value for this object.
- hashCode() - Method in record class st.orm.spi.CursorCodecEntry
-
Returns a hash code value for this object.
- hashCode() - Method in record class st.orm.SqlFunction.Call
-
Returns a hash code value for this object.
- hashCode() - Method in record class st.orm.SqlFunction
-
Returns a hash code value for this object.
- hashCode() - Method in record class st.orm.template.impl.ColumnImpl
-
Returns a hash code value for this object.
- hashCode() - Method in record class st.orm.TransactionOptions
-
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 rows existed after this slice at query time. - 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.impl.QueryBuilderImpl
-
Returns
trueif any ORDER BY columns have been added to this query builder. - 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 rows existed before this slice at query time. - hasPrevious() - Method in record class st.orm.Window
-
Returns the value of the
hasPreviousrecord component. - having(StringTemplate) - Method in class st.orm.template.impl.QueryBuilderImpl
-
Adds a HAVING clause to the query using the specified expression.
- having(StringTemplate) - Method in class st.orm.template.QueryBuilder
-
Adds a HAVING clause to the query using the specified expression.
- having(Navigable<? extends T, V>, Operator, Navigable<?, V>) - Method in class st.orm.template.QueryBuilder
-
Adds a HAVING clause that compares the column at the specified path with the column at another path of the query.
- having(Navigable<? extends T, V>, Operator, V...) - Method in class st.orm.template.QueryBuilder
-
Adds a HAVING clause to the query using the specified expression.
- havingExists(QueryBuilder<?, ?, ?>) - Method in class st.orm.template.impl.QueryBuilderImpl
-
Adds a HAVING clause that keeps the groups for which the specified subquery returns at least one row.
- havingExists(QueryBuilder<?, ?, ?>) - Method in class st.orm.template.QueryBuilder
-
Adds a HAVING clause that keeps the groups for which the specified subquery returns at least one row.
- havingNotExists(QueryBuilder<?, ?, ?>) - Method in class st.orm.template.impl.QueryBuilderImpl
-
Adds a HAVING clause that keeps the groups for which the specified subquery returns no rows.
- havingNotExists(QueryBuilder<?, ?, ?>) - Method in class st.orm.template.QueryBuilder
-
Adds a HAVING clause that keeps the groups for which the specified subquery returns no rows.
- hint(String) - Method in class st.orm.template.impl.QueryBuilderImpl
-
Adds an optimizer hint to the statement this builder builds.
- hint(String) - Method in class st.orm.template.QueryBuilder
-
Adds an optimizer hint to the statement this builder builds.
- 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.
- ignoreCase() - Method in record class st.orm.Match.Exact
-
Returns the value of the
ignoreCaserecord component. - ignoreCase() - Method in record class st.orm.Match.Prefix
-
Returns the value of the
ignoreCaserecord component. - IllegalTransactionStateException - Exception Class in st.orm
-
Thrown when a transaction block cannot open against the transaction state it finds:
MANDATORYwithout a transaction,NEVERinside one, a joining block that states a stricter isolation level than the transaction it joins runs at, or a block that states retries but does not own its physical transaction. - IllegalTransactionStateException(String) - Constructor for exception class st.orm.IllegalTransactionStateException
- IllegalTransactionStateException(String, Throwable) - Constructor for exception class st.orm.IllegalTransactionStateException
- Immutability - Search tag in class st.orm.template.QueryBuilder
- Section
- IN - Static variable in interface st.orm.Operator
-
The
INoperator. - IN_LIST - Static variable in class st.orm.StormConfig
-
How an
INlist renders. - index() - Method in interface st.orm.template.Column
-
Gets the 1-based index of the column among the model's columns, or
0for a query column, which has no position among them. - index() - Method in record class st.orm.template.impl.ColumnImpl
-
Returns the value of the
indexrecord component. - Inline - Annotation Interface in st.orm
-
Indicates that the underlying fields of the record component are inlined in this record.
- inner() - Static method in interface st.orm.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.impl.QueryBuilderImpl
-
Adds an inner join to the query.
- 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.impl.QueryBuilderImpl
-
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<? extends Entity<?>>) - Method in interface st.orm.WriteSet
-
Inserts the explicit members and their discovered members, in dependency order.
- 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.
- insert(Entity<?>) - Method in interface st.orm.WriteSet
-
Inserts the given entity and its discovered members; see
WriteSet.insert(Iterable). - insert(Entity<?>...) - Method in interface st.orm.WriteSet
-
Inserts the given entities and their discovered members; see
WriteSet.insert(Iterable). - INSERT - Enum constant in enum class st.orm.spi.SqlOperation
-
Represents an INSERT operation.
- insertable() - Element in annotation interface st.orm.Persist
-
Whether the component will be inserted when the record is persisted.
- insertable() - Method in interface st.orm.template.Column
-
Determines if the column is insertable.
- insertable() - Method in record class st.orm.template.impl.ColumnImpl
-
Returns the value of the
insertablerecord component. - insertAndFetch(E) - Method in interface st.orm.repository.EntityRepository
-
Inserts a single entity into the database and returns the inserted entity with its current state.
- insertAndFetch(E) - Method in interface st.orm.WriteSet
-
Inserts the given entity and its discovered members, and returns the entity as it exists in the database after the insert; see
WriteSet.insertAndFetch(Iterable). - insertAndFetch(Iterable<? extends Entity<?>>) - Method in interface st.orm.WriteSet
-
Inserts like
WriteSet.insert(Iterable)and returns the explicit members as they exist in the database after the insert, in input order. - insertAndFetch(Iterable<E>) - Method in interface st.orm.repository.EntityRepository
-
Inserts a collection of entities into the database in batches.
- insertAndFetch(Stream<E>, int) - Method in interface st.orm.repository.EntityRepository
-
Inserts a stream of entities into the database in batches of the given size and returns the inserted entities as they exist in the database.
- insertAndFetch(Entity<?>...) - Method in interface st.orm.WriteSet
-
Inserts like
WriteSet.insertAndFetch(Iterable)and returns the explicit members as they exist in the database after the insert, in input order; an empty call is a no-op and returns an empty list. - insertAndFetchId(E) - Method in interface st.orm.repository.EntityRepository
-
Inserts an entity into the database and returns its primary key.
- insertAndFetchId(Entity<ID>) - Method in interface st.orm.WriteSet
-
Inserts the given entity and its discovered members and returns its primary key; see
WriteSet.insertAndFetchIds(Iterable). - insertAndFetchIds(Iterable<? extends Entity<ID>>) - Method in interface st.orm.WriteSet
-
Inserts like
WriteSet.insert(Iterable)and returns the primary keys of the explicit members, in input order. - insertAndFetchIds(Iterable<E>) - Method in interface st.orm.repository.EntityRepository
-
Inserts a collection of entities into the database in batches.
- insertAndFetchIds(Stream<E>, int) - Method in interface st.orm.repository.EntityRepository
-
Inserts a stream of entities into the database in batches of the given size and returns the primary keys of the inserted entities.
- INSTANCE - Enum constant in enum class st.orm.DirtyCheck
-
Use identity-based dirty checking.
- instantiate(Object[]) - Method in interface st.orm.mapping.Instantiator
-
Constructs a new instance from the canonical constructor arguments.
- Instantiator<T> - Interface in st.orm.mapping
-
Constructs record instances without reflection.
- INTEGER - Enum constant in enum class st.orm.Discriminator.DiscriminatorType
-
INTEGER discriminator column.
- IntegrityViolation - Interface in st.orm
-
A value that breaks a rule of its table: a duplicate under a unique key, a reference to a row that does not exist, a null in a column that refuses it, a value a check constraint rejects, or a value too large for its column.
- IntegrityViolation.Check - Record Class in st.orm
-
A value a check constraint rejects.
- IntegrityViolation.ForeignKey - Record Class in st.orm
-
A foreign key that references a row that does not exist.
- IntegrityViolation.Length - Record Class in st.orm
-
A string longer than its column.
- IntegrityViolation.NotNull - Record Class in st.orm
-
A null in a column that does not accept one.
- IntegrityViolation.NumericRange - Record Class in st.orm
-
A number with more digits before the decimal point than its column holds.
- IntegrityViolation.Referenced - Record Class in st.orm
-
A row that other rows still reference through a foreign key, so it cannot be removed, or have its key changed.
- IntegrityViolation.Unique - Record Class in st.orm
-
A value, or a combination of values, that another row already holds under a unique key or the primary key.
- IntegrityViolationException - Exception Class in st.orm
-
Thrown when a value breaks a rule of its table: a write the database refuses for a constraint, a null in a non-nullable field at write time, or a value that
validateOrThrowfinds too large for its column. - IntegrityViolationException(String, List<IntegrityViolation>) - Constructor for exception class st.orm.IntegrityViolationException
-
Constructs a new exception with the specified detail message and violations.
- IntegrityViolationException(String, List<IntegrityViolation>, Throwable) - Constructor for exception class st.orm.IntegrityViolationException
-
Constructs a new exception with the specified detail message, violations and cause.
- InvalidCursorException - Exception Class in st.orm
-
Thrown when a cursor string cannot be turned into a position: it is malformed, was issued by an earlier cursor format, was issued for another ordering or codec registry, or carries a value of the wrong type.
- InvalidCursorException(String) - Constructor for exception class st.orm.InvalidCursorException
-
Constructs a new exception with the specified detail message.
- InvalidCursorException(String, Throwable) - Constructor for exception class st.orm.InvalidCursorException
-
Constructs a new exception with the specified detail message and cause.
- 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.
- isCall(Metamodel<?, ?>) - Static method in record class st.orm.SqlFunction
-
Returns
trueif the path is a function call, directly or as the key it is viewed as. - 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 class st.orm.AbstractNavigableMetamodel
- isColumn() - Method in record class st.orm.Metamodel.KeyDelegate
- isColumn() - Method in record class st.orm.Metamodel.Outer
- isColumn() - Method in interface st.orm.Navigable
-
Returns
trueif this navigable corresponds to a database column,falseotherwise (for example the root navigable or an inline record). - isColumn() - Method in record class st.orm.SqlFunction.Call
- isCommitted() - Method in exception class st.orm.TransactionCallbackException
-
Whether the transaction committed before the failing callback ran.
- 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 class st.orm.template.impl.ModelImpl
-
Returns {code true} if the specified primary key represents a default value,
falseotherwise. - isDefaultPrimaryKey(ID) - Method in interface st.orm.template.Model
-
This method is used to check if the primary key of the entity is a default value.
- isEmpty() - Method in interface st.orm.Slice
-
Returns
trueif this slice holds no results. - 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.
- 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
- isIdentical(T, T) - Method in record class st.orm.Metamodel.Outer
- isIdentical(T, T) - Method in record class st.orm.SqlFunction.Call
- isInline() - Method in class st.orm.AbstractMetamodel
-
Returns
trueif the metamodel corresponds to an inline record, returnsfalseotherwise. - isInline() - Method in class st.orm.AbstractNavigableMetamodel
- isInline() - Method in record class st.orm.Metamodel.KeyDelegate
- isInline() - Method in record class st.orm.Metamodel.Outer
- isInline() - Method in interface st.orm.Navigable
-
Returns
trueif this navigable corresponds to an inline record,falseotherwise. - isInline() - Method in record class st.orm.SqlFunction.Call
- 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
-
Returns the nullability of the underlying field.
- isolation() - Method in record class st.orm.TransactionOptions
-
Returns the value of the
isolationrecord component. - 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.
- isOuter(Navigable<?, ?>) - Static method in interface st.orm.Metamodel
-
Returns whether the path names a column of an enclosing query: a path made by
Metamodel.outer(Navigable), aSqlFunctioncall on one, or a key view of one. - isRollbackOnly() - Method in interface st.orm.Transaction
-
Whether the transaction is marked rollback-only.
- 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
- isSame(T, T) - Method in record class st.orm.Metamodel.Outer
- isSame(T, T) - Method in record class st.orm.SqlFunction.Call
- isVersionAware() - Method in class st.orm.template.impl.QueryImpl
-
Returns true if the query is version aware, false otherwise.
- isVersionAware() - Method in interface st.orm.template.Query
-
Returns true if the query is version aware, false otherwise.
- iterator() - Method in interface st.orm.Slice
J
- jdbcLevel() - Method in enum class st.orm.TransactionIsolation
-
The corresponding
Connectionisolation constant. - join(JoinType, Class<? extends Data>, String) - Method in class st.orm.template.impl.QueryBuilderImpl
-
Adds a join of the specified type to the query.
- 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.impl.QueryBuilderImpl
-
Adds a join of the specified type to the query using a template.
- join(JoinType, StringTemplate, String) - Method in class st.orm.template.QueryBuilder
-
Adds a join of the specified type to the query using a template.
- join(JoinType, QueryBuilder<?, ?, ?>, String) - Method in class st.orm.template.impl.QueryBuilderImpl
-
Adds a join of the specified type to the query using a subquery.
- join(JoinType, QueryBuilder<?, ?, ?>, String) - Method in class st.orm.template.QueryBuilder
-
Adds a join of the specified type to the query using a subquery.
- 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. - KeyDelegate(Metamodel<T, E>) - Constructor for record class st.orm.Metamodel.KeyDelegate
-
Creates an instance of a
KeyDelegaterecord class. - keyDescending() - Method in record class st.orm.Scrollable
-
Returns the value of the
keyDescendingrecord component. - kind() - Method in interface st.orm.spi.QueryContext
-
Returns how the statement is executed.
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.impl.QueryBuilderImpl
-
Adds a left join to the query.
- 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.impl.QueryBuilderImpl
-
Adds a left join to the query.
- leftJoin(StringTemplate, String) - Method in class st.orm.template.QueryBuilder
-
Adds a left join to the query.
- Length(String, Class<? extends Data>, List<Metamodel<?, ?>>, Integer) - Constructor for record class st.orm.IntegrityViolation.Length
-
Creates an instance of a
Lengthrecord class. - LESS_THAN - Static variable in interface st.orm.Operator
-
The
<operator. - LESS_THAN_OR_EQUAL - Static variable in interface st.orm.Operator
-
The
<=operator. - LIKE - Static variable in interface st.orm.Operator
-
The
LIKEoperator. - limit(int) - Method in class st.orm.template.impl.QueryBuilderImpl
-
Adds a LIMIT clause to the query.
- limit(int) - Method in class st.orm.template.QueryBuilder
-
Adds a LIMIT clause to the query.
- loadSchema() - Method in class st.orm.template.impl.ORMTemplateImpl
- loadSchema() - Method in interface st.orm.template.ORMTemplate
-
Loads the database schema of all discovered entity and projection types, without validating them, and keeps it for the data source.
- loadSchema(Predicate<Class<? extends Data>>) - Method in class st.orm.template.impl.ORMTemplateImpl
- loadSchema(Predicate<Class<? extends Data>>) - Method in interface st.orm.template.ORMTemplate
-
Loads the database schema of the discovered types matching the filter, without validating them, and keeps it for the data source.
M
- MANDATORY - Enum constant in enum class st.orm.TransactionPropagation
-
Joins the active transaction; fails when none is active.
- manualCommitConnections() - Method in class st.orm.template.impl.BuilderImpl
- manualCommitConnections() - Method in interface st.orm.template.ORMTemplate.Builder
-
Declares that the data source hands out connections with auto-commit disabled.
- map(Throwable, ExceptionContext) - Method in interface st.orm.spi.ExceptionMapper
-
Maps the given failure to the runtime exception that is thrown to the caller.
- mapping(Map<String, String>) - Static method in interface st.orm.mapping.SchemaResolver
-
Returns a schema resolver that maps declared schemas to other names, and leaves every schema it does not name as declared.
- Match<T> - Interface in st.orm
-
A text column of a
searchorsuggestwith the form a typed word matches it in. - Match.Anywhere<T> - Record Class in st.orm
-
A word matches anywhere in the value:
LOWER(column) LIKE LOWER('%word%'). - Match.Exact<T> - Record Class in st.orm
-
A word matches the whole value.
- Match.Prefix<T> - Record Class in st.orm
-
A word matches at the start of the value.
- Match.WordStart<T> - Record Class in st.orm
-
A word matches at the start of any word in the value: the value's start, or the text after a space or one of the punctuation characters that join or separate the words of a name, a hyphen, an apostrophe, an opening parenthesis, a slash, a colon, a period or a comma, so
mariematches "Anne-Marie" andbrien"O'Brien". - maxLength() - Method in record class st.orm.IntegrityViolation.Length
-
Returns the value of the
maxLengthrecord component. - metamodel() - Method in interface st.orm.template.Column
-
Gets the metamodel of the column.
- metamodel() - Method in record class st.orm.template.impl.ColumnImpl
-
Returns the value of the
metamodelrecord component. - 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. - Metamodel.Outer<T,
E> - Record Class in st.orm -
A path named in the query that encloses the subquery it is used in, see
Metamodel.outer(Navigable). - 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. - minLength() - Method in record class st.orm.Match.Anywhere
-
Returns the value of the
minLengthrecord component. - minLength() - Method in record class st.orm.Match.Exact
-
Returns the value of the
minLengthrecord component. - minLength() - Method in interface st.orm.Match
-
Returns the shortest word, in characters, by which the column takes the words of the input in its form.
- minLength() - Method in record class st.orm.Match.Prefix
-
Returns the value of the
minLengthrecord component. - minLength() - Method in record class st.orm.Match.WordStart
-
Returns the value of the
minLengthrecord 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 class st.orm.template.impl.QueryTemplateImpl
- model(Class<T>) - Method in interface st.orm.template.QueryTemplate
-
Get the model for the specified record
type. - model(Class<T>, boolean) - Method in class st.orm.template.impl.QueryTemplateImpl
- 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.
- ModelImpl<E,
ID> - Class in st.orm.template.impl -
Represents the model of an entity.
- ModelImpl(ModelImpl<E, ID>) - Constructor for class st.orm.template.impl.ModelImpl
- 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() - Method in record class st.orm.SqlFunction
-
Returns the value of the
namerecord component. - name() - Method in interface st.orm.template.Column
-
Gets the name of the column.
- name() - Method in record class st.orm.template.impl.ColumnImpl
-
Returns the value of the
namerecord component. - name() - Method in class st.orm.template.impl.ModelImpl
-
Returns the name of the table or view.
- 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).
- narrow(Class<X>) - Method in class st.orm.template.impl.QueryBuilderImpl
-
Returns a query builder rooted at the specified type.
- narrow(Class<X>) - Method in class st.orm.template.QueryBuilder
-
Returns a query builder rooted at the specified type, narrowing a builder whose root was relaxed by a join.
- Navigable<T,
E> - Interface in st.orm -
The navigational part of a
Metamodel: everything needed to locate a field within the entity graph and use it in a query (filter, join, order, group, select), without exposing value extraction. - NESTED - Enum constant in enum class st.orm.SelectMode
-
Selects the full hierarchical column set.
- NESTED - Enum constant in enum class st.orm.TransactionPropagation
-
Runs within a nested transaction (a savepoint) when a transaction is active; otherwise starts a new one.
- Nested Paths (Fully Qualified) - Search tag in interface st.orm.Metamodel
- Section
- NEVER - Enum constant in enum class st.orm.TransactionPropagation
-
Runs without a transaction; fails when one is active.
- 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.Page
-
Returns the request for the page after this one, preserving sort orders.
- 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(). - 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. - noop() - Static method in interface st.orm.spi.QueryObserver
- NOOP - Static variable in interface st.orm.spi.QueryObserver
-
Observer that ignores all executions.
- NOOP - Static variable in interface st.orm.spi.QueryObserver.Observation
-
An observation that ignores all signals.
- NOOP - Static variable in interface st.orm.spi.QueryObserver.TransactionObservation
-
An observation that ignores all signals.
- 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_CONTAINS - Static variable in interface st.orm.Operator
-
Matches a column that does not contain the given text, the negation of
Operator.CONTAINS. - NOT_CONTAINS_IGNORE_CASE - Static variable in interface st.orm.Operator
-
Matches a column that does not contain the given text, ignoring case, the negation of
Operator.CONTAINS_IGNORE_CASE. - NOT_ENDS_WITH - Static variable in interface st.orm.Operator
-
Matches a column whose value does not end with the given text, the negation of
Operator.ENDS_WITH. - NOT_ENDS_WITH_IGNORE_CASE - Static variable in interface st.orm.Operator
-
Matches a column whose value does not end with the given text, ignoring case, the negation of
Operator.ENDS_WITH_IGNORE_CASE. - NOT_EQUALS - Static variable in interface st.orm.Operator
-
The
<>operator. - NOT_EQUALS_IGNORE_CASE - Static variable in interface st.orm.Operator
-
Matches a column whose value does not equal the given text, ignoring case, the negation of
Operator.EQUALS_IGNORE_CASE. - NOT_IN - Static variable in interface st.orm.Operator
-
The
NOT INoperator. - NOT_LIKE - Static variable in interface st.orm.Operator
-
The
NOT LIKEoperator. - NOT_STARTS_WITH - Static variable in interface st.orm.Operator
-
Matches a column whose value does not start with the given text, the negation of
Operator.STARTS_WITH. - NOT_STARTS_WITH_IGNORE_CASE - Static variable in interface st.orm.Operator
-
Matches a column whose value does not start with the given text, ignoring case, the negation of
Operator.STARTS_WITH_IGNORE_CASE. - NOT_SUPPORTED - Enum constant in enum class st.orm.TransactionPropagation
-
Runs without a transaction, suspending the active one for the duration of the block.
- notExists(QueryBuilder<?, ?, ?>) - Method in class st.orm.template.WhereBuilder
-
Adds an
NOT EXISTScondition to the WHERE clause using the specified subquery. - NotNull(String, Class<? extends Data>, List<Metamodel<?, ?>>) - Constructor for record class st.orm.IntegrityViolation.NotNull
-
Creates an instance of a
NotNullrecord class. - nullable() - Method in record class st.orm.mapping.RecordField
-
Returns the value of the
nullablerecord component. - nullable() - Element in annotation interface st.orm.QueryColumn
-
Whether the column allows null.
- nullable() - Method in interface st.orm.template.Column
-
Determines if the column is nullable.
- nullable() - Method in record class st.orm.template.impl.ColumnImpl
-
Returns the value of the
nullablerecord component. - 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.
- NumericRange(String, Class<? extends Data>, List<Metamodel<?, ?>>, Integer, Integer) - Constructor for record class st.orm.IntegrityViolation.NumericRange
-
Creates an instance of a
NumericRangerecord class.
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(String) - Static method in record class st.orm.SqlFunction
-
Returns the function of the given name.
- 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(List<R>, boolean, boolean) - Static method in interface st.orm.Slice
-
Creates a plain slice with the given content and flags.
- 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 row identity.
- of(PredicateBuilder<TX, RX, IDX>) - Static method in class st.orm.template.impl.QueryBuilderImpl.PredicateBuilderImpl
-
Returns the predicate builder of the Java API over the given core predicate builder.
- of(Metamodel.Key<T, ?>, int) - Static method in record class st.orm.Scrollable
-
Creates a request for the first window, ordered by the key ascending.
- 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.impl.QueryBuilderImpl
-
Adds an OFFSET clause to the query.
- 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(Class<? extends Data>, Function<WhereBuilder<Data, R, ID>, PredicateBuilder<Data, ?, ?>>) - Method in interface st.orm.template.TypedJoinBuilder
-
Specifies the relation to join on, with a condition the join adds to the foreign key it resolves.
- on(StringTemplate) - Method in interface st.orm.template.JoinBuilder
-
Specifies the join condition using a custom expression.
- on(Function<WhereBuilder<Data, R, ID>, PredicateBuilder<Data, ?, ?>>) - Method in interface st.orm.template.TypedJoinBuilder
-
Specifies the relation to join on as a predicate, which states it as a whole: the keys it equates and any condition on the joined rows.
- on(Metamodel<?, ?>) - Method in interface st.orm.IntegrityViolation
-
Returns whether the violation resolves to the given field.
- onCommit(Runnable) - Method in interface st.orm.Transaction
-
Registers a callback invoked after the physical transaction commits successfully.
- onCompletion(Consumer<Boolean>) - Method in interface st.orm.Transaction
-
Registers a callback invoked after the physical transaction completes, whichever way it completed.
- onExecute(QueryContext) - Method in interface st.orm.spi.QueryObserver
-
Called when a statement execution starts.
- onRecord(Data) - Method in interface st.orm.BindVars.RecordListener
-
Invoked when a new record is processed.
- onRollback(Runnable) - Method in interface st.orm.Transaction
-
Registers a callback invoked after the physical transaction rolls back.
- onTransaction(TransactionOptions) - Method in interface st.orm.spi.QueryObserver
-
Called when a physical transaction opens: an outermost transaction block, or a
REQUIRES_NEWblock. - open(String) - Static method in class st.orm.template.SqlLog
-
Opens a scope on the calling thread, closed with try-with-resources.
- open(String, int) - Static method in class st.orm.template.SqlLog
-
Opens a scope on the calling thread, recording up to
limitstatements. - open(String, int, boolean) - Static method in class st.orm.template.SqlLog
-
Opens a scope that additionally attributes each execution to the application frame that caused it, which costs a stack walk per execution while the scope records.
- operation() - Method in interface st.orm.spi.ExceptionContext
-
Classifies the kind of SQL statement that failed.
- operation() - Method in interface st.orm.spi.QueryContext
-
Classifies the kind of SQL statement being executed.
- 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: the row changed, or was removed, after the entity was read.
- 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 class st.orm.template.impl.QueryBuilderImpl.PredicateBuilderImpl
- or(StringTemplate) - Method in interface st.orm.template.PredicateBuilder
-
Adds a predicate to the WHERE clause using an OR condition.
- or(PredicateBuilder<? extends T, ?, ?>) - Method in interface st.orm.template.PredicateBuilder
-
Adds a predicate to the WHERE clause using an OR condition.
- or(PredicateBuilder<? extends TX, ?, ?>) - Method in class st.orm.template.impl.QueryBuilderImpl.PredicateBuilderImpl
- Order - Record Class in st.orm
-
A sort order for one metamodel field.
- Order(Metamodel<?, ?>, boolean) - Constructor for record class st.orm.Order
-
Creates an instance of a
Orderrecord class. - orderBy(StringTemplate) - Method in class st.orm.template.impl.QueryBuilderImpl
-
Adds an ORDER BY clause to the query using a string template.
- orderBy(StringTemplate) - Method in class st.orm.template.QueryBuilder
-
Adds an ORDER BY clause to the query using a string template.
- orderBy(Navigable<? extends T, ?>, Navigable<? extends 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(StringTemplate) - Method in class st.orm.template.QueryBuilder
-
Adds an ORDER BY clause to the query using a string template.
- orderByDescending(Navigable<? extends T, ?>, Navigable<? extends 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.
- orderFirst(Function<WhereBuilder<T, R, ID>, PredicateBuilder<T, ?, ?>>) - Method in class st.orm.template.impl.QueryBuilderImpl
- orderFirst(Function<WhereBuilder<T, R, ID>, PredicateBuilder<T, ?, ?>>) - Method in class st.orm.template.QueryBuilder
-
Adds an ORDER BY key that puts the rows matching the predicate before the rows that do not, keeping the order of the keys before it and leaving the order within each part to the keys after it.
- orders() - Method in record class st.orm.Pageable
-
Returns the value of the
ordersrecord component. - orders() - Method in record class st.orm.Scrollable
-
Returns the complete ordering: the sort fields, then the key with its direction.
- ORDINAL - Enum constant in enum class st.orm.EnumType
-
Map using the enum's ordinal position.
- origin() - Method in interface st.orm.spi.QueryContext
-
Returns what caused the statement to execute.
- 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.
- ORMTemplate.Builder - Interface in st.orm.template
-
Builder for constructing an
ORMTemplatewith instance-scoped integration strategies. - ORMTemplateImpl - Class in st.orm.template.impl
- ORMTemplateImpl(ORMTemplate) - Constructor for class st.orm.template.impl.ORMTemplateImpl
- outer(Navigable<T, E>) - Static method in interface st.orm.Metamodel
-
Names the column at the given path in the query that encloses the subquery being built, as the other side of a comparison of two columns:
where(Visit_.pet.id, EQUALS, outer(Pet_.id))keeps the visits of the enclosing query's pet. - Outer(Metamodel<T, E>) - Constructor for record class st.orm.Metamodel.Outer
-
Creates an instance of a
Outerrecord class. - OUTER - Enum constant in enum class st.orm.ResolveScope
-
Resolve the alias from the outer scope(s) only.
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<Order>) - Constructor for record class st.orm.Pageable
-
Creates an instance of a
Pageablerecord class. - 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(P, Function<? super P, ?>) - Static method in interface st.orm.template.Templates
-
Generates a parameter element for the specified value with a converter function.
- 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, 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(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(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. - path() - Method in class st.orm.AbstractMetamodel
-
Returns the path to the database table.
- path() - Method in class st.orm.AbstractNavigableMetamodel
- path() - Method in record class st.orm.Match.Anywhere
-
Returns the value of the
pathrecord component. - path() - Method in record class st.orm.Match.Exact
-
Returns the value of the
pathrecord component. - path() - Method in interface st.orm.Match
-
Returns the text column, as a path.
- path() - Method in record class st.orm.Match.Prefix
-
Returns the value of the
pathrecord component. - path() - Method in record class st.orm.Match.WordStart
-
Returns the value of the
pathrecord component. - path() - Method in record class st.orm.Metamodel.KeyDelegate
- path() - Method in record class st.orm.Metamodel.Outer
- path() - Method in interface st.orm.Navigable
-
Returns the path to the database table.
- path() - Method in record class st.orm.SqlFunction.Call
- 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.
- position() - Method in record class st.orm.Scrollable
-
Returns the value of the
positionrecord component. - Position - Interface in st.orm
-
The row a scroll request continues from, and on which side of it.
- precision() - Method in record class st.orm.IntegrityViolation.NumericRange
-
Returns the value of the
precisionrecord component. - PredicateBuilder<T,
R, - Interface in st.orm.templateID> -
Represents a composable predicate for the WHERE clause of a query, supporting
ANDandORcomposition. - prefix(Navigable<T, String>) - Static method in interface st.orm.Match
-
Returns a match of a word as a prefix of the value, with the column bare and the word lowered, which an ordinary index over a column that compares case-insensitively serves.
- prefix(Navigable<T, String>, int) - Static method in interface st.orm.Match
-
Returns a
prefixmatch that takes words of at least the given length. - Prefix(Metamodel<T, String>) - Constructor for record class st.orm.Match.Prefix
- Prefix(Metamodel<T, String>, int) - Constructor for record class st.orm.Match.Prefix
-
A match on the bare column without a fallback.
- Prefix(Metamodel<T, String>, int, boolean) - Constructor for record class st.orm.Match.Prefix
-
A match without a fallback, its own form being narrow.
- Prefix(Metamodel<T, String>, int, boolean, Match<T>) - Constructor for record class st.orm.Match.Prefix
-
Creates an instance of a
Prefixrecord class. - prefixIgnoreCase(Navigable<T, String>) - Static method in interface st.orm.Match
-
Returns a match of a word as a prefix of the value, ignoring case: the column lowered as well as the word, on any column, which an index over
LOWER(column)serves, the index of a match anywhere or at a word start included. - prefixIgnoreCase(Navigable<T, String>, int) - Static method in interface st.orm.Match
-
Returns a
prefixIgnoreCasematch that takes words of at least the given length. - prepare() - Method in class st.orm.template.impl.QueryImpl
-
Prepares the query for execution.
- 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.
- PreparedQueryImpl - Class in st.orm.template.impl
- PreparedQueryImpl(PreparedQuery) - Constructor for class st.orm.template.impl.PreparedQueryImpl
- previous() - Method in record class st.orm.Page
-
Returns the request for the page before this one, preserving sort orders, or
nullon the first page, where nothing precedes. - previous() - Method in record class st.orm.Pageable
-
Returns a pageable request for the previous page, preserving sort orders, or
nullon page 0, where nothing precedes. - 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(). - 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.
- primaryKey() - Method in record class st.orm.template.impl.ColumnImpl
-
Returns the value of the
primaryKeyrecord component. - 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 class st.orm.template.impl.ModelImpl
-
Returns the type of the primary key.
- 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(Class<T>) - Method in class st.orm.template.impl.ORMTemplateImpl
-
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.
- propagation() - Method in record class st.orm.TransactionOptions
-
Returns the value of the
propagationrecord component.
Q
- query(String) - Method in class st.orm.template.impl.QueryTemplateImpl
- query(String) - Method in interface st.orm.template.QueryTemplate
-
Creates a query for the specified
querystring. - query(StringTemplate) - Method in class st.orm.template.impl.QueryTemplateImpl
- 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.
- QUERY - Enum constant in enum class st.orm.spi.QueryContext.ExecutionKind
-
The statement produces a result set.
- QueryBuilder<T,
R, - Class in st.orm.templateID> -
A fluent builder for constructing type-safe SELECT, UPDATE and DELETE queries using the entity graph and metamodel.
- QueryBuilder() - Constructor for class st.orm.template.QueryBuilder
- QueryBuilderImpl<T,
R, - Class in st.orm.template.implID> - QueryBuilderImpl(QueryBuilder<T, R, ID>) - Constructor for class st.orm.template.impl.QueryBuilderImpl
- QueryBuilderImpl.PredicateBuilderImpl<TX,
RX, - Class in st.orm.template.implIDX> - QueryColumn - Annotation Interface in st.orm
-
Declares a column a query names but the entity or projection does not carry: a query column.
- queryColumns() - Method in class st.orm.template.impl.ModelImpl
- queryColumns() - Method in interface st.orm.template.Model
-
Returns the query columns declared on this model: the columns a query names but the record does not carry, declared with
QueryColumn. - QueryColumns - Annotation Interface in st.orm
-
Declares several
query columnsin one annotation. - QueryContext - Interface in st.orm.spi
-
Describes a single statement execution observed by a
QueryObserver. - QueryContext.ExecutionKind - Enum Class in st.orm.spi
-
Classifies how a statement is executed.
- QueryImpl - Class in st.orm.template.impl
- QueryImpl(Query) - Constructor for class st.orm.template.impl.QueryImpl
- queryObserver(QueryObserver) - Method in class st.orm.template.impl.BuilderImpl
- queryObserver(QueryObserver) - Method in interface st.orm.template.ORMTemplate.Builder
-
Sets the query observer that is notified of query executions performed by the template.
- QueryObserver - Interface in st.orm.spi
-
Observes query executions performed by an ORM template.
- QueryObserver.Observation - Interface in st.orm.spi
-
Tracks a single observed statement execution.
- QueryObserver.TransactionObservation - Interface in st.orm.spi
-
Tracks a single observed physical transaction.
- QueryTemplate - Interface in st.orm.template
-
Provides methods for constructing SQL queries and query builders using String Templates or the fluent API.
- QueryTemplateImpl - Class in st.orm.template.impl
- QueryTemplateImpl(QueryTemplate) - Constructor for class st.orm.template.impl.QueryTemplateImpl
R
- read(DataInputStream) - Method in interface st.orm.spi.CursorCodec
-
Reads a value from the input stream.
- Read - Search tag in interface st.orm.repository.EntityRepository
- Section
- Read - Search tag in interface st.orm.template.Templates
- Section
- READ_COMMITTED - Enum constant in enum class st.orm.TransactionIsolation
-
Dirty reads are prevented; non-repeatable reads and phantom reads can occur.
- READ_UNCOMMITTED - Enum constant in enum class st.orm.TransactionIsolation
-
Dirty reads, non-repeatable reads, and phantom reads can occur.
- readOnly() - Method in record class st.orm.TransactionOptions
-
Returns the value of the
readOnlyrecord component. - ReadOnlyTransactionException - Exception Class in st.orm
-
Thrown when a statement Storm recognises as a write, an
INSERT,UPDATEorDELETE, is executed inside a read-only transaction. - ReadOnlyTransactionException(String) - Constructor for exception class st.orm.ReadOnlyTransactionException
- 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() - Method in record class st.orm.template.impl.ColumnImpl
-
Returns the value of the
refrecord component. - ref(E) - Method in interface st.orm.repository.EntityRepository
-
Creates a new ref entity instance for the specified entity.
- ref(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 class st.orm.template.impl.QueryTemplateImpl
- 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 class st.orm.template.impl.QueryTemplateImpl
- 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.
- Referenced(String, String, Class<? extends Data>) - Constructor for record class st.orm.IntegrityViolation.Referenced
-
Creates an instance of a
Referencedrecord class. - remove(E) - Method in interface st.orm.repository.EntityRepository
-
Removes an entity from the database.
- remove(Iterable<? extends Entity<?>>) - Method in interface st.orm.WriteSet
-
Removes the given entities, children before parents.
- 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 batches of the given size.
- remove(Entity<?>) - Method in interface st.orm.WriteSet
-
Removes the given entity; see
WriteSet.remove(Iterable). - remove(Entity<?>...) - Method in interface st.orm.WriteSet
-
Removes the given entities, children before parents; see
WriteSet.remove(Iterable). - 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.
- removeById(Iterable<ID>) - Method in interface st.orm.repository.EntityRepository
-
Removes the entities identified by the ids from the database in batches.
- removeById(Stream<ID>) - Method in interface st.orm.repository.EntityRepository
-
Removes the entities identified by a stream of ids from the database in batches.
- removeById(Stream<ID>, int) - Method in interface st.orm.repository.EntityRepository
-
Removes the entities identified by a stream of ids from the database in batches of the given size.
- removeByRef(Iterable<Ref<E>>) - Method in interface st.orm.repository.EntityRepository
-
Removes the entities identified by the refs from the database in batches.
- removeByRef(Stream<Ref<E>>) - Method in interface st.orm.repository.EntityRepository
-
Removes the entities identified by a stream of refs from the database in batches.
- removeByRef(Stream<Ref<E>>, int) - Method in interface st.orm.repository.EntityRepository
-
Removes the entities identified by a stream of refs from the database in batches of the given size.
- removeByRef(Ref<E>) - Method in interface st.orm.repository.EntityRepository
-
Removes an entity from the database by its reference.
- REPEATABLE_READ - Enum constant in enum class st.orm.TransactionIsolation
-
Dirty reads and non-repeatable reads are prevented; phantom reads can occur.
- repository(Class<R>) - Method in interface st.orm.repository.RepositoryLookup
-
Returns a proxy for the repository of the given type.
- repository(Class<R>) - Method in class st.orm.template.impl.ORMTemplateImpl
-
Returns a proxy for the repository of the given type.
- Repository - Interface in st.orm.repository
-
Base interface for all 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
- require() - Static method in class st.orm.template.impl.Engine
-
Verifies that the engine is available, reporting the missing dependency when it is not.
- REQUIRED - Enum constant in enum class st.orm.TransactionPropagation
-
Joins the active transaction, or starts a new one when none is active.
- requireDataType() - Method in record class st.orm.mapping.RecordField
- requireDataType() - Method in record class st.orm.mapping.RecordType
- REQUIRES_NEW - Enum constant in enum class st.orm.TransactionPropagation
-
Always starts a new, independent transaction, suspending the active one for the duration of the block.
- 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.
- resolveSchema(Class<?>, String) - Method in interface st.orm.mapping.SchemaResolver
-
Resolves the schema of the table the given type maps to.
- 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.
- 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.impl.QueryBuilderImpl
-
Adds a right join to the query.
- 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.impl.QueryBuilderImpl
-
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 class st.orm.AbstractNavigableMetamodel
- root() - Method in record class st.orm.Metamodel.KeyDelegate
- root() - Method in record class st.orm.Metamodel.Outer
- root() - Method in interface st.orm.Navigable
-
Returns the root table type.
- root() - Method in record class st.orm.SqlFunction.Call
- root(Class<T>) - Static method in interface st.orm.Metamodel
-
Creates a new metamodel for the given record type.
S
- scale() - Method in record class st.orm.IntegrityViolation.NumericRange
-
Returns the value of the
scalerecord component. - schema() - Element in annotation interface st.orm.DbTable
-
The database schema name.
- schema() - Method in class st.orm.template.impl.ModelImpl
-
Returns the schema, or empty String if the schema is not specified.
- schema() - Method in interface st.orm.template.Model
-
Returns the schema, or an empty String if the schema is not specified.
- SchemaResolver - Interface in st.orm.mapping
-
Resolves the schema a table lives in, per template.
- 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.impl.QueryBuilderImpl
- scroll(Scrollable<T>) - Method in class st.orm.template.QueryBuilder
-
Executes a scroll request and returns a
Window: the results in the request's sort order, the flags that say whether rows exist after and before the window, and the tokens that continue from it. - Scrollable<T> - Record Class in st.orm
-
A scroll request: an ordering, a window size, and the position to continue from.
- Scrollable(Metamodel.Key<T, ?>, boolean, List<Order>, int, Position) - Constructor for record class st.orm.Scrollable
-
Creates an instance of a
Scrollablerecord class. - scrollRef(Scrollable<E>) - Method in interface st.orm.repository.EntityRepository
-
Scrolls through entities as refs using the given scroll request.
- scrollRef(Scrollable<P>) - Method in interface st.orm.repository.ProjectionRepository
-
Scrolls through projections as refs using the given scroll request.
- search(String, Set<String>, Match<? extends T>, Match<? extends T>...) - Method in class st.orm.template.WhereBuilder
-
Matches the words of a search input against text columns, each in its stated match form, as
WhereBuilder.search(String, Match, Match[])does, ignoring the given words as well, asWhereBuilder.search(String, Set, Navigable, Navigable[])ignores them. - search(String, Set<String>, Navigable<? extends T, String>, Navigable<? extends T, String>...) - Method in class st.orm.template.WhereBuilder
-
Matches the words of a search input against one or more text columns, as
WhereBuilder.search(String, Navigable, Navigable[])does, ignoring the given words as well. - search(String, Match<? extends T>, Match<? extends T>...) - Method in class st.orm.template.WhereBuilder
-
Matches the words of a search input against text columns, each in its stated match form, as
WhereBuilder.search(String, Navigable, Navigable[])matches them anywhere in the value. - search(String, Navigable<? extends T, String>, Navigable<? extends T, String>...) - Method in class st.orm.template.WhereBuilder
-
Matches the words of a search input against one or more text columns.
- 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. - SELECT - Enum constant in enum class st.orm.spi.SqlOperation
-
Represents a SELECT operation.
- 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 class st.orm.template.impl.QueryTemplateImpl
- 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.
- semiJoin(Class<? extends Data>) - Method in class st.orm.template.impl.QueryBuilderImpl
-
Adds a semi-join to the query.
- semiJoin(Class<? extends Data>) - Method in class st.orm.template.QueryBuilder
-
Adds a semi-join to the query: the query keeps the rows that have a related row in the given table matching the conditions that name it, and returns each of them once.
- 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() - Method in record class st.orm.template.impl.ColumnImpl
-
Returns the value of the
sequencerecord component. - SEQUENCE - Enum constant in enum class st.orm.GenerationStrategy
-
The primary key is generated using a database sequence.
- SERIALIZABLE - Enum constant in enum class st.orm.TransactionIsolation
-
Dirty reads, non-repeatable reads, and phantom reads are prevented.
- 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.
- set(Metamodel<? extends T, ?>, StringTemplate) - Method in class st.orm.template.impl.QueryBuilderImpl
- set(Metamodel<? extends T, ?>, StringTemplate) - Method in class st.orm.template.QueryBuilder
-
Sets a column of the rows an UPDATE query updates to the value the given SQL expression computes, such as an increment of the column itself.
- set(Metamodel<? extends T, V>, V) - Method in class st.orm.template.impl.QueryBuilderImpl
- set(Metamodel<? extends T, V>, V) - Method in class st.orm.template.QueryBuilder
-
Sets a column of the rows an UPDATE query updates to the given value.
- set(Metamodel<? extends T, V>, Ref<V>) - Method in class st.orm.template.impl.QueryBuilderImpl
- set(Metamodel<? extends T, V>, Ref<V>) - Method in class st.orm.template.QueryBuilder
-
Sets a foreign key of the rows an UPDATE query updates to the record the given ref refers to.
- setGlobalTransactionOptions(TransactionOptions) - Static method in class st.orm.template.Transactions
-
Sets the global transaction options, affecting new transactions that do not override options locally.
- setNull(Metamodel<? extends T, ?>) - Method in class st.orm.template.QueryBuilder
-
Sets the columns of a field of the rows an UPDATE query updates to
NULL. - setRecordListener(BindVars.RecordListener) - Method in interface st.orm.BindVars
-
Sets a listener that is invoked for each record that is being bound.
- setRollbackOnly() - Method in interface st.orm.Transaction
-
Marks the transaction rollback-only: the block completes normally, but the transaction rolls back.
- shapeId() - Method in interface st.orm.spi.QueryContext
-
Returns the identity of the statement's shape: the template it was generated from, before values were 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. - size() - Method in interface st.orm.Slice
-
Returns the number of results in this slice.
- size(int) - Method in record class st.orm.Scrollable
-
Returns this request with a different window size.
- slice(int, int) - Method in interface st.orm.repository.EntityRepository
-
Returns a slice of entities using offset-based pagination without a count.
- slice(int, int) - Method in interface st.orm.repository.ProjectionRepository
-
Returns a slice of projections using offset-based pagination without a count.
- slice(int, int) - Method in class st.orm.template.QueryBuilder
-
Executes the query and returns a
Sliceof results using offset-based pagination without a count. - slice(Pageable) - Method in interface st.orm.repository.EntityRepository
-
Returns a slice of entities using offset-based pagination without a count.
- slice(Pageable) - Method in interface st.orm.repository.ProjectionRepository
-
Returns a slice of projections using offset-based pagination without a count.
- slice(Pageable) - Method in class st.orm.template.QueryBuilder
-
Executes the query and returns a
Sliceof results using offset-based pagination without a count. - Slice<R> - Interface in st.orm
- sliceRef(int, int) - Method in interface st.orm.repository.EntityRepository
-
Returns a slice of entity refs using offset-based pagination without a count.
- sliceRef(int, int) - Method in interface st.orm.repository.ProjectionRepository
-
Returns a slice of projection refs using offset-based pagination without a count.
- sliceRef(Pageable) - Method in interface st.orm.repository.EntityRepository
-
Returns a slice of entity refs using offset-based pagination without a count.
- sliceRef(Pageable) - Method in interface st.orm.repository.ProjectionRepository
-
Returns a slice of projection refs using offset-based pagination without a count.
- 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.
- sortBy(Metamodel<?, ?>) - Method in record class st.orm.Scrollable
-
Returns this request with an ascending sort field appended before the key.
- sortByDescending(Metamodel<?, ?>) - Method in record class st.orm.Pageable
-
Returns a new pageable with a descending sort order appended for the given field.
- sortByDescending(Metamodel<?, ?>) - Method in record class st.orm.Scrollable
-
Returns this request with a descending sort field appended before the key.
- 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.
- SQL_LOG_CALL_SITE_SKIP - Static variable in class st.orm.StormConfig
-
Comma-separated package prefixes or source file names skipped in SQL log call-site attribution.
- SQL_LOG_LINE_WIDTH - Static variable in class st.orm.StormConfig
-
Display width performance log summary rows aim for, such as 120 for narrow viewers or 240 for wide ones; at least 80.
- SQL_LOG_SLOW_LIMIT - Static variable in class st.orm.StormConfig
-
Slow statement lines reported per shape per minute before the rest are suppressed and counted; zero for no limit.
- SQL_LOG_SLOW_THRESHOLD - Static variable in class st.orm.StormConfig
-
Database time above which a single statement execution is reported under the
st.orm.sql.slowlogger, such as200msor2s; a bare number is milliseconds. - SQL_LOG_SLOW_TRANSACTION - Static variable in class st.orm.StormConfig
-
Time a transaction may hold its connection beyond what its statements spent on it, such as
2s; a transaction idle for longer is reported under thest.orm.sql.slowlogger, with the call site that began it. - sqlCommenter(SqlCommenter) - Method in class st.orm.template.impl.BuilderImpl
- sqlCommenter(SqlCommenter) - Method in interface st.orm.template.ORMTemplate.Builder
-
Sets the SQL commenter that appends per-execution comment content to statements, such as the current trace context.
- SqlCommenter - Interface in st.orm.spi
-
Contributes a comment appended to SQL statements at execution time.
- SqlFunction<E> - Record Class in st.orm
-
A SQL function of one argument, applied to a column wherever a query takes a column.
- SqlFunction(String) - Constructor for record class st.orm.SqlFunction
-
Creates an instance of a
SqlFunctionrecord class. - SqlFunction.Call<T,
E> - Record Class in st.orm -
The call of a function on a path.
- SqlLog - Class in st.orm.template
-
Records the statements a call executes, so a unit of work can be judged by what it cost the database.
- SqlLog.Scope - Class in st.orm.template
-
A scope opened with
SqlLog.open(java.lang.String), reporting its summary once closed. - SqlOperation - Enum Class in st.orm.spi
-
Represents the SQL mode.
- sqlShapingKeys() - Static method in class st.orm.StormConfig
-
Returns the keys of the properties that affect the shape of generated SQL.
- SqlTemplateException - Exception Class in st.orm
-
Thrown to indicate an error occurred while processing a SQL template.
- SqlTemplateException(String) - Constructor for exception class st.orm.SqlTemplateException
-
Constructs a new exception with the specified reason.
- SqlTemplateException(String, Throwable) - Constructor for exception class st.orm.SqlTemplateException
-
Constructs a new exception with the specified reason and cause.
- SqlTemplateException(Throwable) - Constructor for exception class st.orm.SqlTemplateException
-
Constructs a new exception with the specified reason and cause.
- st.orm - package st.orm
-
Foundation of the data model: the mapping annotations and the record interfaces.
- st.orm.mapping - package st.orm.mapping
-
Record mapping contracts.
- st.orm.repository - package st.orm.repository
-
Java repository API.
- st.orm.spi - package st.orm.spi
- st.orm.template - package st.orm.template
-
Java client API: templates, query builders and transactions.
- st.orm.template.impl - package st.orm.template.impl
-
Java client API implementation.
- STARTS_WITH - Static variable in interface st.orm.Operator
-
Matches a column whose value starts with the given text.
- STARTS_WITH_IGNORE_CASE - Static variable in interface st.orm.Operator
-
Matches a column whose value starts with the given text, ignoring case, as
Operator.CONTAINS_IGNORE_CASEmatches it anywhere. - statement() - Method in interface st.orm.spi.ExceptionContext
-
Returns the SQL statement that failed, with all parameters replaced by placeholders.
- statement() - Method in interface st.orm.spi.QueryContext
-
Returns the SQL statement being executed, with all parameters replaced by placeholders.
- StatementOrigin - Enum Class in st.orm.spi
-
Classifies what caused a statement to execute.
- storm.foundation - module storm.foundation
- storm.java - module storm.java
- StormConfig - Class in st.orm
-
Immutable, untyped configuration for the Storm ORM framework.
- stream() - Method in interface st.orm.Slice
-
Returns the results as a stream.
- STRING - Enum constant in enum class st.orm.Discriminator.DiscriminatorType
-
VARCHAR discriminator column.
- StringTemplates - Class in st.orm.template.impl
- subquery(Class<T>) - Method in class st.orm.template.impl.QueryTemplateImpl
- subquery(Class<T>) - Method in interface st.orm.template.SubqueryTemplate
-
Create a subquery for the given table.
- subquery(Class<T>, Class<R>) - Method in class st.orm.template.impl.QueryTemplateImpl
- 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 class st.orm.template.impl.QueryTemplateImpl
- 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.
- suggest(String, Set<String>, Match<? extends T>, Match<? extends T>...) - Method in class st.orm.template.WhereBuilder
-
Matches the words of a search box that queries as the user types against text columns, each in its stated match form, as
WhereBuilder.suggest(String, Match, Match[])does, ignoring the given words as well, asWhereBuilder.suggest(String, Set, Navigable, Navigable[])ignores them. - suggest(String, Set<String>, Navigable<? extends T, String>, Navigable<? extends T, String>...) - Method in class st.orm.template.WhereBuilder
-
Matches the words of a search box that queries as the user types against one or more text columns, as
WhereBuilder.suggest(String, Navigable, Navigable[])does, ignoring the given words as well. - suggest(String, Match<? extends T>, Match<? extends T>...) - Method in class st.orm.template.WhereBuilder
-
Matches the words of a search box that queries as the user types against text columns, each in its stated match form, as
WhereBuilder.suggest(String, Navigable, Navigable[])matches them at the start of a word. - suggest(String, Navigable<? extends T, String>, Navigable<? extends T, String>...) - Method in class st.orm.template.WhereBuilder
-
Matches the words of a search box that queries as the user types, such as an auto-complete, against one or more text columns.
- SUPPORTS - Enum constant in enum class st.orm.TransactionPropagation
-
Joins the active transaction when one is active; otherwise runs without a transaction.
T
- table() - Method in class st.orm.AbstractMetamodel
-
Returns the table that holds the column to which this metamodel is pointing.
- table() - Method in class st.orm.AbstractNavigableMetamodel
- table() - Method in record class st.orm.IntegrityViolation.Check
-
Returns the value of the
tablerecord component. - table() - Method in record class st.orm.IntegrityViolation.ForeignKey
-
Returns the value of the
tablerecord component. - table() - Method in record class st.orm.IntegrityViolation.Length
-
Returns the value of the
tablerecord component. - table() - Method in record class st.orm.IntegrityViolation.NotNull
-
Returns the value of the
tablerecord component. - table() - Method in record class st.orm.IntegrityViolation.NumericRange
-
Returns the value of the
tablerecord component. - table() - Method in record class st.orm.IntegrityViolation.Referenced
-
Returns the value of the
tablerecord component. - table() - Method in interface st.orm.IntegrityViolation
-
Returns the table the violated constraint belongs to.
- table() - Method in record class st.orm.IntegrityViolation.Unique
-
Returns the value of the
tablerecord component. - table() - Method in record class st.orm.Metamodel.KeyDelegate
- table() - Method in record class st.orm.Metamodel.Outer
- table() - Method in interface st.orm.Metamodel
-
Returns the table that holds the column to which this metamodel is pointing.
- table() - Method in interface st.orm.Navigable
-
Returns the navigable of the table that holds the column this navigable points to.
- table() - Method in record class st.orm.SqlFunction.Call
- 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.Navigable
-
Returns the type of the table that holds the column this navigable points to.
- tag() - Method in record class st.orm.spi.CursorCodecEntry
-
Returns the value of the
tagrecord component. - 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.
- The ID parameter - Search tag in interface st.orm.Projection
- Section
- TIME - Enum constant in enum class st.orm.TemporalType
-
Map as
java.sql.Time - timeoutSeconds() - Method in record class st.orm.TransactionOptions
-
Returns the value of the
timeoutSecondsrecord component. - TIMESTAMP - Enum constant in enum class st.orm.TemporalType
-
Map as
java.sql.Timestamp - toCursor() - Method in record class st.orm.Scrollable
-
Serializes the position of this request 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 class st.orm.AbstractNavigableMetamodel
- toString() - Method in record class st.orm.IntegrityViolation.Check
-
Returns a string representation of this record class.
- toString() - Method in record class st.orm.IntegrityViolation.ForeignKey
-
Returns a string representation of this record class.
- toString() - Method in record class st.orm.IntegrityViolation.Length
-
Returns a string representation of this record class.
- toString() - Method in record class st.orm.IntegrityViolation.NotNull
-
Returns a string representation of this record class.
- toString() - Method in record class st.orm.IntegrityViolation.NumericRange
-
Returns a string representation of this record class.
- toString() - Method in record class st.orm.IntegrityViolation.Referenced
-
Returns a string representation of this record class.
- toString() - Method in record class st.orm.IntegrityViolation.Unique
-
Returns a string representation of this record class.
- 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.Match.Anywhere
-
Returns a string representation of this record class.
- toString() - Method in record class st.orm.Match.Exact
-
Returns a string representation of this record class.
- toString() - Method in record class st.orm.Match.Prefix
-
Returns a string representation of this record class.
- toString() - Method in record class st.orm.Match.WordStart
-
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.Metamodel.Outer
-
Returns a string representation of this record class.
- toString() - Method in record class st.orm.Order
-
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
-
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.spi.CursorCodecEntry
-
Returns a string representation of this record class.
- toString() - Method in record class st.orm.SqlFunction.Call
-
Returns a string representation of this record class.
- toString() - Method in record class st.orm.SqlFunction
-
Returns a string representation of this record class.
- toString() - Method in record class st.orm.template.impl.ColumnImpl
-
Returns a string representation of this record class.
- toString() - Method in record class st.orm.TransactionOptions
-
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.
- transaction(int, TransactionBlock<R, E>) - Static method in class st.orm.template.Transactions
-
Executes the given block within a database transaction with the surrounding default options, running it again, up to
retriestimes, after an attempt that failed transiently. - transaction(TransactionBlock<R, E>) - Static method in class st.orm.template.Transactions
-
Executes the given block within a database transaction with the surrounding default options.
- transaction(TransactionOptions, int, TransactionBlock<R, E>) - Static method in class st.orm.template.Transactions
-
Executes the given block within a database transaction with the given options, running it again, up to
retriestimes, after an attempt that failed transiently. - transaction(TransactionOptions, TransactionBlock<R, E>) - Static method in class st.orm.template.Transactions
-
Executes the given block within a database transaction with the given options.
- transaction(TransactionPropagation, int, TransactionBlock<R, E>) - Static method in class st.orm.template.Transactions
-
Executes the given block within a database transaction with the given propagation, running it again, up to
retriestimes, after an attempt that failed transiently. - transaction(TransactionPropagation, TransactionBlock<R, E>) - Static method in class st.orm.template.Transactions
-
Executes the given block within a database transaction with the given propagation.
- Transaction - Interface in st.orm
-
Handle to the transaction a transactional block runs in: exposes the rollback-only state and registration of completion callbacks.
- transactional() - Method in interface st.orm.spi.QueryContext
-
Returns whether the execution runs inside a transaction: a transaction block, or a transaction of the template's provider, on the executing thread.
- TransactionBlock<R,
E> - Interface in st.orm.template -
A transactional block executed by
Transactions.transaction(st.orm.template.TransactionBlock<R, E>). - TransactionCallbackException - Exception Class in st.orm
-
Thrown when a transaction completion callback fails.
- TransactionCallbackException(String, Throwable, boolean) - Constructor for exception class st.orm.TransactionCallbackException
- transactionDescription() - Method in interface st.orm.spi.ExceptionContext
-
Returns a description of the transaction in whose scope the failure occurred.
- transactionId() - Method in interface st.orm.spi.QueryContext
-
Returns the identity of the transaction the execution runs in: a number that is the same for every execution in the transaction and different for every other transaction, or
0when the execution runs outside any transaction or the implementation does not know which transaction it runs in. - TransactionIsolation - Enum Class in st.orm
-
Transaction isolation levels, mapping to the JDBC isolation constants.
- TransactionOptions - Record Class in st.orm
-
Options for a transactional block.
- TransactionOptions(TransactionPropagation, TransactionIsolation, Integer, Boolean) - Constructor for record class st.orm.TransactionOptions
-
Creates an instance of a
TransactionOptionsrecord class. - TransactionPropagation - Enum Class in st.orm
-
Defines how a transaction block relates to a transaction that is already active when the block starts.
- Transactions - Search tag in interface st.orm.EntityCallback
- Section
- Transactions - Class in st.orm.template
-
Programmatic transactions for Java.
- TransactionSupplier<R,
E> - Interface in st.orm.template -
A block executed with scoped transaction defaults by
Transactions.withTransactionOptions(st.orm.TransactionOptions, TransactionSupplier). - TransactionTimedOutException - Exception Class in st.orm
-
Thrown when a transaction does not complete within its timeout.
- TransactionTimedOutException(String) - Constructor for exception class st.orm.TransactionTimedOutException
- TransactionTimedOutException(String, Throwable) - Constructor for exception class st.orm.TransactionTimedOutException
- TransientPersistenceException - Exception Class in st.orm
-
Thrown when a failure stems from concurrent activity, such as a deadlock, a serialization failure or an optimistic lock conflict.
- TransientPersistenceException() - Constructor for exception class st.orm.TransientPersistenceException
-
Constructs a new
TransientPersistenceExceptionexception withnullas its detail message. - TransientPersistenceException(String) - Constructor for exception class st.orm.TransientPersistenceException
-
Constructs a new
TransientPersistenceExceptionexception with the specified detail message. - TransientPersistenceException(String, Throwable) - Constructor for exception class st.orm.TransientPersistenceException
-
Constructs a new
TransientPersistenceExceptionexception with the specified detail message and cause. - TransientPersistenceException(Throwable) - Constructor for exception class st.orm.TransientPersistenceException
-
Constructs a new
TransientPersistenceExceptionexception with the specified cause. - 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.IntegrityViolation.Check
-
Returns the value of the
typerecord component. - type() - Method in record class st.orm.IntegrityViolation.ForeignKey
-
Returns the value of the
typerecord component. - type() - Method in record class st.orm.IntegrityViolation.Length
-
Returns the value of the
typerecord component. - type() - Method in record class st.orm.IntegrityViolation.NotNull
-
Returns the value of the
typerecord component. - type() - Method in record class st.orm.IntegrityViolation.NumericRange
-
Returns the value of the
typerecord component. - type() - Method in record class st.orm.IntegrityViolation.Referenced
-
Returns the value of the
typerecord component. - type() - Method in interface st.orm.IntegrityViolation
-
Returns the entity type of the write that was refused.
- type() - Method in record class st.orm.IntegrityViolation.Unique
-
Returns the value of the
typerecord component. - type() - Method in interface st.orm.mapping.Instantiator
-
Returns the record type this instantiator constructs.
- 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() - Element in annotation interface st.orm.QueryColumn
-
The type of the column's values, as a record component's type:
String.class,Integer.class,LocalDate.class, an enum type. - type() - Method in interface st.orm.Ref
-
The type of the record.
- type() - Method in record class st.orm.spi.CursorCodecEntry
-
Returns the value of the
typerecord component. - type() - Method in interface st.orm.template.Column
-
Gets the type of the column.
- type() - Method in record class st.orm.template.impl.ColumnImpl
-
Returns the value of the
typerecord component. - type() - Method in class st.orm.template.impl.ModelImpl
-
Returns the type of the entity or projection.
- type() - Method in interface st.orm.template.Model
-
Returns the type of the entity or projection.
- typedId(Class<X>) - Method in class st.orm.template.impl.QueryBuilderImpl
-
Returns a typed query builder for the specified primary key type.
- typedId(Class<X>) - Method in class st.orm.template.QueryBuilder
-
Returns a query builder whose primary key type is
pkType, so the operations that take an id can be used. - 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.
- TypedMetamodel<T,
E, - Interface in st.ormV> -
A
Metamodelthat also carries the declared component type of the field it represents.
U
- UK - Annotation Interface in st.orm
-
Marks a field as a unique key.
- UNDEFINED - Enum constant in enum class st.orm.spi.SqlOperation
-
Represents an undefined operation.
- UnexpectedRollbackException - Exception Class in st.orm
-
Thrown when a transaction completes with an unexpected rollback: the block finished normally, but the physical transaction was rolled back, for example because a joined inner scope marked it rollback-only.
- UnexpectedRollbackException(String) - Constructor for exception class st.orm.UnexpectedRollbackException
- UnexpectedRollbackException(String, Throwable) - Constructor for exception class st.orm.UnexpectedRollbackException
- UnexpectedRowCountException - Exception Class in st.orm
-
Thrown when a write affects a different number of rows than it expects: an insert, update or remove of an entity that affects no row, or a batch whose affected row count differs from its size.
- UnexpectedRowCountException(String, int, int) - Constructor for exception class st.orm.UnexpectedRowCountException
-
Constructs a new exception with the specified detail message and row counts.
- Unique(String, String, Class<? extends Data>, List<Metamodel<?, ?>>) - Constructor for record class st.orm.IntegrityViolation.Unique
-
Creates an instance of a
Uniquerecord class. - 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 class st.orm.template.impl.QueryBuilderImpl
-
Returns a query builder that allows UPDATE and DELETE queries without a WHERE clause.
- unsafe() - Method in class st.orm.template.impl.QueryImpl
-
Returns a new query that allows dangerous operations, such as DELETE and UPDATE without a WHERE clause.
- 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.
- updatable() - Method in record class st.orm.template.impl.ColumnImpl
-
Returns the value of the
updatablerecord component. - update() - Method in interface st.orm.repository.EntityRepository
-
Creates a new query builder for updating entities of the type managed by this repository.
- 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<? extends Entity<?>>) - Method in interface st.orm.WriteSet
-
Updates the given entities, grouped by type.
- 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(Entity<?>) - Method in interface st.orm.WriteSet
-
Updates the given entity; see
WriteSet.update(Iterable). - update(Entity<?>...) - Method in interface st.orm.WriteSet
-
Updates the given entities; see
WriteSet.update(Iterable). - Update - Search tag in interface st.orm.repository.EntityRepository
- Section
- Update - Search tag in interface st.orm.template.Templates
- Section
- UPDATE - Enum constant in enum class st.orm.spi.QueryContext.ExecutionKind
-
The statement is executed as a single update.
- UPDATE - Enum constant in enum class st.orm.spi.SqlOperation
-
Represents an UPDATE operation.
- 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(E) - Method in interface st.orm.WriteSet
-
Updates the given entity and returns it as it exists in the database after the update; see
WriteSet.updateAndFetch(Iterable). - updateAndFetch(Iterable<? extends Entity<?>>) - Method in interface st.orm.WriteSet
-
Updates like
WriteSet.update(Iterable)and returns the passed entities as they exist in the database after the update, in input order. - updateAndFetch(Iterable<E>) - Method in interface st.orm.repository.EntityRepository
-
Updates a collection of entities in the database in batches and returns a list of the updated entities.
- updateAndFetch(Stream<E>, int) - Method in interface st.orm.repository.EntityRepository
-
Updates a stream of entities in the database in batches of the given size and returns the updated entities as they exist in the database.
- updateAndFetch(Entity<?>...) - Method in interface st.orm.WriteSet
-
Updates like
WriteSet.updateAndFetch(Iterable)and returns the passed entities as they exist in the database after the update, in input order; an empty call is a no-op and returns an empty list. - updateFrom(Class<T>) - Method in class st.orm.template.impl.QueryTemplateImpl
- updateFrom(Class<T>) - Method in interface st.orm.template.QueryTemplate
-
Creates a query builder for the specified table to update.
- UpdateMode - Enum Class in st.orm
-
Controls how changes are detected and how UPDATE statements are generated for entities.
- upsert() - Method in interface st.orm.spi.QueryContext
-
Returns whether the statement is an upsert: an insert of the row that updates the one its key names where it exists, in the form the database upserts by, which the dialect recognizes.
- upsert(E) - Method in interface st.orm.repository.EntityRepository
-
Inserts or updates a single entity in the database.
- upsert(Iterable<? extends Entity<?>>) - Method in interface st.orm.WriteSet
-
Upserts the explicit members and inserts their discovered members, in dependency order.
- 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.
- upsert(Entity<?>) - Method in interface st.orm.WriteSet
-
Upserts the given entity and inserts its discovered members; see
WriteSet.upsert(Iterable). - upsert(Entity<?>...) - Method in interface st.orm.WriteSet
-
Upserts the given entities and inserts their discovered members; see
WriteSet.upsert(Iterable). - upsertAndFetch(E) - Method in interface st.orm.repository.EntityRepository
-
Inserts or updates a single entity in the database and returns the entity with its current state.
- upsertAndFetch(E) - Method in interface st.orm.WriteSet
-
Upserts the given entity, inserts its discovered members, and returns the entity as it exists in the database after the upsert; see
WriteSet.upsertAndFetch(Iterable). - upsertAndFetch(Iterable<? extends Entity<?>>) - Method in interface st.orm.WriteSet
-
Upserts like
WriteSet.upsert(Iterable)and returns the passed entities as they exist in the database after the upsert, in input order. - upsertAndFetch(Iterable<E>) - Method in interface st.orm.repository.EntityRepository
-
Inserts or updates a collection of entities in the database in batches and returns a list of the upserted entities.
- upsertAndFetch(Stream<E>, int) - Method in interface st.orm.repository.EntityRepository
-
Inserts or updates a stream of entities in the database in batches of the given size and returns the upserted entities as they exist in the database.
- upsertAndFetch(Entity<?>...) - Method in interface st.orm.WriteSet
-
Upserts like
WriteSet.upsertAndFetch(Iterable)and returns the passed entities as they exist in the database after the upsert, in input order; an empty call is a no-op and returns an empty list. - upsertAndFetchId(E) - Method in interface st.orm.repository.EntityRepository
-
Inserts or updates a single entity in the database and returns its ID.
- upsertAndFetchId(Entity<ID>) - Method in interface st.orm.WriteSet
-
Upserts the given entity and its discovered members and returns its primary key; see
WriteSet.upsertAndFetchIds(Iterable). - upsertAndFetchIds(Iterable<? extends Entity<ID>>) - Method in interface st.orm.WriteSet
-
Upserts like
WriteSet.upsert(Iterable)and returns the primary keys of the explicit members, in input order. - upsertAndFetchIds(Iterable<E>) - Method in interface st.orm.repository.EntityRepository
-
Inserts or updates a collection of entities in the database in batches and returns a list of their IDs.
- upsertAndFetchIds(Stream<E>, int) - Method in interface st.orm.repository.EntityRepository
-
Inserts or updates a stream of entities in the database in batches of the given size and returns the primary keys of the upserted entities.
- 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 Entity Repositories - Search tag in interface st.orm.repository.EntityRepository
- Section
- Using Templates - Search tag in interface st.orm.template.Templates
- Section
V
- validate(E) - Method in interface st.orm.repository.EntityRepository
-
Checks an entity against its columns without writing it, and returns every violation found: a null in a field whose column refuses it, a string longer than its character column, and a decimal with more digits before the decimal point than its column holds.
- validateOrThrow(E) - Method in interface st.orm.repository.EntityRepository
-
Checks an entity against its columns as
EntityRepository.validate(Entity)does, and throws when a value does not fit, with every violation found. - validateSchema() - Method in class st.orm.template.impl.ORMTemplateImpl
- 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 class st.orm.template.impl.ORMTemplateImpl
- 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 class st.orm.template.impl.ORMTemplateImpl
- 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 class st.orm.template.impl.ORMTemplateImpl
- 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 class st.orm.template.impl.ORMTemplateImpl
- 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 class st.orm.template.impl.ORMTemplateImpl
- 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.AcceptAdvice
-
The anchors of the advice to accept, such as
page-count; empty to accept every piece of advice. - 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.EntityCallbacks
-
The callback types that apply to 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() - Element in annotation interface st.orm.QueryColumns
-
The query columns.
- 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.spi.QueryContext.ExecutionKind
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class st.orm.spi.SqlOperation
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class st.orm.spi.StatementOrigin
-
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.TransactionIsolation
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class st.orm.TransactionPropagation
-
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.spi.QueryContext.ExecutionKind
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class st.orm.spi.SqlOperation
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class st.orm.spi.StatementOrigin
-
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.TransactionIsolation
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class st.orm.TransactionPropagation
-
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() - Method in record class st.orm.template.impl.ColumnImpl
-
Returns the value of the
versionrecord component. - Version - Annotation Interface in st.orm
-
Marks a record component as a version field to detect optimistic locking conflicts.
- violations() - Method in exception class st.orm.IntegrityViolationException
-
Returns the violations.
- violations(Metamodel<?, ?>) - Method in exception class st.orm.IntegrityViolationException
-
Returns the violations that resolve to the given field.
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.impl.QueryBuilderImpl
-
Adds a WHERE clause to the query using a
WhereBuilder. - 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(Navigable<? extends T, V>, Iterable<V>) - Method in class st.orm.template.QueryBuilder
-
Adds a WHERE clause that matches the specified records.
- where(Navigable<? extends T, V>, Iterable<V>) - Method in class st.orm.template.WhereBuilder
-
Adds a condition to the WHERE clause that matches the specified records.
- where(Navigable<? extends 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(Navigable<? extends 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(Navigable<? extends T, V>, Operator, Navigable<?, V>) - Method in class st.orm.template.QueryBuilder
-
Adds a WHERE clause that compares the column at the specified path with the column at another path of the query, such as a foreign key with a foreign key to the same table.
- where(Navigable<? extends T, V>, Operator, Navigable<?, V>) - Method in class st.orm.template.WhereBuilder
-
Adds a condition to the WHERE clause that compares the column at the specified path with the column at another path of the query, such as a foreign key with a foreign key to the same table.
- where(Navigable<? extends 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(Navigable<? extends 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(Navigable<? extends T, V>, Ref<V>) - Method in class st.orm.template.QueryBuilder
-
Adds a WHERE clause that matches the specified ref.
- where(Navigable<? extends T, V>, Ref<V>) - Method in class st.orm.template.WhereBuilder
-
Adds a condition to the WHERE clause that matches the specified ref.
- where(Navigable<? extends T, V>, V) - Method in class st.orm.template.QueryBuilder
-
Adds a WHERE clause that matches the specified record.
- where(Navigable<? extends 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.
- 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
- whereExists(QueryBuilder<?, ?, ?>) - Method in class st.orm.template.QueryBuilder
-
Adds a WHERE clause that keeps the rows for which the specified subquery returns at least one row.
- 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.
- whereNotExists(QueryBuilder<?, ?, ?>) - Method in class st.orm.template.QueryBuilder
-
Adds a WHERE clause that keeps the rows for which the specified subquery returns no rows.
- 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(Navigable<? extends T, V>, Iterable<? extends Ref<V>>) - Method in class st.orm.template.QueryBuilder
-
Adds a WHERE clause that matches the specified records.
- whereRef(Navigable<? extends 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.
- widen() - Method in class st.orm.template.impl.QueryBuilderImpl
-
Widens the query as a join does, without joining.
- widen() - Method in class st.orm.template.QueryBuilder
-
Widens the query as a join does, without joining: from here on, every clause accepts paths from any entity in the query.
- 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. - windows(int) - Method in interface st.orm.repository.EntityRepository
-
Iterates the entities in windows of
sizerows ordered by the primary key, each window one closed statement. - windows(int) - Method in interface st.orm.repository.ProjectionRepository
-
Iterates the projections in windows of
sizerows ordered by the primary key, each window one closed statement. - windows(int) - Method in class st.orm.template.impl.QueryBuilderImpl
- windows(int) - Method in class st.orm.template.QueryBuilder
-
Executes the query in windows of
sizerows ordered by the primary key, each window one closed statement. - windows(Scrollable<E>) - Method in interface st.orm.repository.EntityRepository
-
Iterates the entities in windows described by the given scroll request, each window one closed statement.
- windows(Scrollable<P>) - Method in interface st.orm.repository.ProjectionRepository
-
Iterates the projections in windows described by the given scroll request, each window one closed statement.
- windows(Scrollable<T>) - Method in class st.orm.template.impl.QueryBuilderImpl
- windows(Scrollable<T>) - Method in class st.orm.template.QueryBuilder
-
Executes the query in windows described by the given scroll request, each window one closed statement.
- 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 class st.orm.template.impl.ORMTemplateImpl
- withEntityCallback(EntityCallback<?>) - Method in interface st.orm.template.ORMTemplate
-
Returns a new
ORMTemplatewith the specified entity callback added. - withEntityCallbacks(List<EntityCallback<?>>) - Method in class st.orm.template.impl.ORMTemplateImpl
- withEntityCallbacks(List<EntityCallback<?>>) - Method in interface st.orm.template.ORMTemplate
-
Returns a new
ORMTemplatewith the specified entity callbacks added. - withFallback(BiFunction<? super Navigable<T, String>, Integer, ? extends Match<T>>) - Method in interface st.orm.Match
-
Returns this match with a fallback in another form on the same column, such as
wordStart(Owner_.lastName).withFallback(Match::wordStart), which matches a short input at every word start. - withFallback(Match<T>) - Method in interface st.orm.Match
-
Returns this match with a fallback on any column of the row, such as a
prefixmatch on a stored lowered column. - withForeignKeyResolver(ForeignKeyResolver) - Method in interface st.orm.mapping.TemplateDecorator
-
Returns a new prepared statement template with the specified foreign key resolver.
- withIsolation(TransactionIsolation) - Method in record class st.orm.TransactionOptions
- withoutFallback() - Method in interface st.orm.Match
-
Returns this match without a fallback: the column takes no part in the statement until a word reaches its
Match.minLength(), its related table and a semi-join declared for it included, so a column of a related table whose matches rank low is not read for a short input. - withPropagation(TransactionPropagation) - Method in record class st.orm.TransactionOptions
- withReadOnly(boolean) - Method in record class st.orm.TransactionOptions
- withSchemaResolver(SchemaResolver) - Method in interface st.orm.mapping.TemplateDecorator
-
Returns a new prepared statement template with the specified schema resolver.
- withTableNameResolver(TableNameResolver) - Method in interface st.orm.mapping.TemplateDecorator
-
Returns a new prepared statement template with the specified table name resolver.
- withTimeoutSeconds(int) - Method in record class st.orm.TransactionOptions
-
Returns these options with the given timeout, in seconds from the start of the block.
- withTransactionOptions(TransactionOptions, TransactionSupplier<R, E>) - Static method in class st.orm.template.Transactions
-
Executes the given block with the given options as the thread-scoped transaction defaults.
- wordStart(Navigable<T, String>) - Static method in interface st.orm.Match
-
Returns a match of a word at the start of any word in the value, the default of
suggest: the value's start, or the text after a space or a punctuation character that joins or separates words. - wordStart(Navigable<T, String>, int) - Static method in interface st.orm.Match
-
Returns a
wordStartmatch that takes the words in its form once one reaches the given length, and the whole input as the start of the value, ignoring case, before: a longer length keeps a column whose matches rank low, such as one of a related table, in its fallback until a word is long enough to match few rows, and0takes every word in its form. - WordStart(Metamodel<T, String>) - Constructor for record class st.orm.Match.WordStart
- WordStart(Metamodel<T, String>, int) - Constructor for record class st.orm.Match.WordStart
-
A match with the default fallback, the start of the value, ignoring case.
- WordStart(Metamodel<T, String>, int, Match<T>) - Constructor for record class st.orm.Match.WordStart
-
Creates an instance of a
WordStartrecord class. - write(DataOutputStream, T) - Method in interface st.orm.spi.CursorCodec
-
Writes a non-null value to the output stream.
- writeSet() - Method in interface st.orm.repository.Repository
-
Returns dependency-aware write operations over mixed-type sets of entities.
- writeSet() - Method in interface st.orm.repository.RepositoryLookup
-
Returns dependency-aware write operations over mixed-type sets of entities.
- writeSet() - Method in class st.orm.template.impl.ORMTemplateImpl
- WriteSet - Interface in st.orm
-
Dependency-aware write operations over mixed-type sets of entities.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form