@Override
    public boolean check() {

        Preconditions.checkNotNull(address, "elasticsearch7 type of address is required.");
        Preconditions.checkNotNull(clusterName, "elasticsearch7 type of clusterName is required");

        if (isAuthMesh()) {
            Preconditions.checkNotNull(userName, "elasticsearch7 type of userName is required");
            Preconditions.checkNotNull(password, "elasticsearch7 type of password is required");
        }

        return true;
    }
@description:
@program: flink.sql
@author: lany
@create: 2021/01/11 10:23
elasticsearch7/elasticsearch7-side/elasticsearch7-side-core/src/main/java/com/dtstack/flink/sql/side/elasticsearch7/table/Elasticsearch7SideTableInfo.java