java.lang.Object
com.pervasive.datarush.operators.io.vectorwise.Vectorwise
Helper class that provides information about the Vectorwise installation and various utilities.
-
Method Summary
Modifier and TypeMethodDescriptionstatic final List<FieldDerivation>createTextFields(RecordTokenType inputType, List<String> fieldsToInclude) static final String[]getAllUniqueKeys(JDBCConnector connector) static final StringgetFormattedTablename(JDBCConnector connector) static final StringgetFormattedTablename(String tableName, String delimiter) static final String[]getPrimaryKeys(JDBCConnector connector) static final String[]getSortKeys(JDBCConnector connector) static final StringgetTableMetadataStatement(JDBCConnector connector) static final String[]getUniqueKeys(JDBCConnector connector) static final intgetUniqueKeysSize(JDBCConnector connector) static booleanDetermines if the client is installed.static booleanDetermines if the server is installed.static StringunquoteTableName(String tableName) static voidValidates that direct VW access is supported on the current platform.static booleanValidates that the II_SYSTEM environment variable is set.
-
Method Details
-
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
-
unquoteTableName
-
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
-
getPrimaryKeys
-
getUniqueKeys
-
getUniqueKeysSize
-
getAllUniqueKeys
-
getFormattedTablename
-
getFormattedTablename
-
getTableMetadataStatement
-