Uses of Interface
st.orm.Metamodel
Packages that use Metamodel
-
Uses of Metamodel in st.orm
Modifier and TypeInterfaceDescriptionstatic interfaceMetamodel.Key<T extends Data,E> Marker interface for metamodel fields that correspond to columns known to be unique.Modifier and TypeClassDescriptionclassAbstractKeyMetamodel<T extends Data,E, V> Extension ofAbstractMetamodelthat implementsMetamodel.Key, indicating that the field has a uniqueness constraint.classAbstractMetamodel<T extends Data,E, V> Implementation that is used by the generated models.static final recordMetamodel.KeyDelegate<T extends Data,E> Delegating wrapper that adds theMetamodel.Keymarker to an existingMetamodelinstance.Modifier and TypeMethodDescriptionMetamodel.canonical()Returns the canonical metamodel for the field represented bythismetamodel.Metamodel.KeyDelegate.delegate()Returns the value of thedelegaterecord component.Metamodel<?, ?> Pageable.Order.field()Returns the value of thefieldrecord component.Creates a new metamodel for the given root rootTable and path.Creates a new metamodel for the given record type.Scrollable.sort()Returns the value of thesortrecord component.AbstractMetamodel.table()Returns the table that holds the column to which this metamodel is pointing.Metamodel.KeyDelegate.table()Metamodel.table()Returns the table that holds the column to which this metamodel is pointing.Modifier and TypeMethodDescriptionMetamodel.flatten()Returns a flat list of leaf metamodels for this metamodel.Metamodel.KeyDelegate.flatten()Modifier and TypeMethodDescriptionstatic <T extends Data,E, S>
Scrollable<T> Scrollable.fromCursor(Metamodel.Key<T, E> key, Metamodel<T, S> sort, String cursor) Deserializes a cursor string (produced byScrollable.toCursor()) into aScrollablefor composite scrolling with a sort field.static <T extends Data,E>
Metamodel.Key<T, E> Returns aKeyview of the given metamodel.static <T extends Data,E, S>
Scrollable<T> Scrollable.of(Metamodel.Key<T, E> key, E keyCursor, Metamodel<T, S> sort, S sortCursor, int size) Creates a scrollable request starting after the given cursor values, in ascending key order, sorted by the given field.static <T extends Data,E, S>
Scrollable<T> Scrollable.of(Metamodel.Key<T, E> key, Metamodel<T, S> sort, int size) Creates a scrollable request for the first page in ascending key order, sorted by the given field.Returns a new pageable with an ascending sort order appended for the given field.Pageable.sortByDescending(Metamodel<?, ?> field) Returns a new pageable with a descending sort order appended for the given field.ModifierConstructorDescriptionAbstractKeyMetamodel(Class<E> fieldType, String path, String field, boolean inline, Metamodel<T, ?> parent) protectedAbstractKeyMetamodel(Class<E> fieldType, String path, String field, boolean inline, Metamodel<T, ?> parent, boolean isColumn) AbstractKeyMetamodel(Class<E> fieldType, String path, String field, boolean inline, Metamodel<T, ?> parent, boolean isColumn, boolean nullable) Constructs a key metamodel with explicit column and nullable flags.AbstractMetamodel(Class<E> fieldType, String path, String field, boolean inline, Metamodel<T, ?> parent) protectedAbstractMetamodel(Class<E> fieldType, String path, String field, boolean inline, Metamodel<T, ?> parent, boolean isColumn) KeyDelegate(Metamodel<T, E> delegate) Creates an instance of aKeyDelegaterecord class.Creates an instance of aOrderrecord class.Scrollable(Metamodel.Key<T, ?> key, Object keyCursor, Metamodel<T, ?> sort, Object sortCursor, int size, boolean isForward) Creates an instance of aScrollablerecord class. -
Uses of Metamodel in st.orm.repository
Methods in st.orm.repository with parameters of type MetamodelModifier and TypeMethodDescriptiondefault <V extends Data>
longCounts entities matching the specified field and referenced value.default <V> longCounts entities matching the specified field and value.default <V extends Data>
longCounts projections matching the specified field and referenced value.default <V> longCounts projections matching the specified field and value.default <V extends Data>
booleanChecks if any entity matching the specified field and referenced value exists.default <V> booleanChecks if any entity matching the specified field and value exists.default <V extends Data>
booleanChecks if any projection matching the specified field and referenced value exists.default <V> booleanChecks if any projection matching the specified field and value exists.Retrieves entities matching a single field against multiple values.Retrieves entities matching a single field and a single referenced value.Retrieves entities matching a single field and a single value.Retrieves projections matching a single field against multiple values.Retrieves projections matching a single field and a single referenced value.Retrieves projections matching a single field and a single value.EntityRepository.findAllByRef(Metamodel<E, V> field, Iterable<? extends Ref<V>> values) Retrieves entities matching a single field against multiple referenced values.ProjectionRepository.findAllByRef(Metamodel<P, V> field, Iterable<? extends Ref<V>> values) Retrieves projections matching a single field against multiple referenced values.EntityRepository.findAllRefBy(Metamodel<E, V> field, Iterable<? extends V> values) Retrieves refs to entities matching a single field against multiple values.EntityRepository.findAllRefBy(Metamodel<E, V> field, Ref<V> value) Retrieves refs to entities matching a single field and a single referenced value.EntityRepository.findAllRefBy(Metamodel<E, V> field, V value) Retrieves refs to entities matching a single field and a single value.ProjectionRepository.findAllRefBy(Metamodel<P, V> field, Iterable<? extends V> values) Retrieves refs to projections matching a single field against multiple values.ProjectionRepository.findAllRefBy(Metamodel<P, V> field, Ref<V> value) Retrieves refs to projections matching a single field and a single referenced value.ProjectionRepository.findAllRefBy(Metamodel<P, V> field, V value) Retrieves refs to projections matching a single field and a single value.EntityRepository.findAllRefByRef(Metamodel<E, V> field, Iterable<? extends Ref<V>> values) Retrieves refs to entities matching a single field against multiple referenced values.ProjectionRepository.findAllRefByRef(Metamodel<P, V> field, Iterable<? extends Ref<V>> values) Retrieves refs to projections matching a single field against multiple referenced values.Retrieves an entity based on a single field and its referenced value.Retrieves an entity based on a single field and its value.Retrieves a projection based on a single field and its referenced value.Retrieves a projection based on a single field and its value.Retrieves a ref to an entity based on a single field and its referenced value.Retrieves a ref to an entity based on a single field and its value.Retrieves a ref to a projection based on a single field and its referenced value.Retrieves a ref to a projection based on a single field and its value.Retrieves exactly one entity based on a single field and its referenced value.default <V> ERetrieves exactly one entity based on a single field and its value.Retrieves exactly one projection based on a single field and its referenced value.default <V> PRetrieves exactly one projection based on a single field and its value.Retrieves a ref to exactly one entity based on a single field and its referenced value.Retrieves a ref to exactly one entity based on a single field and its value.Retrieves a ref to exactly one projection based on a single field and its referenced value.Retrieves a ref to exactly one projection based on a single field and its value.default <V> intEntityRepository.removeAllBy(Metamodel<E, V> field, Iterable<? extends V> values) Removes entities matching the specified field against multiple values.default <V extends Data>
intEntityRepository.removeAllBy(Metamodel<E, V> field, Ref<V> value) Removes entities matching the specified field and referenced value.default <V> intEntityRepository.removeAllBy(Metamodel<E, V> field, V value) Removes entities matching the specified field and value.default <V extends Data>
intEntityRepository.removeAllByRef(Metamodel<E, V> field, Iterable<? extends Ref<V>> values) Removes entities matching the specified field against multiple referenced values. -
Uses of Metamodel in st.orm.template
Methods in st.orm.template that return MetamodelMethods in st.orm.template with parameters of type MetamodelModifier and TypeMethodDescriptionstatic ElementGenerates a column element for a column specified by the givenmetamodelin a type safe manner.static ElementTemplates.column(Metamodel<?, ?> path, ResolveScope scope) Generates a column element for a column specified by the givenmetamodelin a type safe manner.final QueryBuilder<T, R, ID> Adds a GROUP BY clause to the query for field at the specified path in the table graph.final QueryBuilder<T, R, ID> QueryBuilder.groupByAny(Metamodel<?, ?>... path) Adds a GROUP BY clause to the query for field at the specified path in the table graph.final <V> QueryBuilder<T, R, ID> Adds a HAVING clause to the query using the specified expression.final <V> QueryBuilder<T, R, ID> Adds a HAVING clause to the query using the specified expression.final QueryBuilder<T, R, ID> Adds an ORDER BY clause to the query for the field at the specified path in the table graph.final QueryBuilder<T, R, ID> QueryBuilder.orderByAny(Metamodel<?, ?>... path) Adds an ORDER BY clause to the query for the field at the specified path in the table graph or manually added joins.final QueryBuilder<T, R, ID> QueryBuilder.orderByDescending(Metamodel<T, ?> path) Adds an ORDER BY clause to the query for the field at the specified path in the table graph.final QueryBuilder<T, R, ID> QueryBuilder.orderByDescending(Metamodel<T, ?>... path) Adds an ORDER BY clause to the query for the fields at the specified paths in the table graph.final QueryBuilder<T, R, ID> QueryBuilder.orderByDescendingAny(Metamodel<?, ?> path) Adds an ORDER BY clause to the query for the field at the specified path in the table graph or manually added joins.final QueryBuilder<T, R, ID> QueryBuilder.orderByDescendingAny(Metamodel<?, ?>... path) Adds an ORDER BY clause to the query for the fields at the specified paths in the table graph or manually added joins.final <V extends Data>
QueryBuilder<T, R, ID> Adds a WHERE clause that matches the specified records.final <V> QueryBuilder<T, R, ID> Adds a WHERE clause that matches the specified objects at the specified path in the table graph.final <V> QueryBuilder<T, R, ID> Adds a WHERE clause that matches the specified objects at the specified path in the table graph.final <V extends Data>
QueryBuilder<T, R, ID> Adds a WHERE clause that matches the specified ref.final <V extends Record>
QueryBuilder<T, R, ID> Adds a WHERE clause that matches the specified record.static <V> ElementGenerates a WHERE clause based on the provided path, operator, and iterable of values or records.static <V> ElementGenerates a WHERE clause based on the provided path, operator, and values or records.final <V extends Data>
PredicateBuilder<T, R, ID> Adds a condition to the WHERE clause that matches the specified records.abstract <V> PredicateBuilder<T, R, ID> Adds a condition to the WHERE clause that matches the specified objects at the specified path in the table graph.final <V> PredicateBuilder<T, R, ID> Adds a condition to the WHERE clause that matches the specified objects at the specified path in the table graph.abstract <V extends Data>
PredicateBuilder<T, R, ID> Adds a condition to the WHERE clause that matches the specified ref.final <V extends Data>
PredicateBuilder<T, R, ID> Adds a condition to the WHERE clause that matches the specified record.final <V extends Data>
PredicateBuilder<T, R, ID> Adds a condition to the WHERE clause that matches the specified records.abstract <V> PredicateBuilder<T, R, ID> Adds a condition to the WHERE clause that matches the specified objects at the specified path in the table graph or manually added joins.final <V> PredicateBuilder<T, R, ID> Adds a condition to the WHERE clause that matches the specified objects at the specified path in the table graph or manually added joins.abstract <V extends Data>
PredicateBuilder<T, R, ID> Adds a condition to the WHERE clause that matches the specified ref.final <V extends Data>
PredicateBuilder<T, R, ID> Adds a condition to the WHERE clause that matches the specified record.abstract <V extends Data>
PredicateBuilder<T, R, ID> WhereBuilder.whereAnyRef(Metamodel<?, V> path, Iterable<? extends Ref<V>> it) Adds a condition to the WHERE clause that matches the specified refs.protected abstract <V> PredicateBuilder<T, R, ID> Adds a condition to the WHERE clause that matches the specified objects at the specified path in the table graph or manually added joins.final <V extends Data>
QueryBuilder<T, R, ID> Adds a WHERE clause that matches the specified records.abstract <V extends Data>
PredicateBuilder<T, R, ID> Adds a condition to the WHERE clause that matches the specified refs.Method parameters in st.orm.template with type arguments of type Metamodel