Uses of Annotation Interface
com.google.mu.annotations.TemplateString
Package
Description
BigQuery Client Library (requires mug-bigquery artifact)
GoogleSql, SafeQuery
StringFormat, Substring, Optionals and more...
-
Uses of TemplateString in com.google.mu.bigquery
Modifier and TypeMethodDescriptionstatic ParameterizedQuery
Convenience method when you need to create theParameterizedQuery
inline, with both the query template and the arguments. -
Uses of TemplateString in com.google.mu.safesql
Modifier and TypeMethodDescriptionstatic SafeQuery
Much likeSafeQuery.of(java.lang.String, java.lang.Object...)
, but with additional GoogleSQL translation rules.static SafeQuery
Returns a query using a constant query template filled withargs
.static SafeQuery
SafeQuery.with
(String name1, SafeQuery subquery1, String name2, SafeQuery subquery2, String name3, SafeQuery subquery3, String template, Object... args) Creates a SafeQuery with 3 CTEs (Common Table Expression).static SafeQuery
SafeQuery.with
(String name1, SafeQuery subquery1, String name2, SafeQuery subquery2, String template, Object... args) Creates a SafeQuery with two CTEs (Common Table Expression).static SafeQuery
Creates a SafeQuery with a single CTE (Common Table Expression). -
Uses of TemplateString in com.google.mu.util