public class CqlStringUtils extends Object
| Constructor and Description |
|---|
CqlStringUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
escapeSingle(Object thing)
Doubles single quote characters (' -> '').
|
static String |
singleQuote(Object thing)
Surrounds given object's
Object.toString() with single quotes. |
@Nullable public static String escapeSingle(@Nullable Object thing)
null.@Nullable public static String singleQuote(@Nullable Object thing)
Object.toString() with single quotes. Given null, returns
null.Copyright © 2011–2018 Pivotal Software, Inc.. All rights reserved.