public abstract class GenericUDFBaseCompare extends GenericUDF
| Modifier and Type | Class and Description |
|---|---|
static class |
GenericUDFBaseCompare.CompareType |
GenericUDF.DeferredJavaObject, GenericUDF.DeferredObject| Modifier and Type | Field and Description |
|---|---|
protected ObjectInspector[] |
argumentOIs |
protected BooleanObjectInspector |
boi0 |
protected BooleanObjectInspector |
boi1 |
protected ByteObjectInspector |
byoi0 |
protected ByteObjectInspector |
byoi1 |
protected ObjectInspector |
compareOI |
protected GenericUDFBaseCompare.CompareType |
compareType |
protected GenericUDFUtils.ReturnObjectInspectorResolver |
conversionHelper |
protected ObjectInspectorConverters.Converter |
converter0 |
protected ObjectInspectorConverters.Converter |
converter1 |
protected IntObjectInspector |
ioi0 |
protected IntObjectInspector |
ioi1 |
protected LongObjectInspector |
loi0 |
protected LongObjectInspector |
loi1 |
protected java.lang.String |
opDisplayName |
protected java.lang.String |
opName |
protected BooleanWritable |
result |
protected StringObjectInspector |
soi0 |
protected StringObjectInspector |
soi1 |
| Constructor and Description |
|---|
GenericUDFBaseCompare() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Integer |
compare(GenericUDF.DeferredObject[] arguments) |
java.lang.String |
getDisplayString(java.lang.String[] children)
Get the String to be displayed in explain.
|
ObjectInspector |
initialize(ObjectInspector[] arguments)
Initialize this GenericUDF.
|
close, configure, evaluate, getRequiredFiles, getRequiredJars, initializeAndFoldConstantsprotected java.lang.String opName
protected java.lang.String opDisplayName
protected transient ObjectInspector[] argumentOIs
protected transient GenericUDFUtils.ReturnObjectInspectorResolver conversionHelper
protected ObjectInspector compareOI
protected GenericUDFBaseCompare.CompareType compareType
protected transient ObjectInspectorConverters.Converter converter0
protected transient ObjectInspectorConverters.Converter converter1
protected transient StringObjectInspector soi0
protected transient StringObjectInspector soi1
protected transient IntObjectInspector ioi0
protected transient IntObjectInspector ioi1
protected transient LongObjectInspector loi0
protected transient LongObjectInspector loi1
protected transient ByteObjectInspector byoi0
protected transient ByteObjectInspector byoi1
protected transient BooleanObjectInspector boi0
protected transient BooleanObjectInspector boi1
protected final BooleanWritable result
public ObjectInspector initialize(ObjectInspector[] arguments) throws UDFArgumentException
GenericUDFinitialize in class GenericUDFarguments - The ObjectInspector for the argumentsUDFArgumentException - Thrown when arguments have wrong types, wrong length, etc.public java.lang.Integer compare(GenericUDF.DeferredObject[] arguments) throws HiveException
HiveExceptionpublic java.lang.String getDisplayString(java.lang.String[] children)
GenericUDFgetDisplayString in class GenericUDFCopyright © 2012 The Apache Software Foundation