|
|
@ -279,6 +279,7 @@ public class ElasticsearchTableData extends BaseTableData { |
|
|
|
cloned.query = (Conf<String>) query.clone(); |
|
|
|
cloned.query = (Conf<String>) query.clone(); |
|
|
|
cloned.queryType = (Conf<String>) queryType.clone(); |
|
|
|
cloned.queryType = (Conf<String>) queryType.clone(); |
|
|
|
cloned.script = (Conf<String>) script.clone(); |
|
|
|
cloned.script = (Conf<String>) script.clone(); |
|
|
|
|
|
|
|
cloned.configAttribute = (Conf<ConfigAttribute>) configAttribute.clone(); |
|
|
|
return cloned; |
|
|
|
return cloned; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -293,11 +294,12 @@ public class ElasticsearchTableData extends BaseTableData { |
|
|
|
&& AssistKit.equals(paraType, ((ElasticsearchTableData) obj).paraType) |
|
|
|
&& AssistKit.equals(paraType, ((ElasticsearchTableData) obj).paraType) |
|
|
|
|
|
|
|
|
|
|
|
&& AssistKit.equals(query, ((ElasticsearchTableData) obj).query) |
|
|
|
&& AssistKit.equals(query, ((ElasticsearchTableData) obj).query) |
|
|
|
&& AssistKit.equals(script, ((ElasticsearchTableData) obj).script); |
|
|
|
&& AssistKit.equals(script, ((ElasticsearchTableData) obj).script) |
|
|
|
|
|
|
|
&& AssistKit.equals(configAttribute, ((ElasticsearchTableData) obj).configAttribute); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public int hashCode() { |
|
|
|
public int hashCode() { |
|
|
|
return AssistKit.hashCode(database.get(), endPoint.get(), converterType.get(), paraType.get(), query.get(), script.get()); |
|
|
|
return AssistKit.hashCode(database.get(), endPoint.get(), converterType.get(), paraType.get(), query.get(), script.get(), converterType.hashCode()); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|