Uses of Interface
com.google.mu.util.StringFormat.Template
Packages that use StringFormat.Template
Package
Description
Deprecated (requires mug-guava artifact)
BigQuery Client Library (requires mug-bigquery artifact)
Injection-safe SQL template (requires mug-safesql artifact)
StringFormat, Substring, Optionals and more...
- 
Uses of StringFormat.Template in com.google.guava.labs.safesql
Methods in com.google.guava.labs.safesql that return StringFormat.TemplateModifier and TypeMethodDescriptionstatic StringFormat.Template<SafeQuery> Deprecated.Much likeSafeQuery.template(java.lang.String), but with additional GoogleSQL translation rules.static StringFormat.Template<SafeQuery> Deprecated.Creates a template with the placeholders to be filled by subsequentwith(java.lang.Object...)calls.final StringFormat.Template<SafeQuery> Deprecated.Translatestemplateto a factory ofSafeQueryby filling the provided parameters in the places of corresponding placeholders. - 
Uses of StringFormat.Template in com.google.mu.bigquery
Methods in com.google.mu.bigquery that return StringFormat.TemplateModifier and TypeMethodDescriptionReturns a template ofQueryJobConfigurationbased on thetemplatestring. - 
Uses of StringFormat.Template in com.google.mu.safesql
Methods in com.google.mu.safesql that return StringFormat.TemplateModifier and TypeMethodDescriptionstatic <T> StringFormat.Template<List<T>> SafeSql.prepareToQuery(Connection connection, String template, SqlFunction<? super ResultSet, ? extends T> rowMapper) Returns a query template that will reuse the same cachedPreparedStatementfor repeated calls ofwith(java.lang.Object...)using different parameters.static <T> StringFormat.Template<List<T>> SafeSql.prepareToQuery(Connection connection, String template, Class<? extends T> resultType) Returns a query template that will reuse the same cachedPreparedStatementfor repeated calls ofwith(java.lang.Object...)using different parameters.static StringFormat.Template<Integer> SafeSql.prepareToUpdate(Connection connection, String template) Returns a DML (create, update, delete) template that will reuse the same cachedPreparedStatementfor repeated calls ofwith(java.lang.Object...)using different parameters.static StringFormat.Template<SafeSql>  - 
Uses of StringFormat.Template in com.google.mu.util
Methods in com.google.mu.util that return StringFormat.TemplateModifier and TypeMethodDescriptionstatic <T> StringFormat.Template<T> StringFormat.template(String template, StringFormat.Interpolator<? extends T> interpolator) Returns a go/jep-430 style template ofTproduced by interpolating arguments into thetemplatestring, using the giveninterpolatorfunction.static <T> StringFormat.Template<T> Returns a factory of typeTusingformatstring as the template, whose curly-braced placeholders will be filled with the template arguments and then passed to thecreatorfunction to create theTinstances.