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| 限定符和类型 | 类和说明 |
|---|---|
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| 限定符和类型 | 字段和说明 |
|---|---|
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 |
| 限定符和类型 | 方法和说明 |
|---|---|
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, 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, writeTopublic 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 在类中 com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields 在接口中 com.google.protobuf.MessageOrBuildergetUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable 在类中 com.google.protobuf.GeneratedMessageV3public com.google.protobuf.ByteString getPayload()
The serialized representation of the user-defined function
bytes payload = 1;getPayload 在接口中 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;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;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;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;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;public int getWindowIndex()
The index of the over window used in pandas batch over window aggregation
int32 window_index = 3;getWindowIndex 在接口中 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 在接口中 FlinkFnApi.UserDefinedFunctionOrBuilderpublic boolean getIsPandasUdf()
Whether it's pandas UDF
bool is_pandas_udf = 5;getIsPandasUdf 在接口中 FlinkFnApi.UserDefinedFunctionOrBuilderpublic final boolean isInitialized()
isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilderisInitialized 在类中 com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo 在接口中 com.google.protobuf.MessageLitewriteTo 在类中 com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize 在接口中 com.google.protobuf.MessageLitegetSerializedSize 在类中 com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals 在接口中 com.google.protobuf.Messageequals 在类中 com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode 在接口中 com.google.protobuf.MessagehashCode 在类中 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 在接口中 com.google.protobuf.MessagenewBuilderForType 在接口中 com.google.protobuf.MessageLitepublic static FlinkFnApi.UserDefinedFunction.Builder newBuilder()
public static FlinkFnApi.UserDefinedFunction.Builder newBuilder(FlinkFnApi.UserDefinedFunction prototype)
public FlinkFnApi.UserDefinedFunction.Builder toBuilder()
toBuilder 在接口中 com.google.protobuf.MessagetoBuilder 在接口中 com.google.protobuf.MessageLiteprotected FlinkFnApi.UserDefinedFunction.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType 在类中 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 在接口中 com.google.protobuf.MessagegetParserForType 在接口中 com.google.protobuf.MessageLitegetParserForType 在类中 com.google.protobuf.GeneratedMessageV3public FlinkFnApi.UserDefinedFunction getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.