Class RelationshipTypeReplicaDefinition
- Namespace
- EsriPBuffer.Graph
- Assembly
- ESRI.Server.SOESupport.dll
public sealed class RelationshipTypeReplicaDefinition : IMessage<RelationshipTypeReplicaDefinition>, IEquatable<RelationshipTypeReplicaDefinition>, IDeepCloneable<RelationshipTypeReplicaDefinition>, IBufferMessage, IMessage
- Inheritance
-
RelationshipTypeReplicaDefinition
- Implements
-
IMessage<RelationshipTypeReplicaDefinition>IDeepCloneable<RelationshipTypeReplicaDefinition>IBufferMessageIMessage
- Inherited Members
Constructors
RelationshipTypeReplicaDefinition()
public RelationshipTypeReplicaDefinition()
RelationshipTypeReplicaDefinition(RelationshipTypeReplicaDefinition)
public RelationshipTypeReplicaDefinition(RelationshipTypeReplicaDefinition other)
Parameters
Fields
RelationshipTypeReplicaDefinition_FieldNumber
Field number for the "relationship_type_replica_definition" field.
public const int RelationshipTypeReplicaDefinition_FieldNumber = 1
Field Value
Properties
Descriptor
public static MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
Parser
public static MessageParser<RelationshipTypeReplicaDefinition> Parser { get; }
Property Value
- MessageParser<RelationshipTypeReplicaDefinition>
RelationshipTypeReplicaDefinition_
Relationships are returned when origin and destination entity types are defined in the replica.
For example, suppose the relationship type, OWNS has origin entity types, Person and
destination entity types Vehicle and Parcel.
(o:Person)-[r:OWNS]->(d:Vehicle|Parcel)
OWNS relationships are returned in the replica response if and only if
- A valid origin entity type and destination entity type are included in the replica definition.
In our example that would include
Personand at least one of {Vehicle,Parcel}. - The
where_clausedefining the origin and destination entity types includes entities that satisfy the graph pattern(o)-[r:OWNS]->(d). In our example, the where clause on origin type,Persondoes not exclude entities ofPersonconnected to eitherVehicleorParcelthrough theOWNSrelationship type.
In other words, all relationships in the replica have end points in the replica.
The HasDocument relationship type is not allowed to be defined as a relationship_type_replica_definition.
It is managed on entity types through the flag, return_connected_documents which returns incident HasDocument
relationships.
public NamedTypeReplicaDefinition RelationshipTypeReplicaDefinition_ { get; set; }
Property Value
Methods
CalculateSize()
public int CalculateSize()
Returns
Clone()
public RelationshipTypeReplicaDefinition Clone()
Returns
Equals(RelationshipTypeReplicaDefinition)
public bool Equals(RelationshipTypeReplicaDefinition other)
Parameters
Returns
Equals(object)
public override bool Equals(object other)
Parameters
otherobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
MergeFrom(RelationshipTypeReplicaDefinition)
public void MergeFrom(RelationshipTypeReplicaDefinition other)
Parameters
MergeFrom(CodedInputStream)
public void MergeFrom(CodedInputStream input)
Parameters
inputCodedInputStream
ToString()
public override string ToString()
Returns
WriteTo(CodedOutputStream)
public void WriteTo(CodedOutputStream output)
Parameters
outputCodedOutputStream