public class GenericUDFTumbledWindow extends GenericUDF
GenericUDF.DeferredJavaObject, GenericUDF.DeferredObject| Constructor and Description |
|---|
GenericUDFTumbledWindow() |
| Modifier and Type | Method and Description |
|---|---|
Object |
evaluate(GenericUDF.DeferredObject[] arguments)
Evaluate the GenericUDF with the arguments.
|
String |
getDisplayString(String[] children)
Get the String to be displayed in explain.
|
protected String |
getFuncName() |
ObjectInspector |
initialize(ObjectInspector[] arguments)
Initialize this GenericUDF.
|
adapt, checkArgGroups, checkArgPrimitive, checkArgsSize, close, configure, copyToNewInstance, flip, getArgOrder, getConstantBooleanValue, getConstantIntValue, getConstantStringValue, getDateValue, getDoubleValue, getIntervalDayTimeValue, getIntervalYearMonthValue, getIntValue, getLongValue, getRequiredFiles, getRequiredJars, getStandardDisplayString, getStandardDisplayString, getStringValue, getTimestampValue, getUdfName, initializeAndFoldConstants, negative, obtainDateConverter, obtainDoubleConverter, obtainIntConverter, obtainLongConverter, obtainStringConverter, obtainTimestampConverterpublic ObjectInspector initialize(ObjectInspector[] arguments) throws UDFArgumentException
initialize in class GenericUDFarguments - The ObjectInspector for the argumentsUDFArgumentException - Thrown when arguments have wrong types, wrong length, etc.public Object evaluate(GenericUDF.DeferredObject[] arguments) throws HiveException
evaluate in class GenericUDFarguments - timestamp and interval.HiveExceptionpublic String getDisplayString(String[] children)
GenericUDFgetDisplayString in class GenericUDFprotected String getFuncName()
getFuncName in class GenericUDFCopyright © 2024 The Apache Software Foundation. All rights reserved.