for循环 /* for循环打印1到10 */ set serveroutput on; declare begin .. loop dbms_output.put_line(i); end loop; end; / while循环 /* 打印数字1 ~ 10 */ set serveroutput on; declare num ; begin loop dbms_output.put_line(num); num :; end loop; end; / loop循环(推荐使用这一种) /*
今天在学校的一个三层交换上看到持续的日志信息: Host 00:E0:FC:09:BC:F9is flapping between fa0/x and fa0/y. 思科对此官方的解释是: Error Message SW_MATM-4-MACFLAP_NOTIF: Host [enet] in [chars] [dec] is flapping between port [chars] and port [chars] 某主机的MAC地址在某两端口之间摆动. Explanation This
最近在用Spark MLlib进行特征处理时,对于StringIndexer和IndexToString遇到了点问题,查阅官方文档也没有解决疑惑.无奈之下翻看源码才明白其中一二...这就给大家娓娓道来. 更多内容参考我的大数据学习之路 文档说明 StringIndexer 字符串转索引 StringIndexer可以把字符串的列按照出现频率进行排序,出现次数最高的对应的Index为0.比如下面的列表进行StringIndexer id category 0 a 1 b 2 c 3 a 4 a 5
java extends与implements在使用时的一个差异: Implements: public class ThreadImplementsTest implements Runnable{ public void loop(){ String name=Thread.currentThread().getName(); System.out.println(name+"====>进入loop()"); for (int i = 0; i < 10; i++) {
Oracle存储过程小解 1.创建语法 create or replace procedure pro_name( paramIn in type, paramOUt out type, paramInOut in out type ) as(is)[类似于mysql的declare] begin statement... end; 注:<1>入参不用写长度,只需写类型,in.out.in out写在参数名后,区别于mysql写在参数名前,不写默认为in; <2>in是值传递,ou