Class SplitterFactory
- java.lang.Object
-
- com.amazonaws.athena.connectors.jdbc.splits.SplitterFactory
-
public class SplitterFactory extends Object
Creates splitter depending on split column data type.
-
-
Constructor Summary
Constructors Constructor Description SplitterFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<Splitter>
getSplitter(String columnName, ResultSet resultSet, int maxSplits)
-
-
-
Method Detail
-
getSplitter
public Optional<Splitter> getSplitter(String columnName, ResultSet resultSet, int maxSplits) throws SQLException
- Parameters:
columnName
- split column name.resultSet
- split min and max values.maxSplits
- number of splits.- Returns:
Splitter
optional.- Throws:
SQLException
- exception accessing min and max values fromResultSet
.
-
-