使用itextpdf FormField 生成pdf 的时候我们很多时候都需要指定字体的大小,以下是一个简单的说明 注意:使用的测试版本为 5.5.3 修改字体的方法 参考代码 public static void fillData(AcroFields fields, Map<String, St ...
分类:
其他好文 时间:
2020-07-22 20:41:50
阅读次数:
130
options (rows=10000,direct=true,skip=0,errors=10000)load datainfile '文件名'truncate into table 表名fields terminated by ','optionally enclosed by '"'trail ...
分类:
数据库 时间:
2020-07-21 21:51:23
阅读次数:
75
这道题我还有一些奇怪的地方没有搞懂,这里我先放一篇代码吧! 代码如下: #include<bits/stdc++.h> #define LL long long #define MX 4200 #define MOD 100000000 using namespace std; LL dp[13][ ...
分类:
其他好文 时间:
2020-07-17 13:54:28
阅读次数:
67
在类定义方法,方法的部分代码如下: //获取类所有成员列表 Field[] fields = this.getClass().getDeclaredFields(); for (int i = 0; i < fields.length; i++) { //获取变量名 String fieldname ...
分类:
其他好文 时间:
2020-07-15 13:03:02
阅读次数:
64
Self-defined Enum //Season.java public class Season { // step1: fields which are private final private final String seasonName; private final String s ...
分类:
编程语言 时间:
2020-07-11 22:44:37
阅读次数:
67
1.指定查询哪些字段 方式一: Query query = new Query(); query.fields().include("booking"); //包含该字段 query.fields().exclude("salary");//不包含该字段 Booking booking = mong ...
分类:
其他好文 时间:
2020-07-10 18:34:43
阅读次数:
268
# 这种方法我之前没有接触过 fields = ('name', 'age', 'job', 'pay') record = dict.fromkeys(fields, '?') print(record) ...
分类:
编程语言 时间:
2020-07-07 15:26:07
阅读次数:
71
reflect函数可以支持在sql中调用java中的自带函数,秒杀一切udf函数。 使用java.lang.Math当中的Max求两列中最大值 创建hive表 create table test_udf(col1 int,col2 int) row format delimited fields t ...
分类:
其他好文 时间:
2020-07-05 21:00:30
阅读次数:
253
ODS层数据不做任何处理,完全仿照业务数据库中的表字段,一模一样的创建ODS层对应表。 8张表建表语句: ①用sqoop把导入到HDFS的时候,加了参数--fields-terminated-by "\t",因此这里ODS层建表的时候也注意相同的分隔符。 ②不管是全量导入还是其他形式,都使用分区表, ...
分类:
其他好文 时间:
2020-07-01 23:46:38
阅读次数:
91
JVM class文件格式 魔法数 CAFE BABE 编译器版本号 Constant count Constant pool access flag this class super class interface count interfaces field count fields metho ...
分类:
其他好文 时间:
2020-07-01 20:22:12
阅读次数:
65