Index

A B C D E F G H I J K L M N O P Q R S T U V W 
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,V> - Class in st.orm
Extension of AbstractMetamodel that implements Metamodel.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,V> - Class in st.orm
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 Ref foreign 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
 
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.
after() - Method in interface st.orm.Position
Returns true if the request continues after the row, false if 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 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.
annotations() - Method in record class st.orm.mapping.RecordField
Returns the value of the annotations record component.
annotations() - Method in record class st.orm.mapping.RecordType
Returns the value of the annotations record component.
ANSI_ESCAPING - Static variable in class st.orm.StormConfig
Whether to use ANSI escaping for identifiers.
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 BETWEEN operator.
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 ORMTemplate backed 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 ORMTemplate with 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

camelCaseToSnakeCase() - Static method in interface st.orm.mapping.ColumnNameResolver
Resolves the column name for a record component using camel case to snake case conversion.
camelCaseToSnakeCase() - Static method in interface st.orm.mapping.ForeignKeyResolver
Resolves the column name for a record component using camel case to snake case conversion.
camelCaseToSnakeCase() - Static method in interface st.orm.mapping.TableNameResolver
Resolves the table name for a given record type using camel case to snake case conversion.
canonical() - Method in interface st.orm.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.
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 codec record 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(Metamodel<?, ?>) - Static method in interface st.orm.template.Templates
Generates a column element for a column specified by the given metamodel in 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 metamodel in 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, Metamodel<Data, ?>) - Constructor for record class st.orm.template.impl.ColumnImpl
Creates an instance of a ColumnImpl record 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() - 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 constructor record component.
CONTAINS - Static variable in interface st.orm.Operator
Matches a column that contains the given text anywhere in its value.
content() - Method in record class st.orm.Page
Returns the value of the content record 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 content record 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 Converter should 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 core record 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 CursorCodecEntry record 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 declaringType record 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 TemplateDecorator to 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.
DefaultConverter - Annotation Interface in st.orm
Marks a Converter as eligible for automatic application when its entity type matches a type and no explicit @Convert annotation is present.
DefaultJoinType - Enum Class in st.orm
Default implementation of the JoinType interface 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 delegate record 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 descending record 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.
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 EntityCallback types 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
equals(Object) - Method in class st.orm.AbstractNavigableMetamodel
Equality is based on Navigable.tableType(), AbstractNavigableMetamodel.path() and AbstractNavigableMetamodel.field(), matching AbstractMetamodel, 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.mapping.RecordField
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class st.orm.mapping.RecordType
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class st.orm.Metamodel.KeyDelegate
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class st.orm.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.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.
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.
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
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
Execute a DELETE statement.
exists() - Method in interface st.orm.repository.EntityRepository
Checks if any entity of the type managed by this repository exists in the database.
exists() - Method in interface st.orm.repository.ProjectionRepository
Checks if any projection of the type managed by this repository exists in the database.
exists(QueryBuilder<?, ?, ?>) - Method in class st.orm.template.WhereBuilder
Adds an EXISTS condition to the WHERE clause using the specified subquery.
existsBy(Metamodel<E, V>, Ref<V>) - Method in interface st.orm.repository.EntityRepository
Checks if any entity matching the specified field and referenced value exists.
existsBy(Metamodel<E, V>, V) - Method in interface st.orm.repository.EntityRepository
Checks if any entity matching the specified field and value exists.
existsBy(Metamodel<P, V>, Ref<V>) - Method in interface st.orm.repository.ProjectionRepository
Checks if any projection matching the specified field and referenced value exists.
existsBy(Metamodel<P, V>, V) - Method in interface st.orm.repository.ProjectionRepository
Checks if any projection matching the specified field and value exists.
existsById(ID) - Method in interface st.orm.repository.EntityRepository
Checks if an entity with the specified primary key exists in the database.
existsById(ID) - Method in interface st.orm.repository.ProjectionRepository
Checks if a projection with the specified primary key exists in the database.
existsByRef(Ref<E>) - Method in interface st.orm.repository.EntityRepository
Checks if an entity with the specified primary key exists in the database.
existsByRef(Ref<P>) - Method in interface st.orm.repository.ProjectionRepository
Checks if a projection with the specified primary key exists in the database.

F

failOnMissing() - Element in annotation interface st.orm.Json
True if the deserializer should fail if a required creator property is missing.
failOnUnknown() - Element in annotation interface st.orm.Json
True if the deserializer should fail if unknown properties are encountered.
FALSE() - Method in class st.orm.template.WhereBuilder
A predicate that always evaluates to false.
fetch() - Method in interface st.orm.Ref
Fetches the record if it has not been fetched yet.
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>...) - 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() or Ref.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 interface st.orm.Navigable
Returns the field name.
field() - Method in record class st.orm.Order
Returns the value of the field record component.
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 record class st.orm.mapping.RecordType
Returns the value of the fields record 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 interface st.orm.Navigable
Returns the field type of the designated element.
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 interface st.orm.Navigable
Returns a flat list of leaf metamodels for this navigable.
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 foreignKey record component.
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() or Window.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.

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 generation record 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 genericType record component.
get() - Method in interface st.orm.template.TransactionSupplier
Executes the block.
getAnnotation(Class<A>) - Method in record class st.orm.mapping.RecordField
Returns a single annotation of the specified type from this field, or null if 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 null if not present or if multiple instances are found.
getAnnotations(Class<A>) - Method in record class st.orm.mapping.RecordField
Returns all annotations of the specified type present on this field.
getAnnotations(Class<A>) - Method in record class st.orm.mapping.RecordType
Returns all annotations of the specified type present on this record class.
getBy(Metamodel.Key<E, V>, V) - Method in interface st.orm.repository.EntityRepository
Retrieves an entity by the value of a unique key field.
getBy(Metamodel.Key<P, V>, V) - Method in interface st.orm.repository.ProjectionRepository
Retrieves a projection by the value of a unique key field.
getBy(Metamodel<E, V>, Ref<V>) - Method in interface st.orm.repository.EntityRepository
Retrieves exactly one entity based on a single field and its referenced value.
getBy(Metamodel<E, V>, V) - Method in interface st.orm.repository.EntityRepository
Retrieves exactly one entity based on a single field and its value.
getBy(Metamodel<P, V>, Ref<V>) - Method in interface st.orm.repository.ProjectionRepository
Retrieves exactly one projection based on a single field and its referenced value.
getBy(Metamodel<P, V>, V) - Method in interface st.orm.repository.ProjectionRepository
Retrieves exactly one projection based on a single field and its value.
getById(ID) - Method in interface st.orm.repository.EntityRepository
Retrieves an entity based on its primary key.
getById(ID) - Method in interface st.orm.repository.ProjectionRepository
Retrieves a projection based on its primary key.
getByRef(Metamodel.Key<E, V>, Ref<V>) - Method in interface st.orm.repository.EntityRepository
Retrieves an entity by the ref value of a unique key field that references another entity.
getByRef(Metamodel.Key<P, V>, Ref<V>) - Method in interface st.orm.repository.ProjectionRepository
Retrieves a projection by the ref value of a unique key field that references another entity.
getByRef(Ref<E>) - Method in interface st.orm.repository.EntityRepository
Retrieves an entity based on its primary key, expressed by a ref.
getByRef(Ref<P>) - Method in interface st.orm.repository.ProjectionRepository
Retrieves a projection based on its primary key.
getEntity() - Method in exception class st.orm.OptimisticLockException
Returns the entity that caused this exception.
getGeneratedKeys(Class<ID>) - Method in 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 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> for Ref fields.
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, ?>...) - 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
hashCode() - Method in class st.orm.AbstractNavigableMetamodel
 
hashCode() - Method in record class st.orm.mapping.RecordField
Returns a hash code value for this object.
hashCode() - Method in record class st.orm.mapping.RecordType
Returns a hash code value for this object.
hashCode() - Method in record class st.orm.Metamodel.KeyDelegate
Returns a hash code value for this object.
hashCode() - Method in record class st.orm.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.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 true if there is a next page after this one.
hasNext() - Method in interface st.orm.Slice
Returns true if rows existed after this slice at query time.
hasNext() - Method in record class st.orm.Window
Returns the value of the hasNext record 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 true if any ORDER BY columns have been added to this query builder.
hasOrderBy() - Method in class st.orm.template.QueryBuilder
Returns true if any ORDER BY columns have been added to this query builder.
hasPrevious() - Method in record class st.orm.Page
Returns true if there is a previous page before this one.
hasPrevious() - Method in interface st.orm.Slice
Returns true if rows existed before this slice at query time.
hasPrevious() - Method in record class st.orm.Window
Returns the value of the hasPrevious record 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, 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.
IllegalTransactionStateException - Exception Class in st.orm
Thrown when a transaction block cannot open against the transaction state it finds: MANDATORY without a transaction, NEVER inside one, or a joining block that states a stricter isolation level than the transaction it joins runs at.
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 IN operator.
index() - Method in interface st.orm.template.Column
Gets the 1-based index of the column.
index() - Method in record class st.orm.template.impl.ColumnImpl
Returns the value of the index record 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 insertable record 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(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.
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.
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 FALSE operator.
IS_NOT_NULL - Static variable in interface st.orm.Operator
The IS NOT NULL operator.
IS_NULL - Static variable in interface st.orm.Operator
The IS NULL operator.
IS_TRUE - Static variable in interface st.orm.Operator
The IS TRUE operator.
isAnnotationPresent(Class<? extends Annotation>) - Method in record class st.orm.mapping.RecordField
Checks whether an annotation of the specified type is present on this field.
isAnnotationPresent(Class<? extends Annotation>) - Method in record class st.orm.mapping.RecordType
Checks whether an annotation of the specified type is present on this record class.
isColumn() - Method in class st.orm.AbstractMetamodel
Returns true if the metamodel corresponds to a database column, returns false otherwise, 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 interface st.orm.Navigable
Returns true if this navigable corresponds to a database column, false otherwise (for example the root navigable or an inline record).
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 Data type.
isDataType() - Method in record class st.orm.mapping.RecordType
Checks whether this record type is a Data type.
isDefaultPrimaryKey(ID) - Method in class st.orm.template.impl.ModelImpl
Returns {code true} if the specified primary key represents a default value, false otherwise.
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 true if 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 a is identical to the value extracted from b.
isIdentical(T, T) - Method in record class st.orm.Metamodel.KeyDelegate
 
isInline() - Method in class st.orm.AbstractMetamodel
Returns true if the metamodel corresponds to an inline record, returns false otherwise.
isInline() - Method in class st.orm.AbstractNavigableMetamodel
 
isInline() - Method in record class st.orm.Metamodel.KeyDelegate
 
isInline() - Method in interface st.orm.Navigable
Returns true if this navigable corresponds to an inline record, false otherwise.
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 true if 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 isolation record 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.
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 a is the same as the value extracted from b.
isSame(T, T) - Method in record class st.orm.Metamodel.KeyDelegate
 
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 Connection isolation 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,ID> - Interface in st.orm.template
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 key record component.
key(Metamodel<T, E>) - Static method in interface st.orm.Metamodel
Returns a Key view of the given metamodel.
KeyDelegate(Metamodel<T, E>) - Constructor for record class st.orm.Metamodel.KeyDelegate
Creates an instance of a KeyDelegate record class.
keyDescending() - Method in record class st.orm.Scrollable
Returns the value of the keyDescending record 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.
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 LIKE operator.
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.

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.
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 metamodel record 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.Key marker to an existing Metamodel instance.
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 method record 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 mutable record 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 name record component.
name() - Element in annotation interface st.orm.PK
The database column name for the primary key.
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 name record 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 null if the window is empty.
nextCursor() - Method in record class st.orm.Window
Returns an opaque cursor string for fetching the next window, or null if there is no next window according to Window.hasNext().
nextScrollable() - Method in record class st.orm.Window
Returns the value of the nextScrollable record component.
NONE - Enum constant in enum class st.orm.GenerationStrategy
No primary key generation is applied.
NonUniqueResultException - Exception Class in st.orm
Thrown when getSingleResult is 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 NonUniqueResultException exception with null as its detail message.
NonUniqueResultException(Exception) - Constructor for exception class st.orm.NonUniqueResultException
Constructs a new NonUniqueResultException exception with null as its detail message.
NonUniqueResultException(String) - Constructor for exception class st.orm.NonUniqueResultException
Constructs a new NonUniqueResultException exception with the specified detail message.
NonUniqueResultException(String, Exception) - Constructor for exception class st.orm.NonUniqueResultException
Constructs a new NonUniqueResultException exception 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 getSingleResult is executed on a query and there is no result to return.
NoResultException() - Constructor for exception class st.orm.NoResultException
Constructs a new NoResultException exception with null its detail message.
NoResultException(String) - Constructor for exception class st.orm.NoResultException
Constructs a new NoResultException exception 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_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_EQUALS - Static variable in interface st.orm.Operator
The <> operator.
NOT_IN - Static variable in interface st.orm.Operator
The NOT IN operator.
NOT_LIKE - Static variable in interface st.orm.Operator
The NOT LIKE operator.
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_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 EXISTS condition to the WHERE clause using the specified subquery.
nullable() - Method in record class st.orm.mapping.RecordField
Returns the value of the nullable record component.
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 nullable record 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.

O

of(int, int) - Static method in record class st.orm.Pageable
Creates a pageable request for the given page number and page size without sort orders.
of(E) - Static method in interface st.orm.Ref
Creates a fully loaded ref instance that wraps the given entity.
of(Class<T>, ID) - Static method in interface st.orm.Ref
Creates a detached ref instance for the given type and primary key.
of(Class<T>, String) - Static method in interface st.orm.Metamodel
Creates a new metamodel for the given root rootTable and path.
of(Connection) - Static method in interface st.orm.template.ORMTemplate
Returns an ORMTemplate for use with JDBC.
of(Connection, UnaryOperator<TemplateDecorator>) - Static method in interface st.orm.template.ORMTemplate
Returns an ORMTemplate for use with JDBC, with a custom template decorator.
of(Connection, StormConfig) - Static method in interface st.orm.template.ORMTemplate
Returns an ORMTemplate for use with JDBC, configured with the provided StormConfig.
of(Connection, StormConfig, UnaryOperator<TemplateDecorator>) - Static method in interface st.orm.template.ORMTemplate
Returns an ORMTemplate for use with JDBC, configured with the provided StormConfig and 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 StormConfig with the given properties.
of(DataSource) - Static method in interface st.orm.template.ORMTemplate
Returns an ORMTemplate for use with JDBC.
of(DataSource, UnaryOperator<TemplateDecorator>) - Static method in interface st.orm.template.ORMTemplate
Returns an ORMTemplate for use with JDBC, with a custom template decorator.
of(DataSource, StormConfig) - Static method in interface st.orm.template.ORMTemplate
Returns an ORMTemplate for use with JDBC, configured with the provided StormConfig.
of(DataSource, StormConfig, UnaryOperator<TemplateDecorator>) - Static method in interface st.orm.template.ORMTemplate
Returns an ORMTemplate for use with JDBC, configured with the provided StormConfig and 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(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(StringTemplate) - Method in interface st.orm.template.JoinBuilder
Specifies the join condition using a custom expression.
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_NEW block.
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 limit statements.
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.
OptimisticLockException() - Constructor for exception class st.orm.OptimisticLockException
Constructs a new OptimisticLockException exception with null as its detail message.
OptimisticLockException(Object) - Constructor for exception class st.orm.OptimisticLockException
Constructs a new OptimisticLockException exception with the specified entity.
OptimisticLockException(String) - Constructor for exception class st.orm.OptimisticLockException
Constructs a new OptimisticLockException exception with the specified detail message.
OptimisticLockException(String, Throwable) - Constructor for exception class st.orm.OptimisticLockException
Constructs a new OptimisticLockException exception with the specified detail message and cause.
OptimisticLockException(String, Throwable, Object) - Constructor for exception class st.orm.OptimisticLockException
Constructs a new OptimisticLockException exception with the specified detail message, cause, and entity.
OptimisticLockException(Throwable) - Constructor for exception class st.orm.OptimisticLockException
Constructs a new OptimisticLockException exception with the specified cause.
or(StringTemplate) - Method in interface st.orm.template.PredicateBuilder
Adds a predicate to the WHERE clause using an OR condition.
or(PredicateBuilder<? extends T, ?, ?>) - Method in interface st.orm.template.PredicateBuilder
Adds a predicate to the WHERE clause using an OR condition.
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 Order record 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, ?>...) - 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, ?>) - 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(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.
orders() - Method in record class st.orm.Pageable
Returns the value of the orders record 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 ORMTemplate with instance-scoped integration strategies.
ORMTemplateImpl - Class in st.orm.template.impl
 
ORMTemplateImpl(ORMTemplate) - Constructor for class st.orm.template.impl.ORMTemplateImpl
 
OUTER - Enum constant in enum class st.orm.ResolveScope
Resolve the alias from the outer scope(s) only.e

P

page(int, int) - Method in interface st.orm.repository.EntityRepository
Returns a page of entities using offset-based pagination.
page(int, int) - Method in interface st.orm.repository.ProjectionRepository
Returns a page of projections using offset-based pagination.
page(int, int) - Method in class st.orm.template.QueryBuilder
Executes the query and returns a Page of 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 Page of results using offset-based pagination.
page(Pageable, long) - Method in class st.orm.template.QueryBuilder
Executes the query and returns a Page of 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 Page record class.
pageable() - Method in record class st.orm.Page
Returns the value of the pageable record 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 Pageable record 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 pageNumber record 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 pageSize record 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 Calendar value with a temporal type.
param(String, Date, TemporalType) - Static method in interface st.orm.template.Templates
Generates a named parameter element for the specified Date value with a temporal type.
param(Calendar, TemporalType) - Static method in interface st.orm.template.Templates
Generates a parameter element for the specified Calendar value with a temporal type.
param(Date, TemporalType) - Static method in interface st.orm.template.Templates
Generates a parameter element for the specified Date value 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.Metamodel.KeyDelegate
 
path() - Method in interface st.orm.Navigable
Returns the path to the database table.
Path Resolution - Search tag in interface st.orm.Metamodel
Section
Persist - Annotation Interface in st.orm
Allows the persistence properties of a record component to be configured.
PersistenceException - Exception Class in st.orm
Thrown when a database or sql problem occurs.
PersistenceException() - Constructor for exception class st.orm.PersistenceException
Constructs a new PersistenceException exception with null as its detail message.
PersistenceException(String) - Constructor for exception class st.orm.PersistenceException
Constructs a new PersistenceException exception with the specified detail message.
PersistenceException(String, Throwable) - Constructor for exception class st.orm.PersistenceException
Constructs a new PersistenceException exception with the specified detail message and cause.
PersistenceException(Throwable) - Constructor for exception class st.orm.PersistenceException
Constructs a new PersistenceException exception 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 position record component.
Position - Interface in st.orm
The row a scroll request continues from, and on which side of it.
PredicateBuilder<T,R,ID> - Interface in st.orm.template
Represents a composable predicate for the WHERE clause of a query, supporting AND and OR composition.
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 null on 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 null on page 0, where nothing precedes.
previous() - Method in record class st.orm.Window
Returns a typed scrollable for fetching the previous window, or null if the window is empty.
previousCursor() - Method in record class st.orm.Window
Returns an opaque cursor string for fetching the previous window, or null if this is the first window according to Window.hasPrevious().
previousScrollable() - Method in record class st.orm.Window
Returns the value of the previousScrollable record 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 primaryKey record 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 propagation record 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 query string.
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,ID> - Class in st.orm.template
A fluent builder for constructing type-safe SELECT and DELETE queries using the entity graph and metamodel.
QueryBuilder() - Constructor for class st.orm.template.QueryBuilder
 
QueryBuilderImpl<T,R,ID> - Class in st.orm.template.impl
 
QueryBuilderImpl(QueryBuilder<T, R, ID>) - Constructor for class st.orm.template.impl.QueryBuilderImpl
 
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 readOnly record component.
ReadOnlyTransactionException - Exception Class in st.orm
Thrown when a statement Storm recognises as a write, an INSERT, UPDATE or DELETE, 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 RecordField record 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 RecordType record 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 ref record 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 type and pk.
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 type and id.
Ref<T> - Interface in st.orm
Ref records are used to represent reference to records, allowing them to be fetched from the database.
remove(E) - Method in interface st.orm.repository.EntityRepository
Removes an entity from the database.
remove(Iterable<? 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 configurable batch sizes.
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.
removeByRef(Iterable<Ref<E>>) - Method in interface st.orm.repository.EntityRepository
Removes a collection of entities from the database in batches.
removeByRef(Stream<Ref<E>>) - Method in interface st.orm.repository.EntityRepository
Removes a stream of entities from the database in batches.
removeByRef(Stream<Ref<E>>, int) - Method in interface st.orm.repository.EntityRepository
Removes a stream of entities from the database in configurable batch sizes.
removeByRef(Ref<E>) - Method in interface st.orm.repository.EntityRepository
Removes an entity from the database by its reference.
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
Returns the field type as a Data subtype, or throws an exception if the type does not implement Data.
requireDataType() - Method in record class st.orm.mapping.RecordType
Returns this record type as a Data subtype, or throws an exception if the type does not implement Data.
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 interface st.orm.Navigable
Returns the root table type.
root(Class<T>) - Static method in interface st.orm.Metamodel
Creates a new metamodel for the given record type.

S

schema() - Element in annotation interface st.orm.DbTable
The database schema name.
schema() - Method in 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 Scrollable token, typically obtained from Window.next() or Window.previous().
scroll(Scrollable<P>) - Method in interface st.orm.repository.ProjectionRepository
Executes a scroll request from a Scrollable token, typically obtained from Window.next() or Window.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 Scrollable record 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.
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 selectType and specialized template for the select clause.
select(Class<R>, StringTemplate) - Method in interface st.orm.repository.ProjectionRepository
Creates a new query builder for the custom selectType and custom template for 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.
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 sequence record 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.
setGlobalTransactionOptions(TransactionOptions) - Static method in class st.orm.template.Transactions
Sets the global transaction options, affecting new transactions that do not override options locally.
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 size record 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 Slice of 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 Slice of results using offset-based pagination without a count.
Slice<R> - Interface in st.orm
A slice of query results: the shape a Page, a Window and a plain slice share.
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 sort record 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<T, ?>) - 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<T, ?>) - 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.slow logger, such as 200ms or 2s; a bare number is milliseconds.
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.
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.
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.
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.Metamodel.KeyDelegate
 
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(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 tag record 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 Templates interface 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 timeoutSeconds record 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.mapping.RecordField
Returns a string representation of this record class.
toString() - Method in record class st.orm.mapping.RecordType
Returns a string representation of this record class.
toString() - Method in record class st.orm.Metamodel.KeyDelegate
Returns a string representation of this record class.
toString() - Method in record class st.orm.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.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 totalCount record 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(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, 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, 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.
TransactionBlock<R,E> - Interface in st.orm.template
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.
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 TransactionOptions record 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
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
 
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 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 type record component.
type() - Method in record class st.orm.mapping.RecordType
Returns the value of the type record component.
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 type record 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 type record 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,ID> - Interface in st.orm.template
A builder for specifying the ON condition of a JOIN clause using a type-safe entity relation or a custom expression.
TypedMetamodel<T,E,V> - Interface in st.orm
A Metamodel that 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
 
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 updatable record component.
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(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.
UpdateMode - Enum Class in st.orm
Controls how changes are detected and how UPDATE statements are generated for entities.
upsert(E) - Method in interface st.orm.repository.EntityRepository
Inserts or updates a single entity in the database.
upsert(Iterable<? 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(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.
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

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.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 - 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 BindVars for batch insertion.
values(BindVars, boolean) - Static method in interface st.orm.template.Templates
Generates a VALUES clause using the specified BindVars for 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 version record component.
Version - Annotation Interface in st.orm
Marks a record component as a version field to detect optimistic locking conflicts.

W

where(ID) - Method in class st.orm.template.QueryBuilder
Adds a WHERE clause that matches the specified primary key of the table.
where(Iterable<?>) - Static method in interface st.orm.template.Templates
Generates a WHERE clause based on the provided iterable of values or records.
where(Iterable<? extends T>) - Method in class st.orm.template.QueryBuilder
Adds a WHERE clause that matches the specified records.
where(Iterable<? extends T>) - Method in class st.orm.template.WhereBuilder
Adds a condition to the WHERE clause that matches the specified records.
where(Object) - Static method in interface st.orm.template.Templates
Generates a WHERE clause based on the provided value or record.
where(StringTemplate) - Method in class st.orm.template.QueryBuilder
Adds a WHERE clause to the query for the specified expression.
where(StringTemplate) - Method in class st.orm.template.WhereBuilder
Appends a custom expression to the WHERE clause.
where(Function<WhereBuilder<T, R, ID>, PredicateBuilder<T, ?, ?>>) - Method in class st.orm.template.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 BindVars for 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, 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,ID> - Class in st.orm.template
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.
whereImpl(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 or manually added joins.
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 Scrollable navigation tokens.
Window(List<R>, boolean, boolean, Scrollable<?>, Scrollable<?>) - Constructor for record class st.orm.Window
Creates an instance of a Window record class.
windows(int) - Method in interface st.orm.repository.EntityRepository
Iterates the entities in windows of size rows 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 size rows 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 size rows 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 ORMTemplate with 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 ORMTemplate with the specified entity callbacks added.
withForeignKeyResolver(ForeignKeyResolver) - Method in interface st.orm.mapping.TemplateDecorator
Returns a new prepared statement template with the specified foreign key resolver.
withIsolation(TransactionIsolation) - Method in record class st.orm.TransactionOptions
 
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.
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.
A B C D E F G H I J K L M N O P Q R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form