class MySQLComStmtExecutePacket extends MySQLCommandPacket {

    private List<Object> getParameters(final MySQLPacketPayload payload, final int parameterCount) throws SQLException {
        List<Object> result = new ArrayList<>(parameterCount);
        for (int parameterIndex = 0; parameterIndex < parameterCount; parameterIndex++) {
            MySQLBinaryProtocolValue binaryProtocolValue = MySQLBinaryProtocolValueFactory.getBinaryProtocolValue(binaryStatement.getParameterTypes().get(parameterIndex).getColumnType());
            result.add(nullBitmap.isNullParameter(parameterIndex) ? null : binaryProtocolValue.read(payload));
        }
        return result;
    }

    public  MySQLComStmtExecutePacket(final MySQLPacketPayload payload);

}