public static final class FlinkFnApi.UserDefinedFunction extends com.google.protobuf.GeneratedMessageV3 implements FlinkFnApi.UserDefinedFunctionOrBuilder
User-defined function definition. It supports chaining functions, that's, the execution result of one user-defined function as the input of another user-defined function.Protobuf type
org.apache.flink.fn_execution.v1.UserDefinedFunction| Modifier and Type | Class and Description |
|---|---|
static class |
FlinkFnApi.UserDefinedFunction.Builder
User-defined function definition.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
INPUTS_FIELD_NUMBER |
static int |
IS_PANDAS_UDF_FIELD_NUMBER |
static int |
PAYLOAD_FIELD_NUMBER |
static int |
TAKES_ROW_AS_INPUT_FIELD_NUMBER |
static int |
WINDOW_INDEX_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static FlinkFnApi.UserDefinedFunction |
getDefaultInstance() |
FlinkFnApi.UserDefinedFunction |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
FlinkFnApi.Input |
getInputs(int index)
The input arguments of the user-defined function, it could be one of the following:
1.
|
int |
getInputsCount()
The input arguments of the user-defined function, it could be one of the following:
1.
|
List<FlinkFnApi.Input> |
getInputsList()
The input arguments of the user-defined function, it could be one of the following:
1.
|
FlinkFnApi.InputOrBuilder |
getInputsOrBuilder(int index)
The input arguments of the user-defined function, it could be one of the following:
1.
|
List<? extends FlinkFnApi.InputOrBuilder> |
getInputsOrBuilderList()
The input arguments of the user-defined function, it could be one of the following:
1.
|
boolean |
getIsPandasUdf()
Whether it's pandas UDF
|
com.google.protobuf.Parser<FlinkFnApi.UserDefinedFunction> |
getParserForType() |
com.google.protobuf.ByteString |
getPayload()
The serialized representation of the user-defined function
|
int |
getSerializedSize() |
boolean |
getTakesRowAsInput()
Whether the UDF takes row as input instead of each columns of a row
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
getWindowIndex()
The index of the over window used in pandas batch over window aggregation
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static FlinkFnApi.UserDefinedFunction.Builder |
newBuilder() |
static FlinkFnApi.UserDefinedFunction.Builder |
newBuilder(FlinkFnApi.UserDefinedFunction prototype) |
FlinkFnApi.UserDefinedFunction.Builder |
newBuilderForType() |
protected FlinkFnApi.UserDefinedFunction.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static FlinkFnApi.UserDefinedFunction |
parseDelimitedFrom(InputStream input) |
static FlinkFnApi.UserDefinedFunction |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FlinkFnApi.UserDefinedFunction |
parseFrom(byte[] data) |
static FlinkFnApi.UserDefinedFunction |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FlinkFnApi.UserDefinedFunction |
parseFrom(ByteBuffer data) |
static FlinkFnApi.UserDefinedFunction |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FlinkFnApi.UserDefinedFunction |
parseFrom(com.google.protobuf.ByteString data) |
static FlinkFnApi.UserDefinedFunction |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FlinkFnApi.UserDefinedFunction |
parseFrom(com.google.protobuf.CodedInputStream input) |
static FlinkFnApi.UserDefinedFunction |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FlinkFnApi.UserDefinedFunction |
parseFrom(InputStream input) |
static FlinkFnApi.UserDefinedFunction |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<FlinkFnApi.UserDefinedFunction> |
parser() |
FlinkFnApi.UserDefinedFunction.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int PAYLOAD_FIELD_NUMBER
public static final int INPUTS_FIELD_NUMBER
public static final int WINDOW_INDEX_FIELD_NUMBER
public static final int TAKES_ROW_AS_INPUT_FIELD_NUMBER
public static final int IS_PANDAS_UDF_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public com.google.protobuf.ByteString getPayload()
The serialized representation of the user-defined function
bytes payload = 1;getPayload in interface FlinkFnApi.UserDefinedFunctionOrBuilderpublic List<FlinkFnApi.Input> getInputsList()
The input arguments of the user-defined function, it could be one of the following: 1. A column from the input row 2. The result of another user-defined function 3. The constant value of the column
repeated .org.apache.flink.fn_execution.v1.Input inputs = 2;getInputsList in interface FlinkFnApi.UserDefinedFunctionOrBuilderpublic List<? extends FlinkFnApi.InputOrBuilder> getInputsOrBuilderList()
The input arguments of the user-defined function, it could be one of the following: 1. A column from the input row 2. The result of another user-defined function 3. The constant value of the column
repeated .org.apache.flink.fn_execution.v1.Input inputs = 2;getInputsOrBuilderList in interface FlinkFnApi.UserDefinedFunctionOrBuilderpublic int getInputsCount()
The input arguments of the user-defined function, it could be one of the following: 1. A column from the input row 2. The result of another user-defined function 3. The constant value of the column
repeated .org.apache.flink.fn_execution.v1.Input inputs = 2;getInputsCount in interface FlinkFnApi.UserDefinedFunctionOrBuilderpublic FlinkFnApi.Input getInputs(int index)
The input arguments of the user-defined function, it could be one of the following: 1. A column from the input row 2. The result of another user-defined function 3. The constant value of the column
repeated .org.apache.flink.fn_execution.v1.Input inputs = 2;getInputs in interface FlinkFnApi.UserDefinedFunctionOrBuilderpublic FlinkFnApi.InputOrBuilder getInputsOrBuilder(int index)
The input arguments of the user-defined function, it could be one of the following: 1. A column from the input row 2. The result of another user-defined function 3. The constant value of the column
repeated .org.apache.flink.fn_execution.v1.Input inputs = 2;getInputsOrBuilder in interface FlinkFnApi.UserDefinedFunctionOrBuilderpublic int getWindowIndex()
The index of the over window used in pandas batch over window aggregation
int32 window_index = 3;getWindowIndex in interface FlinkFnApi.UserDefinedFunctionOrBuilderpublic boolean getTakesRowAsInput()
Whether the UDF takes row as input instead of each columns of a row
bool takes_row_as_input = 4;getTakesRowAsInput in interface FlinkFnApi.UserDefinedFunctionOrBuilderpublic boolean getIsPandasUdf()
Whether it's pandas UDF
bool is_pandas_udf = 5;getIsPandasUdf in interface FlinkFnApi.UserDefinedFunctionOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static FlinkFnApi.UserDefinedFunction parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FlinkFnApi.UserDefinedFunction parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FlinkFnApi.UserDefinedFunction parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FlinkFnApi.UserDefinedFunction parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FlinkFnApi.UserDefinedFunction parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FlinkFnApi.UserDefinedFunction parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FlinkFnApi.UserDefinedFunction parseFrom(InputStream input) throws IOException
IOExceptionpublic static FlinkFnApi.UserDefinedFunction parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static FlinkFnApi.UserDefinedFunction parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static FlinkFnApi.UserDefinedFunction parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static FlinkFnApi.UserDefinedFunction parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static FlinkFnApi.UserDefinedFunction parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic FlinkFnApi.UserDefinedFunction.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static FlinkFnApi.UserDefinedFunction.Builder newBuilder()
public static FlinkFnApi.UserDefinedFunction.Builder newBuilder(FlinkFnApi.UserDefinedFunction prototype)
public FlinkFnApi.UserDefinedFunction.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected FlinkFnApi.UserDefinedFunction.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static FlinkFnApi.UserDefinedFunction getDefaultInstance()
public static com.google.protobuf.Parser<FlinkFnApi.UserDefinedFunction> parser()
public com.google.protobuf.Parser<FlinkFnApi.UserDefinedFunction> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public FlinkFnApi.UserDefinedFunction getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2014–2021 The Apache Software Foundation. All rights reserved.