adapts to extended database format

This commit is contained in:
Eyck Jentzsch 2023-03-18 10:13:10 +01:00
parent ba83c585f0
commit f9d38b5091
1 changed files with 9 additions and 1 deletions

View File

@ -28,6 +28,12 @@ class FtrRelation implements Serializable {
/** The target. */ /** The target. */
final long target; final long target;
/** The source. */
final long source_fiber;
/** The target. */
final long target_fiber;
/** The relation type. */ /** The relation type. */
final RelationType relationType; final RelationType relationType;
@ -38,9 +44,11 @@ class FtrRelation implements Serializable {
* @param source the source * @param source the source
* @param target the target * @param target the target
*/ */
public FtrRelation(RelationType relationType, long source, long target) { public FtrRelation(RelationType relationType, long source, long target, long source_fiber, long target_fiber) {
this.source = source; this.source = source;
this.target = target; this.target = target;
this.source_fiber = source_fiber;
this.target_fiber = target_fiber;
this.relationType = relationType; this.relationType = relationType;
} }