|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface URLManager.WhereClause
The WHERE
clause of SQL statement.
Method Summary | |
---|---|
URLManager.WhereClause |
current()
Appends condition for URLs that need updating (where [current_time]-update_freq > last_visited). |
URLManager.WhereClause |
entity(Boolean entity)
Appends condition for URLs that represent entities/sources. |
URLManager.WhereClause |
forHost(Integer hostId)
Appends condition for the given host. |
URLManager.WhereClause |
forPattern(String pattern)
Appends condition for given pattern. |
URLManager.WhereClause |
notLocked()
Appends condition for URLs not locked. |
URLManager.WhereClause |
working(Boolean working)
Appends condition for URLs that are (not) working. |
Methods inherited from interface xsmeral.semnet.crawler.URLManager.OrderClause |
---|
orderBy, sourceFirst |
Methods inherited from interface xsmeral.semnet.crawler.URLManager.LimitClause |
---|
limit |
Methods inherited from interface xsmeral.semnet.crawler.URLManager.Query |
---|
getQuery, getStatement |
Method Detail |
---|
URLManager.WhereClause notLocked()
URLManager.WhereClause current()
URLManager.WhereClause forHost(Integer hostId)
hostId
- If null, a wildcard (?) is usedURLManager.WhereClause forPattern(String pattern)
pattern
- If null, a wildcard (?) is usedURLManager.WhereClause entity(Boolean entity)
entity
- If null, a wildcard (?) is usedURLManager.WhereClause working(Boolean working)
working
- If null, a wildcard (?) is used
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |