mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
sql parser schema stat support
This commit is contained in:
@@ -15,6 +15,9 @@
|
||||
*/
|
||||
package com.alibaba.druid.stat;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
public class TableStat {
|
||||
|
||||
int selectCount = 0;
|
||||
@@ -268,8 +271,10 @@ public class TableStat {
|
||||
|
||||
public static class Condition {
|
||||
|
||||
private Column column;
|
||||
private String operator;
|
||||
private Column column;
|
||||
private String operator;
|
||||
|
||||
private List<Object> values = new ArrayList<Object>();
|
||||
|
||||
public Column getColumn() {
|
||||
return column;
|
||||
@@ -287,6 +292,10 @@ public class TableStat {
|
||||
this.operator = operator;
|
||||
}
|
||||
|
||||
public List<Object> getValues() {
|
||||
return values;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
final int prime = 31;
|
||||
|
||||
Reference in New Issue
Block a user