public class PageViewLoader extends Object
Modifier and Type | Field and Description |
---|---|
static String[] |
DATE_FORMATS |
Constructor and Description |
---|
PageViewLoader(LanguageSet languageSet,
PageViewDao dao) |
Modifier and Type | Method and Description |
---|---|
PageViewDao |
getDao() |
void |
load(List<org.joda.time.Interval> intervals) |
static void |
main(String[] args)
first arg: comma-separated lang codes
start date and end date (second and third args) must be in UTC time
dates must be entered as four_digit_year-numeric_month_1-12-numeric_day_1-31-numeric_hour_0-23
can enter as many start date to end date combinations as desired in order to download multiple days
|
public static String[] DATE_FORMATS
public PageViewLoader(LanguageSet languageSet, PageViewDao dao)
public PageViewDao getDao()
public void load(List<org.joda.time.Interval> intervals) throws DaoException
DaoException
public static void main(String[] args) throws ClassNotFoundException, SQLException, IOException, org.wikibrain.conf.ConfigurationException, WikiBrainException, DaoException
args
- ClassNotFoundException
SQLException
IOException
org.wikibrain.conf.ConfigurationException
WikiBrainException
DaoException
Copyright © 2015. All rights reserved.