public QueryEntry(final String query,final int timezoneOffset,final long message_period,final SourceType source_type,final boolean byUserQuery){
  this.query=query;
  this.query_length=query.length();
  this.timezoneOffset=timezoneOffset;
  this.source_type=source_type;
  this.retrieval_count=0;
  this.message_period=0;
  this.messages_per_day=0;
  this.score_retrieval=0;
  this.score_suggest=0;
  update(message_period,byUserQuery);
  this.query_first=retrieval_last;
}

public QueryEntry ( final String query , final int timezoneOffset , final long message_period , final SourceType source_type , final boolean byUserQuery ) { this . query = query ; this . query_length = query . length ( ) ; this . timezoneOffset = timezoneOffset ; this . source_type = source_type ; this . retrieval_count = 0 ; this . message_period = 0 ; this . messages_per_day = 0 ; this . score_retrieval = 0 ; this . score_suggest = 0 ; update ( message_period , byUserQuery ) ; this . query_first = retrieval_last ; }
this initializer can only be used for first - time creation of a query track .
