Class ConnectionDTO
java.lang.Object
org.apache.nifi.api.toolkit.model.ConnectionDTO
@Generated(value="io.swagger.codegen.v3.generators.java.JavaClientCodegen",
date="2023-11-22T19:25:26.907436939-06:00[America/Chicago]")
public class ConnectionDTO
extends Object
ConnectionDTO
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
Whether or not data should be compressed when being transferred between nodes in the cluster.static enum
The current status of the Connection's Load Balancing Activities.static enum
How to load balance the data in this Connection across the nodes in the cluster. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate String
private Long
private List
<PositionDTO> private ConnectableDTO
private String
private Long
private String
private Integer
private String
private String
private String
private PositionDTO
private ConnectableDTO
private String
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddBendsItem
(PositionDTO bendsItem) addPrioritizersItem
(String prioritizersItem) addSelectedRelationshipsItem
(String selectedRelationshipsItem) backPressureDataSizeThreshold
(String backPressureDataSizeThreshold) backPressureObjectThreshold
(Long backPressureObjectThreshold) bends
(List<PositionDTO> bends) destination
(ConnectableDTO destination) boolean
flowFileExpiration
(String flowFileExpiration) The relationships that the source of the connection currently supports.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.Get destinationThe amount of time a flow file may be in the flow before it will be automatically aged out of the flow.The z index of the connection.getId()
The id of the component.The index of the bend point where to place the connection label.Whether or not data should be compressed when being transferred between nodes in the cluster.The FlowFile Attribute to use for determining which node a FlowFile will go to if the Load Balancing Strategy is set to PARTITION_BY_ATTRIBUTEThe current status of the Connection's Load Balancing Activities.How to load balance the data in this Connection across the nodes in the cluster.getName()
The name of the connection.The id of parent process group of this component if applicable.Get positionThe comparators used to prioritize the queue.The selected relationship that comprise the connection.Get sourceThe ID of the corresponding component that is under version controlint
hashCode()
labelIndex
(Integer labelIndex) loadBalanceCompression
(ConnectionDTO.LoadBalanceCompressionEnum loadBalanceCompression) loadBalancePartitionAttribute
(String loadBalancePartitionAttribute) loadBalanceStrategy
(ConnectionDTO.LoadBalanceStrategyEnum loadBalanceStrategy) parentGroupId
(String parentGroupId) position
(PositionDTO position) prioritizers
(List<String> prioritizers) selectedRelationships
(List<String> selectedRelationships) void
setBackPressureDataSizeThreshold
(String backPressureDataSizeThreshold) void
setBackPressureObjectThreshold
(Long backPressureObjectThreshold) void
setBends
(List<PositionDTO> bends) void
setDestination
(ConnectableDTO destination) void
setFlowFileExpiration
(String flowFileExpiration) void
setGetzIndex
(Long getzIndex) void
void
setLabelIndex
(Integer labelIndex) void
setLoadBalanceCompression
(ConnectionDTO.LoadBalanceCompressionEnum loadBalanceCompression) void
setLoadBalancePartitionAttribute
(String loadBalancePartitionAttribute) void
setLoadBalanceStrategy
(ConnectionDTO.LoadBalanceStrategyEnum loadBalanceStrategy) void
void
setParentGroupId
(String parentGroupId) void
setPosition
(PositionDTO position) void
setPrioritizers
(List<String> prioritizers) void
setSelectedRelationships
(List<String> selectedRelationships) void
setSource
(ConnectableDTO source) void
setVersionedComponentId
(String versionedComponentId) source
(ConnectableDTO source) private String
Convert the given object to string with each line indented by 4 spaces (except the first line).toString()
versionedComponentId
(String versionedComponentId)
-
Field Details
-
id
-
versionedComponentId
-
parentGroupId
-
position
-
source
-
destination
-
name
-
labelIndex
-
getzIndex
-
selectedRelationships
-
availableRelationships
-
backPressureObjectThreshold
-
backPressureDataSizeThreshold
-
flowFileExpiration
-
prioritizers
-
bends
-
loadBalanceStrategy
-
loadBalancePartitionAttribute
-
loadBalanceCompression
-
loadBalanceStatus
-
-
Constructor Details
-
ConnectionDTO
public ConnectionDTO()
-
-
Method Details
-
id
-
getId
The id of the component.- Returns:
- id
-
setId
-
versionedComponentId
-
getVersionedComponentId
The ID of the corresponding component that is under version control- Returns:
- versionedComponentId
-
setVersionedComponentId
-
parentGroupId
-
getParentGroupId
The id of parent process group of this component if applicable.- Returns:
- parentGroupId
-
setParentGroupId
-
position
-
getPosition
Get position- Returns:
- position
-
setPosition
-
source
-
getSource
Get source- Returns:
- source
-
setSource
-
destination
-
getDestination
Get destination- Returns:
- destination
-
setDestination
-
name
-
getName
The name of the connection.- Returns:
- name
-
setName
-
labelIndex
-
getLabelIndex
The index of the bend point where to place the connection label.- Returns:
- labelIndex
-
setLabelIndex
-
getzIndex
-
getGetzIndex
The z index of the connection.- Returns:
- getzIndex
-
setGetzIndex
-
selectedRelationships
-
addSelectedRelationshipsItem
-
getSelectedRelationships
The selected relationship that comprise the connection.- Returns:
- selectedRelationships
-
setSelectedRelationships
-
getAvailableRelationships
The relationships that the source of the connection currently supports.- Returns:
- availableRelationships
-
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
-
getLoadBalanceStrategy
How to load balance the data in this Connection across the nodes in the cluster.- Returns:
- loadBalanceStrategy
-
setLoadBalanceStrategy
-
loadBalancePartitionAttribute
-
getLoadBalancePartitionAttribute
The FlowFile Attribute to use for determining which node a FlowFile will go to if the Load Balancing Strategy is set to PARTITION_BY_ATTRIBUTE- Returns:
- loadBalancePartitionAttribute
-
setLoadBalancePartitionAttribute
-
loadBalanceCompression
public ConnectionDTO loadBalanceCompression(ConnectionDTO.LoadBalanceCompressionEnum loadBalanceCompression) -
getLoadBalanceCompression
Whether or not data should be compressed when being transferred between nodes in the cluster.- Returns:
- loadBalanceCompression
-
setLoadBalanceCompression
public void setLoadBalanceCompression(ConnectionDTO.LoadBalanceCompressionEnum loadBalanceCompression) -
getLoadBalanceStatus
The current status of the Connection's Load Balancing Activities. Status can indicate that Load Balancing is not configured for the connection, that Load Balancing is configured but inactive (not currently transferring data to another node), or that Load Balancing is configured and actively transferring data to another node.- Returns:
- loadBalanceStatus
-
equals
-
hashCode
public int hashCode() -
toString
-
toIndentedString
Convert the given object to string with each line indented by 4 spaces (except the first line).
-