Uses of Interface
st.orm.template.PredicateBuilder
Packages that use PredicateBuilder
Package
Description
Java client API: templates, query builders and transactions.
Java client API implementation.
-
Uses of PredicateBuilder in st.orm.template
Methods in st.orm.template that return PredicateBuilderModifier and TypeMethodDescriptionPredicateBuilder.and(StringTemplatePREVIEW template) Adds a predicate to the WHERE clause using an AND condition.PredicateBuilder.and(PredicateBuilder<? extends T, ?, ?> predicate) Adds a predicate to the WHERE clause using an AND condition.abstract PredicateBuilder<T, R, ID> WhereBuilder.exists(QueryBuilder<?, ?, ?> subquery) Adds anEXISTScondition to the WHERE clause using the specified subquery.final PredicateBuilder<T, R, ID> WhereBuilder.FALSE()A predicate that always evaluates to false.abstract PredicateBuilder<T, R, ID> WhereBuilder.notExists(QueryBuilder<?, ?, ?> subquery) Adds anNOT EXISTScondition to the WHERE clause using the specified subquery.PredicateBuilder.or(StringTemplatePREVIEW template) Adds a predicate to the WHERE clause using an OR condition.PredicateBuilder.or(PredicateBuilder<? extends T, ?, ?> predicate) Adds a predicate to the WHERE clause using an OR condition.final PredicateBuilder<T, R, ID> WhereBuilder.search(String input, Set<String> ignore, Match<? extends T> field, Match<? extends T>... more) Matches the words of a search input against text columns, each in its stated match form, asWhereBuilder.search(String, Match, Match[])does, ignoring the given words as well, asWhereBuilder.search(String, Set, Navigable, Navigable[])ignores them.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> Matches the words of a search input against text columns, each in its stated match form, asWhereBuilder.search(String, Navigable, Navigable[])matches them anywhere in the value.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, Match<? extends T> field, Match<? extends T>... more) Matches the words of a search box that queries as the user types against text columns, each in its stated match form, asWhereBuilder.suggest(String, Match, Match[])does, ignoring the given words as well, asWhereBuilder.suggest(String, Set, Navigable, Navigable[])ignores them.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> Matches the words of a search box that queries as the user types against text columns, each in its stated match form, asWhereBuilder.suggest(String, Navigable, Navigable[])matches them at the start of a word.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 PredicateBuilder<T, R, ID> WhereBuilder.TRUE()A predicate that always evaluates to true.abstract PredicateBuilder<T, R, ID> Adds a condition to the WHERE clause that matches the specified records.abstract PredicateBuilder<T, R, ID> WhereBuilder.where(StringTemplatePREVIEW template) Appends a custom expression to the WHERE clause.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.abstract PredicateBuilder<T, R, ID> Adds a condition to the WHERE clause that matches the specified record.abstract PredicateBuilder<T, R, ID> Adds a condition to the WHERE clause that matches the specified primary key of the table.abstract PredicateBuilder<T, R, ID> Adds a condition to the WHERE clause that matches the specified primary keys of the table.abstract PredicateBuilder<T, R, ID> Adds a condition to the WHERE clause that matches the specified primary keys of the table, expressed by a ref.abstract <V extends Data>
PredicateBuilder<T, R, ID> Adds a condition to the WHERE clause that matches the specified refs.abstract PredicateBuilder<T, R, ID> Adds a condition to the WHERE clause that matches the specified primary key of the table, expressed by a ref.Methods in st.orm.template with parameters of type PredicateBuilderModifier and TypeMethodDescriptionPredicateBuilder.and(PredicateBuilder<? extends T, ?, ?> predicate) Adds a predicate to the WHERE clause using an AND condition.PredicateBuilder.or(PredicateBuilder<? extends T, ?, ?> predicate) Adds a predicate to the WHERE clause using an OR condition.Method parameters in st.orm.template with type arguments of type PredicateBuilderModifier and TypeMethodDescriptionTypedJoinBuilder.on(Class<? extends Data> relation, Function<WhereBuilder<Data, R, ID>, PredicateBuilder<Data, ?, ?>> condition) Specifies the relation to join on, with a condition the join adds to the foreign key it resolves.TypedJoinBuilder.on(Function<WhereBuilder<Data, R, ID>, PredicateBuilder<Data, ?, ?>> predicate) Specifies the relation to join on as a predicate, which states it as a whole: the keys it equates and any condition on the joined rows.abstract QueryBuilder<T, R, ID> QueryBuilder.orderFirst(Function<WhereBuilder<T, R, ID>, PredicateBuilder<T, ?, ?>> predicate) Adds an ORDER BY key that puts the rows matching the predicate before the rows that do not, keeping the order of the keys before it and leaving the order within each part to the keys after it.abstract QueryBuilder<T, R, ID> QueryBuilder.where(Function<WhereBuilder<T, R, ID>, PredicateBuilder<T, ?, ?>> predicate) Adds a WHERE clause to the query using aWhereBuilder. -
Uses of PredicateBuilder in st.orm.template.impl
Classes in st.orm.template.impl that implement PredicateBuilderModifier and TypeClassDescriptionstatic classQueryBuilderImpl.PredicateBuilderImpl<TX extends Data,RX, IDX> Methods in st.orm.template.impl that return PredicateBuilderModifier and TypeMethodDescriptionQueryBuilderImpl.PredicateBuilderImpl.and(StringTemplatePREVIEW template) QueryBuilderImpl.PredicateBuilderImpl.and(PredicateBuilder<? extends TX, ?, ?> predicate) static <TX extends Data,RX, IDX>
PredicateBuilder<TX, RX, IDX> QueryBuilderImpl.PredicateBuilderImpl.of(st.orm.core.template.PredicateBuilder<TX, RX, IDX> core) Returns the predicate builder of the Java API over the given core predicate builder.QueryBuilderImpl.PredicateBuilderImpl.or(StringTemplatePREVIEW template) QueryBuilderImpl.PredicateBuilderImpl.or(PredicateBuilder<? extends TX, ?, ?> predicate) Methods in st.orm.template.impl with parameters of type PredicateBuilderModifier and TypeMethodDescriptionQueryBuilderImpl.PredicateBuilderImpl.and(PredicateBuilder<? extends TX, ?, ?> predicate) QueryBuilderImpl.PredicateBuilderImpl.or(PredicateBuilder<? extends TX, ?, ?> predicate) Method parameters in st.orm.template.impl with type arguments of type PredicateBuilderModifier and TypeMethodDescriptionQueryBuilder<T, R, ID> QueryBuilderImpl.orderFirst(Function<WhereBuilder<T, R, ID>, PredicateBuilder<T, ?, ?>> predicate) QueryBuilder<T, R, ID> QueryBuilderImpl.where(Function<WhereBuilder<T, R, ID>, PredicateBuilder<T, ?, ?>> predicate) Adds a WHERE clause to the query using aWhereBuilder.