class MemoryQueryResult implements QueryResult {

    @Override
    public boolean next() {
        if (resultData.hasNext()) {
            currentRow = resultData.next();
            return true;
        }
        currentRow = null;
        return false;
    }

    public  MemoryQueryResult(final ResultSet resultSet, final ShardingRule shardingRule);
    public  MemoryQueryResult(final ResultSet resultSet, final EncryptRule encryptRule);
    public  MemoryQueryResult(final ResultSet resultSet);

}