Uses of Interface
com.google.mu.util.StringFormat.Template
Package
Description
BigQuery Client Library (requires mug-bigquery artifact)
GoogleSql, SafeQuery
StringFormat, Substring, Optionals and more...
-
Uses of StringFormat.Template in com.google.mu.bigquery
Modifier and TypeMethodDescriptionReturns a template ofQueryJobConfiguration
based on thetemplate
string. -
Uses of StringFormat.Template in com.google.mu.safesql
Modifier 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 cachedPreparedStatement
for 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 cachedPreparedStatement
for repeated calls ofwith(java.lang.Object...)
using different parameters.static StringFormat.Template
<SafeQuery> Much likeSafeQuery.template(java.lang.String)
, but with additional GoogleSQL translation rules.static StringFormat.Template
<SafeQuery> Creates a template with the placeholders to be filled by subsequentwith(java.lang.Object...)
calls.static StringFormat.Template
<SafeSql> final StringFormat.Template
<SafeQuery> Translatestemplate
to a factory ofSafeQuery
by filling the provided parameters in the places of corresponding placeholders. -
Uses of StringFormat.Template in com.google.mu.util
Modifier and TypeMethodDescriptionstatic <T> StringFormat.Template
<T> StringFormat.template
(String template, StringFormat.Interpolator<? extends T> interpolator) Returns a go/jep-430 style template ofT
produced by interpolating arguments into thetemplate
string, using the giveninterpolator
function.static <T> StringFormat.Template
<T> Returns a factory of typeT
usingformat
string as the template, whose curly-braced placeholders will be filled with the template arguments and then passed to thecreator
function to create theT
instances.