public static final class FlinkFnApi.UserDefinedFunction.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<FlinkFnApi.UserDefinedFunction.Builder> 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 | Method and Description |
---|---|
FlinkFnApi.UserDefinedFunction.Builder |
addAllInputs(Iterable<? extends FlinkFnApi.UserDefinedFunction.Input> values)
The input arguments of the user-defined function, it could be one of the following:
1.
|
FlinkFnApi.UserDefinedFunction.Builder |
addInputs(FlinkFnApi.UserDefinedFunction.Input.Builder builderForValue)
The input arguments of the user-defined function, it could be one of the following:
1.
|
FlinkFnApi.UserDefinedFunction.Builder |
addInputs(FlinkFnApi.UserDefinedFunction.Input value)
The input arguments of the user-defined function, it could be one of the following:
1.
|
FlinkFnApi.UserDefinedFunction.Builder |
addInputs(int index,
FlinkFnApi.UserDefinedFunction.Input.Builder builderForValue)
The input arguments of the user-defined function, it could be one of the following:
1.
|
FlinkFnApi.UserDefinedFunction.Builder |
addInputs(int index,
FlinkFnApi.UserDefinedFunction.Input value)
The input arguments of the user-defined function, it could be one of the following:
1.
|
FlinkFnApi.UserDefinedFunction.Input.Builder |
addInputsBuilder()
The input arguments of the user-defined function, it could be one of the following:
1.
|
FlinkFnApi.UserDefinedFunction.Input.Builder |
addInputsBuilder(int index)
The input arguments of the user-defined function, it could be one of the following:
1.
|
FlinkFnApi.UserDefinedFunction.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
FlinkFnApi.UserDefinedFunction |
build() |
FlinkFnApi.UserDefinedFunction |
buildPartial() |
FlinkFnApi.UserDefinedFunction.Builder |
clear() |
FlinkFnApi.UserDefinedFunction.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
FlinkFnApi.UserDefinedFunction.Builder |
clearInputs()
The input arguments of the user-defined function, it could be one of the following:
1.
|
FlinkFnApi.UserDefinedFunction.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
FlinkFnApi.UserDefinedFunction.Builder |
clearPayload()
The serialized representation of the user-defined function
|
FlinkFnApi.UserDefinedFunction.Builder |
clone() |
FlinkFnApi.UserDefinedFunction |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
FlinkFnApi.UserDefinedFunction.Input |
getInputs(int index)
The input arguments of the user-defined function, it could be one of the following:
1.
|
FlinkFnApi.UserDefinedFunction.Input.Builder |
getInputsBuilder(int index)
The input arguments of the user-defined function, it could be one of the following:
1.
|
List<FlinkFnApi.UserDefinedFunction.Input.Builder> |
getInputsBuilderList()
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.UserDefinedFunction.Input> |
getInputsList()
The input arguments of the user-defined function, it could be one of the following:
1.
|
FlinkFnApi.UserDefinedFunction.InputOrBuilder |
getInputsOrBuilder(int index)
The input arguments of the user-defined function, it could be one of the following:
1.
|
List<? extends FlinkFnApi.UserDefinedFunction.InputOrBuilder> |
getInputsOrBuilderList()
The input arguments of the user-defined function, it could be one of the following:
1.
|
com.google.protobuf.ByteString |
getPayload()
The serialized representation of the user-defined function
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
FlinkFnApi.UserDefinedFunction.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
FlinkFnApi.UserDefinedFunction.Builder |
mergeFrom(FlinkFnApi.UserDefinedFunction other) |
FlinkFnApi.UserDefinedFunction.Builder |
mergeFrom(com.google.protobuf.Message other) |
FlinkFnApi.UserDefinedFunction.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
FlinkFnApi.UserDefinedFunction.Builder |
removeInputs(int index)
The input arguments of the user-defined function, it could be one of the following:
1.
|
FlinkFnApi.UserDefinedFunction.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
FlinkFnApi.UserDefinedFunction.Builder |
setInputs(int index,
FlinkFnApi.UserDefinedFunction.Input.Builder builderForValue)
The input arguments of the user-defined function, it could be one of the following:
1.
|
FlinkFnApi.UserDefinedFunction.Builder |
setInputs(int index,
FlinkFnApi.UserDefinedFunction.Input value)
The input arguments of the user-defined function, it could be one of the following:
1.
|
FlinkFnApi.UserDefinedFunction.Builder |
setPayload(com.google.protobuf.ByteString value)
The serialized representation of the user-defined function
|
FlinkFnApi.UserDefinedFunction.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
FlinkFnApi.UserDefinedFunction.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
addAll, newUninitializedMessageException
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<FlinkFnApi.UserDefinedFunction.Builder>
public FlinkFnApi.UserDefinedFunction.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<FlinkFnApi.UserDefinedFunction.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<FlinkFnApi.UserDefinedFunction.Builder>
public FlinkFnApi.UserDefinedFunction getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public FlinkFnApi.UserDefinedFunction build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public FlinkFnApi.UserDefinedFunction buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public FlinkFnApi.UserDefinedFunction.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<FlinkFnApi.UserDefinedFunction.Builder>
public FlinkFnApi.UserDefinedFunction.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<FlinkFnApi.UserDefinedFunction.Builder>
public FlinkFnApi.UserDefinedFunction.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<FlinkFnApi.UserDefinedFunction.Builder>
public FlinkFnApi.UserDefinedFunction.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<FlinkFnApi.UserDefinedFunction.Builder>
public FlinkFnApi.UserDefinedFunction.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<FlinkFnApi.UserDefinedFunction.Builder>
public FlinkFnApi.UserDefinedFunction.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<FlinkFnApi.UserDefinedFunction.Builder>
public FlinkFnApi.UserDefinedFunction.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<FlinkFnApi.UserDefinedFunction.Builder>
public FlinkFnApi.UserDefinedFunction.Builder mergeFrom(FlinkFnApi.UserDefinedFunction other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<FlinkFnApi.UserDefinedFunction.Builder>
public FlinkFnApi.UserDefinedFunction.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<FlinkFnApi.UserDefinedFunction.Builder>
IOException
public com.google.protobuf.ByteString getPayload()
The serialized representation of the user-defined function
bytes payload = 1;
getPayload
in interface FlinkFnApi.UserDefinedFunctionOrBuilder
public FlinkFnApi.UserDefinedFunction.Builder setPayload(com.google.protobuf.ByteString value)
The serialized representation of the user-defined function
bytes payload = 1;
public FlinkFnApi.UserDefinedFunction.Builder clearPayload()
The serialized representation of the user-defined function
bytes payload = 1;
public List<FlinkFnApi.UserDefinedFunction.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.UserDefinedFunction.Input inputs = 2;
getInputsList
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.UserDefinedFunction.Input inputs = 2;
getInputsCount
in interface FlinkFnApi.UserDefinedFunctionOrBuilder
public FlinkFnApi.UserDefinedFunction.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.UserDefinedFunction.Input inputs = 2;
getInputs
in interface FlinkFnApi.UserDefinedFunctionOrBuilder
public FlinkFnApi.UserDefinedFunction.Builder setInputs(int index, FlinkFnApi.UserDefinedFunction.Input value)
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.UserDefinedFunction.Input inputs = 2;
public FlinkFnApi.UserDefinedFunction.Builder setInputs(int index, FlinkFnApi.UserDefinedFunction.Input.Builder builderForValue)
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.UserDefinedFunction.Input inputs = 2;
public FlinkFnApi.UserDefinedFunction.Builder addInputs(FlinkFnApi.UserDefinedFunction.Input value)
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.UserDefinedFunction.Input inputs = 2;
public FlinkFnApi.UserDefinedFunction.Builder addInputs(int index, FlinkFnApi.UserDefinedFunction.Input value)
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.UserDefinedFunction.Input inputs = 2;
public FlinkFnApi.UserDefinedFunction.Builder addInputs(FlinkFnApi.UserDefinedFunction.Input.Builder builderForValue)
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.UserDefinedFunction.Input inputs = 2;
public FlinkFnApi.UserDefinedFunction.Builder addInputs(int index, FlinkFnApi.UserDefinedFunction.Input.Builder builderForValue)
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.UserDefinedFunction.Input inputs = 2;
public FlinkFnApi.UserDefinedFunction.Builder addAllInputs(Iterable<? extends FlinkFnApi.UserDefinedFunction.Input> values)
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.UserDefinedFunction.Input inputs = 2;
public FlinkFnApi.UserDefinedFunction.Builder clearInputs()
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.UserDefinedFunction.Input inputs = 2;
public FlinkFnApi.UserDefinedFunction.Builder removeInputs(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.UserDefinedFunction.Input inputs = 2;
public FlinkFnApi.UserDefinedFunction.Input.Builder getInputsBuilder(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.UserDefinedFunction.Input inputs = 2;
public FlinkFnApi.UserDefinedFunction.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.UserDefinedFunction.Input inputs = 2;
getInputsOrBuilder
in interface FlinkFnApi.UserDefinedFunctionOrBuilder
public List<? extends FlinkFnApi.UserDefinedFunction.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.UserDefinedFunction.Input inputs = 2;
getInputsOrBuilderList
in interface FlinkFnApi.UserDefinedFunctionOrBuilder
public FlinkFnApi.UserDefinedFunction.Input.Builder addInputsBuilder()
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.UserDefinedFunction.Input inputs = 2;
public FlinkFnApi.UserDefinedFunction.Input.Builder addInputsBuilder(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.UserDefinedFunction.Input inputs = 2;
public List<FlinkFnApi.UserDefinedFunction.Input.Builder> getInputsBuilderList()
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.UserDefinedFunction.Input inputs = 2;
public final FlinkFnApi.UserDefinedFunction.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<FlinkFnApi.UserDefinedFunction.Builder>
public final FlinkFnApi.UserDefinedFunction.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<FlinkFnApi.UserDefinedFunction.Builder>
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.