Uses of Class
com.google.guava.labs.safesql.SafeQuery
Packages that use SafeQuery
-
Uses of SafeQuery in com.google.guava.labs.safesql
Fields in com.google.guava.labs.safesql declared as SafeQueryModifier and TypeFieldDescriptionstatic final SafeQuerySafeQuery.EMPTYDeprecated.An empty query string.Methods in com.google.guava.labs.safesql that return SafeQueryModifier and TypeMethodDescriptionstatic SafeQueryDeprecated.Much likeof(java.lang.String, java.lang.Object...), but with additional GoogleSQL translation rules.static SafeQueryDeprecated.Returns a query using a constant query template filled withargs.static SafeQuerySafeQuery.optionally(String query, Optional<?> arg) Deprecated.An optional query that's only rendered ifargis present; otherwise returnsEMPTY.Deprecated.Ifthisquery is empty (likely from a call tooptionally(java.lang.String, java.util.Optional<?>)orwhen(boolean, java.lang.String, java.lang.Object...)), returns thefallbackquery.Deprecated.Ifthisquery is empty (likely from a call tooptionally(java.lang.String, java.util.Optional<?>)orwhen(boolean, java.lang.String, java.lang.Object...)), returns the SafeQuery produced from thefallbacktemplate andargs.Deprecated.Ifthisquery is empty (likely from a call tooptionally(java.lang.String, java.util.Optional<?>)orwhen(boolean, java.lang.String, java.lang.Object...)), returns the query produced by thefallbacksupplier.protected SafeQuerySafeQuery.Translator.translateLiteral(Substring.Match placeholder, Object value) Deprecated.Called if a placeholdervalueis a non-string, non-Iterable literal appearing unquoted in the template.SafeQuery.when(boolean condition) Deprecated.Returns this SafeQuery ifconditionis true; otherwise returnsEMPTY.static SafeQueryDeprecated.An optional query that's only rendered ifconditionis true; otherwise returnsEMPTY.Methods in com.google.guava.labs.safesql that return types with arguments of type SafeQueryModifier and TypeMethodDescriptionSafeQuery.and()Deprecated.A collector that joins boolean query snippets usingANDoperator.SafeQuery.and()Deprecated.A collector that joins boolean query snippets usingANDoperator.Deprecated.Returns a collector that can joinSafeQueryobjects usingdelimas the delimiter.Deprecated.Returns a collector that can joinSafeQueryobjects usingdelimas the delimiter.SafeQuery.or()Deprecated.A collector that joins boolean query snippets usingORoperator.SafeQuery.or()Deprecated.A collector that joins boolean query snippets usingORoperator.static StringFormat.Template<SafeQuery> Deprecated.Much liketemplate(java.lang.String), but with additional GoogleSQL translation rules.static StringFormat.Template<SafeQuery> Deprecated.Creates a template with the placeholders to be filled by subsequentStringFormat.Template.with(java.lang.Object...)calls.final StringFormat.Template<SafeQuery> Deprecated.Translatestemplateto a factory ofSafeQueryby filling the provided parameters in the places of corresponding placeholders.Methods in com.google.guava.labs.safesql with parameters of type SafeQueryModifier and TypeMethodDescriptionDeprecated.Ifthisquery is empty (likely from a call tooptionally(java.lang.String, java.util.Optional<?>)orwhen(boolean, java.lang.String, java.lang.Object...)), returns thefallbackquery.Method parameters in com.google.guava.labs.safesql with type arguments of type SafeQueryModifier and TypeMethodDescriptionDeprecated.Ifthisquery is empty (likely from a call tooptionally(java.lang.String, java.util.Optional<?>)orwhen(boolean, java.lang.String, java.lang.Object...)), returns the query produced by thefallbacksupplier.