Uses of Interface
st.orm.Element

Packages that use Element
Package
Description
 
  • Uses of Element in st.orm.template

    Methods in st.orm.template that return Element
    Modifier and Type
    Method
    Description
    static Element
    Templates.alias(Class<? extends Data> table)
    Generates an alias element for the specified table class.
    static Element
    Templates.alias(Class<? extends Data> table, ResolveScope scope)
    Generates an alias element for the specified table class.
    static Element
    Templates.bindVar(BindVars bindVars, Function<Data,?> extractor)
    Creates a new var element that can be used to specify individual bind variables in the query.
    static Element
    Templates.column(Metamodel<?,?> path)
    Generates a column element for a column specified by the given metamodel in a type safe manner.
    static Element
    Templates.column(Metamodel<?,?> path, ResolveScope scope)
    Generates a column element for a column specified by the given metamodel in a type safe manner.
    static Element
    Templates.delete(Class<? extends Data> table)
    Generates a DELETE element for the specified table class.
    static Element
    Templates.delete(Class<? extends Data> table, String alias)
    Generates a DELETE element for the specified table class with an alias.
    static Element
    Templates.from(Class<? extends Data> table, boolean autoJoin)
    Generates a FROM element for the specified table class without an alias and optional auto-joining of foreign keys.
    static Element
    Templates.from(Class<? extends Data> table, String alias, boolean autoJoin)
    Generates a FROM element for the specified table class, with an alias and optional auto-joining of foreign keys.
    static Element
    Templates.from(StringTemplatePREVIEW template, String alias)
    Generates a FROM element using a provided SQL string template with an alias.
    static Element
    Templates.insert(Class<? extends Data> table)
    Generates an INSERT element for the specified table class.
    static Element
    Templates.insert(Class<? extends Data> table, boolean ignoreAutoGenerate)
    Generates an INSERT element for the specified table class.
    static Element
    Templates.param(Object value)
    Generates a parameter element for the specified value, to be used in SQL queries.
    static Element
    Templates.param(String name, Object value)
    Generates a named parameter element for the specified value, to be used in SQL queries.
    static Element
    Templates.param(String name, Calendar value, TemporalType temporalType)
    Generates a named parameter element for the specified Calendar value with a temporal type.
    static Element
    Templates.param(String name, Date value, TemporalType temporalType)
    Generates a named parameter element for the specified Date value with a temporal type.
    static <P> Element
    Templates.param(String name, P value, Function<? super P,?> converter)
    Generates a named parameter element for the specified value with a converter function.
    static Element
    Templates.param(Calendar value, TemporalType temporalType)
    Generates a parameter element for the specified Calendar value with a temporal type.
    static Element
    Templates.param(Date value, TemporalType temporalType)
    Generates a parameter element for the specified Date value with a temporal type.
    static <P> Element
    Templates.param(P value, Function<? super P,?> converter)
    Generates a parameter element for the specified value with a converter function.
    static Element
    Templates.select(Class<? extends Data> table)
    Generates a SELECT element for the specified table class.
    static Element
    Templates.select(Class<? extends Data> table, SelectMode mode)
    Generates a SELECT element for the specified table class.
    static Element
    Templates.set(BindVars bindVars)
    Generates a SET clause using the specified BindVars.
    static Element
    Templates.set(BindVars bindVars, Collection<Metamodel<?,?>> fields)
    Generates a SET clause using the specified BindVars.
    static Element
    Templates.set(Data record)
    Generates a SET clause for the specified record.
    static Element
    Templates.set(Data record, Collection<Metamodel<?,?>> fields)
    Generates a SET clause for the specified record.
    static Element
    Templates.subquery(StringTemplatePREVIEW template, boolean correlate)
    Creates a new subquery element using a string template.
    static Element
    Templates.subquery(QueryBuilder<?,?,?> builder, boolean correlate)
    Creates a new subquery element using a query builder.
    static Element
    Templates.table(Class<? extends Data> table)
    Generates a Table element for the specified table class.
    static Element
    Templates.table(Class<? extends Data> table, String alias)
    Generates a Table element with an alias for the specified table class.
    static Element
    Templates.unsafe(String sql)
    Injects raw SQL into the query without any processing or sanitization.
    static Element
    Templates.update(Class<? extends Data> table)
    Generates an UPDATE element for the specified table class.
    static Element
    Templates.update(Class<? extends Data> table, String alias)
    Generates an UPDATE element for the specified table class with an alias.
    static Element
    Templates.values(Iterable<? extends Data> records)
    Generates a VALUES clause for the specified iterable of record instances.
    static Element
    Templates.values(Iterable<? extends Data> records, boolean ignoreAutoGenerate)
    Generates a VALUES clause for the specified iterable of record instances.
    static Element
    Templates.values(BindVars bindVars)
    Generates a VALUES clause using the specified BindVars for batch insertion.
    static Element
    Templates.values(BindVars bindVars, boolean ignoreAutoGenerate)
    Generates a VALUES clause using the specified BindVars for batch insertion.
    static Element
    Templates.values(Data... r)
    Generates a VALUES clause for the specified record instance(s).
    static Element
    Templates.values(Data r, boolean ignoreAutoGenerate)
    Generates a VALUES clause for the specified record instance(s).
    static Element
    Templates.where(Iterable<?> it)
    Generates a WHERE clause based on the provided iterable of values or records.
    static Element
    Templates.where(Object o)
    Generates a WHERE clause based on the provided value or record.
    static Element
    Templates.where(BindVars bindVars)
    Generates a WHERE clause using the specified BindVars for batch operations.
    static <V> Element
    Templates.where(Metamodel<?,V> path, Operator operator, Iterable<? extends V> it)
    Generates a WHERE clause based on the provided path, operator, and iterable of values or records.
    static <V> Element
    Templates.where(Metamodel<?,V> path, Operator operator, V... o)
    Generates a WHERE clause based on the provided path, operator, and values or records.