public class Parser extends Object
| 构造器和说明 |
|---|
Parser() |
| 限定符和类型 | 方法和说明 |
|---|---|
static int[] |
countParam(String sql) |
static Map<String,Object> |
countParamByName(String sql) |
static boolean |
isArrayWhiteSpace(char c) |
static int |
parseAngleBrackets(char[] qChars,
int offset) |
static int |
parseBrace(char[] qChars,
int offset) |
static int |
parseDoubleQuotes(char[] qChars,
int offset) |
static int |
parseOtherEscape(char[] qChars,
char other,
int offset) |
static String |
parseParamName(char[] qChars,
int offset) |
static int |
parseParenthesis(char[] qChars,
int offset) |
static int |
parseQEscape(char[] qChars,
int offset) |
static int |
parseQSingleQuotes(char[] qChars,
int offset) |
static int |
parseSingleQuotes(char[] qChars,
int offset) |
static int |
parseSquareBrackets(char[] qChars,
int offset) |
static String |
replaceProcessing(String sql)
通过循环遍历预处理的sql语句,在参数占位符?
|
public static int[] countParam(String sql)
public static String parseParamName(char[] qChars, int offset)
public static int parseSingleQuotes(char[] qChars,
int offset)
public static int parseQEscape(char[] qChars,
int offset)
public static int parseParenthesis(char[] qChars,
int offset)
public static int parseSquareBrackets(char[] qChars,
int offset)
public static int parseBrace(char[] qChars,
int offset)
public static int parseAngleBrackets(char[] qChars,
int offset)
public static int parseQSingleQuotes(char[] qChars,
int offset)
public static int parseOtherEscape(char[] qChars,
char other,
int offset)
public static int parseDoubleQuotes(char[] qChars,
int offset)
public static boolean isArrayWhiteSpace(char c)
Copyright © 2026. All rights reserved.