public class VwUtil extends Object
Modifier and Type | Field and Description |
---|---|
static org.apache.commons.logging.Log |
LOG |
Constructor and Description |
---|
VwUtil() |
Modifier and Type | Method and Description |
---|---|
static IX100Connector |
getConnection(VwProperties config)
Fetch X100 server connection
|
static String |
getDatabase(String url)
Fetch the database from URL
|
static String |
getHost(String url)
Fetch the host from URL
|
static String |
getIpAddress(String jdbcUrl) |
static int |
getParallelCommitJOBID(VwProperties props,
int reducers)
Fetch parallel commit job id.
|
static String |
getPort(String url)
Fetch the port from URL
|
static String |
getSortedDirPath(String dir) |
public static int getParallelCommitJOBID(VwProperties props, int reducers) throws Exception
job
- Exception
public static String getDatabase(String url)
url
- public static IX100Connector getConnection(VwProperties config) throws ConnectionException, GeneralSecurityException, org.apache.commons.codec.DecoderException
config
- ConnectionException
GeneralSecurityException
org.apache.commons.codec.DecoderException
public static String getIpAddress(String jdbcUrl) throws ConnectionException
ConnectionException
Copyright © 2016 Actian Corporation. All Rights Reserved.