转自:http://www.ibm.com/developerworks/cn/java/j-lo-HBase/index.html高性能 HBase 数据库本文首先介绍了 HBase 数据库基本原理及专用术语,然后介绍了 HBase 数据库发布的操作 API 及部分示例,重点介绍了 Scan 方法...
分类:
数据库 时间:
2015-08-18 19:02:11
阅读次数:
176
低效Index Scan(索引扫描):就全扫描索引(包括根页,中间页和叶级页):高效Index Seek(索引查找):通过索引向前和向后搜索 :解释解释indexseek和indexscan:索引是一颗B树,indexseek是查找从B树的根节点开始,一级一级找到目标行。indexscan则是从左到...
分类:
其他好文 时间:
2015-08-18 18:03:11
阅读次数:
158
port扫描仪的原理非常easy。没有什么比操作更socket,能够connect它认为,port打开。import socketdef scan(port): s = socket.socket() if s.connect_ex(('localhost', port)) == 0: ...
分类:
编程语言 时间:
2015-08-17 21:16:48
阅读次数:
247
import java.io.File;public class Scan { public static void main(String[] args) { String fileName = "D:\\Program Files\\腾讯游戏\\英雄联盟" + File.se...
分类:
编程语言 时间:
2015-08-17 11:58:24
阅读次数:
152
1 essay n.散文,小品文;论说文2 distribute vt.分发,分配,分送3 finally adv.最终,终于4 face up to 勇敢的接受或对付5 scan 浏览,粗略地看6 spaghetti n.意大利式细面条7 title n.标题,题目 ...
分类:
其他好文 时间:
2015-08-17 09:52:48
阅读次数:
101
SWIFT中扫描QRCode代码如下,照着敲一次再看下API的注释应该就没问题了。import UIKitimport Foundationimport AVFoundationclass ViewController: UIViewController,AVCaptureMetadataOutpu...
分类:
编程语言 时间:
2015-08-15 22:54:20
阅读次数:
205
import java.util.Arrays;
import java.util.Scanner;
public class IntArrSot {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
String str = scan.nextLine();
S...
分类:
编程语言 时间:
2015-08-15 18:23:51
阅读次数:
141
import java.util.*;
public class GetLCM {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int a = scan.nextInt();
int b = scan.nextInt();
int mod = a % b;...
分类:
编程语言 时间:
2015-08-14 19:11:30
阅读次数:
140
import java.util.Iterator;
import java.util.Scanner;
import java.util.TreeSet;
public class RandomDataSort {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int ...
分类:
编程语言 时间:
2015-08-14 13:50:12
阅读次数:
279
这个错误翻译的意思是:不能在没有Looper.prepare的线程里面创建handler。起初我很疑惑,我根本没有用到工作线程,也没有创建handler。报错的代码如下: // Device scan callback.
private BluetoothAdapter.LeScanCallback mLeScanCallback =
new Bluetooth...
分类:
移动开发 时间:
2015-08-12 19:31:29
阅读次数:
165