docs / it.uniroma3.dbtree.spi.impl.keyParsers / PairIntIntParser / toNodeTransfer

toNodeTransfer

fun toNodeTransfer(rs: ResultSet): NodeTransfer (source)

Converts the ResultSet of a DB tuple into the corresponding NodeTransfer.

This realizes the conversion from the database representation to the in-memory one.

Parameters

rs - the ResultSet returned from a query.

Return
the corresponding NodeTransfer representation.