Uses of Interface
st.orm.Navigable
Packages that use Navigable
Package
Description
Foundation of the data model: the mapping annotations and the record interfaces.
Java client API: templates, query builders and transactions.
Java client API implementation.
-
Uses of Navigable in st.orm
Modifier and TypeInterfaceDescriptioninterfaceThe metamodel provides type-safe references to entity fields for use in queries.static interfaceMetamodel.Key<T extends Data,E> Marker interface for metamodel fields that correspond to columns known to be unique.interfaceTypedMetamodel<T extends Data,E, V extends @Nullable Object> AMetamodelthat also carries the declared component type of the field it represents.Modifier and TypeClassDescriptionclassAbstractKeyMetamodel<T extends Data,E, V extends @Nullable Object> Extension ofAbstractMetamodelthat implementsMetamodel.Key, indicating that the field has a uniqueness constraint.classAbstractMetamodel<T extends Data,E, V extends @Nullable Object> Implementation that is used by the generated models.classAbstractNavigableMetamodel<T extends Data,E> Base implementation for generated navigation-only metamodels — nodes that navigate the entity graph beyond aRefforeign key.static final recordMetamodel.KeyDelegate<T extends Data,E> Delegating wrapper that adds theMetamodel.Keymarker to an existingMetamodelinstance.static final recordMetamodel.Outer<T extends Data,E> A path named in the query that encloses the subquery it is used in, seeMetamodel.outer(Navigable).static final recordSqlFunction.Call<T extends Data,E> The call of a function on a path.Modifier and TypeMethodDescriptionAbstractNavigableMetamodel.table()Navigable.table()Returns the navigable of the table that holds the column this navigable points to.Modifier and TypeMethodDescriptionReturns a match of a word anywhere in the value, the default ofsearch.Returns aanywherematch that takes the words in its form once one reaches the given length, and the whole input as the start of the value, ignoring case, before: a longer length keeps a column whose matches rank low, such as one of a related table, in its fallback until a word is long enough to match few rows, and0takes every word in its form.Returns a match of a word as the whole value, with the column bare and the word lowered, which an ordinary index over a column that compares case-insensitively serves.Returns aexactmatch that takes words of at least the given length.Match.exactIgnoreCase(Navigable<T, String> path) Returns a match of a word as the whole value, ignoring case: the column lowered as well as the word, on any column, which an index overLOWER(column)serves, the index of a match anywhere or at a word start included.Match.exactIgnoreCase(Navigable<T, String> path, int minLength) Returns aexactIgnoreCasematch that takes words of at least the given length.static booleanReturns whether the path names a column of an enclosing query: a path made byMetamodel.outer(Navigable), aSqlFunctioncall on one, or a key view of one.Names the column at the given path in the query that encloses the subquery being built, as the other side of a comparison of two columns:where(Visit_.pet.id, EQUALS, outer(Pet_.id))keeps the visits of the enclosing query's pet.Returns a match of a word as a prefix of the value, with the column bare and the word lowered, which an ordinary index over a column that compares case-insensitively serves.Returns aprefixmatch that takes words of at least the given length.Match.prefixIgnoreCase(Navigable<T, String> path) Returns a match of a word as a prefix of the value, ignoring case: the column lowered as well as the word, on any column, which an index overLOWER(column)serves, the index of a match anywhere or at a word start included.Match.prefixIgnoreCase(Navigable<T, String> path, int minLength) Returns aprefixIgnoreCasematch that takes words of at least the given length.Returns a match of a word at the start of any word in the value, the default ofsuggest: the value's start, or the text after a space or a punctuation character that joins or separates words.Returns awordStartmatch that takes the words in its form once one reaches the given length, and the whole input as the start of the value, ignoring case, before: a longer length keeps a column whose matches rank low, such as one of a related table, in its fallback until a word is long enough to match few rows, and0takes every word in its form.Modifier and TypeMethodDescriptionMatch.withFallback(BiFunction<? super Navigable<T, String>, Integer, ? extends Match<T>> form) Returns this match with a fallback in another form on the same column, such aswordStart(Owner_.lastName).withFallback(Match::wordStart), which matches a short input at every word start.ModifierConstructorDescriptionAbstractNavigableMetamodel(Class<E> fieldType, String path, String field, boolean inline, @Nullable Navigable<T, ?> parent) protectedAbstractNavigableMetamodel(Class<E> fieldType, String path, String field, boolean inline, @Nullable Navigable<T, ?> parent, boolean isColumn) -
Uses of Navigable in st.orm.template
Methods in st.orm.template with parameters of type NavigableModifier and TypeMethodDescriptionfinal QueryBuilder<T, R, ID> Resolves the references at the specified paths as part of this query.final QueryBuilder<T, R, ID> 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 that compares the column at the specified path with the column at another path of the query.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.orderByDescending(Navigable<? extends T, ?> path, Navigable<? extends T, ?>... more) Adds an ORDER BY clause to the query for the fields at the specified paths in the table graph.final PredicateBuilder<T, R, ID> WhereBuilder.search(String input, Set<String> ignore, Navigable<? extends T, String> path, Navigable<? extends T, String>... more) Matches the words of a search input against one or more text columns, asWhereBuilder.search(String, Navigable, Navigable[])does, ignoring the given words as well.final PredicateBuilder<T, R, ID> WhereBuilder.search(String input, Navigable<? extends T, String> path, Navigable<? extends T, String>... more) Matches the words of a search input against one or more text columns.final PredicateBuilder<T, R, ID> WhereBuilder.suggest(String input, Set<String> ignore, Navigable<? extends T, String> path, Navigable<? extends T, String>... more) Matches the words of a search box that queries as the user types against one or more text columns, asWhereBuilder.suggest(String, Navigable, Navigable[])does, ignoring the given words as well.final PredicateBuilder<T, R, ID> WhereBuilder.suggest(String input, Navigable<? extends T, String> path, Navigable<? extends T, String>... more) Matches the words of a search box that queries as the user types, such as an auto-complete, against one or more text columns.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 compares the column at the specified path with the column at another path of the query, such as a foreign key with a foreign key to the same table.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 Data>
QueryBuilder<T, R, ID> Adds a 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.abstract <V> PredicateBuilder<T, R, ID> Adds a condition to the WHERE clause that compares the column at the specified path with the column at another path of the query, such as a foreign key with a foreign key to the same table.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>
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 Navigable -
Uses of Navigable in st.orm.template.impl
Method parameters in st.orm.template.impl with type arguments of type Navigable