public abstract class SqlUtils extends Object
Constructor and Description |
---|
SqlUtils() |
Modifier and Type | Method and Description |
---|---|
static String |
createExternalReadableTable(LoadConfiguration config,
String prefix,
List<String> overrideLocations) |
static String |
createLocationString(String[] strings)
Converts string array to greenplum friendly string.
|
static String |
dropExternalReadableTable(LoadConfiguration config,
String prefix) |
static String |
load(LoadConfiguration config,
String prefix)
Builds sql clause to load data into a database.
|
public static String createExternalReadableTable(LoadConfiguration config, String prefix, List<String> overrideLocations)
public static String dropExternalReadableTable(LoadConfiguration config, String prefix)
config
- the load configurationprefix
- the prefixpublic static String load(LoadConfiguration config, String prefix)
config
- Load configuration.prefix
- Prefix for temporary resources.public static String createLocationString(String[] strings)
strings
- String array to explodeCopyright © 2016 Pivotal Software, Inc.. All rights reserved.