- 博客(1)
- 资源 (1)
- 收藏
- 关注
原创 OCI 批量入库Lob字段
最近由于项目需要开始使用OCI接口编写Lob 字段的删除 更新 插入包括批量插入! 批量插入有两种方法: 1.建立临时大对象,对每行每列的分配一个OCILobLocator,并建立相应的临时大对象,将数据通过lobWrite写入;最后邦定某一列,参数locator是数组元素;通过OCIStmtExecute执行n行. 该方法缺点 :速度慢,(释放资源和入库的时间差不多) 2.先批量入库lo
2016-01-22 22:59:42
712
CLIQUE代码实现
Input : argc, argv *
* Output : int *
* The usage of the clique program should *
* be of the form: *
* clique fileName numberOfPoints resolution xmin xmax ymin ymax tau *
* *
* Each parameter's meanning is : *
* clique -- program's name *
* string fileName -- indicate the data file *
* name which *
* contains all the data vectors. *
* int numberOfPoints -- the number of data points *
* float resolution -- resolution of clustering *
* float xmin -- the min value of x *
* float xmax -- the max value of x *
* float ymin -- the min value of y *
* float ymax -- the max value of y *
* float tau -- the threshold for clustering
2011-05-14
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人