public TxnInfo toTxnInfo() {
    TxnInfo info = new TxnInfo(getTxnId(), getStatus().toTxnState(), getUser(), getHost());
    info.setStartedTime(getStartedTime());
    info.setLastHeartbeatTime(getLastHeartBeatTime());
    return info;
  }
Class to represent one row in the TXNS table.
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/entities/OpenTxn.java