Class ParseUserAgent

java.lang.Object
org.apache.pig.EvalFunc<org.apache.pig.data.Tuple>
nl.basjes.parse.useragent.pig.ParseUserAgent

public class ParseUserAgent extends org.apache.pig.EvalFunc<org.apache.pig.data.Tuple>
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.apache.pig.EvalFunc

    org.apache.pig.EvalFunc.SchemaType
  • Field Summary

    Fields inherited from class org.apache.pig.EvalFunc

    log, pigLogger, reporter, returnType
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    ParseUserAgent(String... parameters)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.pig.data.Tuple
    exec(org.apache.pig.data.Tuple tuple)
     
    List<org.apache.pig.FuncSpec>
     
    org.apache.pig.impl.logicalLayer.schema.Schema
    outputSchema(org.apache.pig.impl.logicalLayer.schema.Schema input)
     

    Methods inherited from class org.apache.pig.EvalFunc

    allowCompileTimeCalculation, finish, getCacheFiles, getInputSchema, getLoadCaster, getLogger, getPigLogger, getReporter, getReturnType, getSchemaName, getSchemaType, getShipFiles, isAsynchronous, needEndOfAllInputProcessing, progress, setEndOfAllInput, setInputSchema, setPigLogger, setReporter, setUDFContextSignature, warn

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ParseUserAgent

      public ParseUserAgent()
    • ParseUserAgent

      public ParseUserAgent(String... parameters)
  • Method Details

    • exec

      public org.apache.pig.data.Tuple exec(org.apache.pig.data.Tuple tuple) throws IOException
      Specified by:
      exec in class org.apache.pig.EvalFunc<org.apache.pig.data.Tuple>
      Throws:
      IOException
    • outputSchema

      public org.apache.pig.impl.logicalLayer.schema.Schema outputSchema(org.apache.pig.impl.logicalLayer.schema.Schema input)
      Overrides:
      outputSchema in class org.apache.pig.EvalFunc<org.apache.pig.data.Tuple>
    • getArgToFuncMapping

      public List<org.apache.pig.FuncSpec> getArgToFuncMapping()
      Overrides:
      getArgToFuncMapping in class org.apache.pig.EvalFunc<org.apache.pig.data.Tuple>