|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.pig.EvalFunc<T> datafu.pig.util.SimpleEvalFunc<java.lang.String> datafu.pig.urls.UserAgentClassify
public class UserAgentClassify
Given a user agent string, this UDF classifies clients to 'mobile' and 'desktop'. Current as of June 2011.
Field Summary |
---|
Fields inherited from class org.apache.pig.EvalFunc |
---|
log, pigLogger, reporter, returnType |
Constructor Summary | |
---|---|
UserAgentClassify()
|
Method Summary | |
---|---|
java.lang.String |
call(java.lang.String useragent)
|
Methods inherited from class datafu.pig.util.SimpleEvalFunc |
---|
exec, getReturnType, outputSchema |
Methods inherited from class org.apache.pig.EvalFunc |
---|
finish, getArgToFuncMapping, getCacheFiles, getInputSchema, getLogger, getPigLogger, getReporter, getSchemaName, isAsynchronous, progress, setInputSchema, setPigLogger, setReporter, setUDFContextSignature, warn |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UserAgentClassify()
Method Detail |
---|
public java.lang.String call(java.lang.String useragent)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |