class NullPartition extends BasePartition implements JdbcFragmentMetadata {

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

        StringBuilder sb = new StringBuilder();

        String columnQuoted = quoteString + column + quoteString;

        sb.append(
            columnQuoted
        ).append(
            isNull ? " IS NULL" : " IS NOT NULL"
        );

        return sb.toString();
    }

    public  NullPartition(String column, boolean isNull);
    public  NullPartition(String column);

}