Package org.apache.flink.fnexecution.v1
Class FlinkFnApi.UserDefinedAggregateFunctions
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.apache.flink.fnexecution.v1.FlinkFnApi.UserDefinedAggregateFunctions
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,FlinkFnApi.UserDefinedAggregateFunctionsOrBuilder
- Enclosing class:
- FlinkFnApi
public static final class FlinkFnApi.UserDefinedAggregateFunctions
extends com.google.protobuf.GeneratedMessageV3
implements FlinkFnApi.UserDefinedAggregateFunctionsOrBuilder
A list of the user-defined aggregate functions to be executed in a group aggregate operation.Protobuf type
org.apache.flink.fn_execution.v1.UserDefinedAggregateFunctions- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA list of the user-defined aggregate functions to be executed in a group aggregate operation.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
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 Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanTrue if the count(*) agg is inserted by the planner.static final com.google.protobuf.Descriptors.DescriptorbooleanGenerate retract messages if true.intgetGrouping(int index) The array of the key indexes.intThe array of the key indexes.The array of the key indexes.Group Window.Group Window.intThe index of a count aggregate used to calculate the number of accumulated rows.getJobParameters(int index) repeated .org.apache.flink.fn_execution.v1.JobParameter job_parameters = 14;intrepeated .org.apache.flink.fn_execution.v1.JobParameter job_parameters = 14;repeated .org.apache.flink.fn_execution.v1.JobParameter job_parameters = 14;getJobParametersOrBuilder(int index) repeated .org.apache.flink.fn_execution.v1.JobParameter job_parameters = 14;List<? extends FlinkFnApi.JobParameterOrBuilder>repeated .org.apache.flink.fn_execution.v1.JobParameter job_parameters = 14;The schema of the grouping keys.The schema of the grouping keys.intThe map state read cache size.intThe map_state_write_cache_size.booleanbool metric_enabled = 2;com.google.protobuf.Parser<FlinkFnApi.UserDefinedAggregateFunctions>booleanbool profile_enabled = 13;intintThe state cache size.booleanCleanup the expired state if true.getUdfs(int index) repeated .org.apache.flink.fn_execution.v1.UserDefinedAggregateFunction udfs = 1;intrepeated .org.apache.flink.fn_execution.v1.UserDefinedAggregateFunction udfs = 1;repeated .org.apache.flink.fn_execution.v1.UserDefinedAggregateFunction udfs = 1;getUdfsOrBuilder(int index) repeated .org.apache.flink.fn_execution.v1.UserDefinedAggregateFunction udfs = 1;repeated .org.apache.flink.fn_execution.v1.UserDefinedAggregateFunction udfs = 1;final com.google.protobuf.UnknownFieldSetbooleanGroup Window.inthashCode()booleanThe schema of the grouping keys.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) parseDelimitedFrom(InputStream input) parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(byte[] data) parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.ByteString data) parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.CodedInputStream input) parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(InputStream input) parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(ByteBuffer data) parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<FlinkFnApi.UserDefinedAggregateFunctions>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, 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, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
-
Field Details
-
UDFS_FIELD_NUMBER
public static final int UDFS_FIELD_NUMBER- See Also:
-
METRIC_ENABLED_FIELD_NUMBER
public static final int METRIC_ENABLED_FIELD_NUMBER- See Also:
-
GROUPING_FIELD_NUMBER
public static final int GROUPING_FIELD_NUMBER- See Also:
-
GENERATE_UPDATE_BEFORE_FIELD_NUMBER
public static final int GENERATE_UPDATE_BEFORE_FIELD_NUMBER- See Also:
-
KEY_TYPE_FIELD_NUMBER
public static final int KEY_TYPE_FIELD_NUMBER- See Also:
-
INDEX_OF_COUNT_STAR_FIELD_NUMBER
public static final int INDEX_OF_COUNT_STAR_FIELD_NUMBER- See Also:
-
STATE_CLEANING_ENABLED_FIELD_NUMBER
public static final int STATE_CLEANING_ENABLED_FIELD_NUMBER- See Also:
-
STATE_CACHE_SIZE_FIELD_NUMBER
public static final int STATE_CACHE_SIZE_FIELD_NUMBER- See Also:
-
MAP_STATE_READ_CACHE_SIZE_FIELD_NUMBER
public static final int MAP_STATE_READ_CACHE_SIZE_FIELD_NUMBER- See Also:
-
MAP_STATE_WRITE_CACHE_SIZE_FIELD_NUMBER
public static final int MAP_STATE_WRITE_CACHE_SIZE_FIELD_NUMBER- See Also:
-
COUNT_STAR_INSERTED_FIELD_NUMBER
public static final int COUNT_STAR_INSERTED_FIELD_NUMBER- See Also:
-
GROUP_WINDOW_FIELD_NUMBER
public static final int GROUP_WINDOW_FIELD_NUMBER- See Also:
-
PROFILE_ENABLED_FIELD_NUMBER
public static final int PROFILE_ENABLED_FIELD_NUMBER- See Also:
-
JOB_PARAMETERS_FIELD_NUMBER
public static final int JOB_PARAMETERS_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getUdfsList
repeated .org.apache.flink.fn_execution.v1.UserDefinedAggregateFunction udfs = 1;- Specified by:
getUdfsListin interfaceFlinkFnApi.UserDefinedAggregateFunctionsOrBuilder
-
getUdfsOrBuilderList
repeated .org.apache.flink.fn_execution.v1.UserDefinedAggregateFunction udfs = 1;- Specified by:
getUdfsOrBuilderListin interfaceFlinkFnApi.UserDefinedAggregateFunctionsOrBuilder
-
getUdfsCount
public int getUdfsCount()repeated .org.apache.flink.fn_execution.v1.UserDefinedAggregateFunction udfs = 1;- Specified by:
getUdfsCountin interfaceFlinkFnApi.UserDefinedAggregateFunctionsOrBuilder
-
getUdfs
repeated .org.apache.flink.fn_execution.v1.UserDefinedAggregateFunction udfs = 1;- Specified by:
getUdfsin interfaceFlinkFnApi.UserDefinedAggregateFunctionsOrBuilder
-
getUdfsOrBuilder
repeated .org.apache.flink.fn_execution.v1.UserDefinedAggregateFunction udfs = 1;- Specified by:
getUdfsOrBuilderin interfaceFlinkFnApi.UserDefinedAggregateFunctionsOrBuilder
-
getMetricEnabled
public boolean getMetricEnabled()bool metric_enabled = 2;- Specified by:
getMetricEnabledin interfaceFlinkFnApi.UserDefinedAggregateFunctionsOrBuilder- Returns:
- The metricEnabled.
-
getGroupingList
The array of the key indexes.
repeated int32 grouping = 3;- Specified by:
getGroupingListin interfaceFlinkFnApi.UserDefinedAggregateFunctionsOrBuilder- Returns:
- A list containing the grouping.
-
getGroupingCount
public int getGroupingCount()The array of the key indexes.
repeated int32 grouping = 3;- Specified by:
getGroupingCountin interfaceFlinkFnApi.UserDefinedAggregateFunctionsOrBuilder- Returns:
- The count of grouping.
-
getGrouping
public int getGrouping(int index) The array of the key indexes.
repeated int32 grouping = 3;- Specified by:
getGroupingin interfaceFlinkFnApi.UserDefinedAggregateFunctionsOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The grouping at the given index.
-
getGenerateUpdateBefore
public boolean getGenerateUpdateBefore()Generate retract messages if true.
bool generate_update_before = 4;- Specified by:
getGenerateUpdateBeforein interfaceFlinkFnApi.UserDefinedAggregateFunctionsOrBuilder- Returns:
- The generateUpdateBefore.
-
hasKeyType
public boolean hasKeyType()The schema of the grouping keys.
.org.apache.flink.fn_execution.v1.Schema.FieldType key_type = 5;- Specified by:
hasKeyTypein interfaceFlinkFnApi.UserDefinedAggregateFunctionsOrBuilder- Returns:
- Whether the keyType field is set.
-
getKeyType
The schema of the grouping keys.
.org.apache.flink.fn_execution.v1.Schema.FieldType key_type = 5;- Specified by:
getKeyTypein interfaceFlinkFnApi.UserDefinedAggregateFunctionsOrBuilder- Returns:
- The keyType.
-
getKeyTypeOrBuilder
The schema of the grouping keys.
.org.apache.flink.fn_execution.v1.Schema.FieldType key_type = 5;- Specified by:
getKeyTypeOrBuilderin interfaceFlinkFnApi.UserDefinedAggregateFunctionsOrBuilder
-
getIndexOfCountStar
public int getIndexOfCountStar()The index of a count aggregate used to calculate the number of accumulated rows.
int32 index_of_count_star = 6;- Specified by:
getIndexOfCountStarin interfaceFlinkFnApi.UserDefinedAggregateFunctionsOrBuilder- Returns:
- The indexOfCountStar.
-
getStateCleaningEnabled
public boolean getStateCleaningEnabled()Cleanup the expired state if true.
bool state_cleaning_enabled = 7;- Specified by:
getStateCleaningEnabledin interfaceFlinkFnApi.UserDefinedAggregateFunctionsOrBuilder- Returns:
- The stateCleaningEnabled.
-
getStateCacheSize
public int getStateCacheSize()The state cache size.
int32 state_cache_size = 8;- Specified by:
getStateCacheSizein interfaceFlinkFnApi.UserDefinedAggregateFunctionsOrBuilder- Returns:
- The stateCacheSize.
-
getMapStateReadCacheSize
public int getMapStateReadCacheSize()The map state read cache size.
int32 map_state_read_cache_size = 9;- Specified by:
getMapStateReadCacheSizein interfaceFlinkFnApi.UserDefinedAggregateFunctionsOrBuilder- Returns:
- The mapStateReadCacheSize.
-
getMapStateWriteCacheSize
public int getMapStateWriteCacheSize()The map_state_write_cache_size.
int32 map_state_write_cache_size = 10;- Specified by:
getMapStateWriteCacheSizein interfaceFlinkFnApi.UserDefinedAggregateFunctionsOrBuilder- Returns:
- The mapStateWriteCacheSize.
-
getCountStarInserted
public boolean getCountStarInserted()True if the count(*) agg is inserted by the planner.
bool count_star_inserted = 11;- Specified by:
getCountStarInsertedin interfaceFlinkFnApi.UserDefinedAggregateFunctionsOrBuilder- Returns:
- The countStarInserted.
-
hasGroupWindow
public boolean hasGroupWindow()Group Window.
.org.apache.flink.fn_execution.v1.GroupWindow group_window = 12;- Specified by:
hasGroupWindowin interfaceFlinkFnApi.UserDefinedAggregateFunctionsOrBuilder- Returns:
- Whether the groupWindow field is set.
-
getGroupWindow
Group Window.
.org.apache.flink.fn_execution.v1.GroupWindow group_window = 12;- Specified by:
getGroupWindowin interfaceFlinkFnApi.UserDefinedAggregateFunctionsOrBuilder- Returns:
- The groupWindow.
-
getGroupWindowOrBuilder
Group Window.
.org.apache.flink.fn_execution.v1.GroupWindow group_window = 12;- Specified by:
getGroupWindowOrBuilderin interfaceFlinkFnApi.UserDefinedAggregateFunctionsOrBuilder
-
getProfileEnabled
public boolean getProfileEnabled()bool profile_enabled = 13;- Specified by:
getProfileEnabledin interfaceFlinkFnApi.UserDefinedAggregateFunctionsOrBuilder- Returns:
- The profileEnabled.
-
getJobParametersList
repeated .org.apache.flink.fn_execution.v1.JobParameter job_parameters = 14;- Specified by:
getJobParametersListin interfaceFlinkFnApi.UserDefinedAggregateFunctionsOrBuilder
-
getJobParametersOrBuilderList
repeated .org.apache.flink.fn_execution.v1.JobParameter job_parameters = 14;- Specified by:
getJobParametersOrBuilderListin interfaceFlinkFnApi.UserDefinedAggregateFunctionsOrBuilder
-
getJobParametersCount
public int getJobParametersCount()repeated .org.apache.flink.fn_execution.v1.JobParameter job_parameters = 14;- Specified by:
getJobParametersCountin interfaceFlinkFnApi.UserDefinedAggregateFunctionsOrBuilder
-
getJobParameters
repeated .org.apache.flink.fn_execution.v1.JobParameter job_parameters = 14;- Specified by:
getJobParametersin interfaceFlinkFnApi.UserDefinedAggregateFunctionsOrBuilder
-
getJobParametersOrBuilder
repeated .org.apache.flink.fn_execution.v1.JobParameter job_parameters = 14;- Specified by:
getJobParametersOrBuilderin interfaceFlinkFnApi.UserDefinedAggregateFunctionsOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static FlinkFnApi.UserDefinedAggregateFunctions parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FlinkFnApi.UserDefinedAggregateFunctions parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FlinkFnApi.UserDefinedAggregateFunctions parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FlinkFnApi.UserDefinedAggregateFunctions parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FlinkFnApi.UserDefinedAggregateFunctions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FlinkFnApi.UserDefinedAggregateFunctions parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FlinkFnApi.UserDefinedAggregateFunctions parseFrom(InputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static FlinkFnApi.UserDefinedAggregateFunctions parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static FlinkFnApi.UserDefinedAggregateFunctions parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static FlinkFnApi.UserDefinedAggregateFunctions parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static FlinkFnApi.UserDefinedAggregateFunctions parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static FlinkFnApi.UserDefinedAggregateFunctions parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
public static FlinkFnApi.UserDefinedAggregateFunctions.Builder newBuilder(FlinkFnApi.UserDefinedAggregateFunctions prototype) -
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected FlinkFnApi.UserDefinedAggregateFunctions.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-