- java.lang.Object
-
- com.pervasive.datarush.operators.io.vectorwise.Vectorwise
-
public class Vectorwise extends Object
Helper class that provides information about the Vectorwise installation and various utilities.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static List<FieldDerivation>
createTextFields(RecordTokenType inputType, List<String> fieldsToInclude)
static String[]
getAllUniqueKeys(JDBCConnector connector)
static String
getFormattedTablename(JDBCConnector connector)
static String
getFormattedTablename(String tableName, String delimiter)
static String[]
getPrimaryKeys(JDBCConnector connector)
static String[]
getSortKeys(JDBCConnector connector)
static String
getTableMetadataStatement(JDBCConnector connector)
static String[]
getUniqueKeys(JDBCConnector connector)
static int
getUniqueKeysSize(JDBCConnector connector)
static boolean
isVWClientInstalled()
Determines if the client is installed.static boolean
isVWServerInstalled()
Determines if the server is installed.static String
unquoteTableName(String tableName)
static void
validateDirectAccessSupport()
Validates that direct VW access is supported on the current platform.static boolean
validateIISystem()
Validates that the II_SYSTEM environment variable is set.
-
-
-
Method Detail
-
isVWClientInstalled
public static boolean isVWClientInstalled()
Determines if the client is installed. This will also return true if the server is installed.- Returns:
- true if installed; false otherwise
-
isVWServerInstalled
public static boolean isVWServerInstalled()
Determines if the server is installed.- Returns:
- true if installed; false otherwise
-
validateIISystem
public static boolean validateIISystem()
Validates that the II_SYSTEM environment variable is set.- Returns:
- true if set; false otherwise
-
validateDirectAccessSupport
public static void validateDirectAccessSupport()
Validates that direct VW access is supported on the current platform. If not supported, an exception is thrown.- Throws:
DRException
- if the platform is not supported
-
createTextFields
public static final List<FieldDerivation> createTextFields(RecordTokenType inputType, List<String> fieldsToInclude)
-
getSortKeys
public static final String[] getSortKeys(JDBCConnector connector)
-
getPrimaryKeys
public static final String[] getPrimaryKeys(JDBCConnector connector)
-
getUniqueKeys
public static final String[] getUniqueKeys(JDBCConnector connector)
-
getUniqueKeysSize
public static final int getUniqueKeysSize(JDBCConnector connector)
-
getAllUniqueKeys
public static final String[] getAllUniqueKeys(JDBCConnector connector)
-
getFormattedTablename
public static final String getFormattedTablename(JDBCConnector connector)
-
getFormattedTablename
public static final String getFormattedTablename(String tableName, String delimiter)
-
getTableMetadataStatement
public static final String getTableMetadataStatement(JDBCConnector connector)
-
-