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<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, 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
bool is_pandas_udf = 5; |
com.google.protobuf.Parser<FlinkFnApi.UserDefinedFunction> |
getParserForType() |
com.google.protobuf.ByteString |
getPayload()
The serialized representation of the user-defined function
bytes payload = 1; |
int |
getSerializedSize() |
boolean |
getTakesRowAsInput()
Whether the UDF takes row as input instead of each columns of a row
bool takes_row_as_input = 4; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
getWindowIndex()
The index of the over window used in pandas batch over window aggregation
int32 window_index = 3; |
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, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, 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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public 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.GeneratedMessageV3
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessageV3
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3
public com.google.protobuf.ByteString getPayload()
The serialized representation of the user-defined function
bytes payload = 1;
getPayload
in interface FlinkFnApi.UserDefinedFunctionOrBuilder
public 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.UserDefinedFunctionOrBuilder
public 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.UserDefinedFunctionOrBuilder
public 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.UserDefinedFunctionOrBuilder
public 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.UserDefinedFunctionOrBuilder
public 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.UserDefinedFunctionOrBuilder
public int getWindowIndex()
The index of the over window used in pandas batch over window aggregation
int32 window_index = 3;
getWindowIndex
in interface FlinkFnApi.UserDefinedFunctionOrBuilder
public 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.UserDefinedFunctionOrBuilder
public boolean getIsPandasUdf()
Whether it's pandas UDF
bool is_pandas_udf = 5;
getIsPandasUdf
in interface FlinkFnApi.UserDefinedFunctionOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static FlinkFnApi.UserDefinedFunction parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static FlinkFnApi.UserDefinedFunction parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static FlinkFnApi.UserDefinedFunction parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static FlinkFnApi.UserDefinedFunction parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static FlinkFnApi.UserDefinedFunction parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static FlinkFnApi.UserDefinedFunction parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static FlinkFnApi.UserDefinedFunction parseFrom(InputStream input) throws IOException
IOException
public static FlinkFnApi.UserDefinedFunction parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static FlinkFnApi.UserDefinedFunction parseDelimitedFrom(InputStream input) throws IOException
IOException
public static FlinkFnApi.UserDefinedFunction parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static FlinkFnApi.UserDefinedFunction parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static FlinkFnApi.UserDefinedFunction parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public FlinkFnApi.UserDefinedFunction.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public 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.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected FlinkFnApi.UserDefinedFunction.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public 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.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public FlinkFnApi.UserDefinedFunction getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.