Class VersionedConnection
java.lang.Object
org.apache.nifi.api.toolkit.model.VersionedConnection
@Generated(value="io.swagger.codegen.v3.generators.java.JavaClientCodegen",
date="2023-11-22T19:25:26.907436939-06:00[America/Chicago]")
public class VersionedConnection
extends Object
VersionedConnection
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
Gets or Sets componentTypestatic enum
Whether or not compression should be used when transferring FlowFiles between nodesstatic enum
The Strategy to use for load balancing data across the cluster, or null, if no Load Balance Strategy has been specified. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddBendsItem
(Position bendsItem) addPrioritizersItem
(String prioritizersItem) addSelectedRelationshipsItem
(String selectedRelationshipsItem) backPressureDataSizeThreshold
(String backPressureDataSizeThreshold) backPressureObjectThreshold
(Long backPressureObjectThreshold) componentType
(VersionedConnection.ComponentTypeEnum componentType) destination
(ConnectableComponent destination) boolean
flowFileExpiration
(String flowFileExpiration) The object data size threshold for determining when back pressure is applied.The object count threshold for determining when back pressure is applied.getBends()
The bend points on the connection.The user-supplied comments for the componentGet componentTypeGet destinationThe amount of time a flow file may be in the flow before it will be automatically aged out of the flow.The ID of the Process Group that this component belongs toThe component's unique identifierThe instance ID of an existing component that is described by this VersionedComponent, or null if this is not mapped to an instantiated componentThe index of the bend point where to place the connection label.Whether or not compression should be used when transferring FlowFiles between nodesThe Strategy to use for load balancing data across the cluster, or null, if no Load Balance Strategy has been specified.getName()
The component's nameThe attribute to use for partitioning data as it is load balanced across the cluster.Get positionThe comparators used to prioritize the queue.The selected relationship that comprise the connection.Get sourceThe z index of the connection.groupIdentifier
(String groupIdentifier) int
hashCode()
identifier
(String identifier) instanceIdentifier
(String instanceIdentifier) labelIndex
(Integer labelIndex) loadBalanceCompression
(VersionedConnection.LoadBalanceCompressionEnum loadBalanceCompression) loadBalanceStrategy
(VersionedConnection.LoadBalanceStrategyEnum loadBalanceStrategy) partitioningAttribute
(String partitioningAttribute) prioritizers
(List<String> prioritizers) selectedRelationships
(List<String> selectedRelationships) void
setBackPressureDataSizeThreshold
(String backPressureDataSizeThreshold) void
setBackPressureObjectThreshold
(Long backPressureObjectThreshold) void
void
setComments
(String comments) void
setComponentType
(VersionedConnection.ComponentTypeEnum componentType) void
setDestination
(ConnectableComponent destination) void
setFlowFileExpiration
(String flowFileExpiration) void
setGroupIdentifier
(String groupIdentifier) void
setIdentifier
(String identifier) void
setInstanceIdentifier
(String instanceIdentifier) void
setLabelIndex
(Integer labelIndex) void
setLoadBalanceCompression
(VersionedConnection.LoadBalanceCompressionEnum loadBalanceCompression) void
setLoadBalanceStrategy
(VersionedConnection.LoadBalanceStrategyEnum loadBalanceStrategy) void
void
setPartitioningAttribute
(String partitioningAttribute) void
setPosition
(Position position) void
setPrioritizers
(List<String> prioritizers) void
setSelectedRelationships
(List<String> selectedRelationships) void
setSource
(ConnectableComponent source) void
source
(ConnectableComponent source) private String
Convert the given object to string with each line indented by 4 spaces (except the first line).toString()
-
Field Details
-
identifier
-
instanceIdentifier
-
name
-
comments
-
position
-
source
-
destination
-
labelIndex
-
zIndex
-
selectedRelationships
-
backPressureObjectThreshold
-
backPressureDataSizeThreshold
-
flowFileExpiration
-
prioritizers
-
bends
-
loadBalanceStrategy
-
partitioningAttribute
-
loadBalanceCompression
-
componentType
-
groupIdentifier
-
-
Constructor Details
-
VersionedConnection
public VersionedConnection()
-
-
Method Details
-
identifier
-
getIdentifier
The component's unique identifier- Returns:
- identifier
-
setIdentifier
-
instanceIdentifier
-
getInstanceIdentifier
The instance ID of an existing component that is described by this VersionedComponent, or null if this is not mapped to an instantiated component- Returns:
- instanceIdentifier
-
setInstanceIdentifier
-
name
-
getName
The component's name- Returns:
- name
-
setName
-
comments
-
getComments
The user-supplied comments for the component- Returns:
- comments
-
setComments
-
position
-
getPosition
Get position- Returns:
- position
-
setPosition
-
source
-
getSource
Get source- Returns:
- source
-
setSource
-
destination
-
getDestination
Get destination- Returns:
- destination
-
setDestination
-
labelIndex
-
getLabelIndex
The index of the bend point where to place the connection label.- Returns:
- labelIndex
-
setLabelIndex
-
zIndex
-
getZIndex
The z index of the connection.- Returns:
- zIndex
-
setZIndex
-
selectedRelationships
-
addSelectedRelationshipsItem
-
getSelectedRelationships
The selected relationship that comprise the connection.- Returns:
- selectedRelationships
-
setSelectedRelationships
-
backPressureObjectThreshold
-
getBackPressureObjectThreshold
The object count threshold for determining when back pressure is applied. Updating this value is a passive change in the sense that it won't impact whether existing files over the limit are affected but it does help feeder processors to stop pushing too much into this work queue.- Returns:
- backPressureObjectThreshold
-
setBackPressureObjectThreshold
-
backPressureDataSizeThreshold
-
getBackPressureDataSizeThreshold
The object data size threshold for determining when back pressure is applied. Updating this value is a passive change in the sense that it won't impact whether existing files over the limit are affected but it does help feeder processors to stop pushing too much into this work queue.- Returns:
- backPressureDataSizeThreshold
-
setBackPressureDataSizeThreshold
-
flowFileExpiration
-
getFlowFileExpiration
The amount of time a flow file may be in the flow before it will be automatically aged out of the flow. Once a flow file reaches this age it will be terminated from the flow the next time a processor attempts to start work on it.- Returns:
- flowFileExpiration
-
setFlowFileExpiration
-
prioritizers
-
addPrioritizersItem
-
getPrioritizers
The comparators used to prioritize the queue.- Returns:
- prioritizers
-
setPrioritizers
-
bends
-
addBendsItem
-
getBends
The bend points on the connection.- Returns:
- bends
-
setBends
-
loadBalanceStrategy
public VersionedConnection loadBalanceStrategy(VersionedConnection.LoadBalanceStrategyEnum loadBalanceStrategy) -
getLoadBalanceStrategy
The Strategy to use for load balancing data across the cluster, or null, if no Load Balance Strategy has been specified.- Returns:
- loadBalanceStrategy
-
setLoadBalanceStrategy
-
partitioningAttribute
-
getPartitioningAttribute
The attribute to use for partitioning data as it is load balanced across the cluster. If the Load Balance Strategy is configured to use PARTITION_BY_ATTRIBUTE, the value returned by this method is the name of the FlowFile Attribute that will be used to determine which node in the cluster should receive a given FlowFile. If the Load Balance Strategy is unset or is set to any other value, the Partitioning Attribute has no effect.- Returns:
- partitioningAttribute
-
setPartitioningAttribute
-
loadBalanceCompression
public VersionedConnection loadBalanceCompression(VersionedConnection.LoadBalanceCompressionEnum loadBalanceCompression) -
getLoadBalanceCompression
Whether or not compression should be used when transferring FlowFiles between nodes- Returns:
- loadBalanceCompression
-
setLoadBalanceCompression
public void setLoadBalanceCompression(VersionedConnection.LoadBalanceCompressionEnum loadBalanceCompression) -
componentType
-
getComponentType
Get componentType- Returns:
- componentType
-
setComponentType
-
groupIdentifier
-
getGroupIdentifier
The ID of the Process Group that this component belongs to- Returns:
- groupIdentifier
-
setGroupIdentifier
-
equals
-
hashCode
public int hashCode() -
toString
-
toIndentedString
Convert the given object to string with each line indented by 4 spaces (except the first line).
-