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
IBufferMessage
IMessage
Inherited Members

Constructors

RelationshipTypeReplicaDefinition()

public RelationshipTypeReplicaDefinition()

RelationshipTypeReplicaDefinition(RelationshipTypeReplicaDefinition)

public RelationshipTypeReplicaDefinition(RelationshipTypeReplicaDefinition other)

Parameters

other RelationshipTypeReplicaDefinition

Fields

RelationshipTypeReplicaDefinition_FieldNumber

Field number for the "relationship_type_replica_definition" field.

public const int RelationshipTypeReplicaDefinition_FieldNumber = 1

Field Value

int

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

  1. A valid origin entity type and destination entity type are included in the replica definition. In our example that would include Person and at least one of { Vehicle, Parcel }.
  2. The where_clause defining 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, Person does not exclude entities of Person connected to either Vehicle or Parcel through the OWNS relationship 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

NamedTypeReplicaDefinition

Methods

CalculateSize()

public int CalculateSize()

Returns

int

Clone()

public RelationshipTypeReplicaDefinition Clone()

Returns

RelationshipTypeReplicaDefinition

Equals(RelationshipTypeReplicaDefinition)

public bool Equals(RelationshipTypeReplicaDefinition other)

Parameters

other RelationshipTypeReplicaDefinition

Returns

bool

Equals(object)

public override bool Equals(object other)

Parameters

other object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

MergeFrom(RelationshipTypeReplicaDefinition)

public void MergeFrom(RelationshipTypeReplicaDefinition other)

Parameters

other RelationshipTypeReplicaDefinition

MergeFrom(CodedInputStream)

public void MergeFrom(CodedInputStream input)

Parameters

input CodedInputStream

ToString()

public override string ToString()

Returns

string

WriteTo(CodedOutputStream)

public void WriteTo(CodedOutputStream output)

Parameters

output CodedOutputStream