code: protected void validate(List<TableInfo> tableInfos)
      {
          try
          {
              KsDef ksDef = cassandra_client.describe_keyspace(databaseName);
              onValidateTables(tableInfos, ksDef);
          }
          catch (Exception ex)
          {
              log.error("Error occurred while validating {}, Caused by: .", databaseName, ex);
              throw new SchemaGenerationException(ex);
          }
      }
docs: validate method validate schema and table for the list of tableInfos.
  
  @param tableInfos
  list of TableInfos.