public int?computeSpecific(RelationTypeSchemaDescriptor schema) { return(1 + 4 + 2 + 4 * Schema.PropertyIds.length); // the actual property ids }
public override void ProcessSpecific(RelationTypeSchemaDescriptor schema) { Target.put(SIMPLE_REL_TYPE); Target.putInt(Schema.RelTypeId); PutIds(Schema.PropertyIds); }
public static RelExistenceConstraintDescriptor ExistsForSchema(RelationTypeSchemaDescriptor schema) { return(new RelExistenceConstraintDescriptor(schema)); }
public ConstraintDescriptor computeSpecific(RelationTypeSchemaDescriptor schema) { return(new RelExistenceConstraintDescriptor(schema)); }
public NodeKeyConstraintDescriptor computeSpecific(RelationTypeSchemaDescriptor schema) { throw new System.NotSupportedException(format("Cannot create node key constraint for schema '%s' of type %s", Schema.userDescription(SchemaUtil.idTokenNameLookup), Schema.GetType().Name)); }