Class SplitInfo<T>
- java.lang.Object
-
- com.amazonaws.athena.connectors.jdbc.splits.SplitInfo<T>
-
- Type Parameters:
T
- type of the split. E.g. Integer.
public class SplitInfo<T> extends Object
Split information. Example: split range, column name, type and expected splits.
-
-
Constructor Summary
Constructors Constructor Description SplitInfo(SplitRange<T> splitRange, String columnName, int columnType, int numSplits)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
getColumnName()
int
getColumnType()
int
getNumSplits()
SplitRange<T>
getSplitRange()
int
hashCode()
String
toString()
-
-
-
Constructor Detail
-
SplitInfo
public SplitInfo(SplitRange<T> splitRange, String columnName, int columnType, int numSplits)
- Parameters:
splitRange
- split range of type T.columnName
- database column name.columnType
- database column type.numSplits
- expected number of splits.
-
-
Method Detail
-
getSplitRange
public SplitRange<T> getSplitRange()
-
getColumnName
public String getColumnName()
-
getColumnType
public int getColumnType()
-
getNumSplits
public int getNumSplits()
-
-