public abstract class GenericUDFBaseCompare extends GenericUDFBaseBinary
| 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 org.apache.hadoop.io.BooleanWritable |
result |
protected StringObjectInspector |
soi0 |
protected StringObjectInspector |
soi1 |
opDisplayName, opName| Constructor and Description |
|---|
GenericUDFBaseCompare() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
compare(GenericUDF.DeferredObject[] arguments) |
ObjectInspector |
initialize(ObjectInspector[] arguments)
Initialize this GenericUDF.
|
getDisplayStringcheckArgGroups, checkArgPrimitive, checkArgsSize, close, configure, copyToNewInstance, evaluate, flip, getArgOrder, getConstantBooleanValue, getConstantIntValue, getConstantStringValue, getDateValue, getDoubleValue, getFuncName, getIntervalDayTimeValue, getIntervalYearMonthValue, getIntValue, getLongValue, getRequiredFiles, getRequiredJars, getStandardDisplayString, getStandardDisplayString, getStringValue, getTimestampValue, getUdfName, initializeAndFoldConstants, negative, obtainDateConverter, obtainDoubleConverter, obtainIntConverter, obtainLongConverter, obtainStringConverter, obtainTimestampConverterprotected 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 org.apache.hadoop.io.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 Integer compare(GenericUDF.DeferredObject[] arguments) throws HiveException
HiveExceptionCopyright © 2019 The Apache Software Foundation. All Rights Reserved.