public abstract class AbstractGenericUDFEWAHBitmapBop extends GenericUDF
GenericUDF.DeferredJavaObject, GenericUDF.DeferredObject| Modifier and Type | Field and Description |
|---|---|
protected java.util.ArrayList<java.lang.Object> |
ret |
| Modifier and Type | Method and Description |
|---|---|
protected abstract com.googlecode.javaewah.EWAHCompressedBitmap |
bitmapBop(com.googlecode.javaewah.EWAHCompressedBitmap bitmap1,
com.googlecode.javaewah.EWAHCompressedBitmap bitmap2) |
protected java.util.List<LongWritable> |
bitmapToWordArray(com.googlecode.javaewah.EWAHCompressedBitmap bitmap) |
java.lang.Object |
evaluate(GenericUDF.DeferredObject[] arguments)
Evaluate the GenericUDF with the arguments.
|
java.lang.String |
getDisplayString(java.lang.String[] children)
Get the String to be displayed in explain.
|
ObjectInspector |
initialize(ObjectInspector[] arguments)
Initialize this GenericUDF.
|
protected com.googlecode.javaewah.EWAHCompressedBitmap |
wordArrayToBitmap(java.lang.Object b) |
close, configure, getRequiredFiles, getRequiredJars, initializeAndFoldConstantspublic ObjectInspector initialize(ObjectInspector[] arguments) throws UDFArgumentException
GenericUDFinitialize in class GenericUDFarguments - The ObjectInspector for the argumentsUDFArgumentException - Thrown when arguments have wrong types, wrong length, etc.protected abstract com.googlecode.javaewah.EWAHCompressedBitmap bitmapBop(com.googlecode.javaewah.EWAHCompressedBitmap bitmap1,
com.googlecode.javaewah.EWAHCompressedBitmap bitmap2)
public java.lang.Object evaluate(GenericUDF.DeferredObject[] arguments) throws HiveException
GenericUDFevaluate in class GenericUDFarguments - The arguments as DeferedObject, use DeferedObject.get() to get the
actual argument Object. The Objects can be inspected by the
ObjectInspectors passed in the initialize call.HiveExceptionprotected com.googlecode.javaewah.EWAHCompressedBitmap wordArrayToBitmap(java.lang.Object b)
protected java.util.List<LongWritable> bitmapToWordArray(com.googlecode.javaewah.EWAHCompressedBitmap bitmap)
public java.lang.String getDisplayString(java.lang.String[] children)
GenericUDFgetDisplayString in class GenericUDFCopyright © 2012 The Apache Software Foundation