Simple GIS

GISプログラムの練習

plus

package db;

public class plus{

    
    String file;
  String id=new String[50000];
 String tag=new String[50000];
  int count,s;
int view=new int[50000];
int com=new int[50000];
int year=new int[50000];
int month=new int[50000]; 
int[] day=new int[50000]; 
int datanumber;

  
void makedata(String db,String tab,String word){

 
    
   
    select sub=new select();
    sub.makedata("tag","tag",word);
    id=sub.id;
    count=sub.count;
    
    
    
    for(s=1;s<count+1;s++){
   
    selectx sub2=new selectx();
    sub2.makedata("niko","niko",id[s]);
    view[s]=sub2.view;
    com[s]=sub2.com;
    year[s]=sub2.year;
    month[s]=sub2.month;
    day[s]=sub2.day;
    tag[s]=word;
    }
    
    insert sub4=new insert();
    sub4.view=view;
    sub4.com=com;
    sub4.year=year;
    sub4.month=month;
    sub4.day=day;
    sub4.tag=tag;
    sub4.id=id;
    sub4.datanumber=count;
    sub4.makedata(db,tab);
    
    
    

}
}