Class VerticaSchemaUtils
- java.lang.Object
-
- com.amazonaws.athena.connectors.vertica.VerticaSchemaUtils
-
public class VerticaSchemaUtils extends Object
-
-
Constructor Summary
Constructors Constructor Description VerticaSchemaUtils()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.apache.arrow.vector.types.pojo.SchemabuildTableSchema(Connection connection, TableName name)static voidconvertToArrowType(SchemaBuilder tableSchemaBuilder, String colName, String colType)static voidinstallCaCertificate()Write out the cacerts that we trust from the default java truststore.static voidsetupNativeEnvironmentVariables()
-
-
-
Method Detail
-
buildTableSchema
protected org.apache.arrow.vector.types.pojo.Schema buildTableSchema(Connection connection, TableName name)
-
convertToArrowType
public static void convertToArrowType(SchemaBuilder tableSchemaBuilder, String colName, String colType) throws SQLException
- Throws:
SQLException
-
installCaCertificate
public static void installCaCertificate() throws IOException, NoSuchAlgorithmException, KeyStoreException, CertificateEncodingExceptionWrite out the cacerts that we trust from the default java truststore.
-
setupNativeEnvironmentVariables
public static void setupNativeEnvironmentVariables()
-
-