Skip to content

Commit

Permalink
replace an identifier
Browse files Browse the repository at this point in the history
  • Loading branch information
siyuan0322 committed Sep 22, 2023
1 parent 17eddd9 commit 1e65203
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ private String getVertexKeyEncoded(BytesRef keyRef) {
ByteBuffer buffer = ByteBuffer.wrap(keyRef.getBytes());
long tableId = buffer.getLong(0);
long hashId = buffer.getLong(8);
return tableId + "|" + hashId;
return tableId + "/" + hashId;
}

private String getEdgeKeyEncoded(BytesRef keyRef) {
Expand All @@ -146,6 +146,6 @@ private String getEdgeKeyEncoded(BytesRef keyRef) {
long srcHashId = buffer.getLong(8);
long dstHashId = buffer.getLong(16);
long eid = buffer.getLong(24);
return tableId + "|" + srcHashId + "|" + dstHashId + "|" + eid;
return tableId + "/" + srcHashId + "/" + dstHashId + "/" + eid;
}
}

0 comments on commit 1e65203

Please sign in to comment.