Class NamedTypeReplicaDefinition
- Namespace
- EsriPBuffer.Graph
- Assembly
- ESRI.Server.SOESupport.dll
public sealed class NamedTypeReplicaDefinition : IMessage<NamedTypeReplicaDefinition>, IEquatable<NamedTypeReplicaDefinition>, IDeepCloneable<NamedTypeReplicaDefinition>, IBufferMessage, IMessage
- Inheritance
-
NamedTypeReplicaDefinition
- Implements
-
IMessage<NamedTypeReplicaDefinition>IDeepCloneable<NamedTypeReplicaDefinition>IBufferMessageIMessage
- Inherited Members
Constructors
NamedTypeReplicaDefinition()
public NamedTypeReplicaDefinition()
NamedTypeReplicaDefinition(NamedTypeReplicaDefinition)
public NamedTypeReplicaDefinition(NamedTypeReplicaDefinition other)
Parameters
Fields
OpenCypherWhereClauseFieldNumber
Field number for the "open_cypher_where_clause" field.
public const int OpenCypherWhereClauseFieldNumber = 2
Field Value
ParametersFieldNumber
Field number for the "parameters" field.
public const int ParametersFieldNumber = 3
Field Value
ProvenanceOptionsFieldNumber
Field number for the "provenance_options" field.
public const int ProvenanceOptionsFieldNumber = 4
Field Value
TypeNameFieldNumber
Field number for the "type_name" field.
public const int TypeNameFieldNumber = 1
Field Value
Properties
Descriptor
public static MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
OpenCypherWhereClause
Defines an attribute query for the entity or relationship type. The query is an openCypher WHERE clause.
Entities satisfying the query
MATCH (n:<type_name>) WHERE <where_clause> RETURN n
are included in the replica. Entities can be referenced by the symbolic name n.
Relationships satisfying the query
MATCH ()-[n:<type_name>]->() WHERE <where_clause> RETURN n
are included in the replica. Additionally the origin and destination entities of the relationship must be defined
in the replica. Relationships can be referenced by the symbolic name n.
- When no
open_cypher_where_clauseis provided, all entities or relationships of the type are included in the replica. - Spatial operators are supported in the
open_cypher_where_clause. - The
open_cypher_where_clausecan reference parameters defined in theparametersmap.
public string OpenCypherWhereClause { get; set; }
Property Value
Parameters
parameters can only contain combinations of:
- primitive values
- array values
- homogeneous arrays
- anonymous objects We'll throw a runtime error if the following are encountered:
- entity values
- relationship values
Parameter names must be referenced in the
open_cypher_where_clause.
public MapField<string, AnyValue> Parameters { get; }
Property Value
Parser
public static MessageParser<NamedTypeReplicaDefinition> Parser { get; }
Property Value
- MessageParser<NamedTypeReplicaDefinition>
ProvenanceOptions
Defines the result set for associated provenance of entities or relationships
defined by the type_name & where_clause.
public ProvenanceOptions ProvenanceOptions { get; set; }
Property Value
TypeName
The name of the entity or relationship type to include in the replica.
public string TypeName { get; set; }
Property Value
Methods
CalculateSize()
public int CalculateSize()
Returns
Clone()
public NamedTypeReplicaDefinition Clone()
Returns
Equals(NamedTypeReplicaDefinition)
public bool Equals(NamedTypeReplicaDefinition other)
Parameters
Returns
Equals(object)
public override bool Equals(object other)
Parameters
otherobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
MergeFrom(NamedTypeReplicaDefinition)
public void MergeFrom(NamedTypeReplicaDefinition 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