public final class SqlUtils
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
escapeString(java.lang.String value) |
static TableMetadata |
getTableMetadata(Metadata metadata,
TableRef table) |
static TableMetadata |
getTableMetadata(Metadata metadata,
TableRef table,
java.lang.String defaultNamespace) |
static <T extends Statement> |
setNamespaceNameIfOmitted(T statement,
java.lang.String defaultNamespaceName) |
static java.lang.String |
toString(TableRef table) |
static void |
validateNamespaceName(NamespaceNameOmittable<?> namespaceNameOmittable) |
public static TableMetadata getTableMetadata(Metadata metadata, TableRef table)
public static TableMetadata getTableMetadata(Metadata metadata, TableRef table, @Nullable java.lang.String defaultNamespace)
public static java.lang.String escapeString(java.lang.String value)
public static <T extends Statement> T setNamespaceNameIfOmitted(T statement, @Nullable java.lang.String defaultNamespaceName)
public static void validateNamespaceName(NamespaceNameOmittable<?> namespaceNameOmittable)
public static java.lang.String toString(TableRef table)