|
1 | 1 | package com.codingapi.springboot.authorization.handler; |
2 | 2 |
|
3 | | -import com.codingapi.springboot.authorization.interceptor.SQLInterceptState; |
| 3 | +import com.codingapi.springboot.authorization.interceptor.SQLExecuteState; |
4 | 4 |
|
5 | 5 | import java.io.InputStream; |
6 | 6 | import java.io.Reader; |
|
13 | 13 | */ |
14 | 14 | public interface ColumnHandler { |
15 | 15 |
|
16 | | - String getString(SQLInterceptState interceptState, int columnIndex, String tableName, String columnName, String value); |
| 16 | + String getString(SQLExecuteState interceptState, int columnIndex, String tableName, String columnName, String value); |
17 | 17 |
|
18 | | - boolean getBoolean(SQLInterceptState interceptState, int columnIndex, String tableName, String columnName, boolean value); |
| 18 | + boolean getBoolean(SQLExecuteState interceptState, int columnIndex, String tableName, String columnName, boolean value); |
19 | 19 |
|
20 | | - byte getByte(SQLInterceptState interceptState, int columnIndex, String tableName, String columnName, byte value); |
| 20 | + byte getByte(SQLExecuteState interceptState, int columnIndex, String tableName, String columnName, byte value); |
21 | 21 |
|
22 | | - short getShort(SQLInterceptState interceptState, int columnIndex, String tableName, String columnName, short value); |
| 22 | + short getShort(SQLExecuteState interceptState, int columnIndex, String tableName, String columnName, short value); |
23 | 23 |
|
24 | | - int getInt(SQLInterceptState interceptState, int columnIndex, String tableName, String columnName, int value); |
| 24 | + int getInt(SQLExecuteState interceptState, int columnIndex, String tableName, String columnName, int value); |
25 | 25 |
|
26 | | - long getLong(SQLInterceptState interceptState, int columnIndex, String tableName, String columnName, long value); |
| 26 | + long getLong(SQLExecuteState interceptState, int columnIndex, String tableName, String columnName, long value); |
27 | 27 |
|
28 | | - float getFloat(SQLInterceptState interceptState, int columnIndex, String tableName, String columnName, float value); |
| 28 | + float getFloat(SQLExecuteState interceptState, int columnIndex, String tableName, String columnName, float value); |
29 | 29 |
|
30 | | - double getDouble(SQLInterceptState interceptState, int columnIndex, String tableName, String columnName, double value); |
| 30 | + double getDouble(SQLExecuteState interceptState, int columnIndex, String tableName, String columnName, double value); |
31 | 31 |
|
32 | | - BigDecimal getBigDecimal(SQLInterceptState interceptState, int columnIndex, String tableName, String columnName, BigDecimal value); |
| 32 | + BigDecimal getBigDecimal(SQLExecuteState interceptState, int columnIndex, String tableName, String columnName, BigDecimal value); |
33 | 33 |
|
34 | | - byte[] getBytes(SQLInterceptState interceptState, int columnIndex, String tableName, String columnName, byte[] value); |
| 34 | + byte[] getBytes(SQLExecuteState interceptState, int columnIndex, String tableName, String columnName, byte[] value); |
35 | 35 |
|
36 | | - Date getDate(SQLInterceptState interceptState, int columnIndex, String tableName, String columnName, Date value); |
| 36 | + Date getDate(SQLExecuteState interceptState, int columnIndex, String tableName, String columnName, Date value); |
37 | 37 |
|
38 | | - Time getTime(SQLInterceptState interceptState, int columnIndex, String tableName, String columnName, Time value); |
| 38 | + Time getTime(SQLExecuteState interceptState, int columnIndex, String tableName, String columnName, Time value); |
39 | 39 |
|
40 | | - Timestamp getTimestamp(SQLInterceptState interceptState, int columnIndex, String tableName, String columnName, Timestamp value); |
| 40 | + Timestamp getTimestamp(SQLExecuteState interceptState, int columnIndex, String tableName, String columnName, Timestamp value); |
41 | 41 |
|
42 | | - InputStream getAsciiStream(SQLInterceptState interceptState, int columnIndex, String tableName, String columnName, InputStream value); |
| 42 | + InputStream getAsciiStream(SQLExecuteState interceptState, int columnIndex, String tableName, String columnName, InputStream value); |
43 | 43 |
|
44 | | - InputStream getUnicodeStream(SQLInterceptState interceptState, int columnIndex, String tableName, String columnName, InputStream value); |
| 44 | + InputStream getUnicodeStream(SQLExecuteState interceptState, int columnIndex, String tableName, String columnName, InputStream value); |
45 | 45 |
|
46 | | - InputStream getBinaryStream(SQLInterceptState interceptState, int columnIndex, String tableName, String columnName, InputStream value); |
| 46 | + InputStream getBinaryStream(SQLExecuteState interceptState, int columnIndex, String tableName, String columnName, InputStream value); |
47 | 47 |
|
48 | | - Object getObject(SQLInterceptState interceptState, int columnIndex, String tableName, String columnName, Object value); |
| 48 | + Object getObject(SQLExecuteState interceptState, int columnIndex, String tableName, String columnName, Object value); |
49 | 49 |
|
50 | | - Reader getCharacterStream(SQLInterceptState interceptState, int columnIndex, String tableName, String columnName, Reader value); |
| 50 | + Reader getCharacterStream(SQLExecuteState interceptState, int columnIndex, String tableName, String columnName, Reader value); |
51 | 51 |
|
52 | | - Ref getRef(SQLInterceptState interceptState, int columnIndex, String tableName, String columnName, Ref value); |
| 52 | + Ref getRef(SQLExecuteState interceptState, int columnIndex, String tableName, String columnName, Ref value); |
53 | 53 |
|
54 | | - Blob getBlob(SQLInterceptState interceptState, int columnIndex, String tableName, String columnName, Blob value); |
| 54 | + Blob getBlob(SQLExecuteState interceptState, int columnIndex, String tableName, String columnName, Blob value); |
55 | 55 |
|
56 | | - Clob getClob(SQLInterceptState interceptState, int columnIndex, String tableName, String columnName, Clob value); |
| 56 | + Clob getClob(SQLExecuteState interceptState, int columnIndex, String tableName, String columnName, Clob value); |
57 | 57 |
|
58 | | - Array getArray(SQLInterceptState interceptState, int columnIndex, String tableName, String columnName, Array value); |
| 58 | + Array getArray(SQLExecuteState interceptState, int columnIndex, String tableName, String columnName, Array value); |
59 | 59 |
|
60 | | - URL getURL(SQLInterceptState interceptState, int columnIndex, String tableName, String columnName, URL value); |
| 60 | + URL getURL(SQLExecuteState interceptState, int columnIndex, String tableName, String columnName, URL value); |
61 | 61 |
|
62 | | - NClob getNClob(SQLInterceptState interceptState, int columnIndex, String tableName, String columnName, NClob value); |
| 62 | + NClob getNClob(SQLExecuteState interceptState, int columnIndex, String tableName, String columnName, NClob value); |
63 | 63 |
|
64 | | - SQLXML getSQLXML(SQLInterceptState interceptState, int columnIndex, String tableName, String columnName, SQLXML value); |
| 64 | + SQLXML getSQLXML(SQLExecuteState interceptState, int columnIndex, String tableName, String columnName, SQLXML value); |
65 | 65 |
|
66 | | - String getNString(SQLInterceptState interceptState, int columnIndex, String tableName, String columnName, String value); |
| 66 | + String getNString(SQLExecuteState interceptState, int columnIndex, String tableName, String columnName, String value); |
67 | 67 |
|
68 | | - Reader getNCharacterStream(SQLInterceptState interceptState, int columnIndex, String tableName, String columnName, Reader value); |
| 68 | + Reader getNCharacterStream(SQLExecuteState interceptState, int columnIndex, String tableName, String columnName, Reader value); |
69 | 69 |
|
70 | | - RowId getRowId(SQLInterceptState interceptState, int columnIndex, String tableName, String columnName, RowId value); |
| 70 | + RowId getRowId(SQLExecuteState interceptState, int columnIndex, String tableName, String columnName, RowId value); |
71 | 71 |
|
72 | | - <T> T getObject(SQLInterceptState interceptState, int columnIndex, String tableName, String columnName, T value, Class<T> type); |
| 72 | + <T> T getObject(SQLExecuteState interceptState, int columnIndex, String tableName, String columnName, T value, Class<T> type); |
73 | 73 |
|
74 | 74 | } |
0 commit comments