class IntPartition extends BasePartition implements JdbcFragmentMetadata {

    @Override
    public String toSqlConstraint(String quoteString, DbProduct dbProduct) {
        if (quoteString == null) {
            throw new RuntimeException("Quote string cannot be null");
        }

        return generateRangeConstraint(
                quoteString + column + quoteString,
                Stream.of(boundaries).map(b -> b == null ? null : b.toString()).toArray(String[]::new)
        );
    }

    public  IntPartition(String column, Long start, Long end);

}