Uses of Interface
st.orm.Element
Packages that use Element
-
Uses of Element in st.orm.template
Methods in st.orm.template that return ElementModifier and TypeMethodDescriptionstatic ElementGenerates an alias element for the specified table class.static ElementTemplates.alias(Class<? extends Data> table, ResolveScope scope) Generates an alias element for the specified table class.static ElementCreates a new var element that can be used to specify individual bind variables in the query.static 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.static ElementGenerates a DELETE element for the specified table class.static ElementGenerates a DELETE element for the specified table class with an alias.static ElementGenerates a FROM element for the specified table class without an alias and optional auto-joining of foreign keys.static ElementGenerates a FROM element for the specified table class, with an alias and optional auto-joining of foreign keys.static ElementTemplates.from(StringTemplatePREVIEW template, String alias) Generates a FROM element using a provided SQL string template with an alias.static ElementGenerates an INSERT element for the specified table class.static ElementGenerates an INSERT element for the specified table class.static ElementGenerates a parameter element for the specified value, to be used in SQL queries.static ElementGenerates a named parameter element for the specified value, to be used in SQL queries.static ElementTemplates.param(String name, Calendar value, TemporalType temporalType) Generates a named parameter element for the specifiedCalendarvalue with a temporal type.static ElementTemplates.param(String name, Date value, TemporalType temporalType) Generates a named parameter element for the specifiedDatevalue with a temporal type.static <P> ElementGenerates a named parameter element for the specified value with a converter function.static ElementTemplates.param(Calendar value, TemporalType temporalType) Generates a parameter element for the specifiedCalendarvalue with a temporal type.static ElementTemplates.param(Date value, TemporalType temporalType) Generates a parameter element for the specifiedDatevalue with a temporal type.static <P> ElementGenerates a parameter element for the specified value with a converter function.static ElementGenerates a SELECT element for the specified table class.static ElementTemplates.select(Class<? extends Data> table, SelectMode mode) Generates a SELECT element for the specified table class.static ElementGenerates a SET clause using the specifiedBindVars.static ElementTemplates.set(BindVars bindVars, Collection<Metamodel<?, ?>> fields) Generates a SET clause using the specifiedBindVars.static ElementGenerates a SET clause for the specified record.static ElementTemplates.set(Data record, Collection<Metamodel<?, ?>> fields) Generates a SET clause for the specified record.static ElementTemplates.subquery(StringTemplatePREVIEW template, boolean correlate) Creates a new subquery element using a string template.static ElementTemplates.subquery(QueryBuilder<?, ?, ?> builder, boolean correlate) Creates a new subquery element using a query builder.static ElementGenerates a Table element for the specified table class.static ElementGenerates a Table element with an alias for the specified table class.static ElementInjects raw SQL into the query without any processing or sanitization.static ElementGenerates an UPDATE element for the specified table class.static ElementGenerates an UPDATE element for the specified table class with an alias.static ElementGenerates a VALUES clause for the specified iterable of record instances.static ElementGenerates a VALUES clause for the specified iterable of record instances.static ElementGenerates a VALUES clause using the specifiedBindVarsfor batch insertion.static ElementGenerates a VALUES clause using the specifiedBindVarsfor batch insertion.static ElementGenerates a VALUES clause for the specified record instance(s).static ElementGenerates a VALUES clause for the specified record instance(s).static ElementGenerates a WHERE clause based on the provided iterable of values or records.static ElementGenerates a WHERE clause based on the provided value or record.static ElementGenerates a WHERE clause using the specifiedBindVarsfor batch operations.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.