public class SqlFormat extends Object implements Cloneable, Serializable
限定符和类型 | 字段和说明 |
---|---|
static SqlFormat |
full
打印所有信息,参数打印10行,且参数不限长度
|
static SqlFormat |
lite
打印1行参数 + Example SQL
|
static SqlFormat |
minimize
只打印Example SQL
|
构造器和说明 |
---|
SqlFormat() |
SqlFormat(boolean printParam,
int paramRowLimit,
int paramLengthLimit,
boolean printExample) |
限定符和类型 | 方法和说明 |
---|---|
SqlFormat |
clone() |
int |
getParamLengthLimit() |
int |
getParamRowLimit() |
boolean |
isPrintExample() |
boolean |
isPrintParam() |
SqlFormat |
setParamLengthLimit(int paramLengthLimit) |
SqlFormat |
setParamRowLimit(int paramRowLimit) |
SqlFormat |
setPrintExample(boolean printExample) |
SqlFormat |
setPrintParam(boolean printParam) |
public static SqlFormat full
public static SqlFormat lite
public static SqlFormat minimize
public SqlFormat()
public SqlFormat(boolean printParam, int paramRowLimit, int paramLengthLimit, boolean printExample)
public boolean isPrintParam()
public SqlFormat setPrintParam(boolean printParam)
public int getParamRowLimit()
public SqlFormat setParamRowLimit(int paramRowLimit)
public int getParamLengthLimit()
public SqlFormat setParamLengthLimit(int paramLengthLimit)
public boolean isPrintExample()
public SqlFormat setPrintExample(boolean printExample)
Copyright © 2017. All rights reserved.