Class SqlTypes
java.lang.Object
org.apache.arrow.driver.jdbc.utils.SqlTypes
SQL Types utility functions.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic int
getSqlTypeIdFromArrowType
(ArrowType arrowType) Convert givenArrowType
to its corresponding SQL type ID.static String
getSqlTypeNameFromArrowType
(ArrowType arrowType) Convert givenArrowType
to its corresponding SQL type name.
-
Constructor Details
-
SqlTypes
public SqlTypes()
-
-
Method Details
-
getSqlTypeNameFromArrowType
Convert givenArrowType
to its corresponding SQL type name.- Parameters:
arrowType
- type to convert from- Returns:
- corresponding SQL type name.
- See Also:
-
getSqlTypeIdFromArrowType
Convert givenArrowType
to its corresponding SQL type ID.- Parameters:
arrowType
- type to convert from- Returns:
- corresponding SQL type ID.
- See Also:
-